[erlang-questions] Spoof source ip address with ssl

Stefan Grundmann <>
Sat Feb 16 12:29:33 CET 2013


On Fri, Feb 15, 2013 at 05:40:00PM -0800, Jeremy Ong wrote:
> I noticed that gen_tcp supplies the {ip, IPAddr} option to allow the client
> to specify the source ip address.
> 
> Does a similar option exist for ssl? I'm running into an issue with running
> out of ephemeral ports in load testing my application from a single machine.

yes. it is the same option. and in fact since gen_tcp is the (default)
transport module used when calling ssl:connect/3,4 ... it is the same
code. 

sg



More information about the erlang-questions mailing list