Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.