Traffic shaper rule triggered



  • Hello to all,
    I want to know if there is a way to trigger a traffic shaper rule at reaching a traffic threshold preset, example threshold of 1gb… If I get over of it, a traffic shaper rule is triggered to limit traffic.



  • @ninoalcamo:

    Hello to all,
    I want to know if there is a way to trigger a traffic shaper rule at reaching a traffic threshold preset, example threshold of 1gb… If I get over of it, a traffic shaper rule is triggered to limit traffic.

    Your request seems a bit redundant because traffic-shaping is technically the intelligent scheduling of queued packets, and a queue is virtually non-existant until the bitrate meets or exceeds your configured bitrate (like the "1Gbit" bitrate in your example).

    What exactly is your goal?



  • @Nullity:

    Your request seems a bit redundant because traffic-shaping is technically the intelligent scheduling of queued packets, and a queue is virtually non-existant until the bitrate meets or exceeds your configured bitrate (like the "1Gbit" bitrate in your example).

    What exactly is your goal?

    I don't mean 1gb as bitrate, but as total amount of traffic that passes through an interface



  • @ninoalcamo:

    @Nullity:

    Your request seems a bit redundant because traffic-shaping is technically the intelligent scheduling of queued packets, and a queue is virtually non-existant until the bitrate meets or exceeds your configured bitrate (like the "1Gbit" bitrate in your example).

    What exactly is your goal?

    I don't mean 1gb as bitrate, but as total amount of traffic that passes through an interface

    Ah, I see. Sadly, the answer is "No" then, unless you want to some scripting yourself.

    Linux iptables does have this feature built-in.

    FYI, gb = gigabit, gB or GB = gigabyte. I just spell it out to avoid confusion.



  • @Nullity:

    Ah, I see. Sadly, the answer is "No" then, unless you want to some scripting yourself.

    Linux iptables does have this feature built-in.

    FYI, gb = gigabit, gB or GB = gigabyte. I just spell it out to avoid confusion.

    Ok, thanks for your reply and clarification.


Log in to reply