summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/auth2-none.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Unix domain socket forwarding. A remote TCP portmillert2014-07-151-1/+2
| | | | | | | | may be forwarded to a local Unix domain socket and vice versa or both ends may be a Unix domain socket. This is a reimplementation of the streamlocal patches by William Ahern from: http://www.25thandclement.com/~william/projects/streamlocal.html OK djm@ markus@
* New key API: refactor key-related functions to be more library-like,djm2014-06-241-1/+3
| | | | | | | | | existing API is offered as a set of wrappers. with and ok markus@ Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew Dempsky and Ron Bowes for a detailed review a few months ago.
* skip the initial check for access with an empty password whendjm2010-06-251-2/+2
| | | | PermitEmptyPasswords=no;
* Make protocol 2 MaxAuthTries behaviour a little more sensible:djm2008-07-021-65/+1
| | | | | | | | | | | | | | | | | | | Check whether client has exceeded MaxAuthTries before running an authentication method and skip it if they have, previously it would always allow one try (for "none" auth). Preincrement failure count before post-auth test - previously this checked and postincremented, also to allow one "none" try. Together, these two changes always count the "none" auth method which could be skipped by a malicious client (e.g. an SSH worm) to get an extra attempt at a real auth method. They also make MaxAuthTries=0 a useful way to block users entirely (esp. in a sshd_config Match block). Also, move sending of any preauth banner from "none" auth method to the first call to input_userauth_request(), so worms that skip the "none" method get to see it too.
* Support "Banner=none" to disable displaying of the pre-login banner;djm2007-08-231-2/+5
| | | | ok dtucker@ deraadt@
* Add headers required to build with KERBEROS5=no. ok djm@dtucker2006-08-051-1/+3
|
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-4/+8
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* move #include <fcntl.h> out of includes.hstevesk2006-07-091-1/+3
|
* Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatdjm2006-03-251-0/+1
| | | | Theo nuked - our scripts to sync -portable need them in the files
* RCSID() can diederaadt2006-03-191-1/+0
|
* move #include <sys/stat.h> out of includes.h; ok markus@stevesk2006-02-201-1/+4
|
* improve some code lint did not like; djm millert okderaadt2004-05-111-3/+8
|
* fix passwd auth for 'username leaks via timing'; with djm@, original patches from solarmarkus2003-08-261-2/+2
|
* check whether passwd auth is allowd, similar to proto 1; rob@pitman.co.zamarkus2003-07-311-2/+4
| | | | ok henning
* use xfree()deraadt2002-06-271-2/+2
|
* KNF done automatically while reading....deraadt2002-06-191-3/+2
|
* move Authmethod definitons to per-method file.markus2002-05-311-7/+12
|
* split auth2.c into one file per method; ok provos@/deraadt@markus2002-05-251-0/+102