LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can i use netcat as ethreal (https://www.linuxquestions.org/questions/linux-networking-3/can-i-use-netcat-as-ethreal-554672/)

mallikk_in 05-17-2007 01:23 PM

can i use netcat as ethreal
 
Hi,

netcat can able to listen on the created sockets and port numbers. then why can't i use to sniff all the traffic that are coming to my interface card.

if it is possible, then how could i do that

mallikk_in

acid_kewpie 05-17-2007 02:05 PM

no, you can't do that, that's jus totally not what netcat is for. netcat binds to a certain port, just like most network based daemons, apache, squid etc... it doesn't provde any information about the traffic itself, just the data held inside it. that's totally different to wireshark (ethereal), tcpdump etc, which watch traffic passing through the tcp subsystem. you already know that other tools exist, why wouldn't you want to use them?


All times are GMT -5. The time now is 11:17 PM.