iptables mirror target for kernel version 2.6.31
The iptables mirror target I published here does not work anymore with kernel version 2.6.31. You can download the newer version for 2.6.31 and probably future kernels here:
[download#32] |
To build the module, boot the kernel you want to use the module with. Afterwards unpack the archive, run the compile.sh script and the install.sh script.
Now you may use the mirror target in place of the reject or drop target in the INPUT, FORWARD and PREROUTING chains, like this in your firewall script:
$IPTABLES -A INPUT -j MIRROR
Beware: The use of the mirror target may have strange results, i.e. if you want to connect to the iptables protected machine, you may end up connecting to the local machine without recognizing it. It also may use much bandwith. Worst case: if you have two machines using this module they may end up playing pingpong. So you have been warned, use with caution and at your own risk. For more information see: MIRROR target.
Downloads for older kernel versions are below. Notice the version numbering 2.6.25 works for kernels up to 2.6.27. 2.6.28 also works for 2.6.29 and 2.6.30 kernels.
[download#12] [download#13] [download#14] |
These versions do not work with 2.6.35 kernels. See iptables mirror target for kernel version 2.6.35 for the newer one.
regards
Jürgen
October 9th, 2009 at 3:13 pm
[…] versions do not work with 2.6.31 kernels. See iptables mirror target for kernel version 2.6.31 for the newer […]
June 12th, 2010 at 12:33 pm
2.6.32 doesn’t work. need your patch
June 12th, 2010 at 1:40 pm
Which version of the mirror target did you try and what is the error you get?