You can use IPS (Intrusion protection) File store option.
Simplewall uses Suricata IPS latest stable integration is very simple and easy to with nice web user interface.
Files signatures :
Simply store all files to disk:-
alert http any any -> any any (msg:"FILE store all"; filestore; sid:1; rev:1;)
Store all files with extension pdf:-
alert http any any -> any any (msg:"FILE PDF file claimed"; fileext:"pdf"; filestore; sid:2; rev:1;)
drop ip any 443 -> 192.168.3.38 any (msg:"File extension => swf block for User38 "; fileext:"swf"; filestore ;sid:96676215;rev:1;)
drop ip any 443 -> 192.168.3.38 any (msg:"File extension => flv block for User38 "; fileext:"flv"; filestore ;sid:45369914;rev:1;)
drop ip any 443 -> 192.168.3.38 any (msg:"File extension => mp3 block for User38 "; fileext:"mp3"; filestore ;sid:87448154;rev:1;)
tcpdump
" (The answer there should provide what you need, I suppose.) Oh, and there'sdriftnet
, the perfect fit. – sr_ May 09 '12 at 08:51driftnet
takes alibpcap
-filter expression; but maybe I misunderstood you... – sr_ May 09 '12 at 18:23driftnet
, please consider adopting it. – sr_ May 10 '12 at 09:27