Finally! Raw Packets from my browser!

https://docs.python.org/2/library/socket.html#example
http://msdn.microsoft.com/en-us/library/ms741621%28VS.85%29.aspx

Two very nice references that allowed me to make a raw server(containing ip and tcp headers) in visual basic

I changed from beginrcv to just receive, but the trick seems to be making the protocol IP(even if the socket is raw)

Dim sockexample2 As Net.Sockets.Socket = New Net.Sockets.Socket(Net.Sockets.AddressFamily.InterNetwork, Net.Sockets.SocketType.Raw, Net.Sockets.ProtocolType.IP)

However, is handling all those packets(from all ports) faster than just allowing the system to do it? And what about my browser sending like 15 or so packets in a single request? Why so many?

The speed issue I’ll probably leave to tomorrow, too complicated, 🙂

Advertisements

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s