Skip site navigation (1)Skip section navigation (2)
Date:      21 Sep 00 09:50:12 CST
From:      Eduardo Huertas <eduhuertas@usa.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp -auto -nat myisp
Message-ID:  <20000921155012.24208.qmail@nw177.netaddress.usa.net>

next in thread | raw e-mail | index | archive | help
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 determ=
ine
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 mode).=

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 -> openi=
ng
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 packe=
t
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 tr=
ied
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=3D=
1


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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