diff options
author | Andrew Colin Kissa <andrew@topdog.za.net> | 2017-03-12 19:14:47 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-03-12 19:14:47 +0000 |
commit | 71b32d412ac4792ca5e8d4a697afddb46c407bd9 (patch) | |
tree | e69ba0ceada72514eda7e058a7d73fd3e26b0264 /test/scripts/4000-scanning | |
parent | ea0d0cfba5fa9267c0f82af617f2094bc7545745 (diff) |
Malware: new connection type "f-prot6d" for FPSCAND protocol over TCP
Diffstat (limited to 'test/scripts/4000-scanning')
-rw-r--r-- | test/scripts/4000-scanning/4011 | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/test/scripts/4000-scanning/4011 b/test/scripts/4000-scanning/4011 new file mode 100644 index 000000000..20e6ab2b8 --- /dev/null +++ b/test/scripts/4000-scanning/4011 @@ -0,0 +1,88 @@ +# content scan interface: f-prot6d +need_ipv4 +munge loopback +# +server PORT_S +<SCAN FILE +>0 <clean> +>*eof +**** +# +# +# +exim -odi -bs -DOPT= +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server PORT_S +<SCAN FILE +>0 <infected: EICAR_Test_File> DIR/spool/scan/1clxBT-0003I9-8y/1clxBT-0003I9-8y.eml +>*eof +**** +# +# +# +exim -odi -bs -DOPT= +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +due to the server response (above) +. +quit +**** +# +# +# +server PORT_S +<SCAN FILE +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPT="/tmo=2s" +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be deferred due to timeout + +. +quit +**** +# +# +# +server PORT_S +<SCAN FILE +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPT="/tmo=2s/defer_ok" +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted despite timeout + +. +quit +**** |