Пробовал shaper, он не компилируется, пишет вот такую фигню:
In file included from shapecfg.c:5:
/usr/include/linux/if.h:111: field `ifru_addr' has incomplete type
/usr/include/linux/if.h:112: field `ifru_dstaddr' has incomplete type
/usr/include/linux/if.h:113: field `ifru_broadaddr' has incomplete type
/usr/include/linux/if.h:114: field `ifru_netmask' has incomplete type
/usr/include/linux/if.h:115: field `ifru_hwaddr' has incomplete type
shapecfg.c: In function `main':
shapecfg.c:17: `AF_INET' undeclared (first use in this function)
shapecfg.c:17: (Each undeclared identifier is reported only once
shapecfg.c:17: for each function it appears in.)
shapecfg.c:17: `SOCK_DGRAM' undeclared (first use in this function)
shapecfg.c:32: `SIOCDEVPRIVATE' undeclared (first use in this function)
shapecfg.c:16: warning: return type of `main' is not `int'