File: ncp.pat

package info (click to toggle)
l7-protocols 20090528-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,372 kB
  • sloc: ansic: 1,128; cpp: 261; sh: 231; makefile: 30
file content (23 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# NCP - Novell Core Protocol
# Pattern attributes: good fast fast
# Protocol groups: networking proprietary
# Wiki: http://www.protocolinfo.org/wiki/NCP
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
#
# This pattern has been tested and is believed to work well.

# ncp request
# dmdt means Request
#  *any length
#
#  *any reply buffer size
# "" means service request
#  | \x17\x17 means create a service connection
#  | uu means destroy service connection

# ncp reply
# tncp means reply
# 33 means service reply

ncp
^(dmdt.*\x01.*(""|\x11\x11|uu)|tncp.*33)