Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Ng_dummy, simple netgraph traffic shaping node

    Scheduled Pinned Locked Moved Traffic Shaping
    5 Posts 2 Posters 3.3k Views
    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.
    • J
      JorgeAldoBR
      last edited by

      I dont know whats the bug in the kernel that makes pf redirects break the dummynet code.

      But, anyone tried this "dummynet like" alternative ?

      http://www.tel.fer.hr/zec/BSD/ng_dummy/index.html

      if the bug is in the dummynet code, then maybe this module could work ?

      else, if the bug is in netgraph…

      1 Reply Last reply
      Reply Quote 0
      • S
        sullrich
        last edited by

        The bug is in PFIL ordering, not dummynet.

        CJSP is aware of the bug and will be introducing a patch to allow reordering of the pfil hooks on input and output.  If someone else has the knowledge to do a patch for this than please do.  Something like:

        sysctl net.pfil.ordering.input ="pf,ipfw"
        sysctl net.pfil.ordering.output ="ipfw,pf"
        ..
        etc

        1 Reply Last reply
        Reply Quote 0
        • J
          JorgeAldoBR
          last edited by

          While searching for info about this pfil ordering issue, i found the following discussion :

          http://readlist.com/lists/freebsd.org/freebsd-net/0/1644.html

          is this viable with ipfw and pf ?

          1 Reply Last reply
          Reply Quote 0
          • S
            sullrich
            last edited by

            Yes, basically same problem.

            1 Reply Last reply
            Reply Quote 0
            • J
              JorgeAldoBR
              last edited by

              i am searching now to see if its possible to link pf statically…

              the ordering needs to be PF before ipfw ?

              ipfw can be linked statically quite easily...

              edit: ok, dumb me :P pf can be linked statically...

              im downloading pfsense developers edition and i will give it a try...

              pf statically and ipfw as a module, lets see if this solves the problem...

              edit2: while searching for this bug i found that theres not a lot of people trying to fix this bug, at least thats what i saw on the pf-freebsd list...

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy