From owner-freebsd-questions Mon Mar 29 20:47:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pokey.local.net (tcs5-39.netwalk.net [206.175.76.39]) by hub.freebsd.org (Postfix) with ESMTP id 7FD281566A for ; Mon, 29 Mar 1999 20:47:46 -0800 (PST) (envelope-from jmutter@netwalk.com) Received: from insomnia.local.net (insomnia.local.net [10.0.0.3]) by pokey.local.net (8.9.2/8.9.2) with ESMTP id XAA03706 for ; Mon, 29 Mar 1999 23:47:26 -0500 (EST) (envelope-from jmutter@insomnia.local.net) Date: Mon, 29 Mar 1999 23:49:40 -0500 (EST) From: "James A. Mutter" Reply-To: jmutter@netwalk.com To: freebsd-questions@freebsd.org Subject: userland ppp and the keepalive filter. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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