Re: directing to specific outgoing port
- From: "Mumia W." <mumia.w.18.spam+nospam.usenet@xxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 09:14:25 GMT
On 08/31/2006 12:51 AM, howfuchs@xxxxxxxxx wrote:
I have a command line script which uses php curl to go out to the
internet to retrieve some information. Now this works fine in most
situations except when trying to get of a network where the network
firewall is blocking a range of outgoing ports.I am told by the
'gatekeeper' that the script accesses different ports each time it
tries to get out to the internet. My question is: Can I programatically
direct my script to go out of a specific port that I know is open?
Appreciate any help.
Howard
I can't see anything in the WWW::Curl::easy documentation that shows how to specify the source port. You probably could perform the change at the O/S level.
<OT>
For Linux, you could get the kernel source and read Documentation/networking/ip-sysctl.txt; look at the ip_local_port_range option.
For Windows, ?
.
- Follow-Ups:
- Re: directing to specific outgoing port
- From: Dennis de Wit
- Re: directing to specific outgoing port
- References:
- directing to specific outgoing port
- From: howfuchs
- directing to specific outgoing port
- Prev by Date: apache exit signals
- Next by Date: Re: directing to specific outgoing port
- Previous by thread: directing to specific outgoing port
- Next by thread: Re: directing to specific outgoing port
- Index(es):
Relevant Pages
|