1 2008-04-28 Daniel NĂ©ri <daniel.neri@sigicom.com>
3 * src/ipcp.c (ipcp_init): Negotiate both primary and secondary DNS
4 resolver addresses when CYGOPT_PPP_NS_NEGOTIATE is enabled.
6 2006-07-18 John Paul King <john.king@transdatainc.com>
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
12 2005-11-23 Andrew Lunn <andrew.lunn@ascom.ch>
14 * cdl/ppp.cdl: Require CYGPKG_POSIX_CLOCKS not *_TIMERS
16 2005-10-23 Andrew Lunn <andrew.lunn@ascom.ch>
18 * cdl/ppp.cdl: Require CYGPKG_POSIX_TIMERS
19 * src/sys-ecos.c (gettimeofday): Removed, now get it from POSIX
21 2005-07-30 Andrew Lunn <andrew.lunn@ascom.ch>
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
26 * src/sys-ecos.c (set_up_tty):
27 * include/pppd.h: Remove incorrect declaration of ifunit which
28 the compiler complains about.
30 2005-06-07 Matt Jerdonek <maj1224@yahoo.com>
33 * include/ipcp.h: Added code to support RFC 1877 (IPCP
34 Extension for DNS) for client operation.
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
42 2005-04-21 Matt Jerdonek <maj1224@yahoo.com>
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.
50 2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
52 * tests/ppp_up.c: Change the prototype of pr_func to match
54 * src/ppp_io.c (ppplogchar): Added missing parameter to diag_printf().
56 2005-01-16 Matt Jerdonek <maj1224@yahoo.com>
57 Andrew Lunn <andrew.lunn@ascom.ch>
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.
65 2004-12-01 Murali Parvathaneni <murkrisp@yahoo.com>
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
71 * include/names.h: Redefine neg_accm and conf_accm with cyg_ppp_
73 * src/pppd.c: Define storage for ACCM and a flag for ACCM
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.
79 2004-08-19 Oyvind Harboe <oyvind.harboe@zylin.com>
80 2004-09-08 Andrew Lunn <andrew.lunn@ascom.ch>
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.
88 2004-06-29 Matt Jerdonek <maj1224@yahoo.com>
92 Add option to disallow negotiation of old-style VJ compression
94 Add structure to track ppp failure reasons
100 Add code to track ppp failure reasons
102 Fixes to clear out buffer space to allow chat script to run
103 multiple times. Note: function is still not thread-safe
105 Reset carrier detected bit when carrier lost
106 Reset ppp_tty control block when PPP started
108 2004-06-24 Oyvind Harboe <oyvind.harboe@zylin.com>
110 * tests/windows_telnet.c:
112 Added windows_telnet example application. Connects to Windows PPP
113 server and waits for a telnet session.
115 2004-05-06 Mark Retallack <mark.retallack@siemens.com>
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.
124 2004-05-06 Jonathan Larmour <jifl@eCosCentric.com>
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.
131 2004-04-15 Oyvind Harboe <oyvind.harboe@zylin.com>
133 * src/chat.c: Script now returns success when it runs to completion
135 2004-03-31 John Dallaway <jld@ecoscentric.com>
137 * cdl/ppp.cdl: Correct capitalisation in display strings.
139 2004-03-24 Nick Garnett <nickg@ecoscentric.com>
141 * cdl/ppp.cdl: Add CYGPKG_PPP_DEBUG_WARN_ONLY option to control
142 which syslog() messages actually get printed.
144 * include/ppp.h: Widen kdebugflag option to 5 bits.
146 * src/ppp_io.c: Converted some db_printf() calls to diag_printf().
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
152 * doc/ppp.sgml: Added documentation of CYGPKG_PPP_DEBUG_WARN_ONLY
153 option. Improved documentation of kdebugflag runtime option.
155 2004-01-09 John Dallaway <jld@ecoscentric.com>
157 * cdl/ppp.cdl: Fix typographical error.
159 2004-01-08 Nick Garnett <nickg@ecoscentric.com>
161 * tests/test_server.sh: Added a dbecho of the PPPD command line.
163 2003-12-23 Nick Garnett <nickg@ecoscentric.com>
165 * doc/ppp.sgml: Added A&M Adder boards to list of those that
166 support hardware flow control.
168 2003-12-22 Nick Garnett <nickg@ecoscentric.com>
170 * src/pppd.c (vfmtmsg): Disabled PowerPC-specific ifndef, we don't
171 have the differences in va_list that this is coping with.
173 2003-11-12 John Dallaway <jld@ecoscentric.com>
175 * doc/ppp.sgml: Addition comments concerning serial flow control from
178 2003-10-10 John Dallaway <jld@ecoscentric.com>
180 * doc/ppp.sgml: Fix documentation build error.
182 2003-09-25 Nick Garnett <nickg@ecoscentric.com>
184 * src/magic.c (magic_init): Added pseudo-pid to seed
185 initialization to add some variety.
189 * src/pppd.c: Added flowctl global variable to control flow
190 control of serial line. Removed crtscts variable.
192 * cdl/ppp.cdl: Fixed enable of CHAP support, it was zero.
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.
200 * include/ppp.h: Added flowctl field to cyg_ppp_options_t
201 structure plus a set of defines for its possible values.
203 * doc/ppp.sgml: Added documentation of flowctl field.
205 * tests/test_server.sh:
206 * tests/nc_test_slave.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.
211 2003-07-18 Nick Garnett <nickg@ecoscentric.com>
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.
219 2003-07-15 Nick Garnett <nickg@ecoscentric.com>
221 * src/magic.c (magic): Removed use of getpid(), since this is the
222 only dependency here on the POSIX library.
224 2003-07-14 Nick Garnett <nickg@ecoscentric.com>
226 * doc/ppp.sgml: Updated configuration section to mention
227 requirement for net and serial packages. Various other fixes.
229 * cdl/ppp.cdl: Added requirements for CYGPKG_IO_SERIAL and
230 CYGPKG_IO_SERIAL_DEVICES. Various other tidies.
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
236 * tests/test_server.sh: Added some comments and tidied a little.
238 2003-07-11 Nick Garnett <nickg@ecoscentric.com>
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.
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
248 * doc/ppp.sgml: Updated to reflect latest changes.
250 2003-07-08 Nick Garnett <nickg@ecoscentric.com>
252 * cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_AUTOMATE and
253 CYGDAT_PPP_TEST_BAUD_RATES options.
255 * src/sys-ecos.c: Close sockfd correctly.
257 * src/chat.c: Some small fixes to make system re-entrant. Fixed
258 success flag to comply with documentation.
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.
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.
269 * tests/ppp_auth.c: Test added to test PAP and CHAP
272 * doc/ppp.sgml: Updated to reflect latest test changes.
275 * tests/ppp_updown.c:
277 * tests/nc_test_slave.c:
279 Tests converted to use ppp_test_support.inl and to run multiple
280 tests in some instances.
282 2003-07-03 Nick Garnett <nickg@ecoscentric.com>
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.
288 * tests/ppp_up.c: Fixed loop to be more responsive to the PPP link
291 2003-07-01 Nick Garnett <nickg@ecoscentric.com>
293 * doc/ppp.sgml: Added further documentation on testing.
295 * tests/test_server.sh: Various fixes.
297 2003-06-26 Nick Garnett <nickg@ecoscentric.com>
299 * cdl/ppp.cdl: Added CYGPKG_PPP_TEST_DEVICE to specify device used
301 Added requirement for CYGPKG_IO_SERIAL_FLOW_CONTROL.
303 * doc/ppp.sgml: Added descriptions of test programs. Various
306 * src/chat.c: Added some local debug support.
309 * tests/ppp_updown.c:
311 * tests/nc_test_slave.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.
319 * tests/isp.c: Use CYGPKG_PPP_TEST_DEVICE.
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.
325 2003-06-20 Nick Garnett <nickg@ecoscentric.com>
327 * cdl/ppp.cdl: Removed CYGNUM_PPP_THREAD_COUNT. Updated
328 descriptions of other options.
332 * include/ppp.h: Some minor tidying, and API semantic changes
333 mostly prompted by trying to document the API and discovering some
336 * tests/ppp_up.c: Modified in line with API semantic changes.
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.
345 2003-06-17 Nick Garnett <nickg@ecoscentric.com>
347 * include/ppp.h: Removed some unused options from
350 * include/syslog.h: Tidied and commented.
358 Removed some defunct BSD code, tidied up a little.
360 * src/chat.c: Some tidying.
363 * tests/nc_test_slave.c:
364 * tests/nc_test_framework.h:
365 Added nc_test_slave test.
367 * tests/ppp_up.c: Changed wait to print out TCP/IP tables every
370 * tests/tcp_echo.c: Tidied up a little.
372 2003-06-13 Nick Garnett <nickg@ecoscentric.com>
374 * cdl/ppp.cdl: Added dialup number, control over compression, and
377 * include/pppd.h: Changed inspeed to be a cyg_serial_baud_rate_t
380 * include/ppp.h: Added default_route, modem, baud and script
381 options to cyg_ppp_options_t.
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
389 * include/ppp_io.h: Tidied and commented.
392 * src/if_ppp.c: Added include of pkgconf/ppp.h.
394 * src/ppp_io.c: Expunged some unnecessary BSD code, various tides.
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.
400 * src/sys-ecos.c: Improved startup and shutdown synchronization,
401 added carrier detect handling.
402 Expunged some unnecessary BSD code, various tides.
406 * tests/ppp_updown.c:
407 Generally tidied and cleaned up a bit. Added ping functionality to
408 some tests to check routing.
411 New test, an adaptation of the standard tcp_echo net test that
412 brings the PPP link up before starting the test.
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
424 2003-06-10 Nick Garnett <nickg@ecoscentric.com>
438 * include/slcompress.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:
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.
472 # Copyright (C) 2003 eCosCentric Ltd.
473 # All Rights Reserved.
475 # Permission is granted to use, copy, modify and redistribute this