[iptables] Update layer7 rules
[openwrt-10.03/.git] / package / iptables / files / l7 / vnc.pat
1 # VNC - Virtual Network Computing.  Also known as RFB - Remote Frame Buffer
2 # Pattern attributes: great veryfast fast
3 # Protocol groups: remote_access
4 # Wiki: http://www.protocolinfo.org/wiki/VNC
5 # Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
6 #
7 # http://www.realvnc.com/documentation.html
8
9 # This pattern has been verified with vnc v3.3.7 on WinXP and Linux
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