summaryrefslogtreecommitdiff
path: root/ecos/packages/net/ppp/current/ChangeLog
blob: 20e8dd78159888b47d8a50fedeee651b878e0916 (plain)
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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
2009-03-19  John Dallaway  <john@dallaway.org.uk>

	* cdl/ppp.cdl: Provide a display string for
	CYGPKT_PPP_WORKAROUNDS_START_FLAG.

2009-02-11  John Dallaway  <john@dallaway.org.uk>

	* cdl/ppp.cdl: Fix per-package documentation reference.

2008-08-19  Rainer Arndt <Arndt-ADT@kieback-peter.de>

	* src/pppd.c (cyg_pppd_main): CYGPKG_PPP_CHAT must be enabled
	to call cyg_ppp_chat()

2008-04-28  Daniel Néri  <daniel.neri@sigicom.com>

	* src/ipcp.c (ipcp_init): Negotiate both primary and secondary DNS
	resolver addresses when CYGOPT_PPP_NS_NEGOTIATE is enabled.

2006-07-18  John Paul King  <john.king@transdatainc.com>

	* src/sys-ecos.c (cyg_ppp_up): Bring semaphore init earlier to avoid
	race condition if pppd thread is higher priority than the current
	thread.

2005-11-23  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/ppp.cdl: Require CYGPKG_POSIX_CLOCKS not *_TIMERS

2005-10-23  Andrew Lunn  <andrew.lunn@ascom.ch>

	* cdl/ppp.cdl: Require CYGPKG_POSIX_TIMERS
	* src/sys-ecos.c (gettimeofday): Removed, now get it from POSIX

2005-07-30  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/ppp_io.c (cyg_ppp_pppread): caddrt_t to stop compiler warnings.
	* src/cbcp.c (cbcp_recvack, cbcp_recvreq): u_char to stop compiler
	warnigs
	* src/sys-ecos.c (set_up_tty): 
	* include/pppd.h: Remove incorrect declaration of ifunit which
	the compiler complains about.

2005-06-07	Matt Jerdonek <maj1224@yahoo.com>

	* src/ipcp.c:
	* include/ipcp.h: Added code to support RFC 1877 (IPCP
	  Extension for DNS) for client operation.
	* src/sys-ecos.c:
	* include/ppp.h: Added function for application to get
	  the negotiated addresses from the PPP stack.
	* cdl/ppp.cdl: Added option to enable name server negotiation
	  and to automatically configure the DNS resolver with the 
	  negotiated address

2005-04-21	Matt Jerdonek <maj1224@yahoo.com>

	* src/ipcp.c:
	* src/sys-ecos.c: Move ipcp wantoptions initialization from
	  cyg_ppp_options_install to ipcp_init.  This fixes a bug
	  with default route operation introduced in the ACCM 
	  enhancement on 2004-12-1.

2005-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/ppp_up.c: Change the prototype of pr_func to match 
	diag_printf().
	* src/ppp_io.c (ppplogchar): Added missing parameter to diag_printf().

2005-01-16  Matt Jerdonek <maj1224@yahoo.com>
            Andrew Lunn  <andrew.lunn@ascom.ch>
	
	* cdl/ppp.cdl 
	* src/ppp_io.c (pppasyncstart): Conditionally allow the PPP daemon
	to send a start flag at the beginning of very packet. This is not
	required according to RFC 1662, but found to be necessary to
	interwork with some broken implementations.

2004-12-01    Murali Parvathaneni <murkrisp@yahoo.com>

	* include/ppp.h: Add options to negotiate ACCM in
	cyg_ppp_options_t structure.
	* include/pppd.h: Make ACCM negotiation fields externally
	available.
	* include/names.h: Redefine neg_accm and conf_accm with cyg_ppp_
	prefix.
	* src/pppd.c: Define storage for ACCM and a flag for ACCM
	negotiation.
	* src/sys-ecos.c: Initialize and set parameters to negotiate ACCM
	based on the configuration option.
	* src/lcp.c: Set WantOptions (wo) to negotiate ACCM.
	
2004-08-19  Oyvind Harboe <oyvind.harboe@zylin.com>
2004-09-08  Andrew Lunn <andrew.lunn@ascom.ch>
	
	* windows_telnet.c: now demonstrates chat script TIMEOUT, which
	makes connection more snappy. It also repeatably attempts at
	connect until a connection is established instead of a single try.
	Once a telnet session is aborted, a new one can be established.
	Also cleaned up the indentation to make it more readable.

2004-06-29	Matt Jerdonek <maj1224@yahoo.com>

	* cdl/ppp.cdl:
	* src/ipcp.c:
		Add option to disallow negotiation of old-style VJ compression
	* include/ppp.h:
		Add structure to track ppp failure reasons
	* include/pppd.h:
		Fix compiler warning
	* src/auth.c:
	* src/lcp.c:
	* src/pppd.c:
		Add code to track ppp failure reasons
	* src/chat.c:
		Fixes to clear out buffer space to allow chat script to run 
		multiple times.  Note: function is still not thread-safe
	* src/sys-ecos.c:
		Reset carrier detected bit when carrier lost
		Reset ppp_tty control block when PPP started

2004-06-24  Oyvind Harboe <oyvind.harboe@zylin.com>

	* tests/windows_telnet.c:
	* cdl/ppp.cdl:
	Added windows_telnet example application. Connects to Windows PPP 
	server and waits for a telnet session.
		
2004-05-06  Mark Retallack <mark.retallack@siemens.com>

	* src/ppp_io.c: 
	* src/sys-ecos.c: 	
	* src/ppp_io.h:	
	The wait_input function sometimes blocked even if a packet was
	available for processing. Now checks the tty queue and then the 
	serial driver before blocking.

2004-05-06  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/auth.c: Don't use non-eCos <paths.h>
	* src/pppd.c: Don't use non-eCos <sys/wait.h> and <sys/resource.h>
	* src/sys-ecos.c: netmask must be extern - not all tools have
	COMMON section support.

2004-04-15  Oyvind Harboe <oyvind.harboe@zylin.com>

	* src/chat.c: Script now returns success when it runs to completion

2004-03-31  John Dallaway  <jld@ecoscentric.com>

	* cdl/ppp.cdl: Correct capitalisation in display strings.

2004-03-24  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Add CYGPKG_PPP_DEBUG_WARN_ONLY option to control
	which syslog() messages actually get printed.

	* include/ppp.h: Widen kdebugflag option to 5 bits.

	* src/ppp_io.c: Converted some db_printf() calls to diag_printf().

	* src/sys-ecos.c: Delay return of cyg_ppp_wait_up() until IP
	addresses have been set. Add ifdef for CYGPKG_PPP_DEBUG_WARN_ONLY
	to syslog().

	* doc/ppp.sgml: Added documentation of CYGPKG_PPP_DEBUG_WARN_ONLY
	option. Improved documentation of kdebugflag runtime option.

2004-01-09  John Dallaway  <jld@ecoscentric.com>

	* cdl/ppp.cdl: Fix typographical error.

2004-01-08  Nick Garnett  <nickg@ecoscentric.com>

	* tests/test_server.sh: Added a dbecho of the PPPD command line.

2003-12-23  Nick Garnett  <nickg@ecoscentric.com>

	* doc/ppp.sgml: Added A&M Adder boards to list of those that
	support hardware flow control.

2003-12-22  Nick Garnett  <nickg@ecoscentric.com>

	* src/pppd.c (vfmtmsg): Disabled PowerPC-specific ifndef, we don't
	have the differences in va_list that this is coping with.

2003-11-12  John Dallaway  <jld@ecoscentric.com>

	* doc/ppp.sgml: Addition comments concerning serial flow control from
	Nick Garnett.

2003-10-10  John Dallaway  <jld@ecoscentric.com>

	* doc/ppp.sgml: Fix documentation build error.

2003-09-25  Nick Garnett  <nickg@ecoscentric.com>

	* src/magic.c (magic_init): Added pseudo-pid to seed
	initialization to add some variety.

	* include/pppd.h: 
	* include/names.h: 
	* src/pppd.c: Added flowctl global variable to control flow
	control of serial line. Removed crtscts variable.

	* cdl/ppp.cdl: Fixed enable of CHAP support, it was zero.

	* src/ppp_io.h:
	* src/ppp_io.c:
	* src/sys-ecos.c (set_up_tty): Added switch to set flow control of
	serial line depending on flowctl variable. Added ifdefs around use
	of line status callbacks -- not all drivers support them.
	
	* include/ppp.h: Added flowctl field to cyg_ppp_options_t
	structure plus a set of defines for its possible values.

	* doc/ppp.sgml: Added documentation of flowctl field.

	* tests/test_server.sh:
	* tests/nc_test_slave.c:
	* tests/tcp_echo.c:
	Added ability to use software flow control in these tests and an
	option on test_server commandline to select it for the host.
	
2003-07-18  Nick Garnett  <nickg@ecoscentric.com>

	* tests/test_server.sh: Changed to /bin/bash on first line, just
	in case. Added "nodetach" option to pppd. It seems that some
	versions of pppd fork into the background by default, and some,
	like the one I tested all this with initially, do not. This option
	should make them all behave the same.

2003-07-15  Nick Garnett  <nickg@ecoscentric.com>

	* src/magic.c (magic): Removed use of getpid(), since this is the
	only dependency here on the POSIX library.

2003-07-14  Nick Garnett  <nickg@ecoscentric.com>

	* doc/ppp.sgml: Updated configuration section to mention
	requirement for net and serial packages. Various other fixes.

	* cdl/ppp.cdl: Added requirements for CYGPKG_IO_SERIAL and
	CYGPKG_IO_SERIAL_DEVICES. Various other tidies.

	* src/sys-ecos.c: Added dummy versions of various PAP and CHAP
	functions to satisfy references in auth.c when PAP and CHAP have
	been configured out.

	* tests/test_server.sh: Added some comments and tidied a little.
	
2003-07-11  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_ALL to control which tests
	get made. Changed default value of CYGPKG_PPP_TESTS_AUTOMATE to
	build automated tests by default.

	* tests/ppp_updown.c: Changed ping timeout to seven seconds. The
	larger packets can take a long time to exchange at the lower baud
	rates.
	
	* doc/ppp.sgml: Updated to reflect latest changes.

2003-07-08  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_AUTOMATE and
	CYGDAT_PPP_TEST_BAUD_RATES options.
	
	* src/sys-ecos.c: Close sockfd correctly.

	* src/chat.c: Some small fixes to make system re-entrant. Fixed
	success flag to comply with documentation.
	
	* tests/ppp_test_support.inl: File added to contain the common
	parts for all PPP tests. This mostly involves the sending of
	commands to the test_server.sh script.

	* tests/test_server.sh: Modified to respond to baud rate change
	commands and to loop until a finish command is added. Added
	various extra tests for authentication and chat testing.


	* tests/ppp_auth.c: Test added to test PAP and CHAP
	authentication.

	* doc/ppp.sgml: Updated to reflect latest test changes.
	
	* tests/ppp_up.c: 
	* tests/ppp_updown.c: 
	* tests/chat.c: 
	* tests/nc_test_slave.c: 
	* tests/tcp_echo.c:
	Tests converted to use ppp_test_support.inl and to run multiple
	tests in some instances.

2003-07-03  Nick Garnett  <nickg@ecoscentric.com>

	* src/ppp_io.c (pppasyncstart): Removed a couple of spurious
	breaks. These were causing the TX thread to loop unnecessarily,
	and also seemed to cause some occasional packet corruptions.

	* tests/ppp_up.c: Fixed loop to be more responsive to the PPP link
	going down.
	
2003-07-01  Nick Garnett  <nickg@ecoscentric.com>

	* doc/ppp.sgml: Added further documentation on testing.

	* tests/test_server.sh: Various fixes.

2003-06-26  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added CYGPKG_PPP_TEST_DEVICE to specify device used
	by test programs.
	Added requirement for CYGPKG_IO_SERIAL_FLOW_CONTROL. 
	
	* doc/ppp.sgml: Added descriptions of test programs. Various
	tidies and fixes.

	* src/chat.c: Added some local debug support.
	
	* tests/ppp_up.c:
	* tests/ppp_updown.c:
	* tests/chat.c:
	* tests/nc_test_slave.c:
	* tests/tcp_echo.c:
	Added chat script (or modified existing one) to announce the name
	of the test over the serial line. This is to interface to the
	test_server.sh script. Use CYGPKG_PPP_TEST_DEVICE. ppp_updown now
	interrogates the ppp0 interface for the remote end's IP
	address. chat now switches to 115200 baud.

	* tests/isp.c: Use CYGPKG_PPP_TEST_DEVICE.

	* tests/test_server.sh: Shell script to act as a remote end for
	PPP testing. Each test announces itself over the link and this
	script executes the correct set of commands to run the test.
	
2003-06-20  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Removed CYGNUM_PPP_THREAD_COUNT. Updated
	descriptions of other options.

	* src/chat.c:
	* src/sys-ecos.c:
	* include/ppp.h: Some minor tidying, and API semantic changes
	mostly prompted by trying to document the API and discovering some
	inconsistencies.

	* tests/ppp_up.c: Modified in line with API semantic changes.
	
	* doc/ppp.sgml:
	* doc/makefile:
	* doc/ppp_sa.sgml:
	Added documentation. The actual documentation is in ppp.sgml. The
	makefile and ppp_sa.sgml allow a stand-alone copy of the
	documentation to be generated.

2003-06-17  Nick Garnett  <nickg@ecoscentric.com>

	* include/ppp.h: Removed some unused options from
	cyg_ppp_options_t.

	* include/syslog.h: Tidied and commented.

	* src/auth.c:
	* src/ipcp.c:
	* src/lcp.c:
	* src/ppp_io.c:
	* src/pppd.c:
	* src/sys-ecos.c:
	Removed some defunct BSD code, tidied up a little.

	* src/chat.c: Some tidying.
	
	* cdl/ppp.cdl:
	* tests/nc_test_slave.c:
	* tests/nc_test_framework.h:
	Added nc_test_slave test.

	* tests/ppp_up.c: Changed wait to print out TCP/IP tables every
	minute.

	* tests/tcp_echo.c: Tidied up a little.
	
2003-06-13  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl: Added dialup number, control over compression, and
	some extra tests.

	* include/pppd.h: Changed inspeed to be a cyg_serial_baud_rate_t
	enum.

	* include/ppp.h: Added default_route, modem, baud and script
	options to cyg_ppp_options_t.

	* include/names.h: Header added to redefine all external names in
	the PPP package so that they do not pollute to application's
	namespace.
	
	* src/chat.c:
	* include/syslog.h:
	* include/ppp_io.h: Tidied and commented.


	* src/if_ppp.c: Added include of pkgconf/ppp.h.

	* src/ppp_io.c: Expunged some unnecessary BSD code, various tides.
	
	* src/pppd.c: Added handling of CHAT scripting during bring-up,
	carrier detect and proper shutdown.
	Expunged some unnecessary BSD code, various tides.
	
	* src/sys-ecos.c: Improved startup and shutdown synchronization,
	added carrier detect handling.
	Expunged some unnecessary BSD code, various tides.

	* tests/isp.c:
	* tests/ppp_up.c:
	* tests/ppp_updown.c:
	Generally tidied and cleaned up a bit. Added ping functionality to
	some tests to check routing.
	
	* tests/tcp_echo.c:
	New test, an adaptation of the standard tcp_echo net test that
	brings the PPP link up before starting the test.
	
	* include/zlib.h:
	* src/bsd_comp.c:
	* src/ppp_deflate.c:
	* src/zlib.c:
	Added these files to implement PPP compression. However at present
	there seem to be problems with this code, so compression is
	disabled by default. In any case, these algorithms need enormous
	amounts of working memory, so may not be useful in an embedded
	system.
	
2003-06-10  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/ppp.cdl:
	* include/cbcp.h:
	* include/ccp.h:
	* include/chap.h:
	* include/chap_ms.h:
	* include/fsm.h:
	* include/ipcp.h:
	* include/lcp.h:
	* include/magic.h:
	* include/ppp.h:
	* include/ppp_io.h:
	* include/pppd.h:
	* include/slcompress.h:
	* include/syslog.h:
	* include/upap.h:
	* include/net/bpf.h:
	* include/net/if_ppp.h:
	* include/net/if_pppvar.h:
	* include/net/ppp_comp.h:
	* include/net/ppp_defs.h:
	* src/auth.c:
	* src/cbcp.c:
	* src/ccp.c:
	* src/chap.c:
	* src/chap_ms.c:
	* src/chat.c:
	* src/fsm.c:
	* src/if_ppp.c:
	* src/ipcp.c:
	* src/lcp.c:
	* src/magic.c:
	* src/ppp_io.c:
	* src/pppd.c:
	* src/slcompress.c:
	* src/sys-ecos.c:
	* src/upap.c:
	* tests/chat.c:
	* tests/isp.c:
	* tests/ppp_up.c:
	* tests/ppp_updown.c:
	Initial checkin of PPP code -- mainly as a safety/backup
	measure. There is still a good deal of tidying up to be done
	here. At present there is a lot of ifdeffed out BSD code present,
	which is there as a reminder of what should be done in the eCos
	code. The tests are incomplete, and there is no documentation.

# ####GPLCOPYRIGHTBEGIN####                 
# -------------------------------------------
# This file is part of eCos, the Embedded Configurable Operating System.
# Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 or (at your option) any
# later version.                            
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.  
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the
# Free Software Foundation, Inc., 51 Franklin Street,
# Fifth Floor, Boston, MA  02110-1301, USA. 
# -------------------------------------------
# ####GPLCOPYRIGHTEND####