Date: Tue, 14 Feb 2006 12:56:38 -0500 From: Scott Ullrich <sullrich@gmail.com> To: worm@chm.org.ua Cc: freebsd-pf@freebsd.org Subject: Re: PF: dynamic rules Message-ID: <d5992baf0602140956q21d28541p3367fbc0c2c7acaf@mail.gmail.com> In-Reply-To: <43F213F2.3080003@chm.org.ua> References: <43F213F2.3080003@chm.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/14/06, Victor V. Melnichenko <worm@chm.org.ua> wrote: > I have some problem with PF. > I have pppoe server based on mpd. > What i want: > When client connect to the server some rules (e.g. altq ... priq ... > etc) must be load and apply to the interface ng0 for example. When > client disconnected from server this rules must be delete from rule-table= . > In IPFW this things works fine... > > Question: how can i do this in PF? You're best bet is to link into ppp-linkup (generally in /usr/local/sbin/) which MPD invokes after a session is nailed up. =20 You could easily tie in you're custom ALTQ rules with this script. Hope this helps! Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5992baf0602140956q21d28541p3367fbc0c2c7acaf>