Re: How to intercept IP packet from an application ???

Tech-Archive recommends: Fix windows errors by optimizing your registry



simtouch,

I don't think this can be achieved using the CLR libraries.

What part of the packet are you trying to modify?

If you're just trying to wrap the data or modify source / destination headers, I'd search for a NAT solution that's written in .NET (i doubt there is one), it should help you get closer.

I think other people have mentioned this before, but i'll say it anyways. This isn't an easy undertaking.

Good luck,

--
Saad Rehmani / Prodika / Dallas / TX / USA

Hello,

Actually, i need to modify the IP packet, is there any other solution
for
that ?
Thanks for your help ...
"Goran Sliskovic" wrote:

simtouch wrote:

Thank you Kevin for your fast response. I have another question
regarding intercepting IP packet from a specific process. Is it
feasible to intercept all the IP packet from an identified process,
for exemple all the Skype processes that are currently running in
the machine.

Thank you

....

Hi,
If you need only to monitor packets, not to actually drop or modify,
there is a C# sample available at:
http://www.mentalis.org/soft/projects/pmon/

It's done through opening raw socket and setting socket IO control to
SIO_RCVALL. It's user mode approach, no drivers are necessary.

Regards,
Goran


.


Quantcast