Forum Discussion
Block ipv6
Hi f51,
Thanks for your support
The sys db log.rules.level is already "Warning"
sys db log.rules.level {
default-value "Informational"
scf-config "false"
value "Warning"
value-range "Debug Error Informational Notice Warning"
}
If I try to apply a different iRules, for example, log when my public IP contacts the VIP, I see the logs in /var/log/ltm.
Thanks
- VGF5Jul 15, 2025
Cumulonimbus
Thank you for the update. Try as below. Move the log command before the drop command in your iRule.
when FLOW_INIT {
if { [IP::version] eq "6" } {
log local0.warning "Blocked IPv6 connection from [IP::client_addr]"
drop
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
