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