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 4 4768
On Thu, 20 Nov 2003 18:39:33 GMT, Adam Steiner wrote: 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).
Java isn't a good choice of language for that.
Have a look here for more information: http://www.whitefang.com/rin/
/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
"Gordon Beaton" <no*@for.email> wrote in message
news:3f********@news.wineasy.se... On Thu, 20 Nov 2003 18:39:33 GMT, Adam Steiner wrote: 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).
Java isn't a good choice of language for that.
Have a look here for more information: http://www.whitefang.com/rin/
/gordon
Ok, thanks. Back to C I guess ;)
--adam
Have a look at http://jswrench.sourceforge.net. The project has some C++ but
the packet manipulation is handled in Java.
"Adam Steiner" <aj**@ym.yu.edu> wrote in message
news:65******************************@news.teranew s.com... 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
Just took a quick peek at some of the source code and it looks like it is
exactly what I need. Thanks!
--Adam
"rubylips" <ru******@act365.com> wrote in message
news:bp*******************@news.demon.co.uk... Have a look at http://jswrench.sourceforge.net. The project has some C++
but the packet manipulation is handled in Java.
"Adam Steiner" <aj**@ym.yu.edu> wrote in message news:65******************************@news.teranew s.com... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: perseus |
last post by:
I think that everyone who told me that my question is irrelevant,
in particular Mr. David White,
is being absolutely ridiculous. Obviously, most of you up here
behave like the owners of the C++...
|
by: John Timbers |
last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a
lot cheaper than Visual Studio (note that I'm a very experienced C++
developer). Can someone simply clarify the basic...
|
by: mluvw47 |
last post by:
Know the answers to the following?
Line Contains
50 char *b, q, *r;
200 b = getbuf ();
201 q = *b;
212 R = anotherfunction (b);
213-2003 /* we want to use 'q' and 'r'...
|
by: Fred Hebert |
last post by:
I am trying to learn VC.NET and convert some Borland C++ applications. The
syntax differences are killing me...
Is there an easy way to convert a hex string, entered by the user, to a
binary...
|
by: jojobar |
last post by:
Hello,
I am trying to use vs.net 2005 to migrate a project originally in vs.net
2003. I started with creation of a "web site", and then created folders for
each component of the site.
I read...
|
by: André Nogueira |
last post by:
Hi there guys!
I have one question... I'm doing a simple program in VB.Net 2003 that can
store my personal notes, my IE favourites, some pictures, etc.
I will also make an ASP.Net site (also in...
|
by: Mathieu Trentesaux |
last post by:
Hello
I downloaded Office 2007 for this reason :
It seems, once again, that it is impossible to save any modification
done in a VBA library, from the main project in Access.
The save button...
|
by: Paul |
last post by:
Hi,
I have experience in Java and C++ but I am rather new to C# and just
started learning it. I am using Visual C# 2005 Express Edition and I
found that there is a file called "AssemblyInfo.cs",...
|
by: Chris Thomasson |
last post by:
I am almost ready to post an initial prototype of my C++ memory allocator
library:
http://groups.google.com/group/comp.lang.c++/browse_frm/thread/beeee1f61fdbb52c
Anyway, I think my C...
|
by: Herbert Kleebauer |
last post by:
As part of a simple X demo for Linux I send the byte string
in "send8" to the X server. This byte string displays a circle
at the x/y position send8.s8x/send8.s8y. In "display()" a 8x8
grid of...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |