"Raj Mathur (राज माथुर)" <[email protected]> writes:

> Precisely.  In fact, if a packet from 192.168.2.n is received on /any/ 
> interface, the response will always go out from the 192.168.2.X 
> interface.  (Barring some weird routing/iptables configuration, of 
> course.)

This is only the case for TCP, because TCP accept() fixes the whole
five-tuple of protocol, srcaddr, srcport, dstaddr, dstport. UDP does not
have an accept() equivalent and most applications just use sendto()
which lets the OS pick a source address.


/Benny


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to