LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2007, 01:23 PM   #1
mallikk_in
Member
 
Registered: Jun 2006
Posts: 34

Rep: Reputation: 15
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
 
Old 05-17-2007, 02:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netcat s0n|k Linux - Newbie 3 04-16-2006 05:16 PM
netcat question overbored Linux - Software 13 10-30-2004 04:26 PM
building netcat fowlerlfc Linux - Newbie 0 09-28-2004 08:50 PM
Netcat question igor8 Linux - Security 3 06-21-2004 12:55 PM
How to capture BDPU using ethreal? LinuxLala Linux - General 0 04-06-2004 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration