On 2016/10/14 21:48, Tanmay Tiwari wrote:
> *Feature*: Specification of local port when initiating a ssh connection
> using ssh client (and optionally specification of local address/interface)
> Many people approach me for patching their openssh installation to allow
> specification of source port when using ssh client. Mostly the reason is
> they are using a source port based firewall.
> I think it would be good to have the feature in the main branch of openssh.
> Specifying local port is a rather basic feature for a network related
It really isn't. Maybe for lower-level type software like netcat, but
you don't see this in things like ftp, telnet, wget, curl.
Setting the source *address* is generally very useful; but ssh already
supports this (-b).
> I am willing to work on the feature (Its a 50 line patch anyway). Kindly
> respond with whether you think the feature should be added.
I think they should fix their firewall config instead. It is already