From owner-freebsd-questions@FreeBSD.ORG Tue May 6 04:52:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D7D437B401 for ; Tue, 6 May 2003 04:52:25 -0700 (PDT) Received: from mail.cordis.lu (mail.cordis.lu [212.190.217.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A2643F85 for ; Tue, 6 May 2003 04:52:24 -0700 (PDT) (envelope-from a.carter@cordis.lu) Received: from mailsvr.intrasoft.lu (mail.intrasoft.lu [212.190.217.251]) by mail.cordis.lu (8.12.8/8.12.8) with ESMTP id h46C4V9g025533; Tue, 6 May 2003 14:04:32 +0200 Received: by mail.intrasoft.lu with Internet Mail Service (5.5.2656.59) id ; Tue, 6 May 2003 13:48:33 +0200 Received: from 212.190.217.170 ([212.190.217.170]) by mailsvr.intrasoft.lu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id JS23CH8N; Tue, 6 May 2003 13:48:30 +0200 From: CARTER Anthony To: Wayne Swart , CARTER Anthony Organization: Intrasoft Date: Tue, 6 May 2003 13:53:03 +0200 User-Agent: KMail/1.5.1 References: <20030506130814.P2858-100000@gemini.fixx.co.za> <200305061319.58742.a.carter@intrasoft.lu> <20030506132238.E2858-100000@gemini.fixx.co.za> In-Reply-To: <20030506132238.E2858-100000@gemini.fixx.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305061353.03809.a.carter@intrasoft.lu> X-Spam-Status: No, hits=-131.9 required=4.2 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL,USER_IN_WHITELIST version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: FreeBSD Mailing list Subject: Re: What trigers PPP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 11:52:25 -0000 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