[pf4freebsd] Re: ALTQ not enabled at boot

Max Laier max at love2party.net
Wed Sep 15 21:06:29 PDT 2004


On Sunday 20 June 2004 22:32, Mario Doria wrote:
> Hi,
>
> I'm having a problem with my pf/altq setup. When booting, it reads its
> rules from /etc/pf.conf (as configured in /etc/rc.conf). This machine is
> working as a NAT/firewall for my home LAN.
>
> After two hours, pfctl -s queue -v shows that no packets have passed from
> any of the queues. But, if at any moment I log in via ssh and do ( sleep 5
> && pfctl -d && pfctl -Fa && pfctl -ef /etc/pf.conf)&, it works and pfctl -s
> queue -v reports traffic in the queues.

True ... we must tweak the rc.d scripts a bit to work better with the new pf. 
For one thing we must load the ruleset before enabling and for another thing 
we should move the load before the net interfaces now that we have the new 
interface handling.

I will post some diffs for discussion later.

-- 
Best regards,				| mlaier at freebsd.org
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier at EFnet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20040916/901ede34/attachment.bin


More information about the freebsd-pf mailing list