search for: anyaddr

Displaying 1 result from an estimated 1 matches for "anyaddr".

Did you mean: a_addr
2002 Mar 21
1
BindAddress with Openssh
...different, I think this problem would be similar everywhere. The code in question in sshconnect.c (lines 201 to 209) to first checks if the options.bindaddr is NULL, if it is not it sets the hints.ai_flag value to AI_PASSIVE. The effect of this seems to me to bind the outgoing connections to "anyaddr" not the address specified by options.bindaddr. If the AI_PASSIVE assignment at line 208 is removed, then the bind address for outgoing connections operates as expected. I'm not sure of the security implications of changing or removing this line of code, but your thoughts would be appreci...