Question: Is there a library for IP and low level TCP and UDP programming

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adam Steiner

    Question: Is there a library for IP and low level TCP and UDP programming

    Hi,

    I've been doing some searching on a library that allows you to manipulate
    the headers of TCP, IP and UDP packets. The ones I've been able to find (in
    java.net I believe - Datagram and Socket) only allow TCP and UDP access, but
    neither allows for manipulation of the sender IP, ACK and Seq values (for
    TCP). I also haven't been able to find one for the Internet Protocol (IP).

    I'm taking a networking course and need to access these values for some
    class assignments and research that I want to do.

    Any pointers would be greatly appreciated.

    Thanks.

    Adam


  • Gordon Beaton

    #2
    Re: Question: Is there a library for IP and low level TCP and UDP programming

    On Thu, 20 Nov 2003 18:39:33 GMT, Adam Steiner wrote:[color=blue]
    > I've been doing some searching on a library that allows you to
    > manipulate the headers of TCP, IP and UDP packets. The ones I've
    > been able to find (in java.net I believe - Datagram and Socket) only
    > allow TCP and UDP access, but neither allows for manipulation of the
    > sender IP, ACK and Seq values (for TCP). I also haven't been able to
    > find one for the Internet Protocol (IP).[/color]

    Java isn't a good choice of language for that.

    Have a look here for more information:


    /gordon

    --
    [ do not email me copies of your followups ]
    g o r d o n + n e w s @ b a l d e r 1 3 . s e

    Comment

    • Adam Steiner

      #3
      Re: Question: Is there a library for IP and low level TCP and UDP programming


      "Gordon Beaton" <not@for.emai l> wrote in message
      news:3fbd12d4$1 @news.wineasy.s e...[color=blue]
      > On Thu, 20 Nov 2003 18:39:33 GMT, Adam Steiner wrote:[color=green]
      > > I've been doing some searching on a library that allows you to
      > > manipulate the headers of TCP, IP and UDP packets. The ones I've
      > > been able to find (in java.net I believe - Datagram and Socket) only
      > > allow TCP and UDP access, but neither allows for manipulation of the
      > > sender IP, ACK and Seq values (for TCP). I also haven't been able to
      > > find one for the Internet Protocol (IP).[/color]
      >
      > Java isn't a good choice of language for that.
      >
      > Have a look here for more information:
      > http://www.whitefang.com/rin/
      >
      > /gordon[/color]

      Ok, thanks. Back to C I guess ;)
      --adam


      Comment

      • rubylips

        #4
        Re: Question: Is there a library for IP and low level TCP and UDP programming

        Have a look at http://jswrench.sourceforge.net. The project has some C++ but
        the packet manipulation is handled in Java.

        "Adam Steiner" <ajst@ym.yu.edu > wrote in message
        news:6507cba159 3be2e2e34ad447e 528f6ab@news.te ranews.com...[color=blue]
        > Hi,
        >
        > I've been doing some searching on a library that allows you to manipulate
        > the headers of TCP, IP and UDP packets. The ones I've been able to find[/color]
        (in[color=blue]
        > java.net I believe - Datagram and Socket) only allow TCP and UDP access,[/color]
        but[color=blue]
        > neither allows for manipulation of the sender IP, ACK and Seq values (for
        > TCP). I also haven't been able to find one for the Internet Protocol[/color]
        (IP).[color=blue]
        >
        > I'm taking a networking course and need to access these values for some
        > class assignments and research that I want to do.
        >
        > Any pointers would be greatly appreciated.
        >
        > Thanks.
        >
        > Adam
        >
        >[/color]


        Comment

        • Adam Steiner

          #5
          Re: Question: Is there a library for IP and low level TCP and UDP programming

          Just took a quick peek at some of the source code and it looks like it is
          exactly what I need. Thanks!

          --Adam

          "rubylips" <rubylips@act36 5.com> wrote in message
          news:bpqurt$ces $1$830fa79d@new s.demon.co.uk.. .[color=blue]
          > Have a look at http://jswrench.sourceforge.net. The project has some C++[/color]
          but[color=blue]
          > the packet manipulation is handled in Java.
          >
          > "Adam Steiner" <ajst@ym.yu.edu > wrote in message
          > news:6507cba159 3be2e2e34ad447e 528f6ab@news.te ranews.com...[color=green]
          > > Hi,
          > >
          > > I've been doing some searching on a library that allows you to[/color][/color]
          manipulate[color=blue][color=green]
          > > the headers of TCP, IP and UDP packets. The ones I've been able to find[/color]
          > (in[color=green]
          > > java.net I believe - Datagram and Socket) only allow TCP and UDP access,[/color]
          > but[color=green]
          > > neither allows for manipulation of the sender IP, ACK and Seq values[/color][/color]
          (for[color=blue][color=green]
          > > TCP). I also haven't been able to find one for the Internet Protocol[/color]
          > (IP).[color=green]
          > >
          > > I'm taking a networking course and need to access these values for some
          > > class assignments and research that I want to do.
          > >
          > > Any pointers would be greatly appreciated.
          > >
          > > Thanks.
          > >
          > > Adam
          > >
          > >[/color]
          >
          >[/color]


          Comment

          Working...