Forum Discussion
Gburn_124136
Nimbostratus
Jun 28, 2013Can't define Packet filter port ranges
We tried:
dst portrange x:y
dst portrange x-y
tcp portrange x:y
tcp portrange x-y
port x:y
port x-y
Nada. Gui rejects them all.
hoolio
Cirrostratus
Jul 01, 2013Doh... thanks for catching that. I think we upgraded libpcap to 0.9.4 in 11.3.0 as part of BZ391286. That change should support the portrange keyword.
Prior to that, you can use this syntax:
(tcp[2:2] >= 4000 and tcp[2:2] <= 5000)
This uses the tcp offset for dst port (tcp[2:2) to create a range.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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