add layer7 patterns to iptables-mod-filter
[openwrt-10.03/.git] / package / iptables / files / l7 / ident.pat
1 # Ident - Identification Protocol - RFC 1413
2 # Pattern quality: good veryfast
3 # Usually runs on port 113
4 #
5 # This pattern is believed to work.  If it does not
6 # work for you, or you believe it could be improved, please post to 
7 # l7-filter-developers@lists.sf.net .  This list may be subscribed to at
8 # http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
9
10 ident
11 # "number , numberCRLF" possibly without the CR and/or LF.
12 # ^$ is appropriate because the first packet should never have anything
13 # else in it.
14 ^[1-9][0-9]?[0-9]?[0-9]?[0-9]?[\x09-\x0d]*,[\x09-\x0d]*[1-9][0-9]?[0-9]?[0-9]?[0-9]?(\x0d\x0a|[\x0d\x0a])?$