Displaying 1 result from an estimated 1 matches for "allow_port_forwarding".
2000 Aug 23
1
Protocol 2 remote forwarding patch
....1.1p4/channels.c openssh-2.1.1p4-jhchanges/channels.c
--- openssh-2.1.1p4/channels.c Mon Jun 26 03:22:53 2000
+++ openssh-2.1.1p4-jhchanges/channels.c Wed Aug 23 09:27:47 2000
@@ -59,6 +59,12 @@
*/
static int channels_alloc = 0;
+/* Jarno: Needed to check if port_forwarding is allowed */
+int allow_port_forwarding;
+int user_authenticated_as_root; /* This could be uid so we could log who
+ * tried to forward ports.
+ */
+
/*
* Maximum file descriptor value used in any of the channels. This is
* updated in channel_allocate.
@@ -581,13 +587,20 @@
"connect from...