pfctl: DIOCGIFSPEED: Invalid argument

Robert Viau rviau75 at rogers.com
Mon Nov 15 06:49:53 PST 2004


The manpage I'm looking at in 5.3-RELEASE does tell
otherwise:

     on <interface>
           Specifies the interface the queue operates
on.  If not given, it
           operates on all matching interfaces.

"If not given ...", to me implies it is not required.

 --- Max Laier <max at love2party.net> wrote: 
> On Sunday 14 November 2004 15:01, Robert Viau wrote:
> > pflog0 shows up when you build with "device
> pflog".  I just built with
> > options pf, so there is a /dev/pf, and everything
> was working but altq.
> >
> > The reason altq wasn't working is because despite
> the man page implying you
> > can do it the way I did, it actually has to be
> "altq on [interface] priq
> > ...", not just "altq priq ...".
> 
> The manpage doesn't tell otherwise:
> >      altq-rule      = "altq on" interface-name
> queueopts-list
> >                       "queue" subqueue
> 
> You might confuse it with the filter-rules where you
> really have:
> >      pf-rule        = action [ ( "in" | "out" ) ]
> >                       [ "log" | "log-all" ] [
> "quick" ]
> >                       [ "on" ifspec ] [ route ] [
> af ] [ protospec ]
> >                       hosts [ filteropt-list ]
> 
> -- 
> /"\  Best regards,                      |
> mlaier at freebsd.org
> \ /  Max Laier                          | ICQ
> #67774661
>  X   http://pf4freebsd.love2party.net/  |
> mlaier at EFnet
> / \  ASCII Ribbon Campaign              | Against
> HTML Mail and News
> 

> ATTACHMENT part 2 application/pgp-signature 
 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


More information about the freebsd-pf mailing list