From owner-freebsd-questions Thu Sep 21 11:21:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nwcst284.netaddress.usa.net (nwcst284.netaddress.usa.net [204.68.23.29]) by hub.freebsd.org (Postfix) with SMTP id CDA2C37B440 for ; Thu, 21 Sep 2000 11:21:36 -0700 (PDT) Received: (qmail 7692 invoked by uid 60001); 21 Sep 2000 18:21:36 -0000 Message-ID: <20000921182136.7691.qmail@nwcst284.netaddress.usa.net> Received: from 204.68.23.29 by nwcst284 for [205.161.188.115] via web-mailer(34FM.0700.4.03) on Thu Sep 21 18:21:36 GMT 2000 Date: 21 Sep 00 12:21:36 CST From: Eduardo Huertas To: "pstapley" , "Eduardo Huertas" Subject: Re: ppp -auto -nat myisp Cc: freebsd-questions@FreeBSD.org X-Mailer: USANET web-mailer (34FM.0700.4.03) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Pete Thank you for your reply. Yes. the machine where I'm running ppp is a SMB server, with FreeBSD Stab= le 3.5 "pstapley" wrote: > Do you have a windows machine connected to your network? From what I he= ar > they send out some DNS stuff that will cause it to dial unexpectedly. > = > Pete > ----- Original Message ----- > From: "Eduardo Huertas" > To: > Sent: Thursday, September 21, 2000 9:50 AM > Subject: ppp -auto -nat myisp > = > = > > Hello everybody! > > > > I've been having problems working with ppp -auto -nat myisp > > > > Everything works fine except that ppp dials unexpectedly. > > > > I read the ppp FAQ and I found this problem there. It says that to > determine > > the cause use the following line: > > > > set log +tcp/ip > > > > I certainly did and I got this cause from the log: > > > > Sep 21 09:13:03 BSDincep ppp[3291]: tun0: Phase: PPP Started (auto mo= de). > > Sep 21 09:18:17 BSDincep ppp[3291]: tun0: TCP/IP: DIAL UDP: > 10.0.0.1:138 ---> > > 10.0.0.255:138 > > Sep 21 09:18:17 BSDincep ppp[3291]: tun0: Phase: bundle: Establish > > Sep 21 09:18:17 BSDincep ppp[3291]: tun0: Phase: deflink: closed -> > opening > > Sep 21 09:18:17 BSDincep ppp[3291]: tun0: TCP/IP: OUT UDP: > 10.0.0.1:138 ---> > > 10.0.0.255:138 > > Sep 21 09:18:17 BSDincep ppp[3291]: tun0: Phase: deflink: Connected! > > Sep 21 09:18:17 BSDincep ppp[3291]: tun0: Phase: deflink: opening -> = dial > > > > The second line seems to tell me that the dial triggers from an UDP packet > > with ip addresses that are not used in my LAN (192.168.1.255) > > > > Who is doing that? And how can I make the dial filter to deny this. = I > tried > > the following with no result: > > > > # We don't want ICMPs to cause a dialup: > > set filter dial 0 deny icmp > > set filter dial 1 permit 0 0 > > # > > # or any TCP SYN or RST packets (badly closed TCP channels): > > # > > set filter dial 2 deny 0 0 tcp syn finrst > > set filter dial 3 deny 10.0.0.1 10.0.0.255 > > > > Thank you very much for your help. > > > > Eduardo Huertas > > > > ____________________________________________________________________ > > Get free email and a permanent address at http://www.netaddress.com/?= N=3D1 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message