1# Ident - Identification Protocol - RFC 1413
2# Pattern attributes: good fast fast
3# Protocol groups: networking ietf_proposed_standard
4# Wiki: http://www.protocolinfo.org/wiki/Ident
5#
6# Usually runs on port 113
7#
8# This pattern is believed to work.
9
10ident
11# "number , numberCRLF" possibly without the CR and/or LF.
12# ^$ is appropriate because the first packet should never have anything
13# else in it.
14^[1-9][0-9]?[0-9]?[0-9]?[0-9]?[\x09-\x0d]*,[\x09-\x0d]*[1-9][0-9]?[0-9]?[0-9]?[0-9]?(\x0d\x0a|[\x0d\x0a])?$
15