Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 13:53:03 +0200
From:      CARTER Anthony <a.carter@cordis.lu>
To:        Wayne Swart <fixx@fixx.co.za>, CARTER Anthony <a.carter@cordis.lu>
Cc:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: What trigers PPP?
Message-ID:  <200305061353.03809.a.carter@intrasoft.lu>
In-Reply-To: <20030506132238.E2858-100000@gemini.fixx.co.za>
References:  <20030506130814.P2858-100000@gemini.fixx.co.za> <200305061319.58742.a.carter@intrasoft.lu> <20030506132238.E2858-100000@gemini.fixx.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Your getting out of my depth now, but:

Isn't squid a proxy server?

If it is, are you trying to dial from every machine? For me, the squid server 
should be dialing, and the other machines should just be using the squid 
server as a lan connection...

I.e.

Internet<->Proxy<->Lan

So this is what I understand:

You have machine x, y and z. x and z have access to the outside world...but 
not y...

Hence, server p running squid wants to only let x and z dial out...but for 
some reason the squid server is dialing out directly without waiting for the 
request...

Take a look at the options in /etc/defaults/rc.conf...you have:

ppp_enable="NO"         # Start user-ppp (or NO).
ppp_mode="auto"         # Choice of "auto", "ddial", "direct" or "dedicated".
                                 # For details see man page for ppp(8). 
#Default is auto.
ppp_nat="YES"           # Use PPP's internal network address translation or 
NO.
ppp_profile="papchap"   # Which profile to use from /etc/ppp/ppp.conf.
ppp_user="root"         # Which user to run ppp as

I really can't help with squid, I do not know the system...

I get a feeling that it might have something to do with the ppp_mode...

check out man ppp, there is sections on:

DIAL ON DEMAND and NETWORK ADDRESS TRANSLATION (PACKET ALIASING) that could be 
of interest to you.

One other thought, if the server is listening for any activity on interface x, 
then the ppp will be launched...

Other than that I am at a loss, sorry...

Anthony

On Tuesday 06 May 2003 13:23, Wayne Swart wrote:
> Will this stop the box from using ppp at all? That is not what i want if
> it is :)
> The ppp should still work with nat and all, but only if someone with
> access on the squid server send a gateway request through it
>
>  On Tue, 6 May 2003, CARTER Anthony wrote:
> > Try /etc/rc.conf
> >
> > the default file should be /etc/defaults/rc.conf
> >
> > you should find ppp_enable ="YES" somewhere...
> >
> > what you can do is in rc.conf just add:
> >
> > ppp_enable="NO" to the end...That should stop it...
> >
> > This is on 5.0 Current, and I don't know 4.7, so I don't know if this
> > actually applies to you...Someone else may confirm this...I could be
> > wrong.
> >
> > Anthony
> >
> > On Tuesday 06 May 2003 13:14, Wayne Swart wrote:
> > > Lo
> > >
> > > We have a dial on demand server at a client. Running
> > > FreeBSD4.7-RELEASE. The server act as a gateway and has squid and samba
> > > running on it.
> > >
> > > Ony certain ppl on the lan are allowed access to the squid, but all the
> > > netbios.
> > >
> > > Something triggers the ppp on this box and I can't find what exactly it
> > > is.
> > >
> > > All the gateway and DNS settings have been removed from all the client
> > > pc's on the lan (running windows 2000 prof. (if that helps)). That
> > > caused the ppp to kick in everytime someone made even a netbios request
> > > through the server.
> > >
> > > Now we have removed all of them, but the ppp still kicks in every now
> > > and then (more often than what is specified in crontab).
> > > I took a look at the tcpdump logs as well, and that shows only netbios
> > > requests from the inside to other boxes on the inside, nothing goes out
> > > via tun0, according to tcpdump, is there anything else i can look for?
> > >
> > >
> > > Any help is appreciated...
> > >
> > > Wayne
> > >
> > >
> > > _______________________________________________
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "freebsd-questions-unsubscribe@freebsd.org"
>
> Wayne Swart
> Network Administrator
> MICS Online
> TEL: (+2712) 661 9999
> FAX: (+2712) 661 9996
> WWW: http://www.mics.co.za



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305061353.03809.a.carter>