bugzilla-daemon at bugzilla.mindrot.org
2009-Jan-30 21:20 UTC
[Bug 1552] New: Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Summary: Patch to log tunnel information
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: jblaine at kickflop.net
First, all credit to Vladimir Parkhaev as this is his code. He may
have
submitted this before for all I know, but I for one definitely would
like
to see this end up in the codebase, so I'm submitting it.
*** openssh-5.1p1/serverloop.c Fri Jul 4 09:10:49 2008
--- openssh-5.1p1-RCFHACKS/serverloop.c Thu Jan 29 08:56:11 2009
***************
*** 957,962 ****
--- 957,968 ----
c = channel_connect_to(target, target_port,
"direct-tcpip", "direct-tcpip");
+ if (c == NULL){
+ verbose("Tunnel denied: user '%s' from %s to %s:%d",
the_authctxt->user, get_remote_ipaddr(), target, target_port);
+ } else {
+ verbose("Tunnel opened: user '%s' from %s to %s:%d",
the_authctxt->user, get_remote_ipaddr(), target, target_port);
+ }
+
xfree(originator);
xfree(target);
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Jul-31 01:38 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
Blocks| |1626
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2009-07-31
11:38:41 ---
we should look at this for 5.4
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Nov-10 02:28 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #2 from Damien Miller <djm at mindrot.org> 2009-11-10 13:28:34
EST ---
logging all port forwards would be noisy even for verbose. I think a
better way to do this would be to:
1) make AllowTcpForwarding a tri-state, with value 2 meaning "allow,
but log". Server admins could turn it on for verbose logging for
forwarding activity
2) Add a verbose() call to channel_connect_to(). This will catch both
ssh1 and ssh2 cases.
3) We would also need to explicitly log requests of -R port forwardings
and tunnel forwards for consistency.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Mar-08 01:37 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1626 |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Mar-08 01:38 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1708
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Aug-09 18:24 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1708 |1803
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Upstream has locked already, so we will look at this in 5.7
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:30 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1803 |
--- Comment #4 from Damien Miller <djm at mindrot.org> 2011-01-24 12:30:54
EST ---
Retarget unclosed bugs from 5.7=>5.8
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:31 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1845
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 00:34 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1930
--- Comment #5 from Damien Miller <djm at mindrot.org> 2011-09-06 10:34:23
EST ---
Retarget unresolved bugs/features to 6.0 release
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 00:36 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552 --- Comment #6 from Damien Miller <djm at mindrot.org> 2011-09-06 10:36:34 EST --- Retarget unresolved bugs/features to 6.0 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 00:39 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1845 |
--- Comment #7 from Damien Miller <djm at mindrot.org> 2011-09-06 10:39:10
EST ---
Retarget unresolved bugs/features to 6.0 release
(try again - bugzilla's "change several" isn't)
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-Feb-23 23:34 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1986
--- Comment #8 from Damien Miller <djm at mindrot.org> 2012-02-24 10:34:32
EST ---
Retarget from 6.0 to 6.1
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-Feb-23 23:38 UTC
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|1930 |
--- Comment #9 from Damien Miller <djm at mindrot.org> 2012-02-24 10:38:12
EST ---
Retarget 6.0 => 6.1
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.