freebsd-nq/usr.sbin/ppp
Brian Somers b6217683dc Deglobalise `struct prompt':
o Our diagnostic socket has its password set in the `set socket'
    line only (not in ppp.secret).
  o Passwords are per server socket (*VarAuthKey are gone)
  o Authority is per prompt (VarLocalAuth is gone).
  o Local logging is per prompt.
  o Add a `show who' command to see who's connected.  No identd
    routine - just a `where the connection came from' display.
  o SIGUSR1 is disabled for now - we have no way of choosing a
    password for the socket created :-(

Prompts are attached as a list of `struct descriptor's in
struct bundle, and serviced under the bundles descriptor
service routines.  Ultimately, everything should be done
like this.

Cosmetic:
  o alphabeticalise SRCS in Makefile.
  o Add a few comments in command.h

TODO: Start checking that we don't overflow the descriptor sets
      in select() now that we can have any number of descriptors.
1998-04-03 19:26:02 +00:00
..
alias_cmd.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
alias_cmd.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
arp.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
arp.h Shuffle around our FSMs a bit. This'll make it 1998-02-21 01:45:26 +00:00
async.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
async.h Make ``show escape'' require context. 1998-02-18 19:35:20 +00:00
auth.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
auth.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
bundle.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
bundle.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
ccp.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
ccp.h o Move default MRU, MTU, ACCMAP and OPENMODE config values into 1998-04-03 19:24:07 +00:00
chap_ms.c Move `CleaningUp' into struct bundle. 1998-03-16 22:53:15 +00:00
chap_ms.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
chap.c Move authname and authkey into struct bundle and only allow 1998-04-03 19:24:49 +00:00
chap.h Do authentication at the datalink level, not the bundle level. 1998-03-01 01:07:49 +00:00
chat.c Move authname and authkey into struct bundle and only allow 1998-04-03 19:24:49 +00:00
chat.h Remove more globals 1998-03-13 21:08:05 +00:00
command.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
command.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
datalink.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
datalink.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
deflate.c Make all CCP negotiation data dynamic and add a 1998-03-17 22:29:12 +00:00
deflate.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
defs.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
defs.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
descriptor.h Make struct bundle into a sort of `struct descriptor'. 1998-03-20 19:48:28 +00:00
filter.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
filter.h o Drop packets that fail the dial filter when we're in 1998-04-03 19:25:07 +00:00
fsm.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
fsm.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
hdlc.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
hdlc.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
id.c Allow 8 character login names. 1998-02-19 02:08:53 +00:00
id.h Allow 8 character login names. 1998-02-19 02:08:53 +00:00
ip.c o Drop packets that fail the dial filter when we're in 1998-04-03 19:25:07 +00:00
ip.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
ipcp.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
ipcp.h o Move default MRU, MTU, ACCMAP and OPENMODE config values into 1998-04-03 19:24:07 +00:00
iplist.c This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
iplist.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
lcp.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
lcp.h o Move default MRU, MTU, ACCMAP and OPENMODE config values into 1998-04-03 19:24:07 +00:00
lcpproto.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
link.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
link.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
loadalias.c This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
loadalias.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
log.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
log.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
lqr.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
lqr.h De-staticise LQR information 1998-03-13 00:44:26 +00:00
main.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
main.h Move `CleaningUp' into struct bundle. 1998-03-16 22:53:15 +00:00
Makefile Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
mbuf.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
mbuf.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
modem.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
modem.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
mp.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
mp.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
pap.c Move authname and authkey into struct bundle and only allow 1998-04-03 19:24:49 +00:00
pap.h Do authentication at the datalink level, not the bundle level. 1998-03-01 01:07:49 +00:00
pathnames.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
physical.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
physical.h o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
ppp.8 Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
pred.c Make all CCP negotiation data dynamic and add a 1998-03-17 22:29:12 +00:00
pred.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
prompt.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
prompt.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
README.alias This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
README.devel This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
route.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
route.h o Hook the FSMs into our bundle. 1998-02-07 20:50:08 +00:00
server.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
server.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
sig.c MFC: Explicitly call caused' an int'. 1998-03-08 23:44:48 +00:00
sig.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
slcompress.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
slcompress.h Move VJ compression state and stats into struct ipcp. 1998-03-16 22:54:35 +00:00
systems.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
systems.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
throughput.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
throughput.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
timer.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
timer.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
tun.c o Move default MRU, MTU, ACCMAP and OPENMODE config values into 1998-04-03 19:24:07 +00:00
tun.h Create `struct bundle' - the top level control structure. 1998-02-02 19:32:16 +00:00
vars.c Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
vars.h Deglobalise `struct prompt': 1998-04-03 19:26:02 +00:00
vjcomp.c o Move struct lcp and struct ccp into struct link. 1998-04-03 19:21:56 +00:00
vjcomp.h Move VJ compression state and stats into struct ipcp. 1998-03-16 22:54:35 +00:00

This program was originally written by Toshiharu OHNO <tony-o@iij.ad.jp>,
and was submitted to FreeBSD-2.0.5 by Atsushi Murai <amurai@spec.co.jp>.
The original version was usually referred to as iij-ppp.

Ppp is currently maintained under FreeBSD and OpenBSD by Brian Somers
<brian@Awfulhak.org>.  The sources for both operating systems are the
same although the Makefiles vary due to the nature of each system.
If and when it's ported to another OS, things will probably be shuffled
around so that there are several Makefiles, one per architecture.

The latest sources are available in FreeBSD-current and OpenBSD-current.
An archive hacked so that it will build on just about any version of
FreeBSD is frequently generated and made available on
http://www.FreeBSD.org/~brian.  Once the first OpenBSD release is made
with ppp, an up-to-date OpenBSD archive will be made available too.

A FAQ is available at http://www.FreeBSD.org/FAQ/userppp.html.  It applies
equally to OpenBSD as it does to FreeBSD.  The man page is quite extensive,
and there are lots of examples in /etc/ppp/ppp.*.sample.  These examples
come with the hacked archive above but must be installed manually.

Ppp is still under development.  There is no official TODO list.