Bugzilla – Attachment 1424 Details for
Bug 1307
client disconnects if ServerAlive enabled but not implemented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Hack sshd to provide testcase for this change.
openssh-bug1307-testcase.patch (text/plain), 878 bytes, created by
Darren Tucker
on 2007-12-29 00:38:09 AEDT
(
hide
)
Description:
Hack sshd to provide testcase for this change.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2007-12-29 00:38:09 AEDT
Size:
878 bytes
patch
obsolete
>Index: serverloop.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh/serverloop.c,v >retrieving revision 1.151 >diff -u -p -r1.151 serverloop.c >--- serverloop.c 28 Jan 2007 23:16:28 -0000 1.151 >+++ serverloop.c 28 Dec 2007 13:26:30 -0000 >@@ -1095,6 +1095,16 @@ server_input_global_request(int type, u_ > want_reply = packet_get_char(); > debug("server_input_global_request: rtype %s want_reply %d", rtype, want_reply); > >+ /* XXX hack to test bug #1307. leaks rtype */ >+ if (strcmp(rtype, "keepalive@openssh.com") == 0) { >+ debug("XXX sending UNIMPLEMENTED in response to keepalive"); >+ packet_start(SSH2_MSG_UNIMPLEMENTED); >+ packet_put_int(seq); >+ packet_send(); >+ packet_write_wait(); >+ return; >+ } >+ > /* -R style forwarding */ > if (strcmp(rtype, "tcpip-forward") == 0) { > struct passwd *pw;
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 1307
:
1263
|
1264
| 1424 |
1442