cURL / Mailing Lists / curl-users / Single Mail

curl-users

Bind to a specific source port?

From: Khoa Nguyen <khoa.coffee_at_gmail.com>
Date: Thu, 18 Aug 2005 19:13:17 -0400

I would like cURL to bind to a specific source port. The command line
doesn't seem to have an option for source port. The reason I want to do this
is that I can use iptables at the next-hop machine to SNAT source ports to
several source IP addresses to simulate several clients. Any ideas how to
accomplish this?

Thanks,
Khoa
Received on 2005-08-19