Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-08-2008, 04:58 PM
Member
 
Join Date: Sep 2008
Posts: 31
Rep Power: 0
khajalid is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-08-2008, 10:59 PM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 571
Rep Power: 2
fishtoprecords is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-09-2008, 09:31 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 1,018
Rep Power: 3
Nicholas Jordan is on a distinguished road
Post
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 09-10-2008, 01:47 PM
Member
 
Join Date: Sep 2008
Posts: 31
Rep Power: 0
khajalid is on a distinguished road
Default
Thank you sir, Can i get the copy of Java Network Programming from you if you have no problem.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT +2. The time now is 06:14 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org