OpenBSD CVS

CVS log for src/usr.sbin/ppp/Attic/ipcp.c


[BACK] Up to [local] / src / usr.sbin / ppp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15, Mon Aug 31 00:20:54 1998 UTC (25 years, 9 months ago) by brian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED

Upgrade ppp to version 2.0

This adds a number of features including:
o Multilink
o Callback (including CBCP)
o DNS negotiation (client & server)
o Easy to configure masquerading/packet aliasing
o Any number of diagnostic socket connections (limits DOS attacks)
o Sticky routes (ppp updates the routing table when the IP number is changed)

See the file README.changes for things that effect current
configurations.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 27 16:27:02 1998 UTC (25 years, 11 months ago) by brian
Branch: MAIN
Changes since 1.13: +10 -10 lines
Diff to previous 1.13 (colored)

More u_long -> u_int32_t
Submitted (with the usual curtesy) by: theo

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 21 02:13:34 1998 UTC (26 years, 4 months ago) by brian
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.12: +2 -5 lines
Diff to previous 1.12 (colored)

Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 20 22:46:25 1998 UTC (26 years, 4 months ago) by brian
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 18 20:47:20 1998 UTC (26 years, 4 months ago) by brian
Branch: MAIN
Changes since 1.10: +48 -6 lines
Diff to previous 1.10 (colored)

Allow "set vj" for changing the default number of slots
and whether slot compression is requested.
Don't show current values with "show ipcp" if IPCP isn't
"opened".

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 5 01:39:04 1998 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.9: +38 -1 lines
Diff to previous 1.9 (colored)

o Allow the use of HISADDR as the first arg to "add".
o Allow a forth argument in ppp.secret, specifying a new
  label.  This gives control over which section of
  ppp.link{up,down} is used based on the authenticated user.
o Support random address ranges in ppp.secret (not just in ppp.conf).
o Add a AUTHENTICATING INCOMING CONNECTIONS section to the man page.
o Add a bit more about DEFLATE in the man page.
o Fix the incorrect "you must specify a password in interactive
  mode" bit of the manual.
o Space things in the man page consistently.
o Be more precice about where you can use MYADDR, HISADDR and INTERFACE
  in the "add" command documentation.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 27 13:45:19 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Show who closes the diagnostic connection.
Show the IP range (if specified) in "show ipcp".
Close unused descriptors 0 and 2 in interactive mode.
Pass (size_t *) rather than (int *) to sysctl().

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 24 09:30:35 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.7: +15 -15 lines
Diff to previous 1.7 (colored)

Cosmetic (style):
  sizeof(var) -> sizeof var
  sizeof type -> sizeof(type)

Suggested by: J Wunsch <j@uriah.heep.sax.de>

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 24 09:29:10 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes !
Lucky that sizeof cftypes < sizeof cftypes128

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 19 04:50:38 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

If the peer asks for IP 0.0.0.0, choose an IP ourselves
without looking for it in our IP list (and if found, trying
to ifconfig it!).

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 15 22:44:52 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Changes since 1.4: +30 -9 lines
Diff to previous 1.4 (colored)

Allow random IP number allocation to peer.
Validate the peers suggested IP by attempting to make a routing table
entry.
Give up IPCP negotiation if the peer NAKs us with an unusable IP.
Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device.
Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't
want)!!!
Allow up to 200 interface names (was 50) (now that ppp can play server
properly).

Cosmetic:
  Log unexpected CCP packets in the CCP log rather than the ERROR log.
  Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather
  than the ERROR log.
  Log failed route additions and deletions with WARN, not TCPIP.
  Log the option id and length for unrecognised IPCP options.
  Change some .Sq to .Ar in the man page.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 6 22:43:47 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Correct cftypes128 index.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 6 12:09:14 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Changes since 1.2: +18 -24 lines
Diff to previous 1.2 (colored)

Remove duplicate REJECTED macro.
Remove extraneous pointers.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 6 12:08:58 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Changes since 1.1: +27 -14 lines
Diff to previous 1.1 (colored)

Add DEFLATE capabilities (rfc1979).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Nov 23 20:27:34 1997 UTC (26 years, 6 months ago) by brian
Branch: BRIAN
CVS Tags: PPP1_5
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import version 1.5 of ppp.

<sales>
This is a user-level ppp implementation that uses the
tun driver.  It was originally created by a Japanese
ISP.  It's now piled with features.  Check the man pages
for details.
</sales>

The sources are identical to the ones in FreeBSD, except
for the Makefile.

IP aliasing (NAT) is disabled, and can be enabled by simply
doing a ``make install'' of libalias, then rebuilding
ppp.  I'll create libalias as a port soon.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 23 20:27:34 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.