Ok, it sounds good, I will do it same to you.
And what do you think about ntop? any trouble in have in same server both services? I have Snorby on port 3000 but I could change ntop another port.
How could I enable notifications from Suricata/Snorby in email? I enabled Snorby emails in /opt/snorby/config/initializers/mail_config.rb
I didn’t have any problems running ntop on the same server. Yes, just change the port. With regards to email from suricata, I can’t help you there as I haven’t implemented that feature.
Hi, yesterday I had a false positive with this:
fast.log.2:04/25/2017-14:05:58.149205 [] [1:2002994:7] ET SCAN Rapid IMAP Connections - Possible Brute Force Attack [] [Classification: Misc activity] [Priority: 3] {TCP}
alert tcp $EXTERNAL_NET any → $HOME_NET 143 (msg:“ET SCAN Rapid IMAP Connections - Possible Brute Force Attack”; flow:to_server; flags: S,12; threshold: type both, track by_src, count 30, seconds 60; reference:url,doc.emergingthreats.net/2002994; classtype:misc-activity; sid:2002994; rev:7;)
I’m seeing that rule which if it detects 30 count in 60 sec it will drop the traffic, its okay and mikotik dropped all traffic, but my question is. Are there way to upload that limit or add my public IP as whitelist?
Maybe adding in threshold.config this to avoid ban IP?
suppress gen_id 1, sig_id 2002994, track by_src, ip my_ip_public
Any idea to upload limit? I won’t like remove that rule from that IP really but if there isn’t another solution I will have to do it.
In oinkmaster.conf you can modify rules are they are loaded. In this case, you can change the count and seconds parameter on this rule using the following directive:
Thanks you very much as always. I added it to my file.
A question, I had in threshold.config another rules (suppress gen_id 1, sig_id 2020565 for example). I added it to oinkmaster.conf too. Suricata checks both files?
Hi, I’m trying to enable notifications via email to my account but I was reading and reading and I haven’t luck. I use postfix and I’m trying to send it to a server with TLS (I created file sasl in postfix with details login)
How could I enable it?
No no, I’m using your main implementation. I have Mikrotik enabled with logs and I receive some emails when router drops something but I would like to get emails too, is it possible?
I added that option, in rule I marked “Log” and i receive emails when Mikrotik blocks but I would like an email from Suricata if blocks anything. The email from Mikrotik isn’t very useful because the info isn’t complete (Not cause, not rule ID, etc)
Here a example (body is empty):
firewall,info [DROP_BLOCK] input: in:A_Router_Mail/Nas_XXXX_eth2 out:(none), src-mac f8:8e:85:e2:49:18, proto TCP (SYN), 91.197.234.22:43276->192.168.3.2:3380, len 44
Thanks! Its an email very useful
I have to change some values on my mail server because I’m using TLS 587 but I will let you know when its done and working fine.
I have a little problem, when the event notification turns on? If I use from shell mail -s “test” xxxx@hotmail.com I get it, but not with script suricata_block.php. Should I enable anything more?
I can’t see any log from that script. How could I debug it? Thanks again.
I got a test successfully but I don’t receive emails from script suricata-block. How could I debug it more? I have alerts on Snorby which I think that I should have an email from script.