Ask Your Question
0

filtering open ports on wireshark

asked 2019-02-17 17:08:11 +0000

diana gravatar image

Hello i want to find all the open ports on wireshark.İs there any command for doing that? Thanks for helping.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-02-17 20:31:03 +0000

Guy Harris gravatar image

If you mean "find all the {TCP,UDP,SCTP?} ports that are open on the machine running Wireshark", no, Wireshark has no mechanism to do that. On UN*Xes, netstat -a will produce output from which you can determine what ports are open - you might have output that looks something like

tcp4       0      0  *.666                 *.*                    LISTEN     
tcp6       0      0  *.666                 *.*                    LISTEN

indicating that the machine has TCP port 666 open for both IPv4 and IPv6 or

udp6       0      0  *.666                *.*                               
udp4       0      0  *.666                *.*

indicating that the machine has UDP port 666 open for both IPv4 and IPv6.

If you mean "find all the {TCP,UDP,SCTP?} ports that are open a machine other than the machine running Wireshark", no, Wireshark has no mechanism to do that; that requires actively probing the other machine, and Wireshark is just a passive sniffer. Nmap is one tool that can be used for this purpose.

If you mean "find all the ports that Wireshark itself is holding open", no, Wireshark has no mechanism to report that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-02-17 17:08:11 +0000

Seen: 5,237 times

Last updated: Feb 17 '19