forked from sleinen/samplicator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
294 lines (160 loc) · 7.47 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
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
2006-03-28 Simon Leinen <[email protected]>
* samplicate.c (enum peer_flags): New flag `pf_CHECKSUM'.
(parse_args): Recognize `-n' flag.
* README: Document `-n' flag.
* rawsend.h (raw_send_from_to): Added `flags' argument.
(RAWSEND_COMPUTE_UDP_CHECKSUM): Defined.
* rawsend.c (raw_send_from_to): Added `flags' argument.
(udp_sum_calc): New function, compute UDP checksum.
* AUTHORS: Document UDP checksum generation.
2005-10-26 Simon Leinen <[email protected]>
* AUTHORS: Added note on James Sella's contributions.
* samplicate.c:
Integrated support for the `-s' (source address to bind() to) and `-f'
(fork) options contributed by James Sella.
2005-10-25 Simon Leinen <[email protected]>
* AUTHORS: Deleted David's e-mail address.
* README: Document `-s' and `-f' options (courtesy of James Sella).
* configure.in: Incremented version to 1.3.4.
* NEWS: Documented new options in 1.3.4.
Updated copyright notice.
2005-10-06 Simon Leinen <[email protected]>
* NEWS: Added 1.3.3 notes.
* configure.in: Incremented version to 1.3.3.
* AUTHORS: Mention Jurai Sucik.
* samplicate.c (parse_args): Don't forget to clear `defaultflags'.
Kudos to Juraj Sucik <[email protected]> for finding this bug!
2005-10-06 Simon Leinen <[email protected]>
* configure.in (AM_INIT_AUTOMAKE): Version 1.3.2 -> 1.3.3.
* AUTHORS: Mention Jurai Sucik.
* samplicate.c (parse_args): Don't forget to clear `defaultflags'.
Kudos to Juraj Sucik <[email protected]> for finding this bug!
2001-09-18 Simon Leinen <[email protected]>
* samplicate.c (parse_args): Terminate on illegal flow port.
* configure.in (AM_INIT_AUTOMAKE): Version 1.3.1 -> 1.3.2.
* rawsend.c (raw_send_from_to):
Convert host to network order in IP header fields
for some systems that are known to require that.
* samplicate.c (PORT_SEPARATOR):
Changed from `:' to `/' to retain backwards
compatibility.
(usage): Use macros PORT_SEPARATOR, FREQ_SEPARATOR and TTL_SEPARATOR
in usage message.
(parse_args, parse_peers): Range checks on port and TTL arguments.
* ChangeLog: *** empty log message ***
* samplicate.c: New parsing code from Vladimir A. Jakovenko.
* rawsend.h (DEFAULT_TTL): Moved here from `rawsend.c'.
(raw_send_from_to): Take additional `ttl' argument.
* rawsend.c (DEFAULT_TTL): Moved to `rawsend.h'.
(raw_send_from_to): Take additional `ttl' argument.
2001-09-18 Simon Leinen <[email protected]>
* samplicate.c: New parsing code from Vladimir A. Jakovenko.
* rawsend.h (DEFAULT_TTL): Moved here from `rawsend.c'.
(raw_send_from_to): Take additional `ttl' argument.
* rawsend.c (DEFAULT_TTL): Moved to `rawsend.h'.
(raw_send_from_to): Take additional `ttl' argument.
2001-09-04 Simon Leinen <[email protected]>
* rawsend.c: Suppress a few type warnings on older systems.
2001-09-02 Simon Leinen <[email protected]>
* samplicate.c: Include <ctype.h> if system has it.
(parse_peers, init_samplicator): Changed to return -1 rather than
exit() on errors.
* rawsend.c (make_raw_udp_socket):
Set IP_HDRINCL on systems that define it.
* NEWS: Noted BSD spoofing patch.
Added pointer to the README for Otmar's patch.
* configure.in (AC_INIT): Version 1.3.1.
(AC_CHECK_HEADERS): Added ctype.h.
* AUTHORS: Added acknowledgement to Vladimir Jakovenko.
2001-07-24 Simon Leinen <[email protected]>
* samplicate.c: No longer include <strings.h> by default.
(read_cf_file): Use strchr() rather than index().
Re-indented.
* configure.in: Check for `strchr'.
* rawsend.c (raw_send_from_to): Set the destination address.
* configure.in: Version 1.2.1 -> 1.3.0.
* README: Document -c option and configuration file format (from
Otmar Lendl).
* NEWS: Document 1.3 changes: `-c' option.
* AUTHORS: Better layout.
Added Otmar Lendl.
2001-07-24 Simon Leinen <[email protected]>
* samplicate.c: No longer include <strings.h> by default.
(read_cf_file): Use strchr() rather than index().
Re-indented.
* configure.in: Check for `strchr'.
* rawsend.c (raw_send_from_to): Set the destination address.
* configure.in: Version 1.2.1 -> 1.3.0.
* AUTHORS: Better layout.
Added Otmar Lendl.
2001-07-23 Otmar Lendl <[email protected]>
* samplicate.c: added configuration file for samplicating
based on source address.
* README: Document -c option and configuration file format.
* NEWS: Document 1.3 changes: `-c' option.
2000-01-20 Simon Leinen <[email protected]>
* rawsend.c: Use sendmsg() to avoid copying the IP and UDP headers
and the received datagram to a separate buffer.
* configure.in: Check for <sys/uio.h>.
* samplicate.c (parse_args): New function split out from main().
(samplicate): New function split out from main().
Warn if recvfrom() discarded bytes because the buffer was too
small.
* rawsend.c (raw_send_from_to):
Added dynamic allocation of the IP packet buffer.
* rawsend.h (MAX_IP_DATAGRAM_SIZE): Removed.
* samplicate.c (main): Use the same raw/cooked socket for all
peers.
* rawtest.c (main): Use make_raw_udp_socket() and new signature of
raw_send_from_to().
* rawsend.h, rawsend.c (make_raw_udp_socket): Suppressed address
argument.
* rawsend.c: Removed Linux-specific code, use BSD interfaces
instead.
* configure.in: Version -> 1.1.
Check for <netinet/in_systm.h> (necessary on Solaris).
* INSTALL: Inserted instructions from README.
* README: Moved installation instructions to INSTALLATION.
* NEWS: Describe `raw' mode.
* rawsend.c, rawsend.h (make_raw_udp_socket): New function.
(raw_send_from_to): Removed address length arguments.
* samplicate.c (enum peer_flags): New type.
(struct peer): Added `flags' slot.
(main): Understand `-r' option and set pf_RAW on the peers if this
is set.
(send_pdu_to_peer): New function which calls sendto() or
raw_send_from_to() depending on whether the pf_RAW flag is set.
(scan_ip): Removed in favor of inet_aton().
* samplicate.c: Include "config.h" and "rawsend.h".
Leave out some unnecessary #ifdefs.
* rawtest.c: Include "config.h".
* rawsend.c: Added autoconf-based header portability.
* Makefile.am (EXTRA_PROGRAMS): New macro, put `rawtest' here.
2000-01-19 Simon Leinen <[email protected]>
* AUTHORS, ChangeLog, COPYING, INSTALL, Makefile.am, NEWS,
rawtest.c, rawsend.h, rawsend.c: New files.
2000-01-18 Simon Leinen <[email protected]>
* samplicate.c (scan_ip): Fixed for little-endian systems. Return
error if octet > 255. Use pointer argument to avoid returning a
struct.
* Makefile.in (LIBS): Set from @LIBS@.
1999-10-29 Simon Leinen <[email protected]>
* README (DOWNLOADING):
New section pointing to the WWW distribution URL.
* Makefile.in (DISTDIR): Changed distribution directory.
(dist): Make distribution directory before installing files therein.
* Makefile.in: Added variables and targets to simplify distribution.
1999-10-06 Simon Leinen <[email protected]>
* README: New file.
1999-10-05 Simon Leinen <[email protected]>
* Makefile.in: Simplified by removing APPS variable.
Support @srcdir@.
* samplicate.c (main): Accept `-h' (help) argument.
No longer use select(), just block on recvfrom().
(usage): Further improved.
* configure.in: No longer check for sizes of integer types.
No longer check for time struct definitions.
* configure.in: No longer check for <sys/select.h>.
* samplicate.c (usage): Improved usage message.
* configure.in, Makefile.in: replicate -> samplicate.
* Makefile.in, configure.in, samplicate.c: New file.