I forgot to explain why did I added this option to the list of supported 
options:

when you implement a transparent proxy, the routing kernel makes a destination 
address NAT and changes it to 127.0.0.1 and some port you declare when you 
instruct the kernel to do the redirection through iptables or any other 
firewall administration utility. When you have an application running 
listening on that port, and it receives a connection, you can not know what 
was the original destination address, usually needed to perform the task a 
transparent proxy should do. However, you can fetch the original destination 
address of the connection using the getsockopt() with the SO_ORIGINAL_DST 
option.
So that is why this option is useful.

Regards
Leo

-- 

Leonardo Pedretti
Axon Sistemas
Líder de Equipo Proyecto Basalto

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to