summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/addrmatch.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for certificate key types for users and hosts.djm2010-02-261-1/+77
| | | | | | | | | | | | | | | | | | | | | | | | 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@
* o cannot be NULL here but use xfree() to be consistent; ok djm@stevesk2008-12-101-2/+3
|
* support CIDR address matching in .ssh/authorized_keys from="..." stanzasdjm2008-06-101-5/+6
| | | | ok and extensive testing dtucker@
* fix fatal() when performing address matching and connection isdjm2008-06-101-3/+5
| | | | not on socket; spotted by & ok dtucker@
* support CIDR address matching in sshd_config "Match address" blocks, withdjm2008-06-101-0/+416
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@