Date: Mon, 23 Aug 1999 18:57:07 -0400 From: "Carleton A. Williams" <carl@williams.mv.com> To: <freebsd-questions@FreeBSD.org> Subject: Problem setting up PPP filters Message-ID: <00c201beedba$d43f49d0$322aa8c0@home.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_00BF_01BEED99.4BD2D4C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have scanned the newsgroups, but find nothing relating to this = problem. PPP seems to be ignoring the lowest numbered and highest numbered = filters when the "set filter ..." commands are edited into ppp.conf If I place the following commands in ppp.conf: set filter dial 0 deny icmp set filter dial 1 deny 0/0 198.168.0.0/16 set filter dial 6 permit 0/0 0/0 then do "show filter dial", either by running ppp in interactive mode or = by connecting to a diagnostic port, I get: 1 deny 0.0.0.0/0 198.168.0.0/16 Just that one line! If I then (re)enter the missing filter commands = interactively, the show command produces: 0 deny 0.0.0.0/0 0.0.0.0/0 icmp 1 deny 0.0.0.0/0 198.168.0.0/16 6 permit 0.0.0.0/0 0.0.0.0/0 after which the filter seems to work as intended. Any idea what gives? Thanks, Carl ------=_NextPart_000_00BF_01BEED99.4BD2D4C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2516.1900" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I have scanned the newsgroups, but find = nothing=20 relating to this problem.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>PPP seems to be ignoring the lowest = numbered and=20 highest numbered filters when the "set filter ..." commands are edited = into=20 ppp.conf</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>If I place the following commands in=20 ppp.conf:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2> set filter dial 0 deny = icmp</FONT></DIV> <DIV><FONT face=3DArial size=3D2> set filter dial 1 deny 0/0=20 198.168.0.0/16</FONT></DIV> <DIV><FONT face=3DArial size=3D2> set filter dial 6 permit 0/0=20 0/0</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>then do "show filter dial", either by = running ppp=20 in interactive mode or by connecting to a diagnostic port, I = get:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>1 deny = 0.0.0.0/0=20 198.168.0.0/16</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Just that one line! If I then (re)enter = the missing=20 filter commands interactively, the show command produces:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>0 deny = 0.0.0.0/0=20 0.0.0.0/0 icmp</FONT></DIV> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>1 deny = 0.0.0.0/0=20 198.168.0.0/16</FONT></DIV> <DIV>6 permit 0.0.0.0/0 0.0.0.0/0</DIV> <DIV> </DIV> <DIV>after which the filter seems to work as intended.</DIV> <DIV> </DIV> <DIV>Any idea what gives?</DIV> <DIV> </DIV> <DIV>Thanks,</DIV> <DIV> </DIV> <DIV>Carl</DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_00BF_01BEED99.4BD2D4C0-- 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?00c201beedba$d43f49d0$322aa8c0>
