forked from a2o/snoopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
221 lines (168 loc) · 8.09 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
-------------------------------------------------------------------------------
Snoopy Logger ChangeLog
-------------------------------------------------------------------------------
2015-03-06 - Version 2.2.6
---------------------------
o Feature: added new input provider %{env_all} - logs whole environment
o Feature: added new input provider %{pid} - provides process id
o Feature: added new input provider %{ppid} - provides parent process id
o Bugfix: Fixed improper return value checking in all input providers that
work with literal usernames and groups. This was causing shutdown hangs on
RH/CentOS 7 systems that use systemd, with additional special conitions:
- compiled-in message_format must have included these input providers,
- when only configured in snoopy.ini, they did not trigger this bug.
2015-03-04 - Version 2.2.5
---------------------------
o Bugfix: devlog output provider was not resetting configuration to original
values after it called socket output provider as its subroutine.
o Bugfix: added support for 'make install DESTDIR=...' in etc/Makefile.am
o Bugfix: fixed installation of snoopy.ini in nonexistent directory
2015-01-27 - Version 2.2.4
---------------------------
o Bugfix: devlog output was not implemented properly, it was missing log
facility and log level specification. This resulted in snoopy output
appearing on user's console, as everything was treated with EMERG
severity. On CentOS/RH messages of this severity are forwarded to console
by default.
o Bugfix: Install configuration file with .NEW suffix, and warn the user.
2015-01-27 - Version 2.2.3
---------------------------
o Bugfix: fixed compilation issues on pre 2.09 glibc platforms
(SOCK_NONBLOCK, SOCK_CLOEXEC missing)
2015-01-20 - Version 2.2.2
---------------------------
o Bugfix: fixed compilation issues on pre 2.12 glibc platforms (getsid)
2015-01-11 - Version 2.2.1
---------------------------
o Feature: added support for configurable output selection
o Feature: added dummy input provider: snoopy_version
o Bugfix: changed default output provider from syslog to devlog (non-blocking
socket as workaround for systemd's buffered/blocking /dev/log socket)
2015-01-11 - Version 2.2.0
---------------------------
o Never released.
2014-11-08 - Version 2.1.0
---------------------------
o Enhancement: strict checking of ./configure --with-syslog-* values
o Enhancement: enabled configuration of syslog facility and level from
configuration file
2014-11-07 - Version 2.0.1
---------------------------
o Bugfix: fixed uninitialized pointer in filter/exclude_uid.c and only_uid.c
o Enhancement: prefix all iniparser errors with "SNOOPY " prefix, so it is
evident where errors are coming from
o Bugfix: changed --with-config-file to --enable-config-file. Having two ways
to specify where configuration file exists is redundant and confusing.
2014-11-05 - Version 2.0.0
---------------------------
o Feature: Added support for custom message format specification at
configuration time
o Feature: New input providers:
- egroup (thanks Sébastien Gross)
- env (thanks Taylor Kimball)
- eusername (thanks Sébastien Gross)
- group (thanks Sébastien Gross)
- login (thanks Sébastien Gross)
- username (thanks Sébastien Gross)
- tty_uid (thanks Tony Malkowski)
- tty_username
o Feature: Implemented internal filtering, with the following filters available:
- exclude_uid
- only_root
- only_uid
o Feature: Added optional support for INI configuration file
o Feature: Added envp data to intputdatastorage if execve() is used. Prepared
for future inputs to consume it.
o Feature: Created snoopy-enable and snoopy-disable system scripts.
o Distro packaging: added debian/ubuntu packaging data (by Sebastien Gross)
o Distro packaging: added rhel/centos package spec file (by Jeremy Brown)
o Refactoring: Separated data gathering into separate functions, to be
used at will - now they are called "input providers"
o Refactoring: Removed external filtering, to be replaced with internal
filtering capability in the making
o Refactoring: Removed logging exclusion via prefix, was created for
exclusion of logging of external filter commands
o Refactoring: switched to autotools completely
o Refactoring: all builds now use -Wall and -Werror
o Refactoring: removed --enable-cwd-logging (superseded by message formatting
options and input provider)
o Refactoring: snoopy library is now called libsnoopy.so instead of snoopy.so,
to conform to autotools syntax
o Refactoring: ./configure: removed many bugs, added proper syntax and error
messages to help user decide what she wants
o Refactoring: added 'proper' (unified) error handling
o Refactoring: moved input testing to separate executable, which does not get
installed, but is only intended for development/debugging
o Refactoring: created proper initialization/shutdown methods
o Documentation: added into about writing new input providers
o Bugfix: fixed compilation failure on debian in inputs/cwd.c (thanks Sébastien Gross)
o Bugfix: missing snoopy.ini in distribution tarball (thanks Jeremy Brown)
o Bugfix: When uninstalling, also disable snoopy (remove from /etc/ld.so.preload).
2013-04-06 - Version 1.9.0
---------------------------
o Bugfix: fixed bug with unclosed /dev/log descriptor which caused hangs
o Feature: System-dependent exec() argument length support added (thanks Jeff Schroeder)
o Refactoring: README updated with Markdown format, for nicer display at github
2013-02-03 - Version 1.8.1
---------------------------
o Bugfix: enable.sh was not /bin/sh compliant, fixed (thanks "phe")
2011-03-06 - Version 1.8.0
---------------------------
o Feature: syslog facility is now configurable
o Feature: syslog level is now configurable
o Feature: external filter support available
o Feature: single path prefix filtering available
2010-10-10 - Version 1.7.10
---------------------------
o Fixed bug with long command lines (thanks Luis Fernando Muñoz Mejías)
2010-10-10 - Version 1.7.6
---------------------------
o Quick fix of buggy patch applied in previous release
2010-10-10 - Version 1.7.5
---------------------------
o Build for 64bit machines and destdir support for RPMs (Aldemira)
o Fixed 1-byte memory leak introduced in previous release
2010-09-24 - Version 1.7.2
---------------------------
o Logs current tty (initial patch provided by Aldemira user on SourceForge)
2010-02-11 - Version 1.6.1
---------------------------
o Logs current working directory
2010-02-09 - Version 1.6.0
---------------------------
o Uses autotools now
o Changed installation procedure
o Rewritten logging function to avoid memory leaks
o No more segfaults on 64bit platforms
o Program name and argument lengths limited to 4096 bytes
o Many thanks to otheus for supplying a patch on SourceForge one and a half
years ago, it helped tremendously.
2010-02-09 - Version 1.5.0
---------------------------
o Updated to compile and work without segfaults on 32bit and 64bit platforms
o Project maintenance taken over by Bostjan Skufca
Sun December 10 - Version 1.3
------------------------------
o Altered logging mechanism for performance
o Added new way of logging (can choose)
o Added an integrity check (optional)
Wed October 25 - Version 1.2a
-----------------------------
o ROOT_ONLY behavior now works again, thanks to [email protected] for
notifying us!
Thu October 10 - Version 1.2
-----------------------------
o Fixed small bug with rather adverse side effects.
Thu August 17 - Version 1.1
----------------------------
o Added support for execv(). Although execv() calls execve()
[as described in the man page], execv() calls don't seem to log.
They now do. Will investigate this issue a bit further.
o Made logging code modular, as to accomodate for the extra
overload that execv() brought.
Thu August 3 - Version 1.00
----------------------------
o Cleaned up the codebase a bit
o Added the output of username and sid (PID of the login shell)
to the logged output
o Fixed install.sh to be compatible with older (v1.0) bash shells