New patches
Ive written a bidirectional matching patch and rewritten the quota patch to include packet header length as well into the quota these patches can be found at http://www.gen-x.co.nz/patches/ Ive included a patch for iptables-1.2.11 for the bidirectional match perhaps these can be entered into PoM?
VeNoMouS.
Quoted 5 lines · VeNoMouS
Ive written a bidirectional matching patch and rewritten the quota patch to include packet header length as well into the quota these patches can be found at http://www.gen-x.co.nz/patches/ Ive included a patch for iptables-1.2.11 for the bidirectional match perhaps these can be entered into PoM?
OK, first step is to grab the latest subversion tree and patch against that. Secondly, I'd suggest:
1) Rename to "bidir" since "bidirectional" is a little long,
2) Use a single structure, rather than separating into two.
3) Don't define "IP", use *flags = 1, and you don't need to check for it anywhere else.
You might want to consider the merits of allow TCP/UDP ports, too. I don't know if this is a good idea or even has clear semantics.
Cheers,
Rusty.
Signature · 1 line
A bad analogy is like a leaky screwdriver -- Richard Braakman