From owner-freebsd-questions Mon Aug 23 15:57:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cyberzone.net (mail.cyberzone.net [209.150.2.10]) by hub.freebsd.org (Postfix) with ESMTP id 424CA14F65 for ; Mon, 23 Aug 1999 15:57:41 -0700 (PDT) (envelope-from carl@williams.mv.com) Received: from CARL ([209.150.9.52]) by mail.cyberzone.net (Post.Office MTA v3.5.3 release 222 ID# 553-59042U4600L450S0V35) with SMTP id net for ; Mon, 23 Aug 1999 18:57:10 -0400 Message-ID: <00c201beedba$d43f49d0$322aa8c0@home.net> From: "Carleton A. Williams" To: Subject: Problem setting up PPP filters Date: Mon, 23 Aug 1999 18:57:07 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BF_01BEED99.4BD2D4C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
I have scanned the newsgroups, but find = nothing=20 relating to this problem.
 
PPP seems to be ignoring the lowest = numbered and=20 highest numbered filters when the "set filter ..." commands are edited = into=20 ppp.conf
 
If I place the following commands in=20 ppp.conf:
 
  set filter dial 0 deny = icmp
  set filter dial 1 deny 0/0=20 198.168.0.0/16
  set filter dial 6 permit 0/0=20 0/0
 
then do "show filter dial", either by = running ppp=20 in interactive mode or by connecting to a diagnostic port, I = get:
 
1  deny     = 0.0.0.0/0=20 198.168.0.0/16
 
Just that one line! If I then (re)enter = the missing=20 filter commands interactively, the show command produces:
 
0  deny     = 0.0.0.0/0=20 0.0.0.0/0 icmp
1  deny     = 0.0.0.0/0=20 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message