-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathChangeLog
More file actions
432 lines (263 loc) · 13 KB
/
ChangeLog
File metadata and controls
432 lines (263 loc) · 13 KB
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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
2011-12-25 Longshine <longxianghe@gmail.com>
* dataxfer.c, http.c, http.h, list.c, list.h: Add support for
multi-connections.
2011-12-21 Longshine <longxianghe@gmail.com>
* dataxfer.c, http.c, http.h, sha1.c, sha1.h: Add support for
HTTP/WebSocket connections.
2011-12-17 Longshine <longxianghe@gmail.com>
* dataxfer.c: Add "rraw" state to enable ser2net sends serial
data to a remote endpoint, using original timeout as
reconnecting interval when connection fails.
2009-11-03 Corey Minyard <minyard@acm.org>
* configure.in: Move version to 2.7 for release.
2009-10-23 Corey Minyard <minyard@acm.org>
* configure.in: Move to 2.7-rc3.
* dataxfer.c, devcfg.c, devcfg.h, ser2net.h: Modified the tb=
directive to work separately from tw= and tr=, so you can do all
three at the same time independently.
* readconfig.c: Improved an error report.
2009-10-22 Corey Minyard <minyard@acm.org>
* ser2net.c: Set up routing errors to stderr before reading the
config so config errors come out properly to stdout.
* ser2net.8, ser2net.conf: Fix the documentation, it's tw=, not
tw: for the tracefile stuff.
* configure.in: Move to 2.7-rc2.
2009-10-15 Corey Minyard <minyard@acm.org>
* dataxfer.c, devcfg.c, readconfig.c, ser2net.8, ser2net.conf: Add
the ability to trace data read written to trace files.
2009-07-19 Geoff Simmons <gsimmons@gsimmons.org>
* ser2net.conf: Some documentation cleanup, added missing docs
for the timeout parameter.
* README - Minor doc cleanup.
2009-07-15 Corey Minyard <minyard@acm.org>
* configure.in: Move to version 2.6.
2009-06-30 Corey Minyard <minyard@acm.org>
* dataxfer.c, devcfg.c, devcfg.h, readconfig.h, utils.h: Add the
a TRACEFILE option to trace all I/O to a file., and separate
out the defconfig into a separate structure to avoid passing a
boatload of things to the config.
2009-06-30 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
* controller.c: Fix use after free in controller
The controller will use its dynamically allocated data after it
got free() in error path. What we see in syslog is:
Jun 30 10:26:38 consrv3 ser2net[3073]: read error for
controller port: Connection reset by peer
Jun 30 10:26:39 consrv3 ser2net[3073]: The tcp write for
controller had error: Bad file descriptor
The first error is "legal" because the destitnation decided to
close its socket a little to early than expected. The second
error is allready bad because it tries to use allready
deallocated fd. Later we segfault.
2007-11-16 Corey Minyard <minyard@acm.org>
* configure.in: Move to version 2.5.
2007-11-16 Harry Flick, Corey Minyard <minyard@acm.org>
* devcfg.c, devcfg.h, dataxfer.c, ser2net.conf, ser2net.8: Allow a
"NOBREAK" option to disable automatically messing with the break
operations on the serial port. Useful for systems with a broken
break.
2007-11-16 Robert Edmonds <edmonds@debian.org>,Corey Minyard <minyard@acm.org>
* ser2net.c, ser2net.8: Add a '-P' option to specific that a
pidfile be created.
2007-05-03 Corey Minyard <minyard@acm.org>
* dataxfer.c: Change the rfc2217 signature response code
from 0 to 100. Best guess on what this should be, as the
RFC doesn't give the correct value and says "text".
2007-04-26 Corey Minyard <minyard@acm.org>
* dataxfer.c: Disable the Nagle algorithm (enable TCP_NODELAY) on
the TCP ports to avoid long delays on short pieces of data.
* configure.in: Move to version 2.4.
2007-03-19 Corey Minyard <minyard@acm.org>
* dataxfer.c: Use the proper value for modem data notifies sent
to the client, it was 7, use 107 instead.
2006-12-01 Corey Minyard <minyard@acm.org>
* readconfig.c: Handle an ending banner that does not have a '\n'
in the last line.
2006-01-16 Corey Minyard <minyard@acm.org>
* ser2net.8: Fix the documentation for control ports.
2006-01-09 Corey Minyard <minyard@acm.org>
* dataxfer.c: Don't kill the session if TIOCCBRK doesn't work.
2005-12-29 Corey Minyard <minyard@acm.org>
* dataxfer.c, devcfg.c, devcfg.h, ser2net.conf, ser2net.8: Added a
'\s' banner token for printing out the serial parameters.
* ser2net.conf: Cleaned up the ugly banner3.
* Makefile.am: Add ser2net.init to EXTRA_DIST.
* configure.in: Move to version 2.3.
2005-12-29 Aurelien Jarno <aurel32@debian.org>
* devcfg.c: Don't include "termio.h", but do include
"sys/ioctl.h".
2005-10-20 Corey Minyard <minyard@acm.org>
* dataxfer.c: Fixed a problem with rfc2217 stop bit size setting.
It was interpreting the value of "3" as 2 stop bits, but 3 is for
1.5 stop bits, and 2 is for 2 stop bits.
* controller.c: Fixed some warnings dealing with char/unsigned
char problems.
* dataxfer.c: ditto
* telnet.c: ditto
2005-08-25 Corey Minyard <minyard@acm.org>
* dataxfer.c: Fix a problem wih EAGAIN just returning and not
retrying the operation on writing data that has just been read.
Thanks to Shinlun Hsieh <yngwie_x@yahoo.com> for pointing this out.
2005-07-07 G Goodwill <ggg2sforge at sourceforge.net>
* dataxfer.c, devcfg.c: Added support for cygwin.
2005-07-07 Rajiv Aaron Manglani <rajav at gentoo.org>
* configure.in: Make the use of tcp wrappers optional.
2005-06-13 Yura Kalinichenko <yuk@iceb.vinnitsa.com>
* controller.c, devcfg.c, ser2net.8, ser2net.conf: Added 57600
baud support.
* dataxfer.c: Don't to breaks on printer lines.
2005-02-12 Corey Minyard <minyard@acm.org>
* configure.in: Move to version 2.2.
2005-02-11 Corey Minyard <minyard@acm.org>
* dataxfer.c: Add a missing break statement after case 7
in the com_port_handler() function.
2004-11-29 Corey Minyard <minyard@acm.org>
* dataxfer.c: Remove UUCP lock if the setup of the device fails.
2004-05-08 Marc Haber
* ser2net.h: Set the man page section to the right value.
2004-01-24 Corey Minyard <minyard@acm.org>
* dataxfer.c: Don't attempt to disconnect an unconnected port.
2003-12-20 Corey Minyard <minyard@acm.org>
* dataxfer.c, ser2net.8: Added the ability to have port 0 mean use
standard in/out. This way, you can invoke ser2net from inetd.
* devcfg.c: Allow "," to be used as an option separator.
* readconfig.c: Fix handling of lines coming from "-C".
* ser2net.c: Move creation of the selector to before the option
processing, for support of "-C'.
2003-12-19 Corey Minyard <minyard@acm.org>
* dataxfer.c: Handle receive IACs from the terminal to the TCP
port, duplicating them so they will come through right.
* telnet.c: Reset the telnet protocol state after two IACs are
received.
* readconfig.c, readconfig.h, ser2net.c, ser2net.8: Added a way to
specify individual config lines on the command line so that no
config file is necessary.
2003-12-04 Corey Minyard <minyard@acm.org>
* dataxfer.c: Add responses for all the telnet com port
control commands that we handle.
* telnet.c: Fixed IAC processing in suboption to be able
to handle a stream of IACs properly.
2003-12-04 Corey Minyard <minyard@acm.org>
* configure.in: Moved to version 2.1.
* dataxfer.c: Have the telnet option responses use the 1xx
responses to the com port control options. I believe this is
wrong, but it is consistent with other products already in the
field.
* dataxfer.c, ser2net.c, telnet.h: Added support for setting the
use of Cisco IOS baud rates instead of RFC 2217 ones, by command
option.
* selector.c, ser2net.c: Cleaned up some compile warnings.
2003-10-14 Corey Minyard <minyard@acm.org>
* configure.in: Moved to version 2.0.
* datafer.c, devcfg.c, devcfg.h, readconfig.c, utils.h: Added
banner support.
* ser2net.h, ser2net.conf: Added documentation for banner support.
* dataxfer.c, telnet.c, telnet.h: Created a more generic telnet
command handler and split it off from dataxfer.c
* controller.c: Moved to the new telnet command handler.
* dataxfer.c: Added watching the CD, RI, etc. lines.
2003-10-13 Corey Minyard <minyard@acm.org>
* dataxfer.c: Added a lot of the com port control handling.
2003-10-12 Corey Minyard <minyard@acm.org>
* dataxfer.c: Added real telnet option processing infrastructure,
getting read for com port control handling.
2003-04-22 Corey Minyard <minyard@acm.org>
* configure.in, ser2net.spec: Move to version 1.9.
* selector.c: Turned off debugging code that accidentally got left
on.
2003-02-14 Corey Minyard <minyard@acm.org>
* configure.in, ser2net.spec: Move to version 1.8.
* dataxfer.c: Do a tcflush(fd, TCOFLUSH) before closing the
serial device, this avoids blocking on close.
2002-11-29 Corey Minyard <minyard@acm.org>
* selector.c: More timer heap bugs.
2002-10-01 Corey Minyard <minyard@acm.org>
* selector.c: Fixed bugs in the timer heaps.
2002-09-23 Corey Minyard <minyard@acm.org>
* selector.c: Fixed a bug in the timer heaps.
2002-09-09 Corey Minyard <minyard@acm.org>
* all: Reworked the selector code to make timers more general.
2002-07-24 Corey Minyard <minyard@acm.org>
* dataxfer.c: Fixed a bug with handling config errors, when
an error occurs in the wrong place it will segv.
2002-04-04 Corey Minyard <minyard@acm.org>
* util.c: added the final return value to scan_tcp_port.
2002-02-20 Corey Minyard <minyard@acm.org>
* controller.c, dataxfer.c, dataxfer.h, ser2net.8:
Added a "short" display, where each port is shown on one line.
* dataxfer.c, dataxfer.h, readconfig.c, selector.c, selector.h,
ser2net.8, ser2net.c:
Added the ability to reread the configuration file on a SIGHUP.
* configure.in, ser2net.spec: Moved to version 1.6
2002-02-20 Przemyslaw Czerpak (druzus@polbox.com),
Corey Minyard <minyard@acm.org>
* dataxfer.c, dataxfer.h, configure.in, ser2net.c, ser2net.8:
Added UUCP-style locking for ports.
2002-02-19 Corey Minyard <minyard@acm.org>
* controller.c, controller.h, dataxfer.c, devcfg.c, ser2net.c,
ser2net.conf, ser2net.8, utils.c utils.h:
Added support for specifying the IP address with the port to
bind to specific interfaces.
* dataxfer.c: Added counting the input and output bytes.
2002-02-19 Przemyslaw Czerpak (druzus@polbox.com)
* controller.c, dataxfer.c, devcfg.c, ser2net.c, ser2net.conf,
ser2net.8:
Added support for turning on/off RTS/CTS, XON/XOFF, and LOCAL.
Also added support for raw LP devices.
2001-10-05 Przemyslaw Czerpak (druzus@polbox.com)
* controller.c, dataxfer.c, devcfg.c, ser2net.init, ser2net.spec:
Added an init, and cleaned up a bunch of type warnings.
* devcfg.c, ser2net.8, ser2net.conf: Added support for RTS/CTS.
2001-08-11 Corey Minyard <minyard@acm.org>
* devcfg.h, devcfg.c, controller.c, dataxfer.c, dataxfer.h, ser2net.8:
Ben Adams sent a patch to control the DTR and RTS lines, I rewrote
it to make a new command to do this (instead of using devconfig,
which didn't really match the devconfig's operation).
* configure.in, ser2net.spec: Updated to version 1.5
2001-07-26 Corey Minyard <minyard@acm.org>
* devcfg.c - Added CREAD to the cflags so the serial port will
work, patch from Andreas Pfaller.
* dataxfer.c - Added binary transmission to the list of telnet
opeions, again from Andreas Pfaller.
2001-07-23 Corey Minyard <minyard@acm.org>
* devcfg.c, ser2net.8, ser2net.conf - Added a patch from Martin
Boese to add CLOCAL and XON/XOFF support as serial port options.
2001-07-03 Corey Minyard <minyard@acm.org>
* Makefile.am, ser2net.1, ser2net.8, ser2net.spec - Moved ser2net
to /usr/sbin, renamed the makefile to have a .8 extension and
put it in /usr/share/man.
* controller.c - Fixed problems with telnet handling in the
control interface.
* Updated to version 1.4
2001-06-29 Corey Minyard <minyard@acm.org>
* ser2net.spec - Actually put the changed version number in
the file, set the prefix to '/usr'.
* configure.in - Added libnsl for Redhat systems, changed
to AC_CHECK_LIB.
* all - changed to version 1.3.
2001-06-28 Corey Minyard <minyard@acm.org>
* dataxfer.c - Added the ability to convert a telnet break
to a serial port break.
* configure.in - Updated to version 1.3
* ser2net.spec - Added this file for RPM building, from Ivan
Francolin Martinez.
* dataxfer.c - Added a tcp_wrappers implementation, from Ivan
Francolin Martinez. However, some configure work needs to
be done to make it actually work properly.
* dataxfer.c, controller.c, configure.in, ser2net.1 - Fixed the
tcp_wrappers stuff to work properly, did the config stuff for it,
and added it to the control port as well.
2001-06-15 Corey Minyard <minyard@acm.org>
* controller.c - Made sure the monitor port was set to null
when the port exited.
* ser2net.c, ser2net.1 - Added a "-d" option to send debug
output to the console and modified "-n" to just not detach.
2001-06-05 Corey Minyard <minyard@acm.org>
* ser2net.c, controller.c - added a way to query the version from
the command line and from the controller port.
* controller.c, controller.h, dataxfer.c, dataxfer.h - added
monitoring of data flowing into a port. It's somewhat primitive
yet, but still useful
* controller.c, dataxfer.c, dataxfer.h - added a way to disconnect
a port from the control port.
2001-06-04 Corey Minyard <minyard@acm.org>
* Initial creation.