1 2005-07-30 Andrew Lunn <andrew.lunn@ascom.ch>
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
6 * src/sys-ecos.c (set_up_tty):
7 * include/pppd.h: Remove incorrect declaration of ifunit which
8 the compiler complains about.
10 2005-06-07 Matt Jerdonek <maj1224@yahoo.com>
13 * include/ipcp.h: Added code to support RFC 1877 (IPCP
14 Extension for DNS) for client operation.
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
22 2005-04-21 Matt Jerdonek <maj1224@yahoo.com>
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.
30 2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
32 * tests/ppp_up.c: Change the prototype of pr_func to match
34 * src/ppp_io.c (ppplogchar): Added missing parameter to diag_printf().
36 2005-01-16 Matt Jerdonek <maj1224@yahoo.com>
37 Andrew Lunn <andrew.lunn@ascom.ch>
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.
45 2004-12-01 Murali Parvathaneni <murkrisp@yahoo.com>
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
51 * include/names.h: Redefine neg_accm and conf_accm with cyg_ppp_
53 * src/pppd.c: Define storage for ACCM and a flag for ACCM
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.
59 2004-08-19 Oyvind Harboe <oyvind.harboe@zylin.com>
60 2004-09-08 Andrew Lunn <andrew.lunn@ascom.ch>
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.
68 2004-06-29 Matt Jerdonek <maj1224@yahoo.com>
72 Add option to disallow negotiation of old-style VJ compression
74 Add structure to track ppp failure reasons
80 Add code to track ppp failure reasons
82 Fixes to clear out buffer space to allow chat script to run
83 multiple times. Note: function is still not thread-safe
85 Reset carrier detected bit when carrier lost
86 Reset ppp_tty control block when PPP started
88 2004-06-24 Oyvind Harboe <oyvind.harboe@zylin.com>
90 * tests/windows_telnet.c:
92 Added windows_telnet example application. Connects to Windows PPP
93 server and waits for a telnet session.
95 2004-05-06 Mark Retallack <mark.retallack@siemens.com>
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.
104 2004-05-06 Jonathan Larmour <jifl@eCosCentric.com>
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.
111 2004-04-15 Oyvind Harboe <oyvind.harboe@zylin.com>
113 * src/chat.c: Script now returns success when it runs to completion
115 2004-03-31 John Dallaway <jld@ecoscentric.com>
117 * cdl/ppp.cdl: Correct capitalisation in display strings.
119 2004-03-24 Nick Garnett <nickg@ecoscentric.com>
121 * cdl/ppp.cdl: Add CYGPKG_PPP_DEBUG_WARN_ONLY option to control
122 which syslog() messages actually get printed.
124 * include/ppp.h: Widen kdebugflag option to 5 bits.
126 * src/ppp_io.c: Converted some db_printf() calls to diag_printf().
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
132 * doc/ppp.sgml: Added documentation of CYGPKG_PPP_DEBUG_WARN_ONLY
133 option. Improved documentation of kdebugflag runtime option.
135 2004-01-09 John Dallaway <jld@ecoscentric.com>
137 * cdl/ppp.cdl: Fix typographical error.
139 2004-01-08 Nick Garnett <nickg@ecoscentric.com>
141 * tests/test_server.sh: Added a dbecho of the PPPD command line.
143 2003-12-23 Nick Garnett <nickg@ecoscentric.com>
145 * doc/ppp.sgml: Added A&M Adder boards to list of those that
146 support hardware flow control.
148 2003-12-22 Nick Garnett <nickg@ecoscentric.com>
150 * src/pppd.c (vfmtmsg): Disabled PowerPC-specific ifndef, we don't
151 have the differences in va_list that this is coping with.
153 2003-11-12 John Dallaway <jld@ecoscentric.com>
155 * doc/ppp.sgml: Addition comments concerning serial flow control from
158 2003-10-10 John Dallaway <jld@ecoscentric.com>
160 * doc/ppp.sgml: Fix documentation build error.
162 2003-09-25 Nick Garnett <nickg@ecoscentric.com>
164 * src/magic.c (magic_init): Added pseudo-pid to seed
165 initialization to add some variety.
169 * src/pppd.c: Added flowctl global variable to control flow
170 control of serial line. Removed crtscts variable.
172 * cdl/ppp.cdl: Fixed enable of CHAP support, it was zero.
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.
180 * include/ppp.h: Added flowctl field to cyg_ppp_options_t
181 structure plus a set of defines for its possible values.
183 * doc/ppp.sgml: Added documentation of flowctl field.
185 * tests/test_server.sh:
186 * tests/nc_test_slave.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.
191 2003-07-18 Nick Garnett <nickg@ecoscentric.com>
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.
199 2003-07-15 Nick Garnett <nickg@ecoscentric.com>
201 * src/magic.c (magic): Removed use of getpid(), since this is the
202 only dependency here on the POSIX library.
204 2003-07-14 Nick Garnett <nickg@ecoscentric.com>
206 * doc/ppp.sgml: Updated configuration section to mention
207 requirement for net and serial packages. Various other fixes.
209 * cdl/ppp.cdl: Added requirements for CYGPKG_IO_SERIAL and
210 CYGPKG_IO_SERIAL_DEVICES. Various other tidies.
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
216 * tests/test_server.sh: Added some comments and tidied a little.
218 2003-07-11 Nick Garnett <nickg@ecoscentric.com>
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.
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
228 * doc/ppp.sgml: Updated to reflect latest changes.
230 2003-07-08 Nick Garnett <nickg@ecoscentric.com>
232 * cdl/ppp.cdl: Added CYGPKG_PPP_TESTS_AUTOMATE and
233 CYGDAT_PPP_TEST_BAUD_RATES options.
235 * src/sys-ecos.c: Close sockfd correctly.
237 * src/chat.c: Some small fixes to make system re-entrant. Fixed
238 success flag to comply with documentation.
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.
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.
249 * tests/ppp_auth.c: Test added to test PAP and CHAP
252 * doc/ppp.sgml: Updated to reflect latest test changes.
255 * tests/ppp_updown.c:
257 * tests/nc_test_slave.c:
259 Tests converted to use ppp_test_support.inl and to run multiple
260 tests in some instances.
262 2003-07-03 Nick Garnett <nickg@ecoscentric.com>
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.
268 * tests/ppp_up.c: Fixed loop to be more responsive to the PPP link
271 2003-07-01 Nick Garnett <nickg@ecoscentric.com>
273 * doc/ppp.sgml: Added further documentation on testing.
275 * tests/test_server.sh: Various fixes.
277 2003-06-26 Nick Garnett <nickg@ecoscentric.com>
279 * cdl/ppp.cdl: Added CYGPKG_PPP_TEST_DEVICE to specify device used
281 Added requirement for CYGPKG_IO_SERIAL_FLOW_CONTROL.
283 * doc/ppp.sgml: Added descriptions of test programs. Various
286 * src/chat.c: Added some local debug support.
289 * tests/ppp_updown.c:
291 * tests/nc_test_slave.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.
299 * tests/isp.c: Use CYGPKG_PPP_TEST_DEVICE.
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.
305 2003-06-20 Nick Garnett <nickg@ecoscentric.com>
307 * cdl/ppp.cdl: Removed CYGNUM_PPP_THREAD_COUNT. Updated
308 descriptions of other options.
312 * include/ppp.h: Some minor tidying, and API semantic changes
313 mostly prompted by trying to document the API and discovering some
316 * tests/ppp_up.c: Modified in line with API semantic changes.
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.
325 2003-06-17 Nick Garnett <nickg@ecoscentric.com>
327 * include/ppp.h: Removed some unused options from
330 * include/syslog.h: Tidied and commented.
338 Removed some defunct BSD code, tidied up a little.
340 * src/chat.c: Some tidying.
343 * tests/nc_test_slave.c:
344 * tests/nc_test_framework.h:
345 Added nc_test_slave test.
347 * tests/ppp_up.c: Changed wait to print out TCP/IP tables every
350 * tests/tcp_echo.c: Tidied up a little.
352 2003-06-13 Nick Garnett <nickg@ecoscentric.com>
354 * cdl/ppp.cdl: Added dialup number, control over compression, and
357 * include/pppd.h: Changed inspeed to be a cyg_serial_baud_rate_t
360 * include/ppp.h: Added default_route, modem, baud and script
361 options to cyg_ppp_options_t.
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
369 * include/ppp_io.h: Tidied and commented.
372 * src/if_ppp.c: Added include of pkgconf/ppp.h.
374 * src/ppp_io.c: Expunged some unnecessary BSD code, various tides.
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.
380 * src/sys-ecos.c: Improved startup and shutdown synchronization,
381 added carrier detect handling.
382 Expunged some unnecessary BSD code, various tides.
386 * tests/ppp_updown.c:
387 Generally tidied and cleaned up a bit. Added ping functionality to
388 some tests to check routing.
391 New test, an adaptation of the standard tcp_echo net test that
392 brings the PPP link up before starting the test.
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
404 2003-06-10 Nick Garnett <nickg@ecoscentric.com>
418 * include/slcompress.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:
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.
452 # Copyright (C) 2003 eCosCentric Ltd.
453 # All Rights Reserved.
455 # Permission is granted to use, copy, modify and redistribute this