Bugzilla – Attachment 137 Details for
Bug 384
OpenSSH should store an SSH_SERVER variable for cluster hosts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2 line patch for SSH_SERVER variable with incoming IP & port
openssh-3.4pl1.patch (text/plain), 528 bytes, created by
thomas+openssh
on 2002-08-14 05:43:52 AEST
(
hide
)
Description:
2 line patch for SSH_SERVER variable with incoming IP & port
Filename:
MIME Type:
Creator:
thomas+openssh
Created:
2002-08-14 05:43:52 AEST
Size:
528 bytes
patch
obsolete
>--- session.c~ Wed Jun 26 09:51:06 2002 >+++ session.c Tue Aug 13 15:30:26 2002 >@@ -1009,6 +1009,10 @@ > snprintf(buf, sizeof buf, "%.50s %d %d", > get_remote_ipaddr(), get_remote_port(), get_local_port()); > child_set_env(&env, &envsize, "SSH_CLIENT", buf); >+ >+ snprintf(buf, sizeof buf, "%.50s %d %d", >+ get_local_ipaddr(packet_get_connection_in()), get_local_port(), get_remote_port()); >+ child_set_env(&env, &envsize, "SSH_SERVER", buf); > > if (s->ttyfd != -1) > child_set_env(&env, &envsize, "SSH_TTY", s->tty);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 384
: 137