Results 1 to 4 of 4
  1. #1
    khajalid is offline Member
    Join Date
    Sep 2008
    Posts
    31
    Rep Power
    0

    Default Monitoring the network

    I am a B.Tech. final year student and making major project similar to that of cyber roam.I want to know how do I come to know that any packet has been arriving in the gateway at application level in Java.
    Last edited by khajalid; 09-08-2008 at 05:16 PM.

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    6

    Default

    I'm not sure that you can. This stuff is usually filtered out before it gets to the application layer.

    It can be done at kernel level with C, (or very close to kernel level) which is what wireshark, kismet and other open source packages do. Since they are open source, you can get the source and see how they do it.

  3. #3
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    7

    Post

    Quote Originally Posted by fishtoprecords View Post
    I'm not sure that you can. ...
    I have a copy of "Java Network Programming", in which the author says that java runs on top of tcp/ip - and that it can be a great tool for developing protocols but largely insulates the tcp/ip stack from java programs. I also have a book on IPv6 from Pete Loshin - I do not see the ip stack being exposed in Java anytime soon, though it is possible to get the ip address of the request.

    It may be possible for poster to ip but doubt seriously doubt individual packets could be observed before they are re-assembled.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  4. #4
    khajalid is offline Member
    Join Date
    Sep 2008
    Posts
    31
    Rep Power
    0

    Default

    Thank you sir, Can i get the copy of Java Network Programming from you if you have no problem.

Similar Threads

  1. Nio is ment to be used mostly in network?
    By jurka in forum New To Java
    Replies: 3
    Last Post: 08-28-2008, 02:45 PM
  2. Monitoring open windows with java
    By Srt252 in forum New To Java
    Replies: 3
    Last Post: 06-18-2008, 06:45 AM
  3. Which concept used in java for monitoring the printer
    By kalinga2k4 in forum Networking
    Replies: 1
    Last Post: 06-14-2008, 01:25 AM
  4. Monitoring IP!
    By rameshraj in forum Advanced Java
    Replies: 4
    Last Post: 04-27-2008, 07:50 PM
  5. Disk File System Access and Monitoring
    By drveresh in forum Advanced Java
    Replies: 1
    Last Post: 07-03-2007, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •