Date: Mon, 29 Mar 1999 23:49:40 -0500 (EST) From: "James A. Mutter" <jmutter@netwalk.com> To: freebsd-questions@freebsd.org Subject: userland ppp and the keepalive filter. Message-ID: <Pine.BSF.4.05.9903292342560.706-100000@insomnia.local.net>
next in thread | raw e-mail | index | archive | help
FreeBSD pokey.local.net 3.1-RELEASE FreeBSD 3.1-RELEASE #3: Sat Jan 19 The system is listed above. As the subject line says, I'm having some problems with the keepalive filter and ntp packets with userland ppp. I'm trying to run xntpd on this machine, but the ntp packets are keeping the connection alive for, quite literally, days at time. This is unacceptable. :) Following is my ppp.conf: default: allow users corsmith jmutter set timeout 900 set speed 115200 set device /dev/cuaa0 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK ATW1 OK \\dATDT\\T TIMEOUT 40 CONNECT" netwalk: set phone "1234567" set login "TIMEOUT 10 gin:-BREAK-gin: NotAChance word: NEVER" deny lqr set ifaddr 205.156.197.0/0 205.156.197.250/0 255.255.255.0 0.0.0.0 delete ALL add 0 0 HISADDR # # Set filter to allow ntp packets through, but don't count them towards keep # alive # # This doesn't work - seems to deny _everything_ from the keepalive # filter. #set filter alive 0 deny tcp src eq 123 dst eq 123 #set filter alive 1 deny udp src eq 123 dst eq 123 # set filter alive 0 deny udp src eq 123 # set filter alive 1 deny tcp src eq 123 # set filter alive 2 deny udp dst eq 123 # set filter alive 3 deny tcp dst eq 123 set log local phase As you can see, everything regarding the filter is commented out now. When it was uncommented, that configuration seemed to deny _everything_ from the keepalive filter. The system would disconnect after the 'timeout' period of 900 seconds. I tried using the examples posted in the handbook/ppp section, however ppp didn't like those, the above entries are from the /etc/ppp/ppp.conf.sample file. Am I doing something wrong, maybe misunderstanding what those filters do? As usual any help is appreciated. Thank you, Jim 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?Pine.BSF.4.05.9903292342560.706-100000>