Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Default Is this possible in Java


    Is creating a packet forwarding application possible with Java?

    With this setup is this possible:


    | PC1 | <-----------> | FORWARDER | <---------------> | PC2 |


    The forwarder is another PC having 2 Network Interface Cards connected to PC1 and PC2.
    PC1 & PC2 has 1 NIC.
    If one PC issues a ping request to the other the ICMP packet, or any packet, would be forwarded and the ping request would be replied.

    So is this possible with Java. I've read about JPCAP but I haven't delved in depth with it.
    I really need your help, thanks everyone!
    Last edited by Tin_Tin; 02-12-2009 at 10:41 PM.

  2. #2
    follow-up question:

    are you limited only to forwarding ping type of packets?
    - a gateway can do it for you.
    or is this just a prototype/proof of concept or sort of?
    - i think this can be done in java... but dont know how yet. peace!

  3. #3
    JPCAP can filter which packet it sniffs on the receiving NIC which will be captured and sent to the other NIC.

    This is a prototype for our thesis.

  4. #4
    I'm kind of confuse with the question, isn't it that connectivity is done first in OS level. so if the OS is properly configured to handle 2 NIC for the forwarder, then it can see both PC1 and PC2, I think any programming language will be possible.

  5. #5
    it is possible if you bridge the 2 NIC together but that is not the case in this setting. The program would somewhat be like a bridge/packet forwarder. I would like to capture the packets from one NIC then forward it to the other.

    For example PC1 tries to ping PC2 then the ping packet would be captured then sent to PC2. When PC2 replies, the same thing happens.

  6. #6
    anybody..? i still haven't found a solution to this problem...

  7. #7
    Quote Originally Posted by Tin_Tin View Post
    it is possible if you bridge the 2 NIC together but that is not the case in this setting. The program would somewhat be like a bridge/packet forwarder. I would like to capture the packets from one NIC then forward it to the other.

    For example PC1 tries to ping PC2 then the ping packet would be captured then sent to PC2. When PC2 replies, the same thing happens.



    I dont get it, whats the use? as i comprehend youre trying to make a packet capturer. Capture a packet then forward it to another.

    using java, im sure this is possible. as in..

  8. #8
    is this like wireshark?

  9. #9
    yes, capture packets from one interface then send it to the other....

  10. #10
    Quote Originally Posted by eax View Post
    is this like wireshark?


    yeah, i think its like wireshark.. ahmm miss, lisud2x mani imong gusto himoon..

    By the way, theres a software which is called WinPcap stands for Win Packet Capturer.. it captures packet.. tapos sources are available sa net.. if gusto ka, e search lang ang source.. its open man..


  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Is this possible in visual basic? (either vb6 or 2008)
    By deaf_guitarist in forum Programming
    Replies: 13
    Last Post: 01-27-2011, 04:09 PM
  2. Is this true in islam? for MALIC ONLY!
    By kebotDiNaMute in forum Spirituality & Occult - OLDER
    Replies: 449
    Last Post: 08-26-2009, 09:56 PM
  3. Is this possible?
    By ranmauelle in forum Spirituality & Occult - OLDER
    Replies: 9
    Last Post: 05-14-2009, 09:19 AM
  4. Spiritual Sabotage, is this possible?
    By redcheek in forum Spirituality & Occult - OLDER
    Replies: 18
    Last Post: 03-14-2009, 01:26 PM
  5. MSI Wind / U100XP - Is this available in Cebu?
    By vipvip68 in forum Computer Hardware
    Replies: 4
    Last Post: 07-22-2008, 06:05 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
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top