Looking for help about fairq



  • I am a FreeBSD user, and trying to make my box a firewall.

    I've got a freshly installed FreeBSD7.1, it runs ok as a gateway.

    The problem is after I patch the fairq patch from http://cvs.pfsense.org/cgi-bin/cvsweb.cgi/tools/patches/RELENG_7_1/fairq.RELENG_7.diff,
    add these options to kernel conf:
    options         ALTQ
    options         ALTQ_CBQ
    options         ALTQ_RED
    options         ALTQ_RIO
    options         ALTQ_HFSC
    options         ALTQ_PRIQ
    options         ALTQ_NOPCC
    options         ALTQ_FAIRQ

    and make install the new kernel, but the fairq does not work.

    this is my very simple pf.conf:
    –--------------------------------------------------
    altq on le1 fairq bandwidth 500Kb queue { lan_fair }
    queue lan_fair bandwidth 200Kb fairq ( default )

    nat on le0 from le1:network -> (le0)

    pass out on le1 from any to any queue lan_fair

    and pfctl -f pf.conf tell me : "pf.conf:1: syntax error", it seems pfctl does not recognize "fairq" directive.

    Am I missing other patches? Hope I can find some hints from here

    Thank you in advance!
    Rong Ren.



  • You need to rebuild even pfctl.


Log in to reply