1# Tencent QQ Protocol - Chinese instant messenger protocol - http://www.qq.com 2# Pattern attributes: good fast fast 3# Protocol groups: chat 4# Wiki: http://www.protocolinfo.org/wiki/QQ 5# 6# Over six million people use QQ in China, according to wsgtrsys. 7# 8# This pattern has been tested and is believed to work well. 9# 10# QQ uses three (two?) methods to connect to server(s?). 11# one is udp, and another is tcp 12# udp protocol: the first byte is 02 and last byte is 03 13# tcp protocol: the second byte is 02 and last byte is 03 14# pattern written by www.routerclub.com wsgtrsys 15 16qq 17^.?\x02.+\x03$ 18 19