Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Intrusion Detection and Prevention
»
IDS block time
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: IDS block time (Read 15543 times)
dcol
Hero Member
Posts: 635
Karma: 51
IDS block time
«
on:
November 20, 2017, 04:06:52 pm »
I just realized that OPNsense has a set time to release a block for IDS. What is this time period and is it possible to make it adjustable or change the value from the shell?
Here is a screenshot from the console, but not sure if this is IDS related. If not, then what does this message mean?
«
Last Edit: November 20, 2017, 04:35:16 pm by dcol
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: IDS block time
«
Reply #1 on:
November 20, 2017, 09:21:15 pm »
SEGVGUARD is an exploit mechanism in HardenedBSD that will prevent brute force attacks against services: it will prevent services from restarting when (being) crashed too many times, which can be a symptom of someone trying to attack your system remotely trying to execute arbitrary code. IT can also be a problem with persistent crashes of daemons due to misconfiguration or software bugs that are not exploitable.
Long story short, something is causing your syslogd to crash, either due to configuration or a bad system state or otherwise.
Cheers,
Franco
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: IDS block time
«
Reply #2 on:
November 20, 2017, 09:27:43 pm »
What about the IDS block release time? How long does OPNsense allow to pass before it releases an IDS block, If ever. Also, where can I see a list of currently blocked IP's?
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: IDS block time
«
Reply #3 on:
November 20, 2017, 09:32:23 pm »
Blocks are inline per flow once drop kicks in via rule, not based on IP. I don't think we have a blacklist feature for offending IPs. But I could be wrong.
Cheers,
Franco
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: IDS block time
«
Reply #4 on:
November 20, 2017, 09:36:21 pm »
Blocks aren't inline unless you turn on IPS. When an IDS block is triggered, is the offender placed in a block table then managed by the firewall? This is how I have the pf box setup.
Logged
xinnan
Full Member
Posts: 125
Karma: 13
Re: IDS block time
«
Reply #5 on:
November 20, 2017, 09:40:46 pm »
IDS has two modes on pfsense. Legacy and inline.
Legacy blocks an IP for a specified period of time if any rule is triggered.
Inline blocks each offense as it occurs without considering the IP unless the IP itself is the trigger...
Legacy blocks by IP.
Inline drops by offended rule.
Blocking by IP is not optimal.
«
Last Edit: November 20, 2017, 09:43:08 pm by xinnan
»
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: IDS block time
«
Reply #6 on:
November 20, 2017, 09:42:39 pm »
That leads me back to the original question. What is that specified period of time, and is it adjustable?
Logged
xinnan
Full Member
Posts: 125
Karma: 13
Re: IDS block time
«
Reply #7 on:
November 20, 2017, 09:45:21 pm »
Inline? On opnsense or pfsense?
Either way, there is no time since no IP is placed on a block.
Each packet/connection is evaluated each time to see if it violates a rule. If so, it alerts or drops.
If you are in inline mode on pfsense and have a time set, that setting isn't doing anything.
«
Last Edit: November 20, 2017, 09:47:39 pm by xinnan
»
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: IDS block time
«
Reply #8 on:
November 20, 2017, 09:49:12 pm »
Not inline. Right now inline/IPS does not work for me. The link keeps going down when IPS is on the WAN.
My question is for legacy mode in OPNsense
Logged
xinnan
Full Member
Posts: 125
Karma: 13
Re: IDS block time
«
Reply #9 on:
November 20, 2017, 09:51:53 pm »
In that case the block is per IP. Yes. It would have to be.
Not sure about setting times. I need another day or so to dig into the feature in opnsense.
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: IDS block time
«
Reply #10 on:
November 20, 2017, 09:53:16 pm »
Thanks, that would be good to know. Also if it is changeable in a file somewhere.
Logged
xinnan
Full Member
Posts: 125
Karma: 13
Re: IDS block time
«
Reply #11 on:
November 20, 2017, 09:59:13 pm »
Inline IDS is such a great feature. I'm really only now getting used to it myself. I will take a closer look in the next day or two. I've been busy with a little work and fighting with a hypervisor.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: IDS block time
«
Reply #12 on:
November 20, 2017, 10:17:06 pm »
I still don't think IDS mode does anything but alert how it's supposed to in general.
Cheers,
Franco
Logged
xinnan
Full Member
Posts: 125
Karma: 13
Re: IDS block time
«
Reply #13 on:
November 20, 2017, 10:23:09 pm »
You think IDS on opnsense only alerts? Even if a rule stipulates drop?
Well... I suppose that is the D in IDS. Not super useful for most people if that is true, but I'm going to test it.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: IDS block time
«
Reply #14 on:
November 20, 2017, 10:47:34 pm »
Hmm, did not expect levelling expectations here using
https://en.wikipedia.org/wiki/Intrusion_detection_system
and specifically:
"Some IDS have the ability to respond to detected intrusions. Systems with response capabilities are typically referred to as an intrusion prevention system."
or...
"A system that terminates connections is called an intrusion prevention system, and is another form of an application layer firewall."
... but here we are.
Cheers,
Franco
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
English Forums
»
Intrusion Detection and Prevention
»
IDS block time