To the best of my knowledge, when opening a socket to a remote service, 
your SOURCE port IS randomised. This is done to prevent a number of 
attacks at the TCP level.

Is your issue with iptables? If so, the problem isn't with the 
application - you should be able to filter by the destination port. If 
you're worried about the return traffic, you should either do a source 
port check for the remote host, or use the iptables conntrack helper 
module for ESTABLISHED connections.

Again, some context as to what you're trying to acheieve by setting the 
source port would probably help get the right answer.

Hope this helps.


Will Dowling

T: +61 (0407) 421 559
F: +61 (08) 6364 4881
E: [email protected]


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to