-
Notifications
You must be signed in to change notification settings - Fork 8
/
ChangeLog
184 lines (123 loc) · 6.24 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
2003-10-29 moi-meme <[email protected]>
* src/utils.c (util_alarm): Move definition of windows dummy
variable to avoid compile error.
2003-09-09 moi-meme <[email protected]>
* src/ctl.c (ctl_init_arrays): Remove call to sleep since not
supposed to mix with alarm calls on linux.
* src/utils.c (util_alarm), src/labrea.c: Set alarm and signal
handlers after going into daemon mode so that child will get
signal
* src/labrea_init.c, src/lbio.c: Take out fudge code since
libdnet 1.7 ethopen now uses the libdnet device names (ie eth1,
etc).
2003-07-17 moi-meme <[email protected]>
* src/labrea_init.c: Tighten checking on invalid numbers input for
throttlesize, max bandwidth, etc.
* src/utils.c: Correct timer handling so that bandwidth usage will
be properly reported.
* src/utils.c, labrea_init.c, pkt_handler.c: Change maxbw to Kbytes so
as to avoid problems with large bandwidths.
2002-08-28 <[email protected]>
* src/labrea_init.c (labrea_init): Turn off arp sweep if capture
subnet is too large. Also give a msg if subnet is large.
2002-08-08 <[email protected]>
* pkt_handler.c (pkt_handler): Set up a "new kid" elt if someone
replies to an arp request.
2002-08-07 <[email protected]>
* pkt_handler.c (ip_handler): Move firewalling code outside so as
to check dest port of all incoming TCP packets.
2002-08-06 <[email protected]>
* labrea_init.c (labrea_init): Change basic bpf filter to listen
to pkts *sent* to the bogus MAC address only.
* lbio.c (lbio_send_ip_pkt): Make responses appear to come from
bogus virtual machine.
2002-08-05 <[email protected]>
* labrea_init.c, pkt_handler.c, ctl.c, utils.c: Add arp sweep logic to detect live
IPs. Replace nk list by a ptr array.
2002-07-31 <[email protected]>
* labrea_init.c (labrea_init): Change test mode to log on stdout,
and not fork a child. Eliminate notes on Usage message to improve
readability.
2002-07-29 <[email protected]>
* pkt_handler.c (check_ip_ignore_or_new_kid): Remove culling
logic. Only cull inactive entries at each timer pop.
2002-07-26 <[email protected]>
* labrea_init.c (labrea_init): Now will accept long options. Add
read_number rtn to check input integer validity and prevent buffer
overflows. Add new --init-file option to allow user-specified
configuration file. Add code to parse all input before bailing
out.
* labrea.h: Move defines.h to this member. Move prototype
definitions to each individual include member (eg utils.h has
prototypes for util.c).
* includes.h: Move all includes to the corresonding .c source
where the include is needed. This simplifies housekeeping on includes.
2002-07-25 <[email protected]>
* pkt_handler.c (throttle_data): Change newthisminute to depend on
b/w from each connection and not just # of connections.
* ctl.h, utils.c, ctl.c: Change history array to depend on a
defined constant. Change code in same way.
2002-07-07 <[email protected]>
* pkt_handler.c (ip_handler): Change port firewalling logic to use
dynamic port algorithm. That is, ports don't respond to incoming
SYNs until they have seen sufficient activity. Then they start
giving back a SYN-ACK.
* defines.h: Change some defines to enums as per GNU coding
standards.
* utils.c: Move code to run "new kids" list into timer signal
handler so that code will be invoked on a regular basis, but not
at each arp. Also add code in same rtn for dynamic port logic so
that if a port shows activity, it will automatically be monitored.
* labrea.c: Change pcap_loop to pcap_dispatch so that mainline
signal handler code can be called regularly.
2002-06-24 <[email protected]>
* labrea_init.c (labrea_init): Change -n, -m parameters so that
can use libdnet input conversion. User has to enter net/mask in
standard CIDR format. -m parameter no longer supported.
2002-06-19 <[email protected]>
* Utils.c (CleanExit): Split into 2 rtn so that can generate error
code if terminating on error.
2002-06-18 <[email protected]>
* labrea.h, *.c: Move control flags and variables to main ctx
structure. Move signal handlers and utility routines to new util.c
member. Centralize logging.
2002-06-17 <[email protected]>
* PacketHandler.c, FixArrays.c, LaBrea.c, LaBrea_init.c: Replace
u_.. types by libdnet std types. Continue working on replacing
hardcoded pkt manipulation by libdnet structures and functions.
2002-06-15 <[email protected]>
* pkt.h, pkt.c: Rework this code to eliminate fragroute-specific
stuff, and to handle arps.
* PacketHandler.c: Got rid of gotos.
2002-06-14 <[email protected]>
* PacketHandler.c, LaBrea.c, LaBrea_init.c, CleanExit.c: Replace
the kotb structure by a TAILQ (vrtq). Each virtual server element
is a structure of standard libdnet constructs.
2002-06-04 <[email protected]> [email protected]
* Data.c: Move constant strings back into pgms to improve
readability. This also prepares for possible gettext
internationalisation implementation. Eliminate the Data.c file.
* LaBrea.c: Use warnx to generate error messages. Eliminate goto
calls for error handling.
* LaBrea_init.c: Move initialisation stuff to new stand-alone
routine. Get rid of gotos.
* labrea.h: Move globals into this include file. Eliminate extern
declarations in functions.
* defines.h: Define file names to dynamically build msgs /
determine file names depending on op system.
* KOTB.c, IPHandler.c: Move functions into PacketHandler to
eliminate *.c includes.
* GoDaemon.c: Eliminate another *c include by moving this code to
LaBrea_init.c
* LaBrea.c, LaBrea_init.c, PacketHandler.c, FixArrays.c,
CleanExit.c: Start replacing libnet by libdnet. Replace randqueue1
logic by calls to libdnet rand fn.
* FixArrays.c: Eliminate code to parse old-style configuration
file syntax.
* defines.h: Change some defines to enum.
* FixArrays.c, LaBrea_init.c, PacketHandler.c: Add port_array
logic to dynamically add ports to be monitored. Also add PMN
directive which causes specific ports to be monitored. Simplify
FixArray parsing logic. Change IP ignore addresses to be a
linked list of addr structures so that a range of addresses is
expressed in CIDR notation (xx.xx.xx.xx/nn).