summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/match.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for certificate key types for users and hosts.djm2010-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | OpenSSH certificate key types are not X.509 certificates, but a much simpler format that encodes a public key, identity information and some validity constraints and signs it with a CA key. CA keys are regular SSH keys. This certificate style avoids the attack surface of X.509 certificates and is very easy to deploy. Certified host keys allow automatic acceptance of new host keys when a CA certificate is marked as trusted in ~/.ssh/known_hosts. see VERIFYING HOST KEYS in ssh(1) for details. Certified user keys allow authentication of users when the signing CA key is marked as trusted in authorized_keys. See "AUTHORIZED_KEYS FILE FORMAT" in sshd(8) for details. Certificates are minted using ssh-keygen(1), documentation is in the "CERTIFICATES" section of that manpage. Documentation on the format of certificates is in the file PROTOCOL.certkeys feedback and ok markus@
* support CIDR address matching in sshd_config "Match address" blocks, withdjm2008-06-101-1/+4
| | | | | | | | | | | | 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@
* standardise spacing in $OpenBSD$ tags; requested by deraadt@djm2006-03-251-1/+1
|
* undo the 'delay hostname lookup' changemarkus2002-03-011-2/+2
| | | | | match.c must not use compress.c (via canonhost.c/packet.c) thanks to wilfried@
* delay hostname lookup until we see a ``@'' in DenyUsers and AllowUsersstevesk2002-02-281-2/+2
| | | | for sshd -u0; ok markus@
* make theo and djm happy: bye bye regexpmarkus2001-12-051-3/+4
|
* prototype pedant. not very creative...itojun2001-06-261-6/+6
| | | | | - () -> (void) - no variable names
* move ip+hostname check to match.cmarkus2001-06-241-21/+5
|
* add PreferredAuthenticationsmarkus2001-03-101-1/+7
|
* $OpenBSD$niklas2001-01-291-0/+2
|
* replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'markus2000-12-191-1/+1
| | | | with u_char.
* some more Copyright fixesmarkus2000-09-071-20/+10
|
* cleanup copyright notices on all files. I have attempted to be accurate withderaadt2000-09-071-0/+23
| | | | | | | the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
* fix match_hostname() logic for auth-rsa: deny access if we have a negative match or no match at allmarkus2000-06-061-2/+2
|
* initial support for DSA keys. ok deraadt@, niels@markus2000-03-231-0/+18