diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-06-10 03:57:28 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-06-10 03:57:28 +0000 |
commit | c918fcb911296db61fe2488385fdbf5e8a132ac4 (patch) | |
tree | 55f5f59cf1ca5dc688ea409f3026423868eb02bb /usr.bin/ssh/lib | |
parent | 3251e557452a789c02205b213ceb43ea52433e49 (diff) |
support CIDR address matching in sshd_config "Match address" blocks, with
full support for negation and fall-back to classic wildcard matching.
For example:
Match address 192.0.2.0/24,3ffe:ffff::/32,!10.*
PasswordAuthentication yes
addrmatch.c code mostly lifted from flowd's addr.c
feedback and ok dtucker@
Diffstat (limited to 'usr.bin/ssh/lib')
-rw-r--r-- | usr.bin/ssh/lib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/lib/Makefile b/usr.bin/ssh/lib/Makefile index 558c89332ee..3003c7e2cec 100644 --- a/usr.bin/ssh/lib/Makefile +++ b/usr.bin/ssh/lib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.55 2007/06/07 19:37:34 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.56 2008/06/10 03:57:27 djm Exp $ .PATH: ${.CURDIR}/.. @@ -12,7 +12,7 @@ SRCS= authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c \ key.c dispatch.c kex.c mac.c uidswap.c uuencode.c misc.c \ ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \ kexdhc.c kexgexc.c scard.c msg.c progressmeter.c dns.c \ - monitor_fdpass.c md-sha256.c umac.c + monitor_fdpass.c md-sha256.c umac.c addrmatch.c DEBUGLIBS= no NOPROFILE= yes |