Security Basics mailing list archives

Re: Multiple IP's (IP Aliasing)


From: Fernando Gont <fernando () gont com ar>
Date: Tue, 19 Aug 2003 18:57:42 -0300

At 13:01 19/08/2003 -0300, Arturo \"Buanzo\" Busleiman wrote:

If the aplication supports it, tell it the source address you want to use.
(line traceroute or nmap). It it doesn't, then, if you want to access
remote irc servers with a secondary IP, you could arrange a set of
iptables (or similar) rules for that.

The source IP address is chosen by IP according to the outgoing interface that will be used to send the packet. If you have access to the source code of the application, you can use setsockopt() to change that behaviour, and force a specific IP address.

However, why do you want to use the aliases? Just because you have them doesn't mean that you *must* *use* them.


--
Fernando Gont
e-mail: fernando () gont com ar || fgont () acm org



---------------------------------------------------------------------------
----------------------------------------------------------------------------


Current thread: