Forum Discussion
Jorge_48257
Apr 22, 2011Nimbostratus
iRule to drop port request
How can I drop request to a VIP on tcp port 110 and 143 on a LTM running version 10.2.0? I've tried the following but it does not seem to work. if { [TCP::local_port] != 110} { drop } I get line 1: [...
nitass
Apr 22, 2011Employee
>The second irule doesn't give an error it just doesn't drop the request. You can still connect on those ports.
what service port is virtual server listening? is it any port?
> The first irule is the only that gives me that error I posted.
this irule doesn't give me an error in irule editor and when running b load.
when CLIENT_ACCEPTED {
if {[TCP::local_port] != 110} {
drop
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects