]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dhcp: add dhcp app-layer rules file
authorJason Ish <ish@unx.ca>
Thu, 31 May 2018 23:05:52 +0000 (17:05 -0600)
committerJason Ish <ish@unx.ca>
Sat, 16 Jun 2018 12:42:28 +0000 (06:42 -0600)
rules/dhcp-events.rules [new file with mode: 0644]

diff --git a/rules/dhcp-events.rules b/rules/dhcp-events.rules
new file mode 100644 (file)
index 0000000..c99d981
--- /dev/null
@@ -0,0 +1,7 @@
+# DHCP app-layer event rules.  See
+#
+# https://redmine.openinfosecfoundation.org/projects/suricata/wiki/AppLayer
+# for SID allocation.
+
+alert dhcp any any -> any any (msg:"SURICATA DHCP malformed options"; app-layer-event:dhcp.malformed_options; classtype:protocol-command-decode; sid:2227000; rev:1;)
+alert dhcp any any -> any any (msg:"SURICATA DHCP truncated options"; app-layer-event:dhcp.truncated_options; classtype:protocol-command-decode; sid:2227001; rev:1;)