Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 96 19:03:01 +0000
From:      Andrew.Gordon@net-tel.co.uk
To:        hackers@FreeBSD.ORG
Subject:   ppp packet filter syntax changed?
Message-ID:  <"arg-home2.net-te-0218190447-7BDC*/G=Andrew/S=Gordon/O=Net-Tel Computer Systems Ltd/PRMD=Net-Tel/ADMD=Gold 400/C=GB/"@MHS>

Next in thread | Raw E-Mail | Index | Archive | Help
I just tried upgrading one of our systems from 2.0.5 to 2.1.0R, and found
that the packet filter rules we were using in /etc/ppp/ppp.conf didn't work
anymore.  In particular, a command such as:

set ifilter 0 0/0 0/0 tcp estab

which works on 2.0.5, has NO EFFECT now - it doesn't even set the rule to the
wrong thing, it just leaves you with no rule at all (hence disabling all the
other rules if you happened to do this at rule 0).

There seem to have been a few changes in src/usr.sbin/ppp/filter.c from 2.0.5
to 2.1.0, mostly looking like they intend to allow ports to be specified by
name rather than by number (the only change between 2.1.0R and -current is to
fix a printf).

Before I wade in and try to debug, has there been a deliberate change to the
syntax that has rendered my configuration file obsolete, or is there simply a
bug here?



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?"arg-home2.net-te-0218190447-7BDC*/G=Andrew/S=Gordon/O=Net-Tel Computer Systems Ltd/PRMD=Net-Tel/ADMD=Gold 400/C=GB/">