#
455aabc3 |
| 07-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
o Hook the FSMs into our bundle. o The FSM layering is now more sane. o Move a lot of the NCP stuff into our ipcpstate rather than having it in the bundle, including control of the configured IP ad
o Hook the FSMs into our bundle. o The FSM layering is now more sane. o Move a lot of the NCP stuff into our ipcpstate rather than having it in the bundle, including control of the configured IP addresses. We don't need hacks like the global `linkup' variable any more as the FSM decides when our ppp.link* files get run. This is going to eventually be configurable based on FSM events anyway. o Fix a few inconsistencies when both sides require authentication. o We now have "Ppp..." and "PPp" prompts, reflecting authentication and network phase. We don't print loads of spurious prompts as we change phases any more. o Our phase is part of the bundle now. o Fix a bug where the FSM wasn't calling LayerFinish. o Close the FSM down correctly with a signal rather than slamming it down as if the line was dropped (the undocumented ``down'' command is still available though). o Remove the forgotten `tunno' variable and fix references to it.
show more ...
|
#
83d1af55 |
| 06-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Isolate fsm callback functions Derive {lcp,ipcp,ccp}state structures from struct fsm where convenient. Create bundle_Down() and remove LcpDown()
|
#
ecd5172a |
| 06-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Shuffle names and args in modem.h
|
#
b3796ed6 |
| 04-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Merge from MP branch: Correct magic number format string
|
#
52f21f26 |
| 04-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Correct magic number format string Spotted by: Bruce M. Walter <walter@fortean.com>
|
#
6140ba11 |
| 02-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Create `struct async' and make it part of `struct physical'. This structure contains the asynchronous state of the physical link. Unfortunately, just about every .h file is included in every .c file
Create `struct async' and make it part of `struct physical'. This structure contains the asynchronous state of the physical link. Unfortunately, just about every .h file is included in every .c file now. Fixing this can be one of the last jobs.
show more ...
|
#
7a6f8720 |
| 02-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Create `struct bundle' - the top level control structure. This structure will eventually contain a list of NCPs (currently only IPCP is supported) and a list of physical `struct link's. It will also
Create `struct bundle' - the top level control structure. This structure will eventually contain a list of NCPs (currently only IPCP is supported) and a list of physical `struct link's. It will also derive from a struct link itself. Make ModemTimeout() static - it's way to dangerous to be called from outside ! Bump version to 1.9. Our first MP release should be 2.0.
show more ...
|
#
7308ec68 |
| 31-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Move the global FSMs into their relevent structures. IPCP, CCP and LCP are now just derived FSMs. Comment each of the FSM implementations so that we can tell what's going on. Revise the state transit
Move the global FSMs into their relevent structures. IPCP, CCP and LCP are now just derived FSMs. Comment each of the FSM implementations so that we can tell what's going on. Revise the state transitions so that CCP and IPCP actually send terminate REQs when appropriate.
The OS & IPCP layers are still like spagetti (next job).
show more ...
|
#
8c07a7b2 |
| 30-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Create `struct link' - the logical link from which `struct physical' (and the future `struct logical') are derived.
|
#
c8ee0d78 |
| 30-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
o Bring global/static data into LcpInfo. o Parameterise LcpReportTime(). o Don't obscure the hard-coded use of LcpInfo. o Comment on the data elements of LcpInfo.
|
#
29e275ce |
| 30-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
o Move global/static IPCP data into IpcpInfo. o Use INADDR_ANY and INADDR_BROADCAST instead of 0 and 0xffffffff for IP addresses & masks. o Move struct compreq into ipcp.c (it's none of anyone else
o Move global/static IPCP data into IpcpInfo. o Use INADDR_ANY and INADDR_BROADCAST instead of 0 and 0xffffffff for IP addresses & masks. o Move struct compreq into ipcp.c (it's none of anyone elses business). o Rename MAX_STATES to MAX_VJ_STATES.
show more ...
|
#
63b73463 |
| 29-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Create a new MP branch for `multilink protocol'.
Do lots of initial shuffling and grouping. Submitted by: Eivind Eklund <perhaps@yes.no>
|
#
1ae349f5 |
| 29-Jan-1998 |
cvs2svn <cvs2svn@FreeBSD.org> |
This commit was manufactured by cvs2svn to create branch 'MP'.
|
#
aa8e0519 |
| 21-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Remove unused #includes. Make various bits static. Remove unused variables. Submitted by: eivind
|
#
49b239e0 |
| 20-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Allow an optional delay when specifying "set openmode active". The delay defaults to 1 sec (as it always has) unless we've done a ~p in interactive mode or we've actually detected a HDLC frame. This
Allow an optional delay when specifying "set openmode active". The delay defaults to 1 sec (as it always has) unless we've done a ~p in interactive mode or we've actually detected a HDLC frame. This is now cleanly implemented (via async timers) so that it is possible for LCP to come up despite the delay if an LCP REQ is received.
This will hopefully solve situations with slow servers or slirp scenarios (where ECHO is left on the port for a second or so before the peer enters packet mode).
Also, ~p in interactive mode no longer changes the value of the default openmode delay and -dedicated mode enters packet mode in the right state according to the value of openmode.
show more ...
|
#
cc924f9e |
| 11-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Lose <net/if_var.h> ! This'll require a `make installworld'.
|
#
3a70c9f7 |
| 11-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Make things work when sizeof(long) != 32 (hopefully)
|
#
70ee81ff |
| 24-Dec-1997 |
Brian Somers <brian@FreeBSD.org> |
Cosmetic (style): sizeof(var) -> sizeof var sizeof type -> sizeof(type)
Suggested by: J Wunsch <j@uriah.heep.sax.de>
|
#
b0624e7f |
| 08-Dec-1997 |
Brian Somers <brian@FreeBSD.org> |
Fix PAP, CHAP & LQR req (I broke the byte ordering when I did the deflate re-org). Make PAP & CHAP negotiation prettier in the log file. If both PAP & CHAP are `enabled' and the peer NAKs CHAP sugges
Fix PAP, CHAP & LQR req (I broke the byte ordering when I did the deflate re-org). Make PAP & CHAP negotiation prettier in the log file. If both PAP & CHAP are `enabled' and the peer NAKs CHAP suggesting PAP, be friendly and REQ PAP the next time. This is in line with the rfc.
show more ...
|
#
0053cc58 |
| 03-Dec-1997 |
Brian Somers <brian@FreeBSD.org> |
Abstract the CCP layer a level. Add DEFLATE support.
|
#
b6e82f33 |
| 22-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Fix prototypes. Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary.
We can now survive a compile w
Fix prototypes. Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary.
We can now survive a compile with -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts (although the Makefile just contains -Wall).
show more ...
|
#
9a0b991f |
| 18-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Add throughput logging (disabled by default). Use "enable throughput" to see modem & IPCP throughput. Removed an extraneous prompt()
|
#
6a6b4bbb |
| 16-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Abstract data read from and written to the tun device, allowing for a possible header on the front of all packets. In OpenBSD, there's a structure containing the address family here. If we're buildin
Abstract data read from and written to the tun device, allowing for a possible header on the front of all packets. In OpenBSD, there's a structure containing the address family here. If we're building under OpenBSD, set up the ``flags'' part of struct tuninfo (not there under FreeBSD) so that we config the interface as POINTOPOINT. Prefix prototypes with ``extern'' in os.c for consistency.
These changes are cosmetic under FreeBSD, but allow ppp to build & work under OpenBSD (bar the srandomdev() stuff, the inclusing of <net/if_var.h> and some Makefile symantecs).
show more ...
|
#
9e836af5 |
| 14-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Update the cftypes arrays according to rfc1700. Log IPCP reqests as IPCP.
|
#
3d8ad715 |
| 11-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Fix typo that causes CHAP RESPONSEs to *always* be damned M$ responses if you've got DES.
|