OpenBSD CVS

CVS log for src/usr.bin/ssh/log.h


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 15 16:24:31 2021 UTC (3 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 (colored)

do not pass file/func to monitor; noted by Ilja van Sprundel; ok djm@

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 6 23:24:30 2021 UTC (3 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

include "ssherr.h" not <ssherr.h>; from Balu Gajjala via bz#3292

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 3 05:54:14 2021 UTC (3 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

whitespace (tab after space)

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 4 02:25:13 2020 UTC (3 years, 5 months ago) by djm
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

make program name be const

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 18 11:21:59 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.28: +55 -19 lines
Diff to previous 1.28 (colored)

variants of the log methods that append a ssherr.h string from
a supplied error code; ok markus@

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 18 11:14:27 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.27: +11 -35 lines
Diff to previous 1.27 (colored)

remove a level of macro indirection; ok markus@

Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 18 11:13:45 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.26: +13 -1 lines
Diff to previous 1.26 (colored)

add some variant log.h calls that prepend the calling function
name; ok markus@

Revision 1.26 / (download) - annotate - [select for diffs], Sat Oct 17 01:28:20 2020 UTC (3 years, 7 months ago) by djm
Branch: MAIN
Changes since 1.25: +13 -10 lines
Diff to previous 1.25 (colored)

make the log functions that exit (sshlogdie(), sshfatal(), etc) have
identical signatures. Makes things a bit more consistent...

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 16 13:24:45 2020 UTC (3 years, 7 months ago) by djm
Branch: MAIN
Changes since 1.24: +40 -19 lines
Diff to previous 1.24 (colored)

revised log infrastructure for OpenSSH

log functions receive function, filename and line number of caller.
We can use this to selectively enable logging via pattern-lists.

ok markus@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 6 04:53:27 2019 UTC (4 years, 8 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

lots of things were relying on libcrypto headers to transitively
include various system headers (mostly stdlib.h); include them
explicitly

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 27 12:03:17 2018 UTC (5 years, 9 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

avoid expensive channel_open_message() calls; ok djm@

Revision 1.22 / (download) - annotate - [select for diffs], Wed May 17 01:24:17 2017 UTC (7 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

allow LogLevel in sshd_config Match blocks; ok dtucker bz#2717

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 15 05:01:58 2016 UTC (7 years, 10 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Reduce the syslog level of some relatively common protocol events
from LOG_CRIT by replacing fatal() calls with logdie().  Part of
bz#2585, ok djm@

Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 7 02:10:33 2013 UTC (11 years, 1 month ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Add -E option to ssh and sshd to append debugging logs to a specified file
instead of stderr or syslog.  ok markus@, man page help jmc@

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 6 04:37:39 2012 UTC (11 years, 8 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Add ~v and ~V escape sequences to raise and lower the logging level
respectively. Man page help from jmc, ok deraadt jmc

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 17 21:44:30 2011 UTC (12 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.17: +7 -1 lines
Diff to previous 1.17 (colored)

make the pre-auth privsep slave log via a socketpair shared with the
monitor rather than /var/empty/dev/log; ok dtucker@ deraadt@ markus@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 13 00:12:02 2008 UTC (15 years, 11 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

replace __dead with __attribute__((noreturn)), makes things a little easier
to port.  Also, add it to sigdie().  ok djm@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 10 04:50:25 2008 UTC (15 years, 11 months ago) by dtucker
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

Add extended test mode (-T) and connection parameters for test mode (-C).
-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

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

upgrade to OpenSSH 4.4

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:50 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

upgrade to OpenSSH 4.4

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 18 09:13:25 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

make signal handler termination path shorter; risky code pointed out by
mark dowd; ok djm markus

Revision 1.14 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:42 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

almost entirely get rid of the culture of ".h files that include .h files"
ok djm, sort of ok stevesk
makes the pain stop in one easy step

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 10 16:37:36 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

move #include <stdarg.h> out of includes.h; ok markus@

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 25 22:22:43 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

standardise spacing in $OpenBSD$ tags; requested by deraadt@

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:31 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.9.2.1: +3 -3 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

upgrade to OpenSSH 3.9

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:26 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

upgrade to OpenSSH 3.9

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 21 22:02:58 2004 UTC (19 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_8_BASE, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Branch point for: OPENBSD_3_9, OPENBSD_3_8
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

mark fatal and cleanup exit as __dead; ok markus@

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Thu Mar 4 18:18:15 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.8.4.1: +2 -7 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Feb 28 03:51:33 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.9: +2 -7 lines
Diff to previous 1.9 (colored)

upgrade to OpenSSH 3.8

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 23 20:17:11 2003 UTC (20 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE
Branch point for: OPENBSD_3_5
Changes since 1.9: +2 -7 lines
Diff to previous 1.9 (colored)

replace fatal_cleanup() and linked list of fatal callbacks with static
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@

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Sep 16 21:20:26 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

upgrade to OpenSSH 3.7

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 20:50:43 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

upgrade to OpenSSH 3.7

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 8 20:21:28 2003 UTC (21 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

rename log() into logit() to avoid name conflict.  markus ok, from netbsd

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Fri Oct 11 14:53:06 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.4.2.2: +2 -1 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Update to OpenSSH 3.5

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Fri Oct 11 14:51:52 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_1
Changes since 1.6.2.1: +2 -1 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Update to OpenSSH 3.5

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 19 15:43:33 2002 UTC (21 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_3, OPENBSD_3_2
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

remove fatal cleanups after fork; based on discussions with and code
from solar.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Wed Jun 26 15:30:38 2002 UTC (21 years, 10 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Pull in OpenSSH-3.4

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Jun 22 07:23:17 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.4.2.1: +3 -3 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Update OpenSSH to version 3.3 (with local changes, configuration files still
living in /etc and privsep user being nobody).

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 19 20:54:52 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

extra commas in enum not 100% portable

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:44 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.2.6.1: +7 -3 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Merge OpenSSH 3.1, keeping /etc as configuration files directory.
(i.e. OpenSSH 3.1 + openbsd29_3.1.patch)

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:42 2002 UTC (22 years, 2 months ago) by brad
Branch: OPENBSD_2_8
Changes since 1.2.2.5: +7 -3 lines
Diff to previous 1.2.2.5 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Merge OpenSSH 3.1.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Thu Mar 7 17:37:46 2002 UTC (22 years, 2 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (colored)

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 22 12:20:34 2002 UTC (22 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

overwrite fatal() in ssh-keyscan.c; fixes pr 2354; ok provos@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 4 12:15:25 2002 UTC (22 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)

add SYSLOG_FACILITY_NOT_SET = -1, SYSLOG_LEVEL_NOT_SET = -1,
fixes arm/netbsd; based on patch from bjh21@netbsd.org; ok djm@

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Thu Sep 27 19:03:54 2001 UTC (22 years, 7 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.2: +15 -29 lines
Diff to previous 1.2 (colored)

Pull in OpenSSH-2.9.9

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:42 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.2.2.4: +15 -29 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 26 17:27:24 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.3: +14 -28 lines
Diff to previous 1.3 (colored)

remove comments from .h, since they are cut&paste from the .c files
and out of sync

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 26 06:32:55 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.2: +14 -14 lines
Diff to previous 1.2 (colored)

prototype pedant.  not very creative...
- () -> (void)
- no variable names

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:30 2001 UTC (23 years ago) by jason
Branch: OPENBSD_2_8
Changes since 1.2.2.3: +0 -0 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 19:46:26 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.2.2.2: +0 -0 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Wed Mar 21 18:52:49 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.2.4.1: +0 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:11 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 17:19:02 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.2.2.1: +0 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Pull in OpenSSH-2.5.1

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:13:05 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Pull in OpenSSH 2.5.0

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:16 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9, OPENBSD_2_8, OPENBSD_2_7
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

$OpenBSD$

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 21 19:05:51 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN

split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.
rename util.[ch] -> misc.[ch]

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.