File: ChangeLog

package info (click to toggle)
net-acct 0.71-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 436 kB
  • ctags: 485
  • sloc: ansic: 2,106; perl: 189; sh: 79; makefile: 43
file content (386 lines) | stat: -rw-r--r-- 11,352 bytes parent folder | download | duplicates (5)
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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
Mon Sep 13 15:30:00 1999  Richard Clark     <rclark@ethos.co.nz>

	* process.c:
	    fixed month-off-by-one bug in Human Readable time.

Fri Sep 17 23:20:00 1998  Mark Knox	    <nergal@bladesinger.com>

	* config.c:
	    patch from Robert Vogelgesang to fix multiple notdev bugs

	* process.c:
	    fixed masq code typos and added ICMP masquerading - patch submitted by
	    Thorsten Kuehnemann 

	    fixed bug in SIGHUP handler where promisc devices were not being reinitialized
	    thanks to Robert Vogelgesang for reporting this one as well.

Mon Jun 29 20:39:00 1998  Mark Knox         <nergal@bladesinger.com>

	* process.c:
	    increased default hash table size to 4096
	    improved HASH function

	* Makefile:
	    added -O2 to compile flags

	* README:
	    updated mailing list addresses etc

Thu May  7 10:24:00 1998  Mark Knox         <nergal@travel-net.com>

	* process.c:
	    added hash table patch from Tom Brown <tbrown@baremetal.com>
	    added remap_masq function
	    changed SIGHUP handling to re-read config file

	* netacct.h: added iflist to struct config
		     added masq support from Nigel Metheringham

	* capture-linux.c: added code for iflist (based on patches from
	    Nigel Metheringham <Nigel.Metheringham@theplanet.net) - thanks :)

	* config.c: added parser for iflist keyword
		    added support for masquerading

Wed May  6 12:22:00 1998  Mark Knox         <nergal@travel-net.com>

	* netacct.h: added struct mon_host_struct for hostlimit

	* config.c: added case to parser for hostlimit keyword

	* capture-xxx.c: added code to packet_loop for hostlist

Sun Jul 14 19:29:42 1996  Ulrich Callmeier  <uc@brian.lunetix.de>

	* netacct.h: Naming fixes

	* process.c:
	Changed some of the lck-debug messages to level DBG_ANNOYING
	Some changes in output format

	* capture-linux.c: Include ip_icmp.h

	* naccttab.sample:
	Updated info about runtime header information configuration

	* capture-linux.c: Made header information runtime configurable

	* config.c:
	Length of name prefix for header information calculated while reading config file

	* netacct.h: Added length field to headerdat

	* config.c: Added runtime configuration of header information

	* process.c: More detailed debugging messages for lck
	Format for human readable time changed

	* README: Various updates/fixes to the documentation

	* naccttab.sample: Added runtime header configuration

	* netacct.h: Added runtime configuration of header information

	* netacct.h:
	Initial integration of patches by Vlad (TCP_USER_INFO, HUMAN_READABLE_TIME)

	* process.c:
	Initial integration if patches by Vlad Seriakov (TCP_USER_INFO, HUMAN_READABLE_TIME)

	* capture-linux.c: Some syntax errors with new offsets fixed
	Initial integration of patches by Vlad Seriakov

	* process.c: Integrated Bernd's patches

	* naccttab.sample: Changes by Bernd, adaptions for his extensions

	* main.c: Integrated patch of Bernd (-D no detach for inittab)

	* config.c: Integrated notdev-patch of Bernd

	* capture-linux.c, netacct.h, README: Integrated patches of Bernd

	* naccttab.sample: Initial revision

	* capture-linux.c:
	Added offsets for tr and isdn devices. Decided to make this configurable
	at runtime.

	* capture-linux.c:
	Corrected bug found by Andreas Heilwagen and Sebastian Schaefer,
	used dynamicaddr instead of otheraddr incorrectly.

Sun Jun  4 19:07:41 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* capture-linux.c: Fixed two bugs with new dynamic ip stuff.

Sun May 28 20:18:55 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* netacct.h:
	Prefixed variables macro DEBUG. Not doing this caused obscure bugs
	in the debugging output.

	* README: Various fixes and updates

Sun May 28 16:32:28 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* utils.c: Portability fixes

	* process.c:
	Removed a few include files that are already included via netacct.h

	Split up capture.c into process.c and capture-$(ARCH).c

	Removed variables ignorenet, dynadat

	Removed functions init_capture, exit_capture, onignorelist,
        check_user_dev2line, check_user_dynamicip, handle_ip

	Reworked do_acct to use architecture dependend packet_loop()

	Added TELL_WAIT* functions to fix races in child/signal
        handling. See Stevens APUE 8.8

	Fixed bug in SIG_CHLD handling - didn't check return value from
	waitpid before testing errno, so if errno accidentially was set to
	ECHILD before... go figure...

	Added debugging output in various places.

	* main.c:
	New argument to macro SETSIG to set flags. Not really used until now.

	Added typecast for pid output

	* daemon.c: Added debugging output to daemon_stop

	Changed linux/time.h into sys/time.h for portability

	* netacct.h: Improved portability by changing some of the includes

	Changed DEFAULT_IGNOREMASK to 255.255.255.255, so it matches the
        documentation

	Some more globals due to the splitting of capture.c into process.c
        and capture-$(ARCH).c

	Some #ifdef linux added for linux specific parts

	* config.c:
	added option excludenamelookup (keyword "exclude-name-lookup")

	* capture-linux.c:
	Split up capture.c in process.c and capture-$(ARCH).c

	Removed variables running, packets, plist, olist, plistsize,
        olistsize, lck, writing, dumping, writepid, dumppid, may_write,
        err_delay, max_err_delay, now, ignorenet, list_compares,
        list_lookups

	Removed functions reopen_sockets, do_acct, register_packet,
        do_write_list, write_list, dump_curr_list, child_finished,
        alarm_handler, write_log, signal_debug, signal_ignore

	do_acct is now split up in packet_loop (architecture dependend)
        and do_acct (in process.c)

	implemented Bart's suggestions for new style dynamic ip handling
	(excludenamelookup option and checking other addr if first fails)

Tue May 23 19:24:12 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* main.c: Removed global capture_sd

	* process.c, capture-linux.c: Initial revision

Mon May 22 22:28:43 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* netacct.h: Minor fixes

	* main.c, config.c: Fixed unbuffering of debug output file

	* capture.c: Added new style dynamic ip handling

	* capture.c: Cleaned up debugging handling

	Prepared new style dynamic ip handling

	Added dontignore handling

	* config.c: Initialize debugname

	* config.c:
	Added parsing of dontignore, dynamicip, debugfile, dynamicnet

	* netacct.h: Cleaned up debugging handling, addition DBG_*, macro DEBUG

	Prepared for new style handling of dynamic ip

	* main.c: Cleaned up debugging handling

	* daemon.c: Added fclose(dbg_file) for new style debugging output

Sun May 21 12:54:44 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* README: Erklaert, wie man zur Discussion-Liste subscribed.

	minor fixes

Wed Apr 12 19:23:34 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* capture.c: Removed unused variable tmp in do_write_list

Wed Apr 12 19:13:43 1995  Ulrich Callmeier  <uc@brian.lunetix.de>

	* capture.c: You can now disable certain fields of output.

	* config.c: Added parsing of disable statememts

	* README: Updated for 0.3

	* netacct.h: Added disabling of certain fields

Wed Mar  1 17:00:56 1995  Ulrich Callmeier  <uc@brian>

	* README: For release 0.2

	* main.c:
	Feature added: a pid file (in /var/run) is created on startup and deleted
	on exit. On startup we check for the existence of such a file. If one
	exists and contains the pid of a process still running we quit

	* daemon.c: unlink pid-file on exit

	* capture.c: Made dumppid and writepid volatile.

	Added some debugging output.
	Messages about corrected clock only if difference >5 seconds.

	* main.c: Using SA_RESTART was a bad idea. Removed it again.

Mon Feb 27 16:07:17 1995  Ulrich Callmeier  <uc@brian>

	* capture.c:
	Fixed a bug in SIGCHLD handling. We have to loop until waitpid return 0, not just check
	once.

	Removed silly reinstallation of signal handlers. This is 1995...

	* main.c:
	We use sigaction instead of signal to set up our signal handlers. Interrupted
	systemcalls are to be restarted.

Tue Feb 21 16:21:49 1995  Ulrich Callmeier  <uc@brian>

	* README: Bumped up to version 0.1.

Tue Feb 21 16:18:58 1995  Ulrich Callmeier  <uc@brian>

	* capture.c:
	Added three missing unlink(tmpn). This caused a lot of empty
	lockfiles to be left in /tmp. Arghhhh.

	* capture.c:
	Added some if(debug_level > x) to prevent unnecessary syslog output.

Mon Feb 20 23:35:57 1995  Ulrich Callmeier  <uc@brian>

	* capture.c: Support for delayed write of data:
	 Added dump process
	 Added data timestamping

	Seperated out do_write_list from write_list.
	do_write_list is used by write_list and dump_curr_list.

	Cleaned up alarm signal handler, now in an own routine alarm_handler
	This maintains an internal clock (in variable now)

	Removed unneccessary globals flush and fname now that cfg is global

	* main.c: Cleaned up signal handling:
	 New handler alarm_handler for SIGALRM
	 Added comments

	Save old dumpfiles on startup (save_dumpfile)

	Added check if caller is superuser on startup.
	Exit with appropriate message otherwise. Thanks to Randolf Skerka
	<Skerka@Heim2.TU-Clausthal.DE> for the hint.

	* config.c: Support for dumpname and fdelay.

	Added check if filename and dumpname are given.

	* daemon.c: Changed call to write_log to force a complete flush.

	* netacct.h:
	Support for holding entries in memory at least a certain time:
	 Added fdelay to struct config. Added default define for fdelay.
	 Added dumpname to struct config.
	 Added field when to struct ipdata (to record last use of entry).

	Cleaned up alarm handler. Changed prototype of write_log accordingly.
	Added prototype for new alarm_handler.

	* daemon.c: Adapted call to write_log to new declaration.

Mon Feb 20 16:00:20 1995  Ulrich Callmeier  <uc@brian>

	* config.c: Added support for parsing "line" statements.

	* main.c: Added dev2line global.

	* netacct.h:
	Added (preliminary) support to associate slip/ppp packets with users.

	* capture.c:
	Added (preliminary) support for associating slip/ppp packets with users.

	* README: Updated to newest release.

	* README: Initial revision

Sun Feb 19 22:11:47 1995  Ulrich Callmeier  <uc@brian>

	* capture.c:
	Adapted init_capture and exit_capture to new handling of devices to set into
	promiscous mode.

	Minor cleanups.

	* main.c: Moved signal setups to function signal_setup.

	Removed struct capture.

	* config.c:
	Adapted read_config to deal with new linked list of promisc devices.

	Provided sensible defaults for all of the values. These are imported from
	netacct.h.

	* netacct.h: Cleaned up promiscious device handling.
	Got rid of struct capture. This is now in struct promisc_device.
	There is now a linked list of devices to put into promiscous mode. This
	can be empty.

	Provided sensible defaults for some of the naccttab settings (DEFAULT_* defines)

	Removed define for version. This is now done with RCS.

	Configuration information is now a global.

	* daemon.c:
	Removed check for capture -> reset. This is now done in exit_capture.

Wed Feb  8 15:18:05 1995  Ulrich Callmeier  <uc@brian>

	* capture.c:
	Ifdeffed ignoring of unencapsulated packets. A better system has to be
	devised.

Mon Jan 30 21:10:26 1995  Ulrich Callmeier  <uc@brian>

	* netacct.h, utils.c, main.c, daemon.c, config.c, capture.c:
	Initial revision under RCS