summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/log.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* xmalloc.h is unusedmarkus2015-07-081-2/+1
|
* Fix some "unused result" warnings found via clang and -portable. ok markus@dtucker2013-05-161-2/+2
|
* Add -E option to ssh and sshd to append debugging logs to a specified filedtucker2013-04-071-2/+18
| | | | instead of stderr or syslog. ok markus@, man page help jmc@
* Add ~v and ~V escape sequences to raise and lower the logging leveldtucker2012-09-061-1/+16
| | | | respectively. Man page help from jmc, ok deraadt jmc
* make the pre-auth privsep slave log via a socketpair shared with thedjm2011-06-171-3/+32
| | | | monitor rather than /var/empty/dev/log; ok dtucker@ deraadt@ markus@
* Add extended test mode (-T) and connection parameters for test mode (-C).dtucker2008-06-101-1/+23
| | | | | | -T causes sshd to write its effective configuration to stdout and exit. -C causes any relevant Match rules to be applied before output. The combination allows tesing of the parser and config files. ok deraadt djm
* save and restore errno when logging; ok deraadt@djm2007-05-171-1/+4
|
* make signal handler termination path shorter; risky code pointed out byderaadt2006-08-181-1/+13
| | | | mark dowd; ok djm markus
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-3/+3
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* move #include <stdio.h> out of includes.hstevesk2006-08-011-1/+2
|
* move #include <stdlib.h> out of includes.hstevesk2006-07-261-1/+2
|
* move #include <string.h> out of includes.hstevesk2006-07-221-1/+2
|
* move #include <unistd.h> out of includes.hstevesk2006-07-171-1/+2
|
* move #include <stdarg.h> out of includes.h; ok markus@stevesk2006-07-101-1/+2
|
* move user includes after /usr/include filesstevesk2006-07-081-4/+4
|
* 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
|
* replace fatal_cleanup() and linked list of fatal callbacks with staticmarkus2003-09-231-78/+1
| | | | | | cleanup_exit() function. re-refine cleanup_exit() where appropriate, allocate sshd's authctxt eary to allow simpler cleanup in sshd. tested by many, ok deraadt@
* pass logged data through strnvis; ok markusdjm2003-05-241-4/+6
|
* use syslog_r() in a signal handler called place; markus okderaadt2003-05-181-5/+7
|
* rename log() into logit() to avoid name conflict. markus ok, from netbsditojun2003-04-081-2/+2
|
* set fatal_cleanups to NULL in fatal_remove_all_cleanups(); dtucker@zip.com.aumarkus2003-01-111-1/+2
|
* remove fatal cleanups after fork; based on discussions with and codemarkus2002-07-191-1/+13
| | | | from solar.
* KNFderaadt2002-07-061-1/+9
|
* overwrite fatal() in ssh-keyscan.c; fixes pr 2354; ok provos@markus2002-02-221-15/+2
|
* add SYSLOG_FACILITY_NOT_SET = -1, SYSLOG_LEVEL_NOT_SET = -1,markus2002-02-041-5/+5
| | | | fixes arm/netbsd; based on patch from bjh21@netbsd.org; ok djm@
* casts to silence enum type warnings for bugzilla bug 37; ok markus@stevesk2002-01-171-3/+3
|
* basic KNF done while i was looking for something elsederaadt2001-12-191-2/+2
|
* remove comments from .h, since they are cut&paste from the .c filesmarkus2001-06-261-2/+4
| | | | and out of sync
* log functions should not be passed strings that end in newline as theymillert2001-03-041-2/+2
| | | | | get passed on to syslog() and when logging to stderr, do_log() appends its own newline.
* log*.c -> log.cmarkus2001-03-031-54/+195
|
* split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.markus2001-01-211-2/+2
| | | | rename util.[ch] -> misc.[ch]
* log() is at pri=LOG_INFO, since LOG_NOTICE goes to /dev/console on many systemsmarkus2001-01-181-4/+3
|
* rename SYSLOG_LEVEL_INFO->SYSLOG_LEVEL_NOTICEmarkus2001-01-071-3/+4
| | | | | | syslog priority changes: fatal() LOG_ERR -> LOG_CRIT log() LOG_INFO -> LOG_NOTICE
* replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'markus2000-12-191-3/+3
| | | | with u_char.
* allow loglevel debugmarkus2000-09-301-1/+2
|
* multiple debug levelsmarkus2000-09-121-3/+23
|
* some more Copyright fixesmarkus2000-09-071-1/+12
|
* cleanup copyright notices on all files. I have attempted to be accurate withderaadt2000-09-071-1/+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.
* ipv6 support: mostly gethostbyname->getaddrinfo/getnameinfo, new features:markus2000-01-041-1/+1
| | | | | | sshd allows multiple ListenAddress and Port options. note that libwrap is not IPv6-ready. (based on patches from <kick@kyoto.wide.ad.jp> and fujiwara@rcac.tdi.co.jp)
* KNF, final part 3markus1999-11-241-4/+2
|
* much more KNFderaadt1999-11-241-4/+4
|
* KNF part 1markus1999-11-231-111/+102
|
* syslog changes:markus1999-11-221-4/+4
| | | | | | | | | | | * Unified Logmessage for all auth-types, for success and for failed * Standard connections get only ONE line in the LOG when level==LOG: Auth-attempts are logged only, if authentication is: a) successfull or b) with passwd or c) we had more than AUTH_FAIL_LOG failues * many log() became verbose() * old behaviour with level=VERBOSE
* bugfix: loglevels are per host in clientconfig,markus1999-11-191-1/+61
| | | | factor out common log-level parsing code.
* add LogLevel {QUIET, FATAL, ERROR, INFO, CHAT, DEBUG} to ssh/sshd,markus1999-11-101-0/+135
obsoletes QuietMode and FascistLogging in sshd.