add layer7 patterns to iptables-mod-filter
[openwrt-10.03/.git] / package / iptables / files / l7 / vnc.pat
1 # VNC - Virtual Network Computing.  Also known as RFB - Remote Frame Buffer
2 # Pattern quality: good fast
3 # http://www.realvnc.com/documentation.html
4
5 # This pattern has been verified with vnc v3.3.7 on WinXP and Linux
6 # Please report on how this pattern works for you at
7 # l7-filter-developers@lists.sf.net .  If you can improve on this pattern,
8 # please also post to that list. You may subscribe at
9 # http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
10 #
11 # Thanks to Trevor Paskett <tpaskett AT cymphonix.com> for this pattern.
12
13 vnc
14 # Assumes single digit major and minor version numbers 
15 # This message should be all alone in the first packet, so ^$ is appropriate
16 ^rfb 00[1-9]\.00[0-9]\x0a$
17
18 # This is a more restrictive version which assumes the version numbers
19 # are ones actually in existance at the time of this writing, i.e. 3.3,
20 # 3.7 and 3.8 (with some clients wrongly reporting 3.5).  It should be
21 # slightly faster, but probably not worth the extra maintenance. 
22 # ^rfb 003\.00[3578]\x0a$
23