2006/06/28

client port number

I always have the concept that client ports are from 1024 up to 65535. This is not correct. Only Windows machines use starting client port number of 1024. All Unix/Linux flavours have client ports starting from 32768. I have tested this using tcpdump on a Linux box.

Another interesting name related to this is ephermeral port which can mean port assigned temporarily to client.

Just wonder if Windows and Unix/Linux machines are on the same network segment, are there any special requirements or conflicts on firewall to manage traffic in the outbound direction as they are using different port number ranges. I guess NOT.

No comments: