uw-ictd / haulage

A single-node tool for measuring and logging network usage to allow billing and analysis
Mozilla Public License 2.0
22 stars 5 forks source link

Backhaul uplink rate limiting does not work with NAT #35

Closed matt9j closed 2 years ago

matt9j commented 2 years ago

When nat is enabled, the source ip address seen by the tc egress qdisc is already updated to be the local address, meaning simple matching rules based on the source IP are not sufficient to map egress flows to queues.

matt9j commented 2 years ago

Addressed by https://github.com/uw-ictd/haulage/commit/45f494ae13d51e4ca3ffe552ea2b5ef6904e0527