| | 2 | |
| | 3 | == Benefits == |
| | 4 | |
| | 5 | 1. Ingress shaping |
| | 6 | * Applied at [wiki:Document/Development/Design/Module/TrafficShaping step 4] |
| | 7 | 1. Global policy to several interfaces |
| | 8 | * Currently, not applicable to eBox |
| | 9 | |
| | 10 | == How to apply == |
| | 11 | |
| | 12 | Linux kernel patches:: |
| | 13 | with IMQ options enabled when compiling kernel source |
| | 14 | |
| | 15 | Iptables patches:: |
| | 16 | compile Iptables sources with the IMQ patch before compiling the Linux kernel |
| | 17 | |
| | 18 | More information [http://wiki.nix.hu/cgi-bin/twiki/view/IMQ/HowToInstall] (Quite Debian Etch specific). |
| | 19 | |
| | 20 | == Known issues '''(IMPORTANT!)''' == |
| | 21 | |
| | 22 | The current kind of traffic provokes kernel panics with IMQ installed: |
| | 23 | * GRE tunneling |
| | 24 | * IPSec traffic |
| | 25 | * Local generated traffic (including user space programs) |
| | 26 | |
| | 27 | == Usage == |
| | 28 | |
| | 29 | 1. Loading IMQ module |
| | 30 | {{{ |
| | 31 | modprobe imq numdevs=8 |
| | 32 | }}} |
| | 33 | 1. Bring up IMQ |
| | 34 | {{{ |
| | 35 | ip link set imq'n' up |
| | 36 | }}} |
| | 37 | 1. Working normally as a ''egress'' interface |
| | 38 | |
| | 39 | More information at [http://wiki.nix.hu/cgi-bin/twiki/view/IMQ/HowToUse]. |