]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/net/ppp/v2_0/ChangeLog
3e5f999494752fad433166ccee9424d7bd84a039
[karo-tx-redboot.git] / packages / net / ppp / v2_0 / ChangeLog
1 2005-07-30  Andrew Lunn  <andrew.lunn@ascom.ch>
2
3         * src/ppp_io.c (cyg_ppp_pppread): caddrt_t to stop compiler warnings.
4         * src/cbcp.c (cbcp_recvack, cbcp_recvreq): u_char to stop compiler
5         warnigs
6         * src/sys-ecos.c (set_up_tty): 
7         * include/pppd.h: Remove incorrect declaration of ifunit which
8         the compiler complains about.
9
10 2005-06-07      Matt Jerdonek <maj1224@yahoo.com>
11
12         * src/ipcp.c:
13         * include/ipcp.h: Added code to support RFC 1877 (IPCP
14           Extension for DNS) for client operation.
15         * src/sys-ecos.c:
16         * include/ppp.h: Added function for application to get
17           the negotiated addresses from the PPP stack.
18         * cdl/ppp.cdl: Added option to enable name server negotiation
19           and to automatically configure the DNS resolver with the 
20           negotiated address
21
22 2005-04-21      Matt Jerdonek <maj1224@yahoo.com>
23
24         * src/ipcp.c:
25         * src/sys-ecos.c: Move ipcp wantoptions initialization from
26           cyg_ppp_options_install to ipcp_init.  This fixes a bug
27           with default route operation introduced in the ACCM 
28           enhancement on 2004-12-1.
29
30 2005-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>
31
32         * tests/ppp_up.c: Change the prototype of pr_func to match 
33         diag_printf().
34         * src/ppp_io.c (ppplogchar): Added missing parameter to diag_printf().
35
36 2005-01-16  Matt Jerdonek <maj1224@yahoo.com>
37             Andrew Lunn  <andrew.lunn@ascom.ch>
38         
39         * cdl/ppp.cdl 
40         * src/ppp_io.c (pppasyncstart): Conditionally allow the PPP daemon
41         to send a start flag at the beginning of very packet. This is not
42         required according to RFC 1662, but found to be necessary to
43         interwork with some broken implementations.
44
45 2004-12-01    Murali Parvathaneni <murkrisp@yahoo.com>
46
47         * include/ppp.h: Add options to negotiate ACCM in
48         cyg_ppp_options_t structure.
49         * include/pppd.h: Make ACCM negotiation fields externally
50         available.
51         * include/names.h: Redefine neg_accm and conf_accm with cyg_ppp_
52         prefix.
53         * src/pppd.c: Define storage for ACCM and a flag for ACCM
54         negotiation.
55         * src/sys-ecos.c: Initialize and set parameters to negotiate ACCM
56         based on the configuration option.
57         * src/lcp.c: Set WantOptions (wo) to negotiate ACCM.
58         
59 2004-08-19  Oyvind Harboe <oyvind.harboe@zylin.com>
60 2004-09-08  Andrew Lunn <andrew.lunn@ascom.ch>
61         
62         * windows_telnet.c: now demonstrates chat script TIMEOUT, which
63         makes connection more snappy. It also repeatably attempts at
64         connect until a connection is established instead of a single try.
65         Once a telnet session is aborted, a new one can be established.
66         Also cleaned up the indentation to make it more readable.
67
68 2004-06-29      Matt Jerdonek <maj1224@yahoo.com>
69
70         * cdl/ppp.cdl:
71         * src/ipcp.c:
72                 Add option to disallow negotiation of old-style VJ compression
73         * include/ppp.h:
74                 Add structure to track ppp failure reasons
75         * include/pppd.h:
76                 Fix compiler warning
77         * src/auth.c:
78         * src/lcp.c:
79         * src/pppd.c:
80                 Add code to track ppp failure reasons
81         * src/chat.c:
82                 Fixes to clear out buffer space to allow chat script to run 
83                 multiple times.  Note: function is still not thread-safe
84         * src/sys-ecos.c:
85                 Reset carrier detected bit when carrier lost
86                 Reset ppp_tty control block when PPP started
87
88 2004-06-24  Oyvind Harboe <oyvind.harboe@zylin.com>
89
90         * tests/windows_telnet.c:
91         * cdl/ppp.cdl:
92         Added windows_telnet example application. Connects to Windows PPP 
93         server and waits for a telnet session.
94                 
95 2004-05-06  Mark Retallack <mark.retallack@siemens.com>
96
97         * src/ppp_io.c: 
98         * src/sys-ecos.c:       
99         * src/ppp_io.h: 
100         The wait_input function sometimes blocked even if a packet was
101         available for processing. Now checks the tty queue and then the 
102         serial driver before blocking.
103
104 2004-05-06  Jonathan Larmour  <jifl@eCosCentric.com>
105
106         * src/auth.c: Don't use non-eCos <paths.h>
107         * src/pppd.c: Don't use non-eCos <sys/wait.h> and <sys/resource.h>
108         * src/sys-ecos.c: netmask must be extern - not all tools have
109         COMMON section support.
110
111 2004-04-15  Oyvind Harboe <oyvind.harboe@zylin.com>
112
113         * src/chat.c: Script now returns success when it runs to completion
114
115 2004-03-31  John Dallaway  <jld@ecoscentric.com>
116
117         * cdl/ppp.cdl: Correct capitalisation in display strings.
118
119 2004-03-24  Nick Garnett  <nickg@ecoscentric.com>
120
121         * cdl/ppp.cdl: Add CYGPKG_PPP_DEBUG_WARN_ONLY option to control
122         which syslog() messages actually get printed.
123
124         * include/ppp.h: Widen kdebugflag option to 5 bits.
125
126         * src/ppp_io.c: Converted some db_printf() calls to diag_printf().
127
128         * src/sys-ecos.c: Delay return of cyg_ppp_wait_up() until IP
129         addresses have been set. Add ifdef for CYGPKG_PPP_DEBUG_WARN_ONLY
130         to syslog().
131
132         * doc/ppp.sgml: Added documentation of CYGPKG_PPP_DEBUG_WARN_ONLY
133         option. Improved documentation of kdebugflag runtime option.
134
135 2004-01-09  John Dallaway  <jld@ecoscentric.com>
136
137         * cdl/ppp.cdl: Fix typographical error.
138
139 2004-01-08  Nick Garnett  <nickg@ecoscentric.com>
140
141         * tests/test_server.sh: Added a dbecho of the PPPD command line.
142
143 2003-12-23  Nick Garnett  <nickg@ecoscentric.com>
144
145         * doc/ppp.sgml: Added A&M Adder boards to list of those that
146         support hardware flow control.
147
148 2003-12-22  Nick Garnett  <nickg@ecoscentric.com>
149
150         * src/pppd.c (vfmtmsg): Disabled PowerPC-specific ifndef, we don't
151         have the differences in va_list that this is coping with.
152
153 2003-11-12  John Dallaway  <jld@ecoscentric.com>
154
155         * doc/ppp.sgml: Addition comments concerning serial flow control from
156         Nick Garnett.
157
158 2003-10-10  John Dallaway  <jld@ecoscentric.com>
159
160         * doc/ppp.sgml: Fix documentation build error.
161
162 2003-09-25  Nick Garnett  <nickg@ecoscentric.com>
163
164         * src/magic.c (magic_init): Added pseudo-pid to seed
165         initialization to add some variety.
166
167         * include/pppd.h: 
168         * include/names.h: 
169         * src/pppd.c: Added flowctl global variable to control flow
170         control of serial line. Removed crtscts variable.
171
172         * cdl/ppp.cdl: Fixed enable of CHAP support, it was zero.
173
174         * src/ppp_io.h:
175         * src/ppp_io.c:
176         * src/sys-ecos.c (set_up_tty): Added switch to set flow control of
177         serial line depending on flowctl variable. Added ifdefs around use
178         of line status callbacks -- not all drivers support them.
179         
180         * include/ppp.h: Added flowctl field to cyg_ppp_options_t
181         structure plus a set of defines for its possible values.
182
183         * doc/ppp.sgml: Added documentation of flowctl field.
184
185         * tests/test_server.sh:
186         * tests/nc_test_slave.c:
187         * tests/tcp_echo.c:
188         Added ability to use software flow control in these tests and an
189         option on test_server commandline to select it for the host.
190         
191 2003-07-18  Nick Garnett  <nickg@ecoscentric.com>
192
193         * tests/test_server.sh: Changed to /bin/bash on first line, just
194         in case. Added "nodetach" option to pppd. It seems that some
195         versions of pppd fork into the background by default, and some,
196         like the one I tested all this with initially, do not. This option
197         should make them all behave the same.
198
199 2003-07-15  Nick Garnett  <nickg@ecoscentric.com>
200
201         * src/magic.c (magic): Removed use of getpid(), since this is the
202         only dependency here on the POSIX library.
203
204 2003-07-14  Nick Garnett  <nickg@ecoscentric.com>
205
206         * doc/ppp.sgml: Updated configuration section to mention
207         requirement for net and serial packages. Various other fixes.
208
209         * cdl/ppp.cdl: Added requirements for CYGPKG_IO_SERIAL and
210         CYGPKG_IO_SERIAL_DEVICES. Various other tidies.
211
212         * src/sys-ecos.c: Added dummy versions of various PAP and CHAP
213         functions to satisfy references in auth.c when PAP and CHAP have
214         been configured out.
215
216         * tests/test_server.sh: Added some comments and tidied a little.
217         
218 2003-07-11  Nick Garnett  <nickg@ecoscentric.com>
219
220         * cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_ALL to control which tests
221         get made. Changed default value of CYGPKG_PPP_TESTS_AUTOMATE to
222         build automated tests by default.
223
224         * tests/ppp_updown.c: Changed ping timeout to seven seconds. The
225         larger packets can take a long time to exchange at the lower baud
226         rates.
227         
228         * doc/ppp.sgml: Updated to reflect latest changes.
229
230 2003-07-08  Nick Garnett  <nickg@ecoscentric.com>
231
232         * cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_AUTOMATE and
233         CYGDAT_PPP_TEST_BAUD_RATES options.
234         
235         * src/sys-ecos.c: Close sockfd correctly.
236
237         * src/chat.c: Some small fixes to make system re-entrant. Fixed
238         success flag to comply with documentation.
239         
240         * tests/ppp_test_support.inl: File added to contain the common
241         parts for all PPP tests. This mostly involves the sending of
242         commands to the test_server.sh script.
243
244         * tests/test_server.sh: Modified to respond to baud rate change
245         commands and to loop until a finish command is added. Added
246         various extra tests for authentication and chat testing.
247
248
249         * tests/ppp_auth.c: Test added to test PAP and CHAP
250         authentication.
251
252         * doc/ppp.sgml: Updated to reflect latest test changes.
253         
254         * tests/ppp_up.c: 
255         * tests/ppp_updown.c: 
256         * tests/chat.c: 
257         * tests/nc_test_slave.c: 
258         * tests/tcp_echo.c:
259         Tests converted to use ppp_test_support.inl and to run multiple
260         tests in some instances.
261
262 2003-07-03  Nick Garnett  <nickg@ecoscentric.com>
263
264         * src/ppp_io.c (pppasyncstart): Removed a couple of spurious
265         breaks. These were causing the TX thread to loop unnecessarily,
266         and also seemed to cause some occasional packet corruptions.
267
268         * tests/ppp_up.c: Fixed loop to be more responsive to the PPP link
269         going down.
270         
271 2003-07-01  Nick Garnett  <nickg@ecoscentric.com>
272
273         * doc/ppp.sgml: Added further documentation on testing.
274
275         * tests/test_server.sh: Various fixes.
276
277 2003-06-26  Nick Garnett  <nickg@ecoscentric.com>
278
279         * cdl/ppp.cdl: Added CYGPKG_PPP_TEST_DEVICE to specify device used
280         by test programs.
281         Added requirement for CYGPKG_IO_SERIAL_FLOW_CONTROL. 
282         
283         * doc/ppp.sgml: Added descriptions of test programs. Various
284         tidies and fixes.
285
286         * src/chat.c: Added some local debug support.
287         
288         * tests/ppp_up.c:
289         * tests/ppp_updown.c:
290         * tests/chat.c:
291         * tests/nc_test_slave.c:
292         * tests/tcp_echo.c:
293         Added chat script (or modified existing one) to announce the name
294         of the test over the serial line. This is to interface to the
295         test_server.sh script. Use CYGPKG_PPP_TEST_DEVICE. ppp_updown now
296         interrogates the ppp0 interface for the remote end's IP
297         address. chat now switches to 115200 baud.
298
299         * tests/isp.c: Use CYGPKG_PPP_TEST_DEVICE.
300
301         * tests/test_server.sh: Shell script to act as a remote end for
302         PPP testing. Each test announces itself over the link and this
303         script executes the correct set of commands to run the test.
304         
305 2003-06-20  Nick Garnett  <nickg@ecoscentric.com>
306
307         * cdl/ppp.cdl: Removed CYGNUM_PPP_THREAD_COUNT. Updated
308         descriptions of other options.
309
310         * src/chat.c:
311         * src/sys-ecos.c:
312         * include/ppp.h: Some minor tidying, and API semantic changes
313         mostly prompted by trying to document the API and discovering some
314         inconsistencies.
315
316         * tests/ppp_up.c: Modified in line with API semantic changes.
317         
318         * doc/ppp.sgml:
319         * doc/makefile:
320         * doc/ppp_sa.sgml:
321         Added documentation. The actual documentation is in ppp.sgml. The
322         makefile and ppp_sa.sgml allow a stand-alone copy of the
323         documentation to be generated.
324
325 2003-06-17  Nick Garnett  <nickg@ecoscentric.com>
326
327         * include/ppp.h: Removed some unused options from
328         cyg_ppp_options_t.
329
330         * include/syslog.h: Tidied and commented.
331
332         * src/auth.c:
333         * src/ipcp.c:
334         * src/lcp.c:
335         * src/ppp_io.c:
336         * src/pppd.c:
337         * src/sys-ecos.c:
338         Removed some defunct BSD code, tidied up a little.
339
340         * src/chat.c: Some tidying.
341         
342         * cdl/ppp.cdl:
343         * tests/nc_test_slave.c:
344         * tests/nc_test_framework.h:
345         Added nc_test_slave test.
346
347         * tests/ppp_up.c: Changed wait to print out TCP/IP tables every
348         minute.
349
350         * tests/tcp_echo.c: Tidied up a little.
351         
352 2003-06-13  Nick Garnett  <nickg@ecoscentric.com>
353
354         * cdl/ppp.cdl: Added dialup number, control over compression, and
355         some extra tests.
356
357         * include/pppd.h: Changed inspeed to be a cyg_serial_baud_rate_t
358         enum.
359
360         * include/ppp.h: Added default_route, modem, baud and script
361         options to cyg_ppp_options_t.
362
363         * include/names.h: Header added to redefine all external names in
364         the PPP package so that they do not pollute to application's
365         namespace.
366         
367         * src/chat.c:
368         * include/syslog.h:
369         * include/ppp_io.h: Tidied and commented.
370
371
372         * src/if_ppp.c: Added include of pkgconf/ppp.h.
373
374         * src/ppp_io.c: Expunged some unnecessary BSD code, various tides.
375         
376         * src/pppd.c: Added handling of CHAT scripting during bring-up,
377         carrier detect and proper shutdown.
378         Expunged some unnecessary BSD code, various tides.
379         
380         * src/sys-ecos.c: Improved startup and shutdown synchronization,
381         added carrier detect handling.
382         Expunged some unnecessary BSD code, various tides.
383
384         * tests/isp.c:
385         * tests/ppp_up.c:
386         * tests/ppp_updown.c:
387         Generally tidied and cleaned up a bit. Added ping functionality to
388         some tests to check routing.
389         
390         * tests/tcp_echo.c:
391         New test, an adaptation of the standard tcp_echo net test that
392         brings the PPP link up before starting the test.
393         
394         * include/zlib.h:
395         * src/bsd_comp.c:
396         * src/ppp_deflate.c:
397         * src/zlib.c:
398         Added these files to implement PPP compression. However at present
399         there seem to be problems with this code, so compression is
400         disabled by default. In any case, these algorithms need enormous
401         amounts of working memory, so may not be useful in an embedded
402         system.
403         
404 2003-06-10  Nick Garnett  <nickg@ecoscentric.com>
405
406         * cdl/ppp.cdl:
407         * include/cbcp.h:
408         * include/ccp.h:
409         * include/chap.h:
410         * include/chap_ms.h:
411         * include/fsm.h:
412         * include/ipcp.h:
413         * include/lcp.h:
414         * include/magic.h:
415         * include/ppp.h:
416         * include/ppp_io.h:
417         * include/pppd.h:
418         * include/slcompress.h:
419         * include/syslog.h:
420         * include/upap.h:
421         * include/net/bpf.h:
422         * include/net/if_ppp.h:
423         * include/net/if_pppvar.h:
424         * include/net/ppp_comp.h:
425         * include/net/ppp_defs.h:
426         * src/auth.c:
427         * src/cbcp.c:
428         * src/ccp.c:
429         * src/chap.c:
430         * src/chap_ms.c:
431         * src/chat.c:
432         * src/fsm.c:
433         * src/if_ppp.c:
434         * src/ipcp.c:
435         * src/lcp.c:
436         * src/magic.c:
437         * src/ppp_io.c:
438         * src/pppd.c:
439         * src/slcompress.c:
440         * src/sys-ecos.c:
441         * src/upap.c:
442         * tests/chat.c:
443         * tests/isp.c:
444         * tests/ppp_up.c:
445         * tests/ppp_updown.c:
446         Initial checkin of PPP code -- mainly as a safety/backup
447         measure. There is still a good deal of tidying up to be done
448         here. At present there is a lot of ifdeffed out BSD code present,
449         which is there as a reminder of what should be done in the eCos
450         code. The tests are incomplete, and there is no documentation.
451
452 # Copyright (C) 2003 eCosCentric Ltd.
453 # All Rights Reserved.
454 #
455 # Permission is granted to use, copy, modify and redistribute this
456 # file.
457                 
458