Snitch is a powerful packetshaping utility that allows the user to easily harness the power of the Linux tc command to shape network traffic. When combined with its sister project, l7-filter, Snitch can also shape based on application-level protocols. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 31000 [details] snitch-0.0.1.ebuild
Created attachment 31001 [details] ChangeLog
commited - thanks
I found some problems with snitch; * snitch also depends iproute becuase it uses tc. * i think iptables-1.2.9-r1 dependencie is useless right now because of none of the kernel-sources have l7 patch. [ except love-sources i think but im not sure ]. So it only depends iptables not the one with l7 patch. If one of the kernel will include l7 later we add the dependencie maybe with a new use flag. * Also i found a character encoding problem in changelog for my name [ turkish character ] and change it to {C} :)
Created attachment 31084 [details] snitch-0.0.1-r1.ebuild
Created attachment 31085 [details] ChangeLog
Fixed dependency and the character encoding problem. Can you please do a bit more investigating as to which kernels use which patches? If the gentoo-sources doesn't include it, and it is a dependency, please create a bug on the gentoo-sources to include this patch. Thankyou
There is a request exits to include l7 patch in kernel's [ http://bugs.gentoo.org/show_bug.cgi?id=48903 ]. But none of the kernel's include that patch. Only iptables-1.2.9-r1 [http://bugs.gentoo.org/show_bug.cgi?id=39761 ] include l7 patch, but without patched kernel this is not working :( But snitch can run without that patch also. So "net-firewall/iptables" dependency is enough at that time and no need to a specify version. Because of nothing changes without kernel patch. If one of the kernel will include the l7 patch from http://sourceforge.net/projects/l7-filter/ ,than we have to modify the ebuild to solve dependency.
Optional bug dependency on l7-filter kernel patches added. Thankyou for looking up this info.
net-misc/l7-filter added - this patches your current kernel tree. Its up to you to recompile. Any problems let me know (with fixes if you can :-)