[EMAIL PROTECTED] said:
} Now if I write a proxy application on the Linux machine that will
} accept these redirected requests, can it somehow inquire where the
} orignal request was going? 

Think of the socket that you get from the accept as just a normal socket - 
nothing special at all.

Then you can find details (address/port) of the remote end by using 
getpeername(), and details of the local end by using getsockname().  When 
using transparent proxy, the "local" end may have an address that does not 
belong to this system at all.

        Nigel.
-- 
[ [EMAIL PROTECTED]   -  Systems Software Engineer ]
[ Tel : +44 113 207 6112                   Fax : +44 113 234 6065 ]
[      Real life is but a pale imitation of a Dilbert strip       ]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to