Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
18.1.1 IPS still blocking access to joomla admin panel (SOLVED)
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: 18.1.1 IPS still blocking access to joomla admin panel (SOLVED) (Read 10460 times)
Dzioobasek
Newbie
Posts: 39
Karma: 3
18.1.1 IPS still blocking access to joomla admin panel (SOLVED)
«
on:
February 05, 2018, 08:46:07 am »
I have this issue from early 18 release. I can open admin login panel site but when i provide login data and press login it drops connection. When im checking alerts tab theres nothing blocked. As far as i checked ET open/emerging-policy ruleset is blocking. I have to disable it, because even if its on alert action only its still blocking. Any tips?
«
Last Edit: February 09, 2018, 09:13:15 am by Dzioobasek
»
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #1 on:
February 05, 2018, 08:48:49 am »
Find the rule that causes this, report to ET or Joomla for inspection.
18.1.2 will let you know more about drops being made by the rule set to find the offending rule (if you don't already know).
Cheers,
Franco
Logged
Dzioobasek
Newbie
Posts: 39
Karma: 3
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #2 on:
February 05, 2018, 08:51:43 am »
Cool, but why its blocking when its not set to drop action? Anyway if ill know which rule from this ruleset is blocking me it would be great because its last thing i need to set before i connect entore network via opnsense
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #3 on:
February 05, 2018, 08:54:39 am »
If it's not supposed to drop then it may be a TCP reassembly issue with Suricata or some other sanity check not passing.
Cheers,
Franco
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #4 on:
February 05, 2018, 04:50:49 pm »
looks like some much needed changes to suricata.yaml coming in 18.1.2.
I tried to change the eve event log drop type to allow alerts but that caused IDS to crash for me in 18.1.1. Worked in 17.7.12 though.
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #5 on:
February 05, 2018, 05:02:46 pm »
Hi,
Change mentioned was:
https://github.com/opnsense/core/commit/897842d
Cheers,
Franco
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #6 on:
February 05, 2018, 05:28:05 pm »
This changed worked ok in 17.7.12, but crashes IDS with 18.1.1. I just tried it again and it crashes IDS. Service won't start. No errors posted in the log either. Weird
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #7 on:
February 05, 2018, 05:49:59 pm »
Hmm, anything noted in /var/log/suricata.log as to why it crashes?
EDIT: Forgot to say it works from here on the latest -devel
«
Last Edit: February 05, 2018, 05:57:19 pm by franco
»
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #8 on:
February 05, 2018, 06:02:53 pm »
No errors in the suricata log. Service just does not start.
If I try to restart the service, the suricata log has no entries at all until I remove the -drop
My suricata.yaml has no modifications from default.
«
Last Edit: February 05, 2018, 06:14:30 pm by dcol
»
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #9 on:
February 05, 2018, 06:37:06 pm »
Ok, for now all I can do is back that change out of 18.1.2.
Cheers,
Franco
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #10 on:
February 05, 2018, 06:41:50 pm »
Let me rephrase. Suricata doesn't crash, just doesn't start which is why there are no log entries.
Are there any other changes to suricata.yaml, or has the suricata version been updated from 4.0.3?
I can try the devel version and see if that makes a difference.
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #11 on:
February 05, 2018, 09:34:56 pm »
Installed the devel version 18.7.a_11
No difference. IDS will not start with the drop added to the log.
I just saw that suricata.yaml is reinstalled every time you reboot and all changes are gone, so that is why I never saw the issue previously with version 17.7.12. The drop type was never really implemented.
So now what I do is make the drop change in suricata.yaml then restart the suricata service which never starts up.
It acts the same with version 17.7.12.
So how do I make a permanent change in Suricata? I'm thinking you need a reboot, but the change goes away.
«
Last Edit: February 05, 2018, 10:10:03 pm by dcol
»
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #12 on:
February 05, 2018, 11:20:52 pm »
#### UPDATE ####
Don't pull that nice feature just yet. It didn't work for me because of the way I implemented it.
Apparently you cannot just make that drop change to suricata.yaml and restart the service. You have to reboot, then it works. The service never starts up if you just change suricata.yaml and restart the service.
I also had to make these drop changes to suricata.yaml in the templates folder so the change is applied to the working file on the reboot.
Everything works fine now in 17.7.12, 18.1.1, and 18.7.a_11. Tested all three.
«
Last Edit: February 05, 2018, 11:22:49 pm by dcol
»
Logged
elektroinside
Hero Member
Posts: 574
Karma: 51
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #13 on:
February 06, 2018, 12:43:51 am »
Huh, I was getting worried that I will not see what's blocked again (as without this fix, not all dropped packets and corresponding rules are logged)...
Good to know dcol just needed a reboot
Logged
OPNsense v18
| HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s
Team Rebellion Member
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: 18.1.1 IPS still blocking access to joomla admin panel
«
Reply #14 on:
February 06, 2018, 07:39:11 am »
Oh ok. That's why we have opnsense-patch to provide error free patching.
https://github.com/opnsense/core/commit/897842d
translates to:
# opnsense-patch 897842d
Run again to remove. Easy and safe*.
Reverting the revert then. Thanks for the investigation.
Cheers,
Franco
(* for the most part)
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
18.1.1 IPS still blocking access to joomla admin panel (SOLVED)