search for: ssh_channel_path_len

Displaying 2 results from an estimated 2 matches for "ssh_channel_path_len".

2007 Oct 22
15
[Bug 1380] New: incorrect check for strlen(fwd->connect_host) in parse_forward()
...Severity: normal Priority: P3 Component: ssh AssignedTo: bitbucket at mindrot.org ReportedBy: Jan.Pechanec at Sun.COM there are 2 issues for hostname len check in parse_forward() (a) the len is checked against NI_MAXHOST while it should be checked against (SSH_CHANNEL_PATH_LEN - 1). (b) the check should be also performed against listen_host when in remote fwd mode; otherwise hostname of any length is sent over The check against connect_host is already in channel_setup_fwd_listener(). I think that correct way is to remove the check from parse_forward() completely and pu...
2001 Oct 29
0
Patch for allowing port forward host names > 30 bytes
...on portable OpenSSH but should be applied to native. - Dave Dykstra --- channels.h.O Mon Oct 29 15:47:28 2001 +++ channels.h Mon Oct 29 15:47:47 2001 @@ -56,7 +56,7 @@ #define SSH_CHANNEL_ZOMBIE 14 /* Almost dead. */ #define SSH_CHANNEL_MAX_TYPE 15 -#define SSH_CHANNEL_PATH_LEN 30 +#define SSH_CHANNEL_PATH_LEN 200 struct Channel; typedef struct Channel Channel;