|
-
Sep 8th, 2000, 03:42 PM
#1
Thread Starter
Fanatic Member
I doubt i'll get an answer to this...but here goes.
How would i intercept ALL packets being transmited and be able to edit them and send then on their way?
D!m
-
Sep 9th, 2000, 01:36 PM
#2
Hyperactive Member
In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.
- Douglas Adams
The Hitchhiker's Guide to the Galaxy
-
Sep 9th, 2000, 01:42 PM
#3
Monday Morning Lunatic
Like a firewall? You'd need to hook into the networking subsystem at a very low level.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 9th, 2000, 08:33 PM
#4
I remember you asked this question before Dim, I had an idea, but it didn't work .
But, as parksie said, a firewall catches events. Here is www.planet-source-code.com's results: Firewall
-
Sep 12th, 2000, 11:01 PM
#5
Thread Starter
Fanatic Member
I can't seem to find any examples of a firewall that actually does what it's supposed to. Has anyone seen any good examples that they can reffer me too.
If not, then an idea of how to get started on creating one that will capture ALL packets being transmited on ALL ports.
Would simply listening on all ports with winsock do it?
Code:
Dim i As Integer
For i = 1 To 65500 'not sure what the exact number is
Winsock1.LocalPort = i
Winsock1.Listen
Next i
and then have the data that arives/leaves enter a textbox. But how would i be able to pause the packet, edit it, and then allow it to continue on it way.
Thank you,
D!m
-
Sep 14th, 2000, 03:24 PM
#6
Lively Member
You cant monitor packets and edit them and resend using simple winsock. You will need to go low level as stated before, dont even bother trying to do it with visual basic or any windows program for that matter. If you really wanna do so, learn unix/linux and install a firewall and run a packet sniffer on your lan, even then, you still CANT edit packets and resend them.
Regards,
 Paul Rivoli 
---------------------
[email protected]
http://members.dingoblue.net.au/~privoli
-
Sep 14th, 2000, 04:31 PM
#7
Thread Starter
Fanatic Member
I'm aware of the way to do it under unix...editing headers. But i was thinking that it would be possible to do it in windows. I guess i was wrong...thanx for all you help people.
D!m
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|