Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
IPv6 RFC4890 requirements (ICMP) in firewall log
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPv6 RFC4890 requirements (ICMP) in firewall log (Read 4532 times)
HenrysCat
Jr. Member
Posts: 58
Karma: 2
IPv6 RFC4890 requirements (ICMP) in firewall log
«
on:
August 04, 2021, 08:15:50 am »
Since updating to 21.7 the firewall log now has IPv6 RFC4890 requirements (ICMP) on every other line.
Any ideas how get rid?
Thanks all
Logged
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #1 on:
August 04, 2021, 09:17:24 am »
Disable default pass rule logging under System: Settings: Logging.
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #2 on:
August 04, 2021, 09:32:32 am »
Actually, looking at the screenshot this is due to the kernel patch to unhide the NAT logging. I'm not entirely sure the system correctly sets the log directive, but hopefully it should.
Cheers,
Franco
Logged
HenrysCat
Jr. Member
Posts: 58
Karma: 2
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #3 on:
August 04, 2021, 10:10:42 am »
Already disabled, I think
Logged
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #4 on:
August 04, 2021, 10:38:06 am »
Ok, looking closer the label is simply wrong as NAT rules don't have labels and it's not even IPv6.
One of your port forward rules has logging enabled, but it didn't log correctly prior to version 21.7.
Cheers,
Franco
«
Last Edit: August 04, 2021, 11:10:33 am by franco
»
Logged
HenrysCat
Jr. Member
Posts: 58
Karma: 2
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #5 on:
August 04, 2021, 10:54:06 am »
I see, all my port forward rules have logging enabled.
Thanks
Logged
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
HenrysCat
Jr. Member
Posts: 58
Karma: 2
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #6 on:
August 05, 2021, 06:59:21 pm »
Updated to 21.7.1 now all the blue lines say "rdr rule"
Is there really no way to get this back to how it was on 21.1?
Logged
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #7 on:
August 06, 2021, 07:56:36 am »
Someone reported NAT rules not logging under these conditions. A bug was fixed. NAT logging is adhered to now. I would say no.
Why are you logging the NAT rules? Are you using an associated filter rule?
Cheers,
Franco
Logged
HenrysCat
Jr. Member
Posts: 58
Karma: 2
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #8 on:
August 06, 2021, 09:38:14 am »
Quote from: franco on August 06, 2021, 07:56:36 am
Why are you logging the NAT rules? Are you using an associated filter rule?
I use GeoIP and want to see who is constantly trying to connect from the unblocked country, these persistent attackers are then added to a custom block list.
Logged
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #9 on:
August 06, 2021, 09:40:36 am »
Ok, if you use an unassociated filter rule you can set logging on the WAN rule and disable logging on the NAT.
Cheers,
Franco
Logged
HenrysCat
Jr. Member
Posts: 58
Karma: 2
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #10 on:
August 06, 2021, 09:47:20 am »
Excellent, that works
Thank you
Logged
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #11 on:
August 06, 2021, 09:57:54 am »
Indeed we wanted to see this additional logging on the NAT because usually there are redirects that lacked observability whithout it. I'm glad it can be kept.
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: IPv6 RFC4890 requirements (ICMP) in firewall log
«
Reply #12 on:
August 06, 2021, 10:01:07 am »
The NAT log is also pre-NAT now as opposed to post-NAT before. I do believe this change is very helpful because before there was too much context missing.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
IPv6 RFC4890 requirements (ICMP) in firewall log