Trouble when remove a queue



  • Using pfSense, I found a small "problem" related to queue management.

    When I have a rule associated with a queue is used dnpipe pdnpipe and, in turn, are pointers to the list of available queues. However, if one of these queues is removed, the rules are outdated with his pointers, and pointing to a wrong line.

    rule1 (dnpipe -> queue 1)
    rule2 (dnpipe -> queue 2)
    rule3 (dnpipe -> queue 3)
    rule4 (dnpipe -> queue 4)

    queue 1 = 1Mbps
    queue 2 = 2Mbps
    queue 3 = 512Kbps
    queue 4 = 1Mbps

    After removing "rule2" and "queue 2"

    rule1 (dnpipe -> queue 1)
    rule3 (dnpipe -> queue 3) -> Changed 512Kbps to 1Mbps
    rule4 (dnpipe -> queue 4) -> Changed 1Mbps to "none"

    queue 1 = 1Mbps
    queue 2 = 512Kbps
    queue 3 = 1Mbps

    A good approach for correction, would be the creation of a "queueID" in xml, so that the rule can reference the dnpipe and pdnpipe to this index and not just a pointer to a list. Thus, it facilitates the understanding of XML and avoids such problems. Or as a queue is removed, the pointers of the rules are adjusted.

    anyone ever had this problem?

    best regards,
    Kl0nEz

    "2.0.1-RELEASE (amd64)
    built on Mon Dec 12 18:43:51 EST 2011
    FreeBSD 8.1-RELEASE-p6"


  • Rebel Alliance Developer Netgate

    That is a known issue that was fixed in 2.1.