RAW Sockets and Posibilities

G

Guest

Hey All
I'm really strugling to come up with any solid info on VB.NET sockets particuarly if they are operating in RAW mode. I'll try and keep this short and simple as I am begining to loose hope that anyone out there understandes the sockets well enough to be able to help me
1. Using RAW sockets can I somehow capture all packets addressed to an IP address without caring what port they are directed to? What about a promiscuious routing mode where I can capture all packets (don't care if they have to be directed to my computer in the first place or not, just want to know), filter according to rules and retransmit any packets I might want on another outgoing socket (maybe to a internet machine or something)
2. If any of the above is yes, does anyone have any examples of dealing with TCP and IP headers + Options and Data and the rest under VB.NET? Are there any detailed books on the subject? Does anyone have time to discuss the basics with me if there are no other forms of reference
3. If No to all of 1, what other languages can anyone recommend that offer the simple and well defined GUI building tools of VB and the power to handle raw sockets like C++? I've looked at Visual C++ but the GUI tools don't really live up to expectations. Am I looking for C# or should I dump the Visual Studio package compleatly and look elsewhere for a programming language of choice

Thanks Heaps to anyone who can offer any help at all on this question, feel free to reply or e-mail me if you need clarification of what I am asking about or what I would like to do exactly

Thanks for your time
Kevin-John Beasley
 
S

Scott

I've never worked with anything like you're describing, but here's a C#
article that may give you some ideas...

http://www.codeproject.com/csharp/SendRawPacket.asp


KevJB said:
Hey All,
I'm really strugling to come up with any solid info on VB.NET sockets
particuarly if they are operating in RAW mode. I'll try and keep this short
and simple as I am begining to loose hope that anyone out there understandes
the sockets well enough to be able to help me.
1. Using RAW sockets can I somehow capture all packets addressed to an IP
address without caring what port they are directed to? What about a
promiscuious routing mode where I can capture all packets (don't care if
they have to be directed to my computer in the first place or not, just want
to know), filter according to rules and retransmit any packets I might want
on another outgoing socket (maybe to a internet machine or something)?
2. If any of the above is yes, does anyone have any examples of dealing
with TCP and IP headers + Options and Data and the rest under VB.NET? Are
there any detailed books on the subject? Does anyone have time to discuss
the basics with me if there are no other forms of reference?
3. If No to all of 1, what other languages can anyone recommend that offer
the simple and well defined GUI building tools of VB and the power to handle
raw sockets like C++? I've looked at Visual C++ but the GUI tools don't
really live up to expectations. Am I looking for C# or should I dump the
Visual Studio package compleatly and look elsewhere for a programming
language of choice?
Thanks Heaps to anyone who can offer any help at all on this question,
feel free to reply or e-mail me if you need clarification of what I am
asking about or what I would like to do exactly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top