Bringing the DPD POP3 signature back.

This also avoids the need for updating the external test suite.
This commit is contained in:
Robin Sommer 2013-07-10 14:19:00 -07:00
parent cb09bd6358
commit 06287966a1
4 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,2 @@
@load-sigs ./dpd.sig

View file

@ -0,0 +1,13 @@
signature dpd_pop3_server {
ip-proto == tcp
payload /^\+OK/
requires-reverse-signature dpd_pop3_client
enable "pop3"
tcp-state responder
}
signature dpd_pop3_client {
ip-proto == tcp
payload /(|.*[\r\n])[[:space:]]*([uU][sS][eE][rR][[:space:]]|[aA][pP][oO][pP][[:space:]]|[cC][aA][pP][aA]|[aA][uU][tT][hH])/
tcp-state originator
}