LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-24-2007, 03:13 PM   #1
spx2
Member
 
Registered: Dec 2005
Distribution: debian
Posts: 160

Rep: Reputation: 30
on ngrep


ok...uhm i want to ask
can ngrep be detected.i mean can admins detect that someone is using ngrep ?
can packets be hidden from ngrep,for example can someone hide all packets from ngrep.
it seems that i am allowed to use ngrep,im not going to go into issues
of legality/illegality(you can discuss this elsewhere,but not in this topic).
also its unclear to me how packets can be printed by ngrep so fast because i know that in
some networks..there are transfers of 4-5mb/s so i cant imagine how ngrep could print them
on the screen that fast,does it skip some of them ?
thank you for any information you may provide
 
Old 05-24-2007, 04:06 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ngrep can see anything reaching your nic. it's impossible to detect. it's impossible to "hide" data from it, but the features of the nic you are using will affect what can be listened for, primarily if it can use promiscuous mode or not. it can only print stuff as fast as the rest of the system can cope with, i assume it has an internal buffer that would fill up if the system isn't accepting data output from it fast enough.

ngrep is just a libpcap application, just like tcpdump, wireshark, tcptrace etc... all sitting on the same common library.
 
Old 05-26-2007, 12:49 AM   #3
spx2
Member
 
Registered: Dec 2005
Distribution: debian
Posts: 160

Original Poster
Rep: Reputation: 30
"the features of the nic you are using will affect what can be listened for",so data can be hidden from me right ?
 
Old 05-26-2007, 02:42 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, just promisc mode, which isn't "hiding" in any way.
 
Old 05-27-2007, 04:17 AM   #5
spx2
Member
 
Registered: Dec 2005
Distribution: debian
Posts: 160

Original Poster
Rep: Reputation: 30
ok ill go look elsewhere
 
  


Reply



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
how to install ngrep package? mr_scary Red Hat 2 08-30-2006 01:24 PM
ngrep questions fakie_flip Linux - Security 4 08-19-2006 07:31 AM
ngrep usage sailu_mvn Linux - Networking 0 01-16-2006 11:18 PM

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

All times are GMT -5. The time now is 05:13 AM.

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