summaryrefslogtreecommitdiffstats
path: root/src/usr/local/share/protocols/whois.pat
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/share/protocols/whois.pat')
-rw-r--r--src/usr/local/share/protocols/whois.pat14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/local/share/protocols/whois.pat b/src/usr/local/share/protocols/whois.pat
new file mode 100644
index 0000000..6abf0e8
--- /dev/null
+++ b/src/usr/local/share/protocols/whois.pat
@@ -0,0 +1,14 @@
+# Whois - query/response system, usually used for domain name info - RFC 3912
+# Pattern attributes: good notsofast notsofast overmatch
+# Protocol groups: networking ietf_draft_standard
+# Wiki: http://www.protocolinfo.org/wiki/Whois
+# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
+#
+# Usually runs on TCP port 43
+#
+# This pattern has been tested and is believed to work well.
+
+whois
+# Matches the query. Assumes only that it is printable ASCII without wierd
+# whitespace.
+^[ !-~]+\x0d\x0a$
OpenPOWER on IntegriCloud