Skip to contentSkip to conversation

IPP2P. How to set the max length of the analyzed data?

DISCUSSION Egorkin Igor 2 participants 3 messages Feb 16, 2013

lore
Share & tools
lore
#0 lore raw

Hello!

From http://l7-filter.sourceforge.net/HOWTO-kernel

Quoted 1 line

By default, l7-filter looks at the first 10 packets or 2kB, whichever

is smaller.

Quoted 1 line

You can alter the number of packets at any time through

/proc/net/layer7_numpackets.

Quoted 1 line

(i.e. "echo 16 > /proc/net/layer7_numpackets".) In l7-filter versions

2.0 and forward,

Quoted 1 line

you can alter the number of bytes at module load time: "modprobe

xt_layer7 maxdatalen=N".

Quoted 2 lines

(ipt_layer7 in old versions), where N is in bytes. This should be used cautiously, since performance may decrease

drastically with larger data sizes.

Quoted 1 line

To prevent you from accidentally bringing down your network, there is

an artificial limit of 65536 imposed.

I could not find a similar option for IPP2P. May be inside the module already exists some limits?

Signature · 1 line
Igor
#1 lore raw
Quoted 2 lines · Egorkin Igor

I could not find a similar option for IPP2P. May be inside the module already exists some limits?

IPP2P is not maintained anymore. Have you looked at nDPI instead? I've never tried it, but it seems to be the packet inspector du-jour.

Andy

#2 lore raw
In reply to Egorkin Igor
Quoted 2 lines · Andrew Beverley

IPP2P is not maintained anymore. Have you looked at nDPI instead? I've never tried it, but it seems to be the packet inspector du-jour.

Andy

nDPI is hard to compile with netfilter.
OpenDPI is not available anymore.

IPP2P is distributed with Debian/Ubuntu (xtables-addons package), so minimum compiling required.

Signature · 1 line
Igor