Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Looking for help about fairq

    Development
    2
    2
    3036
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rrnn97 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • E
        eri-- last edited by

        You need to rebuild even pfctl.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post