I have 6 IP addresses on my server and my TOS with a vendor restricts me to 1 SOAP transaction per second per IP. While they have never rejected a transaction, I do want to see if there is any way in which I can bind a command line process to use a specifc IP.
I know this can be done in C.. but is there a generic unix utility which allows you to wrap a program and bind it to an IP?
Sharper
12:50 pm on May 15, 2004 (gmt 0)
If you're using FreeBSD, you can run it in a jail tied to that IP.
For Linux, you may be able to do the same using user-mode-linux, but I'm not as familiar with that.
daisho
4:16 am on May 20, 2004 (gmt 0)
You don't have access to the source code that acctually binds?
shrirch
3:50 pm on May 25, 2004 (gmt 0)
Still researching.
There are some low level functions in PHP which might be able to do this.