GeeCON Prague 2014*
The moose likes Java in General and the fly likes network sniffing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "network sniffing" Watch "network sniffing" New topic
Author

network sniffing

Murat Balkan
Ranch Hand

Joined: Sep 10, 2002
Posts: 127
Hi,
I wonder if I can sniff the network traffic in Java. There are samples in Ethereal but they are all in C.
Thank you..
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

If you mean grabbing packets from a NIC in promiscuous mode -- no, not without some native code to talk to the hardware.


[Jess in Action][AskingGoodQuestions]
 
GeeCON Prague 2014
 
subject: network sniffing