This website requires JavaScript.
27027456b5
Simplify, remove gratuitous 'return;' at end of functions + cleanup
Joachim Nilsson
2019-10-24 10:46:02 +02:00
773ee73214
Simplify, memset() with 0 rather than '\0'
Joachim Nilsson
2019-10-24 10:44:47 +02:00
6c23333feb
Add wrapper for GLIBC __syslog_chk(), used for fortification
Joachim Nilsson
2019-10-24 08:48:32 +02:00
097d9efdbe
Replace default optimization flag with -fno-strict-aliasing
Joachim Nilsson
2019-10-24 08:43:12 +02:00
6fa899db38
Misc, initial cleanup of syslog testing framework
Joachim Nilsson
2019-10-24 08:39:37 +02:00
1ba3dc5b87
Simplify, remove #ifdefs for INET6, always defined
Joachim Nilsson
2019-10-23 15:00:52 +02:00
33411f8a0c
Drop define of _SVID_SOURCE, not needed anymore
Joachim Nilsson
2019-10-23 14:56:44 +02:00
be5ce0af30
Simplify, no need to reset signal disposition in handler
Joachim Nilsson
2019-10-23 14:41:42 +02:00
3309fb2d50
Misc, cleanup remaining SYSV #ifdefs and simplify a bit
Joachim Nilsson
2019-10-23 12:51:49 +02:00
5114907afe
Refactor, use linked list of struct filed instead of realloc'd array
Joachim Nilsson
2019-10-23 12:50:52 +02:00
a1e3efc3c4
Refactor differences in signal sent from UNIX/Linux kernel on hangup
Joachim Nilsson
2019-10-23 12:48:23 +02:00
98f498595c
Simplify, CONT_LINE is always defined, remove all #ifdefs
Joachim Nilsson
2019-10-23 12:47:39 +02:00
f67ed6934a
Simplify, remove #ifdefs for always defined paths
Joachim Nilsson
2019-10-23 10:37:14 +02:00
b3727fcf0b
Simplify copyright[] and sccsid[] legacy from BSD
Joachim Nilsson
2019-10-23 10:35:47 +02:00
97c107262c
Simplify, syslogd unconditionally includes fcntl.h already
Joachim Nilsson
2019-10-23 10:33:20 +02:00
bf6bba3493
Let logger use local syslog API
Joachim Nilsson
2019-10-22 16:42:35 +02:00
1004498697
Add support for building tsyslogd and syslog_tst again
Joachim Nilsson
2019-10-22 16:41:52 +02:00
d0360f47ed
logger: Replace -h with -?, -h is reserved in POSIX for remote host
Joachim Nilsson
2019-10-21 11:25:04 +02:00
4382136d18
Fix signed vs unsigned comparison warning from GCC
Joachim Nilsson
2019-10-21 11:15:36 +02:00
e65f815333
Remove unused variable
Joachim Nilsson
2019-10-21 11:15:15 +02:00
1844fa4385
Increase default compiler warnings, exempt unused parameters
Joachim Nilsson
2019-10-21 11:10:39 +02:00
3b9a856417
Update ChangeLog in preparation for v2.0
Joachim Nilsson
2019-10-13 14:57:05 +02:00
4fc2c478ef
Reshuffle .gitignore content a bit
Joachim Nilsson
2019-10-13 14:49:32 +02:00
1a09654e79
Add logger tool from Finit project to complement sysklogd
Joachim Nilsson
2019-10-13 14:44:51 +02:00
4fcebdb03c
Add SPDX license identifiers to all source files, BSD-3 & GPL-2
Joachim Nilsson
2019-10-13 12:07:38 +02:00
52a33f1cf4
Minor, strip leading double spaces in license header
Joachim Nilsson
2019-10-13 12:03:35 +02:00
2c8f20f1ea
Update FSF address in GPL license header for all GPL:ed files
Joachim Nilsson
2019-10-13 11:54:34 +02:00
d434d90b53
Unify license header comment style
Joachim Nilsson
2019-10-13 11:46:19 +02:00
290c11d0d9
Sync. BSD license change with FreeBSD upstream
Joachim Nilsson
2019-10-13 11:35:42 +02:00
ac718fe969
Document new RFC5424 style formatting for sending to remote hosts
Joachim Nilsson
2019-10-12 21:37:28 +02:00
34d764ed57
Bump version for v2.0 release cycle
Joachim Nilsson
2019-10-12 18:52:04 +02:00
301081604a
Add RFC5424 support for remote syslog servers
Joachim Nilsson
2019-10-12 18:49:41 +02:00
a2eb744f26
Ignore popular ctags/global files
Joachim Nilsson
2019-10-12 11:35:09 +02:00
760ec4cc36
Fix too small destination buffer in snprintf() call, found by GCC 8
Joachim Nilsson
2019-10-12 11:34:11 +02:00
d754f91a66
Update GPL to latest revision, FSF address change + minor fixups
Joachim Nilsson
2019-10-12 10:42:24 +02:00
3a74817df2
Update ChangeLog and bump version for v1.6 release
Joachim Nilsson
2018-09-25 17:32:25 +02:00
d69f6d3e87
Merge branch 'gzip-rotated-files'
Joachim Nilsson
2018-09-25 17:31:52 +02:00
ea24aa5378
Usability, size modifiers to log rotate: 100k:5, 1G:3, and 100M:5
Joachim Nilsson
2018-09-25 17:14:10 +02:00
98f6f3ae3d
Minor, spelling
Joachim Nilsson
2018-09-25 10:16:17 +02:00
ab24b2efff
Add configurable retry timeout for remote syslog servers
Joachim Nilsson
2018-09-25 10:10:28 +02:00
141b3d5c7c
Update man pages with info on new per-file log rotation settings
Joachim Nilsson
2018-09-25 09:39:16 +02:00
179a137a1d
Update ReadMe and ChangeLog for upcoming v1.6 release
Joachim Nilsson
2018-09-24 20:05:19 +02:00
3039c285e3
Add missing getopt.h include
Joachim Nilsson
2018-09-24 19:59:29 +02:00
234cd4e669
Add required feature flags for when building with -std=c11
Joachim Nilsson
2018-09-24 19:58:53 +02:00
84437f88e3
Avoid for loop initial declarations
Joachim Nilsson
2018-09-24 17:28:26 +02:00
bc92e860ef
Initial support for per log file rotate size:count as last arg.
Joachim Nilsson
2018-09-24 17:03:54 +02:00
01a46ae8cc
Compress rotated files >= .1, keep .0 uncompressed
Joachim Nilsson
2018-09-24 14:17:28 +02:00
5a32c5a66c
Add pointers to service man pages in unit files
Joachim Nilsson
2018-08-05 19:20:17 +02:00
2ceaab2a1d
Run syslogd and klogd in foreground under systemd
Joachim Nilsson
2018-08-05 19:18:40 +02:00
cda4c6a037
Integrate systemd unit files with paths from configure
Joachim Nilsson
2018-08-05 19:15:44 +02:00
9829309bc4
Add basic systemd unit files
Joachim Nilsson
2018-08-05 19:07:57 +02:00
aef7e07704
Refactor, use NULL and not (char *)0 and similar
Joachim Nilsson
2018-08-05 19:02:25 +02:00
2e84a34758
Refctor, simplify return statements, no parenthesis needed
Joachim Nilsson
2018-08-05 18:59:33 +02:00
f1f1ee3563
Reindent to Linux KNF
Joachim Nilsson
2018-08-05 18:54:27 +02:00
53c4dd817d
Fix archaic #include statements, for building with musl libc
Joachim Nilsson
2018-08-05 16:51:13 +02:00
9f21a8a0f5
Refactor, replace reserved dprintf() with logit()
Joachim Nilsson
2018-08-05 16:39:31 +02:00
ea586826be
Flip logic to simplify code a bit
Joachim Nilsson
2018-08-03 09:22:17 +02:00
0f01cf7cff
Update usage, klogd probes for a System.map file by default
Joachim Nilsson
2018-08-03 09:16:47 +02:00
d222e82d83
Add --with-syslogd-pidfile=FILE configure option
Joachim Nilsson
2018-08-03 09:06:39 +02:00
38651d9322
Add --with-klogd-delay=SEC configure option
Joachim Nilsson
2018-08-03 08:46:04 +02:00
2b1dd66f0f
Add missing syslog.c define from conversion to GNU configure & build
Joachim Nilsson
2018-08-03 08:45:45 +02:00
0f4d458a59
Prop up usage text and launch on -? for both klogd and syslogd
Joachim Nilsson
2018-08-03 08:10:38 +02:00
a08b8ee38a
Add missing '*' to Emacs local variables indentation hinting
Joachim Nilsson
2018-08-03 01:32:33 +02:00
d7bfb2c66f
Activate built-in log rotation feature, disabled by default
Joachim Nilsson
2018-08-03 00:58:00 +02:00
1a42935c2f
Document log rotation command line options
Joachim Nilsson
2018-08-02 23:47:21 +02:00
614cb78aef
Install ChangeLog.md and example syslog.conf in doc/ and add to dist
Joachim Nilsson
2018-08-02 23:30:11 +02:00
2fda4352ea
Remove doc_DATE fro src/Makefile.am, archived now
Joachim Nilsson
2018-08-02 23:29:45 +02:00
83fda541e2
Rename and do initial conversion to Markdown
Joachim Nilsson
2018-08-02 23:26:22 +02:00
fc7e90d25a
Archive old docs
Joachim Nilsson
2018-08-02 23:12:26 +02:00
5e7883318f
Travis-CI: Remove ldd + size, for now
Joachim Nilsson
2018-08-02 23:10:41 +02:00
221dc9ca8b
Initial support for Travis-CI
Joachim Nilsson
2018-08-02 23:07:53 +02:00
e6a88e13ed
Replace version.h with auto-generated version from configure script
Joachim Nilsson
2018-08-02 23:02:49 +02:00
363b9a2201
Add new project README, with background and rationale
Joachim Nilsson
2018-08-02 22:50:06 +02:00
880cb2aa4d
Relocate files to man/ and src/ and change to GNU configure & build
Joachim Nilsson
2018-08-02 22:23:26 +02:00
f4110c8571
Enable configuration of INET_SUSPEND_TIME from build system
Joachim Nilsson
2018-08-02 15:40:59 +02:00
a09150a061
Touch PID file on SIGHUP to ACK signal
Joachim Nilsson
2018-08-02 15:37:02 +02:00
9c2d0cb9fc
Ignore backed up console, continue writing when its unclogged
Joachim Nilsson
2018-08-02 15:28:38 +02:00
678b309f71
Merge FreeBSD socket receive buffer size patch, SVN r259368
Joachim Nilsson
2018-08-02 15:24:42 +02:00
b3aa3f4830
Add basic .gitignore file
Joachim Nilsson
2018-08-02 15:16:29 +02:00
039bd99d10
Add support for built-in log rotation from BusyBox syslogd
Joachim Nilsson
2018-08-02 15:15:14 +02:00
aeba1d31b7
Fix build error with GCC v7.3, wait3() takes an int *status
Joachim Nilsson
2018-08-02 15:12:59 +02:00
9abddd6b55
Document changes
Joey Schulze
2014-10-04 21:38:15 +02:00
5b156a9033
Bugfix against minor vulnerability caused by invalid PRI value (CVE-2014-3634)
mancha
2014-10-04 21:34:41 +02:00
2a80f8117f
Replace strcpy with memmove to fix continuation line problems on 64bit architectures, patch by David Couture.
Joey Schulze
2010-09-10 08:50:59 +02:00
b03656d74e
Adjust changelog information
Joey Schulze
2009-12-24 20:20:49 +01:00
0c2f6712a7
IPv6 support
John Haxby
2009-11-09 16:15:55 +00:00
8640ed6f6f
Documentation update
Joey Schulze
2009-11-27 21:54:06 +01:00
74d15498a0
Remove faulty fclose() call. Thanks to Andrea Morandi and Sean Young.
Joey Schulze
2008-07-04 14:48:42 +00:00
0bb8aa7194
Adjust indention
Joey Schulze
2008-05-11 17:05:24 +00:00
91b3e07d6e
Correct logic: flush log files independed of MARK
Joey Schulze
2008-05-11 17:04:18 +00:00
7bded835a2
Correct calculation
Joey Schulze
2008-05-11 17:03:39 +00:00
5e3891ec45
Document "don't output marks to recently written files"
Joey Schulze
2008-05-11 16:57:41 +00:00
e7141b5d5f
Added missing changelog entry
Joey Schulze
2008-05-08 19:43:09 +00:00
94e0cb4f54
Code reorganisation: make sure that the service name is only queried when it is needed, i.e. when we are sending to or receiving from the network
Joey Schulze
2008-05-07 21:00:39 +00:00
c5f9d2cd50
Thomas Jarosch: Move hostname setting code from main() into init()
Joey Schulze
2007-11-10 19:01:48 +00:00
be3066caa3
Improved sleep/alarm/mark implementation by Alan Jenkins <alan-jenkins@tuffmail.co.uk >
Joey Schulze
2007-10-08 15:24:06 +00:00
7097243191
Adjusted indention
Joey Schulze
2007-10-08 09:43:48 +00:00
af1ce3b6bb
Untypo
Joey Schulze
2007-07-29 17:37:07 +00:00
2a2ab0cb77
Prevent pipes from becoming the controlling tty
Joey Schulze
2007-07-04 19:04:02 +00:00
c972380fef
Reverted patch by Andreas Barth since it caused problems with opening the pipe
Joey Schulze
2007-07-04 19:00:09 +00:00