summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Fix CLEANFILES.ru2002-03-301-0/+1
|
* Merge the NETGRAPH branch into HEAD. tty devices now use netgraph's linebrian2002-03-301-15/+18
| | | | | | | | discipline to do the async escaping, but no other benefits are available yet. Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency. Make the Makefile a little more sane WRT RELEASE_CRUNCH.
* ia64 support. Due to the bogus placement of some i4b includes, it ispeter2001-10-231-1/+1
| | | | | i386-only, even though it would work on all the isa-capable platforms. Change the NOI4B so that instead of excluding alpha, it only includes i386.
* o Add ipv6 support, abstracting most NCP addresses into opaquebrian2001-08-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structures (well, they're treated as opaque). It's now possible to manage IPv6 interface addresses and routing table entries and to filter IPV6 traffic whether encapsulated or not. IPV6CP support is crude for now, and hasn't been tested against any other implementations. RADIUS and IPv6 are independent of eachother for now. ppp.linkup/ppp.linkdown aren't currently used by IPV6CP o Understand all protocols(5) in filter rules rather than only a select few. o Allow a mask specification for the ``delete'' command. It's now possible to specifically delete one of two conflicting routes. o When creating and deleting proxy arp entries, do it for all IPv4 interface addresses rather than doing it just for the ``current'' peer address. o When iface-alias isn't in effect, don't blow away manually (via ``iface add'') added interface addresses. o When listening on a tcp server (diagnostic) socket, bind so that a tcp46 socket is created -- allowing both IPv4 and IPv6 connections. o When displaying ICMP traffic, don't display the icmp type twice. When display traffic, display at least some information about unrecognised traffic. o Bump version Inspired after filtering work by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
* Preprocess ppp.8.m4 into ppp.8, taking into account any compile timebrian2001-08-111-0/+6
| | | | | | | | | options used to build ppp. Currently, this is a no-op and only handles LOCALNAT and LOCALRAD cases. This will be used for the upcoming ipv6 changes, and allows a shared man page between OpenBSD and FreeBSD.
* Change permissions back to 4554/554brian2001-07-281-2/+2
| | | | Suggested by: kris
* Change permissions from [4]554 to [4]551brian2001-07-251-2/+2
| | | | MFC after: 3 days
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-3/+4
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+0
|
* -DRELEASE_CRUNCH moved into crunchgen(1) config files forru2001-03-311-6/+0
| | | | release building. Remove a hack that is no longer needed.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Quote PPP_CONFDIR in CFLAGSbrian2001-03-231-1/+1
|
* Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile timebrian2001-03-231-0/+4
|
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Add ``enable/disable tcpmssfixup'', defaulting to enabled.brian2000-11-281-2/+2
| | | | | Suggested by: julian Hijacked from: ru (ports/net/tcpmssd)
* Forgotten RELEASE_CRUNCH hack for mppe.c.hosokawa2000-10-311-2/+2
| | | | This fix is for "make release" and "make boot.flp".
* Add MPPE and MSChap v2 support (denied and disabled by default)brian2000-10-301-1/+1
| | | | Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
* Don't define NOATM now that /usr/include/netnatm/ is created properly.brian2000-10-151-1/+0
|
* Support PPPoATM, disabled for now as /usr/include/netnatm doesn't existbrian2000-09-141-0/+7
| | | | Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
* Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUIDbrian2000-08-181-4/+16
| | | | capabilities.
* Understand -DNOINET6brian2000-03-141-0/+4
|
* Remove the last vestiges of libRSAglue now that it's an empty stub.kris2000-03-111-4/+0
| | | | | | This should fix the buildworld problems some people were seeing. Approved by: jkh
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLkris2000-03-091-1/+1
| | | | Approved by: jkh
* Update DISTRIBUTION for new crypto world ordermarkm2000-02-291-1/+1
|
* Use libcrypto instead of libdes.markm2000-02-241-2/+6
|
* Remove MAINTAINER=brian2000-01-291-2/+0
| | | | | | | I don't claim to own the code and certainly don't want to discourage people from fixing or updating it. [I know it's the 29th, but the FREEZE hasn't yet been posted to committers]
* Don't compile NETGRAPH out of ppp for the release crunchbrian1999-11-201-3/+3
|
* Oops, netgraph.o -> ether.o for the RELEASE build.brian1999-11-111-2/+2
|
* Add an empty netgraph.o when building a release to keep thebrian1999-11-091-2/+2
| | | | | | crunch stuff happy. Breakage spotted by: phk
* Support PPPoEbrian1999-11-061-1/+9
| | | | | Help (lots) from: julian, archie Facilities from: ahebert@pubnix.net
* Allow ``make -DNOKLDLOAD''brian1999-09-221-0/+4
|
* Cosmetic:brian1999-09-081-3/+3
| | | | alias_cmd -> nat_cmd after a repo-copy
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* I misunderstood the failure mode - revert BINMODE to 4554. I'm stilljkh1999-08-271-2/+2
| | | | | | | going to remove ppp from the installation options in 5 days if ppp is still broken, however, as it hasn't worked at installation time for several weeks now and it's only causing people to fill my mailbox with questions.
* I don't know who decided that an install mode of 4544 was correct, butjkh1999-08-271-2/+2
| | | | | for a binary it's far from it. This is why sysinstall is unable to run ppp at startup time and causing weirdies in -current.
* Cosmetic: bring closer to RELENG_3brian1999-08-231-3/+3
|
* NOALIAS -> NONATbrian1999-08-221-4/+4
| | | | Reminded by: jkh
* Don't includei 4b support on the alphabrian1999-08-081-2/+2
|
* Add ISDN support via isdnd & i4b. This requires versionbrian1999-08-061-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | 0.81.1 of the i4b code - namely support of the I4B_VR_REQ ioctl via the i4brbchX device. Ppp controls the phone number, but idle timers and SYNC/RAW decisions are still made by isdnd (in isdnd.rc). This involves a new datalink state machine phase. The ``wait for carrier'' phase happens after dialing but before logging in. The whole dial state should really be abstracted so that each device type can deal with it in its own way (thinking about PPPoE) - but that'll have to wait. The ``set cd'' symantics remain the same for tty devices, but we now delay until we either get CD or timeout waiting (at which time we drop the link if we require CD). For i4b devices we always insist on carrier. Thanks to hm@ for his help, and especially for pointing out that I *don't* need to re-implement isdnd (that was a huge waste of time !) :-]
* Be more non-crypto friendly at make release time.phk1999-05-151-2/+2
|
* Allow ``host:port/udp'' devices and support ``host:port/tcp'' asbrian1999-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | being the same as the previous (still supported) ``host:port'' syntax for tcp socket devices. A udp device uses synchronous ppp rather than async, and avoids the double-retransmit overhead that comes with ppp over tcp (it's usually a bad idea to transport IP over a reliable transport that itself is using an unreliable transport). PPP over UDP provides througput of ** 1.5Mb per second ** with all compression disabled, maxing out a PPro/200 when running ppp twice, back-to-back. This proves that PPPoE is plausable in userland.... This change adds a few more handler functions to struct device and allows derivations of struct device (which may contain their own data etc) to pass themselves through the unix domain socket for MP. ** At last **, struct physical has lost all the tty crud ! iov2physical() is now smart enough to restore the correct stack of layers so that MP servers will work again. The version number has bumped as our MP link transfer contents have changed (they now may contain a `struct device'). Don't extract the protocol twice in MP mode (resulting in protocol rejects for every MP packet). This was broken with my original layering changes. Add ``Physical'' and ``Sync'' log levels for logging the relevent raw packets and add protocol-tracking LogDEBUG stuff in various LayerPush & LayerPull functions. Assign our physical device name for incoming tcp connections by calling getpeername(). Assign our physical device name for incoming udp connections from the address retrieved by the first recvfrom().
* o Redesign the layering mechanism and make the aliasing code part ofbrian1999-05-081-6/+7
| | | | | | | | | | | | | | | | | | | | | the layering. We now ``stack'' layers as soon as we open the device (when we figure out what we're dealing with). A static set of `dispatch' routines are also declared for dealing with incoming packets after they've been `pulled' up through the stacked layers. Physical devices are now assigned handlers based on the device type when they're opened. For the moment there are three device types; ttys, execs and tcps. o Increment version number to 2.2 o Make an entry in [uw]tmp for non-tty -direct invocations (after pap/chap authentication). o Make throughput counters quad_t's o Account for the absolute number of mbuf malloc()s and free()s in ``show mem''. o ``show modem'' becomes ``show physical''.
* MAINTAINER=brian@FreeBSD.orgbrian1999-01-281-1/+3
|
* Initial RADIUS support (using libradius). See the man page forbrian1999-01-281-9/+17
| | | | | | | | | | | | | | | | | | | details. Compiling with -DNORADIUS (the default for `release') removes support. TODO: The functionality in libradius::rad_send_request() needs to be supplied as a set of routines so that ppp doesn't have to wait indefinitely for the radius server(s). Instead, we need to get a descriptor back, select() on the descriptor, and ask libradius to service it when necessary. For now, ppp blocks SIGALRM while in rad_send_request(), so it misses PAP/CHAP retries & timeouts if they occur. Only PAP is functional. When CHAP is attempted, libradius complains that no User-Password has been specified... rfc2138 says that it *mustn't* be used for CHAP :-( Sponsored by: Internet Business Solutions Ltd., Switzerland
* Solve the ``first connection'' problem that occurs onbrian1998-10-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | demand-dial links with dynamic IP numbers where the program that causes the dial bind()s to an interface address that is subsequently changed after ppp negotiation. The problem is defeated by adding negotiated addresses to the tun interface as additional alias addresses and providing a set of ``iface'' commands for managing the interface. Libalias is also required (and what a name clash!) - it happily IP-aliases the address so that the source is that of the primary (negotiated) interface and un-IP-aliases it on the way back. An ``enable iface-alias'' is done implicitly by the -alias command line switch. If -alias isn't given, iface-aliasing is disabled by default and can't be enabled 'till an ``alias enable yes'' is done. ``alias enable no'' silently disables iface-alias. So, for dynamic-IP-type-connections, running ``ppp -alias -auto blah'' will work for the first connection, although existing bindings will not survive a disconnect/connect as the TCP peer will be trying to send to the old IP address - the packets won't route. It's now a lot easier to add IPXCP to ppp with minor updates to the new iface.[ch] (if anyone ever gets 'round to it). It's also now possible to manually add interface aliases with something like ``iface add 1.2.3.4/24 5.6.7.8''. This allows multi-homed ppp links :-)
* Specify BINOWN explicitly - we don't want to depend on bsd.own.mkbrian1998-10-201-0/+1
| | | | setting it to ``root''.
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Remove OpenBSD build support - let the Makefile vary perbrian1998-08-311-13/+1
| | | | | | OS rather than making it a mess and potentially screwing up cross builds. Suggested by: bde
* Add OpenBSD build supportbrian1998-08-301-1/+7
|
* o Support callback types NONE, E.164, AUTH and CBCP.brian1998-08-071-2/+2
| | | | | | | | | | | | | | (see the new ``set callback'' and ``set cbcp'' commands) o Add a ``cbcp'' log level and mbuf type. o Don't dump core when \T is given in ``set login'' or ``set hangup''. o Allow ``*'' and blanks as placeholders in ppp.secret and allow a fifth field for specifying auth/cbcp dialback parameters. o Remove a few extraneous #includes o Define the default number of REQs (restart counter) in defs.h rather than hardcoding ``5'' all over the place. o Fix a few man page inconsistencies.
OpenPOWER on IntegriCloud