Up to [local] / src / usr.sbin / ppp
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20, Mon Aug 31 00:21:32 1998 UTC (25 years, 9 months ago) by brian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +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.19 / (download) - annotate - [select for diffs], Mon Aug 17 06:45:38 1998 UTC (25 years, 9 months ago) by brian
Branch: MAIN
Changes since 1.18: +9 -4 lines
Diff to previous 1.18 (colored)
Don't lose an allocated pointer if realloc() fails. Free it instead. Pointed out by: Theo de Raadt
Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 27 12:06:48 1998 UTC (25 years, 11 months ago) by brian
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)
Fix ``sizeof(u_long) == 4'' errors. Suggested by: theo
Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 25 00:22:13 1998 UTC (26 years, 1 month ago) by brian
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)
Fix diagnostic typo.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 13 01:26:03 1998 UTC (26 years, 3 months ago) by brian
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE,
OPENBSD_2_3
Changes since 1.15: +9 -8 lines
Diff to previous 1.15 (colored)
Add extraneous braces to stiffle warnings from gcc-2.8
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 21 02:13:40 1998 UTC (26 years, 4 months ago) by brian
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)
Remove unused #includes. Make various bits static. Remove unused variables. Submitted by: eivind
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 19 02:57:34 1998 UTC (26 years, 4 months ago) by brian
Branch: MAIN
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)
Reimplement proxy-arp address stuff using sysctl().
Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 11 04:45:06 1998 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.12: +28 -13 lines
Diff to previous 1.12 (colored)
Remember any number of interface names.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 11 02:57:50 1998 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
Allow 6 byte interface names (for >tun99)
Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 30 02:45:06 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.10: +27 -19 lines
Diff to previous 1.10 (colored)
Allow "add! dst mask gw" (note the ``!'') to do an RTM_CHANGE if the RTM_ADD fails with an EEXIST. Allow "delete! dst" (note the ``!'') to silently fail if the RTM_DELETE fails with an ESRCH. Also, make the ESRCH and EEXIST error conditions more understandable to the casual observer.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 27 19:22:28 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
Write to the routing socket as uid 0. It's not good enough to just open it as uid 0 under OpenBSD.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 27 13:45:21 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.8: +6 -4 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:46 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.7: +11 -11 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 17 21:18:09 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.6: +9 -6 lines
Diff to previous 1.6 (colored)
Don't depend on a u_long being 32 bits. Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 17 00:20:37 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
Fix a potential overflow where, if the label passed on the command line is > LINE_LEN (512 bytes), we scribble (*blush*). Hinted at by: Theo de Raadt <deraadt@cvs.openbsd.org> Change sprintf(buf, "fixedstring") to strcpy(buf, "fixedstring").
Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 15 22:48:02 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.4: +54 -28 lines
Diff to previous 1.4 (colored)
Do 2 passes when "delete all"ing. The first pass removes all RTF_WASCLONED routes, and the second removes the others. This avoids the situation where we've added an RTF_CLONING route (such as ``default''), created some clones, then deleted the CLONING route before the WASCLONED route(s). Without the two passes, we get errno (not rtm_errno) set to ESRCH when deleting the WASCLONED route, despite the deletion succeeding ! This code is based on the definition of RTF_WASCLONED which isn't available (yet). Also: Enhance the route operation failure diagnostics. Make portability #ifdefs a bit more generic.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 15 22:44:58 1997 UTC (26 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.3: +36 -6 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sun Dec 7 04:09:09 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Changes since 1.2: +44 -34 lines
Diff to previous 1.2 (colored)
Only allow one arg to `delete' - the mask & gateway aren't necessary. Delete AF_LINK routes as well as AF_INET. Allow the word `default' as the arg to `delete' or in place of the first two args (dest & netmask) to `add'. Accept INTERFACE as the third arg to `add'. You can now say `add default interface' to create a default route through the tun interface. It's reported that subsequent bind()s will bind to a broadcast address and not to the address currently assigned to the tun device - this is the first step towards supporting that first connection that was around from before the dynamic IP negotiation....
Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 6 12:09:16 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Changes since 1.1: +25 -24 lines
Diff to previous 1.1 (colored)
Understand ``sockaddr_dl''s where sdl_nlen != 0
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Nov 23 20:27:35 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:35 1997 UTC (26 years, 6 months ago) by brian
Branch: MAIN
Initial revision