Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] get free local port for script?



On Sun, Mar 18, 2007 at 01:20:21AM +0900, Stephen J. Turnbull wrote:
> Edward Wright writes:
> 
>  > My understanding is that when you make a (in this case) tcp connection
>  > to a remote host, a port is assigned on the local host in some sequence
>  > order.... therefore, I would think that at any given time, any given
>  > port could be in use. Am I missing something?
> 
> No, I was.  :-)  

No, I was. :-)

> $ cat /proc/sys/net/ipv4/ip_local_port_range
> 32768	61000
> $ 

I said "any given port could be in use". Not so...

BTW, same port range on Deb.

> 
> We be golden, methinks.

Methinks so too.

Much thanks,
Ed


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links