From nobody@FreeBSD.org  Thu Apr 29 23:47:46 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4AE4B16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Apr 2004 23:47:46 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3C0FD43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Apr 2004 23:47:46 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i3U6ljs2022044
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Apr 2004 23:47:45 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i3U6ljgM022043;
	Thu, 29 Apr 2004 23:47:45 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404300647.i3U6ljgM022043@www.freebsd.org>
Date: Thu, 29 Apr 2004 23:47:45 -0700 (PDT)
From: Sergey Homenkow <hsw@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: macro HISADDR is not sticky in filters
X-Send-Pr-Version: www-2.3

>Number:         66103
>Category:       bin
>Synopsis:       ppp(8) macro HISADDR is not sticky in filters
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 29 23:50:14 PDT 2004
>Closed-Date:    
>Last-Modified:  Sat May 24 19:26:24 UTC 2008
>Originator:     Sergey Homenkow
>Release:        FreeBSD 4.9-STABLE
>Organization:
Comptek
>Environment:
FreeBSD sofia.nirvana.ipct.ru 4.9-STABLE FreeBSD 4.9-STABLE #22: Thu Mar 25 23:07:34 MSK 2004     r
oot@sofia.nirvana.ipct.ru:/usr/src/sys/compile/SOFIA  i386
>Description:
ppp(8) does not update filter rules with sticky macro HISADDR after negotiating IP-addr.


>How-To-Repeat:
make ppp.conf record with:
  set ifaddr 217.150.59.131 192.168.253.2-192.168.253.99
  set radius /etc/radius.conf
  set filter in 0 permit HISADDR 0.0.0.0/0

At start ppp(8) select client ip from pool (192.168.253.42) and set filters.

After authorization with radius with attributes Framed-IP-Address:=217.150.58.197 packets blocked:

>Fix:
Setup (or update) filter rules with macro in /etc/ppp/ppp.linkup

>Release-Note:
>Audit-Trail:
>Unformatted:
 >Debug: IN filter:
 >Debug:   rule = 0: Address mismatch
 >Filter: INbound rule = implicit deny icmp src = 217.150.58.197/0 dst = 217.150.59.131/0
 >TCP/IP: IN ICMP: 217.150.58.197:8 ---> 217.150.59.131 (36/84) - BLOCKED
 
