Traffic Management + clock + odometer

  • I understand that in 2.0 Traffic management has been significantly overhauled, especially with using Multi WANs - this is a very good thing.

    One small feature request is to be able to setup pfSense to automatically toggle traffic management configurations at different times of day or if a particular interface has transferred a specific amount of bandwidth in a given period.

    I have 2 WANs as it is now, one ASDL2+ Annex M (20mbit down, 2.4mbit up) and a cable connection (20mbit down, 768kbit up). The ADSL connection is always full speed and is generally excellent, but the cable provider (Virgin Media) has a strict traffic management policy that means up to 75% of my bandwidth vanishes if I overdo it (see for info). Given their limits of 3.5-7GB, I can eat that in 1.5-3 hours!

    As such, if it's possible, I'd like to create a profile that says 'have all 40mbits of bandwidth' between 22:00 and 10:00, but at all other times, only allow traffic through the cable interface if it's below 1400MB per hour between 10:00 and 16:00 and below 583MB per hour between 16:00 and 22:00.

    I wouldn't know how complex it is to get cron to change configurations nor would I know how the traffic manager could read the bandwidth counters, but given the complexity of what can already be done in pfSense, my guess is this shouldn't be too hard?

    Given Virgin is the largest (or at least might be #2) ISP in the UK, it's pretty important too, even for those who just want to force shut-off non-essential traffic during peak times without the luxury of multiwan like myself. I'm sure there are plenty of other ISPs who enforce traffic management in this way too.

    Regardless, please keep up the amazing work!

  • If you raise a bounty and offer money you'll be more likely to find somebody who'll consider helping you ;)