Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-08-2008, 06:58 PM
Member
 
Join Date: Sep 2008
Posts: 31
khajalid is on a distinguished road
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 07:16 PM.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-09-2008, 12:59 AM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 475
fishtoprecords is on a distinguished road
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, 11:31 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 783
Nicholas Jordan is on a distinguished road
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.
__________________

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, 03:47 PM
Member
 
Join Date: Sep 2008
Posts: 31
khajalid is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 04:45 PM
Monitoring open windows with java Srt252 New To Java 3 06-18-2008 08:45 AM
Which concept used in java for monitoring the printer kalinga2k4 Networking 1 06-14-2008 03:25 AM
Monitoring IP! rameshraj Advanced Java 4 04-27-2008 09:50 PM
Disk File System Access and Monitoring drveresh Advanced Java 1 07-03-2007 04:01 PM


All times are GMT +3. The time now is 02:57 AM.


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