Patches for openssh port forwarding
Markus Friedl
markus.friedl at informatik.uni-erlangen.de
Sun Aug 13 23:43:53 EST 2000
this is not 'clean' since channels.c is linked to both ssh and sshd.
> diff -u -r openssh-2.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 Sun Aug 13 02:22:42 2000
> @@ -59,6 +59,9 @@
> */
> static int channels_alloc = 0;
>
> +/* Jarno: Needed to check if port_forwarding is allowed */
> +extern ServerOptions options;
> +
> /*
> * Maximum file descriptor value used in any of the channels. This is
> * updated in channel_allocate.
More information about the openssh-unix-dev
mailing list