Testing IpTables ROPE Scripts In Userland

The ROPE script interpreter is normally run as an IpTables module in KernelLand (ie: in the linux kernel itself). However: as a debug aid, the intepreter can also be run as a user process, acting on IP packets stored in datafiles. This allows ROPE script developers to test their scripts before installing them into the kernel.

To use this mode, the following steps must be taken.

0x0000   4500 006c 40b4 4000 8006 4506 c0a8 0066        E..l@.@...E....f
0x0010   c41e efa4 0729 1ae2 b65b 7e40 bc89 e335        .....)...[~@...5
0x0020   5019 ffff cf93 0000 1342 6974 546f 7272        P........BitTorr
0x0030   656e 7420 7072 6f74 6f63 6f6c 0000 0000        ent.protocol....
0x0040   0000 0000 9f42 6ffd f801 3595 2350 0ed8        .....Bo...5.#P..
0x0050   7aae aae8 5c54 8c45 2d41 5a32 3230 302d        z...\T.E-AZ2200-
0x0060   7a59 5044 324e 644f 5852 784e                  zYPD2NdOXRxN

or

Note - the data and text file names used above can be changed to taste.

See Also

Basics, KernelLand, Compiling