Bugzilla – Attachment 1515 Details for
Bug 1297
No feedback when remote forward is localhost-only due to GatewayPorts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
send notification in debug message
channels-warn-listen-override.diff (text/plain), 968 bytes, created by
Damien Miller
on 2008-06-12 18:18:50 AEST
(
hide
)
Description:
send notification in debug message
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2008-06-12 18:18:50 AEST
Size:
968 bytes
patch
obsolete
>Index: channels.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/channels.c,v >retrieving revision 1.279 >diff -u -p -r1.279 channels.c >--- channels.c 12 Jun 2008 03:40:52 -0000 1.279 >+++ channels.c 12 Jun 2008 08:14:57 -0000 >@@ -2437,8 +2437,16 @@ channel_setup_fwd_listener(int type, con > if (((datafellows & SSH_OLD_FORWARD_ADDR) && > strcmp(listen_addr, "0.0.0.0") == 0 && is_client == 0) || > *listen_addr == '\0' || strcmp(listen_addr, "*") == 0 || >- (!is_client && gateway_ports == 1)) >+ (!is_client && gateway_ports == 1)) { > wildcard = 1; >+ if (*listen_addr != '\0' && >+ strcmp(listen_addr, "0.0.0.0") != 0 && >+ strcmp(listen_addr, "*") != 0) { >+ packet_send_debug("Forwarding listen address " >+ "\"%.100s\" overridden by server " >+ "GatewayPorts", listen_addr); >+ } >+ } > else if (strcmp(listen_addr, "localhost") != 0) > addr = listen_addr; > }
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1297
:
1253
|
1254
| 1515