Re: IP stack - ip translation
- From: "Mark Randall" <markyr@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Jun 2005 11:23:07 +0100
For the entire system this would require a Network Helper Layer, which are
damned nasty, used in spyware a lot - and wiped out by most spyware tools if
they arnt signed by MS or trusted authority.
The host you can do by modifiying your hosts table
(c:/windows/system32/drivers/etc/hosts), as for replacing the Winsock DLL,
Windows would probably try to execute it for being an unsigned core
component.
Explain what you are trying to do, is it for an entire system etc? or just a
single app, by the looks of it you want an entire app and are trying to make
some proxying device.
--
- Mark Randall
http://zetech.swehli.com
"Lisa Pearlson" <no@xxxxxxxx> wrote in message
news:%23Xp5D7WcFHA.4040@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'd like to accomplish this (pseudo code):
>
> if ( domain = host1.domain1.com || ip = w.x.y.z )
> {
> domain = host2.domain2.com;
> ip = dnslookup ( domain );
> }
>
> On the tcp stack, effectively transparently replacing one ip by another.
> This requires some low level access to tcp packets so data fields can be
> manipulated, like firewalls, proxies, nats and pats do. It can be easily
> accomplished with iptables on linux platform.
>
> But how could I implement such thing? Many years ago, I remembered that on
> the pc you could REPLACE the standard winsock.dll with a proxy stub that
> takes the place of winsock, and passes everything on to the original
> winsock.dll, but sitting in the middle and manipulating winsock calls as
> they come by. But desktop pc firewalls are implemented differently I
> think.
>
> Can this be accomplished on the application level (with winsock api's or
> something), or does it have to happen on the driver level, or what? I have
> no clue about how to manipulate IP packets.. on what level that is and how
> to get access to it.
>
> Any hints and pointers are very welcome
>
>
.
- Follow-Ups:
- Re: IP stack - ip translation
- From: Lisa Pearlson
- Re: IP stack - ip translation
- References:
- IP stack - ip translation
- From: Lisa Pearlson
- IP stack - ip translation
- Prev by Date: CSplitterWnd, Adding/Removing panes dynamically.
- Next by Date: Re: Dynamic Dialog
- Previous by thread: IP stack - ip translation
- Next by thread: Re: IP stack - ip translation
- Index(es):
Relevant Pages
|