Im planning to write a proxy service using FreePascal and Synapse.

Whats the behaviour of fowarded packets on synapse TCP socket ?

Imagine the following :

Client ip is 192.168.1.2 <http://192.168.1.2> and it sends a packet to 
10.1.1.1 <http://10.1.1.1>

theres a router in between 192.168.1.0/24 <http://192.168.1.0/24> 
network and 10.0.0.0/8 <http://10.0.0.0/8> network.

at this router, the packet comming from 192.168.1.2 <http://192.168.1.2> 
to 10.1.1.1 <http://10.1.1.1> is intercepted and forwarded to 127.0.0.1 
<http://127.0.0.1> where theres a service with a listening socket ready 
for the incomming connection...

the problem is : how to discover the address the client originally 
intended to connect to ?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to