-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter routes, not just networks #30
Comments
@JonathanLennox Does it answer your question? |
No, what I'm looking for is something like this: My Linux box is set up as a router. eth0 has IP address 192.168.2.1, and is the route for 192.168.2.0/24. eth1 has IP address 192.168.1.3, and is the default route for all other traffic. I want to be able to introduce impairments to all traffic from 192.168.2.55 (which is behind eth1) to 192.168.14.77 (which is somewhere beyond the default router), without any impairments to either other traffic from 192.168.2.55, or other traffic to 192.168.14.77. I believe this should be possible with the 'tc filter' command, though to be fair I don't really understand tc at all. (This is of course why I want to use tcconfig instead.) The broader goal here is to have a complete replacement for the ancient 'nistnet' package, without needing to use 15-year-old unsupported kernel modules. This is the main nistnet capability that isn't in tcconfig. |
Thank you for your explanation. Certainly, Example:
In this example, I've uploaded this prototype package to https://drive.google.com/file/d/0By6ycr1BX49xal84dU9OS3VBRkU/view?usp=sharing Installation:
Any comments or suggestions would be appreciated. |
Unfortunately I don't have the setup to test it right now (my test router is still the aforementioned ancient box running nistnet) but it looks good by inspection. |
Thank for your response. |
Did this make it into the 0.7.0-alpha's? Or is it part of the master branch? |
@konetzed Please note followings if you use it:
Any comments or suggestions are welcome. |
I'll close the issue, since the feature included from Thanks, |
If a Linux box is acting as a router, it'd be helpful to be able to specify impairments for a specific route (i.e. all traffic from X.X.X.X to Y.Y.Y.Y, possibly with protocols or ports specified). How hard would this be to add?
The text was updated successfully, but these errors were encountered: