#
5b8b8060 |
| 16-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Move the dial, login and hangup scripts into struct datalink. Don't set these scripts in -direct mode. Always set reconnect_tries to zero for -direct mode.
|
#
c78db105 |
| 13-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Remove some unused variables.
|
#
b6dec9f0 |
| 13-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Update to version 2.0-beta Allow for NULL fd_sets in descriptor_UpdateSet() Reimplement the entire chat module, creating `struct chat' - a `type' of struct descriptor. Remove CARRIER logging. CONNECT
Update to version 2.0-beta Allow for NULL fd_sets in descriptor_UpdateSet() Reimplement the entire chat module, creating `struct chat' - a `type' of struct descriptor. Remove CARRIER logging. CONNECT logging now only logs "CONNECT" lines. CHAT logging masks it with an entire log of the conversation.
Modem dialing is now asynchronous, including pauses and timeouts :-)
The hooks in DoLoop() in main.c are *very* messy ! I'll have to rewrite DoLoop fairly soon, so I don't care too much for the moment. This code is pretty raw.
show more ...
|
#
85b542cf |
| 10-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Move the terminal/diagnostic socket stuff out of main.c and into the new `prompt.c'. struct prompt is (of course) a `sort' of descriptor.
|
#
42d4d396 |
| 09-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
o Introduce struct descriptor. This will ultimately be a member of a list of descriptors and their handler functions on which we need to select() in the main loop. o Make struct physical into a
o Introduce struct descriptor. This will ultimately be a member of a list of descriptors and their handler functions on which we need to select() in the main loop. o Make struct physical into a `sort' of struct descriptor.
show more ...
|
#
2289f246 |
| 06-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Move pppVars.physical into the bundle (for the moment).
|
#
ecd5172a |
| 06-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Shuffle names and args in modem.h
|
#
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 ...
|
#
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
|
#
313572f3 |
| 27-Dec-1997 |
Brian Somers <brian@FreeBSD.org> |
Allow (and document) execution of commands from within our chat script. You can now even run chat(8) - see ppp.conf.sample.
|
#
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>
|
#
6fefd436 |
| 23-Dec-1997 |
Brian Somers <brian@FreeBSD.org> |
strncpy(x,y,sizeof(x)) --> strncpy(x,y,sizeof(x)-1)
Suggested by: Philippe Charnier <charnier@lirmm.fr> Theo de Raadt <deraadt@cvs.openbsd.org>
|
#
16f81f68 |
| 18-Dec-1997 |
Brian Somers <brian@FreeBSD.org> |
Replace
strcpy(a, b); /* a and b are the same size */
with
strncpy(a, b, sizeof(a)); a[sizeof(a)-1] = '\0';
Making the code `correct at a glance'.
Suggested by: Theo de Raadt <deraadt@cvs
Replace
strcpy(a, b); /* a and b are the same size */
with
strncpy(a, b, sizeof(a)); a[sizeof(a)-1] = '\0';
Making the code `correct at a glance'.
Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
show more ...
|
#
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 ...
|
#
86e02934 |
| 09-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Increase chat script sizes to 512 Requested by: Michael Reifenberger <root@totum.plaut.de>
|
#
5106c671 |
| 09-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Introduce ID0 logging. Stay as the invoking uid as much as possible. Execution as a normal user is still forbidden for now, so these changes are pretty ineffective. The next commit will implement the
Introduce ID0 logging. Stay as the invoking uid as much as possible. Execution as a normal user is still forbidden for now, so these changes are pretty ineffective. The next commit will implement the modifications suggested on -hackers a number of days ago.
show more ...
|
#
0fe7ca31 |
| 29-Oct-1997 |
Brian Somers <brian@FreeBSD.org> |
o Bump version to 1.3 to reflect major changes o Report modem connect time properly o Report bytes in/out over physical media o Fix phases (TERMINATE is *higher than* DEAD) o Do a LayerFinish fr
o Bump version to 1.3 to reflect major changes o Report modem connect time properly o Report bytes in/out over physical media o Fix phases (TERMINATE is *higher than* DEAD) o Do a LayerFinish from LcpDown o Bring down IPCP & CCP when we enter PHASE_TERMINATE o Give a new prompt when we go to PHASE_DEAD o Stop the modem timer properly when idle o Treat sig 15 like an exiting carrier loss o Log (DEBUG) offline & online transitions
show more ...
|
#
75240ed1 |
| 26-Oct-1997 |
Brian Somers <brian@FreeBSD.org> |
Cosmetic (no functional changes): o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bze
Cosmetic (no functional changes): o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bzero -> memset bcmp -> memcmp index -> strchr rindex -> strrchr o Move timeout.h -> timer.h (making it consistent w/ timer.c) o Add -Wmissing-prototypes
show more ...
|
#
9a571ec7 |
| 25-Oct-1997 |
Brian Somers <brian@FreeBSD.org> |
sleep => nointr_sleep usleep => nointr_usleep (not just a #define) Already done by: ache
|
Revision tags: release/2.2.5_cvs |
|
#
afc7fa2c |
| 01-Sep-1997 |
Brian Somers <brian@FreeBSD.org> |
Cosmetic: Make LogPrintf() calls consistent.
|
#
944f7098 |
| 25-Aug-1997 |
Brian Somers <brian@FreeBSD.org> |
Make the code format more in line with style(9). Update loadalias to use the new libalias api. Update to version 1.1.
|
#
eb53eaa3 |
| 18-Aug-1997 |
Brian Somers <brian@FreeBSD.org> |
Fix possible buffer overrun while "expect"ing something that's "nearly" what it wants.
|
#
5b9b0419 |
| 17-Aug-1997 |
Brian Somers <brian@FreeBSD.org> |
Allow specification of fallback phone numbers to be used only if the dial script fails. PR: 4262
|