mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
- markus@cvs.openbsd.org 2001/03/18 12:07:52
[auth-options.c] ignore permitopen="host:port" if AllowTcpForwarding==no
This commit is contained in:
parent
9de61e8c59
commit
2d70f98220
@ -2,6 +2,10 @@
|
|||||||
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
|
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
|
||||||
do it implicitly.
|
do it implicitly.
|
||||||
- (djm) Add getusershell() functions from OpenBSD CVS
|
- (djm) Add getusershell() functions from OpenBSD CVS
|
||||||
|
- OpenBSD CVS Sync
|
||||||
|
- markus@cvs.openbsd.org 2001/03/18 12:07:52
|
||||||
|
[auth-options.c]
|
||||||
|
ignore permitopen="host:port" if AllowTcpForwarding==no
|
||||||
|
|
||||||
20010318
|
20010318
|
||||||
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
|
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
|
||||||
@ -4601,4 +4605,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.973 2001/03/18 23:09:27 djm Exp $
|
$Id: ChangeLog,v 1.974 2001/03/19 00:13:46 mouring Exp $
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: auth-options.c,v 1.15 2001/03/16 19:06:28 markus Exp $");
|
RCSID("$OpenBSD: auth-options.c,v 1.16 2001/03/18 12:07:52 markus Exp $");
|
||||||
|
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
@ -268,7 +268,8 @@ auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum)
|
|||||||
xfree(patterns);
|
xfree(patterns);
|
||||||
goto bad_option;
|
goto bad_option;
|
||||||
}
|
}
|
||||||
channel_add_permitted_opens(patterns, port);
|
if (options.allow_tcp_forwarding)
|
||||||
|
channel_add_permitted_opens(patterns, port);
|
||||||
xfree(patterns);
|
xfree(patterns);
|
||||||
goto next_option;
|
goto next_option;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user