Project

General

Profile

Download (1.4 KB) Statistics
| Branch: | Tag: | Revision:
1
# H.323 - Voice over IP.
2
# Pattern attributes: ok veryfast fast
3
# Protocol groups: voip itu-t_standard
4
# Wiki: http://www.protocolinfo.org/wiki/H.323
5
#
6
# This pattern is written without knowledge of the principles of H.323.
7
# It has only been tested with gnomemeeting and may not work for other
8
# clients. 
9
#
10
# Also, it has been reported that:
11
# "the pattern ... match[es] only first H.323 stream (conntrack for H.323 was 
12
# enabled).  Also the major chunk of traffic was of RTP which went untracked."
13
#
14
# Also, it may very well match other things that use TPKT and
15
# Q.931. 
16

    
17
# Note that to take full advantage of this pattern, you will need to
18
# have connection tracking of H.323 support in your kernel.  This
19
# support is not in the stock kernel.  A patch can be found at
20
# http://netfilter.org
21

    
22
h323
23
# TPKT format: http://www.ietf.org/rfc/rfc1006.txt
24
# \x03 = TPKT version.  It was 3 in May 1987 and gnomemeeting still uses 3.
25
# ..? = null reserved byte and packet length field.
26
# Q.931 format: http://www.freesoft.org/CIE/Topics/126.htm
27
# \x08  = Q.931
28
# . = length of call reference
29
# The next byte was: \x18 = message sent from originating side.
30
# But based on experimentation, it seems that just . is better. 
31
# .?.?.?.?.?.?.?.?.?.?.?.?.?.?.? = call reference (0-15 bytes (0 for nulls))
32
# \x05 = setup message
33
#
34
# Yup, it doesn't actually include any H.323 protocol information.
35
^\x03..?\x08...?.?.?.?.?.?.?.?.?.?.?.?.?.?.?\x05
(34-34/109)