I am using tcpdump on OpenBSD and trying to learn it from a primer on it.
I want to capture a range of ports, but it seems how this is done has changed. I can't even find portrange as a keyword in the manual page which also suggests this.
# tcpdump portrange 100-65535 tcpdump: syntax error
Not a thing:
# man tcpdump | grep portrange #
I assume that this has changed, or it is different on OpenBSD. If anyone could tell me what to do for this, since my first lessons we're going to be with something practical it would be great. It would be even better if someone told me about an updated primer on tcpdump.
OpenBSD comes with its own tcpdump which might be a fork, I'm not really sure.