ROPE - IpTables Scripting Language

ROPE is a "match module" for Linux IpTables that allows packets to be matched using highly flexible rules, written in a simple purpose-designed scripting language. It was written initially to provide support for the next phase of the P2PWall project for controlling various styles of peer-to-peer application traffic, but is much broader than this in it's possible uses. See the Basics page for a tutorial-style overview.

ROPE is available under the terms of the GPL license.

Operating System And IpTables Versions

New for 2006 - Rope now works with linux 2.6 kernels.

So far, ROPE has been developed and tested against the 2.4.x and 2.6.x linux kernels (for single Intel CPU platforms) and IpTables from 1.2.x to 1.3.x. I will port it to SMP shortly. For now be aware that ROPE does not work with SMP (multple-CPU support) kernels.

A pre-build binary version is available for the excellent IPCop firewall distribution, version 1.4.x.

Starting Points

Working Examples

Using Rope With IpCop