Reading raw network packets

  • Thread starter Thread starter Friskusen
  • Start date Start date
F

Friskusen

Anybody know if there are any objects or libraries in VB.net that allow
a programmer to catch and read network packets directly, before
they are handled by the Windows TcpIp kernel....

I'm just trying to control traffic on the dangerous tcp & udp ports 135..
As you know, Windows open these ports at startup, and trying to close
them just trigger a reboot....

Comments are welcome ..

Regards,
Friskusen
 
Anybody know if there are any objects or libraries in VB.net that allow
a programmer to catch and read network packets directly, before
they are handled by the Windows TcpIp kernel....

I'm just trying to control traffic on the dangerous tcp & udp ports 135..
As you know, Windows open these ports at startup, and trying to close
them just trigger a reboot....

Comments are welcome ..

Regards,
Friskusen

You can create a socket as raw socket... I haven't really had a need to
ever play with raw sockets, so I can't give you much advice beyond this -
but it is an option to the socket constructor:

Dim s As New Socket (AddressFamily.InterNetwork, SocketType.Raw,
ProtocolType.Tcp)

HTH
 

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

Back
Top