summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
...
* Complain about invalid arguments passed to ``set ifaddr''brian2000-08-301-2/+14
|
* Correct LogMAXbrian2000-08-291-1/+1
| | | | | Broken by: me Submitted by: Mark Hannon <markhannon@one.net.au>
* Use srandom() under OpenBSDbrian2000-08-291-1/+1
| | | | Submitted by: Matt Behrens <matt@megaweapon.zigg.com>
* Add LogFILTER logging to log packets allowed by the dial filter andbrian2000-08-285-28/+83
| | | | | | | | dropped by any filter. Submitted by: Mark Hannon <markhannon@one.net.au> with some small tweaks by me.
* Support radius accounting, and add a packet count to throughputbrian2000-08-287-5/+206
| | | | | | | | | statistics as a side effect. Submitted by: Marcin Cieslak <saper@system.pl> with some tweaks to RAD_ACCT_SESSION_ID and RAD_ACCT_MULTI_SESSION_ID generation by me.
* Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUIDbrian2000-08-188-4/+70
| | | | capabilities.
* Warn that the ``alias'' command is depricated.brian2000-08-181-0/+10
| | | | We still process it for now though.
* If we're in MP mode with a single open link, MP link level compressionbrian2000-08-172-34/+83
| | | | | | | | isn't open and the links MRU >= our MRRU, send outbound traffic as PROTO_IP rather than PROTO_MP. This shaves some bytes off the front of each packet 'till the second link is brought up. Idea obtained from: Cisco
* ISDN B channels have a bandwidth of 64000, not 65536brian2000-08-161-1/+1
| | | | Pointed out by: Christian Weisgerber <naddy@mips.inka.de>
* setproctitle() doesn't need to be called with root privs, so movebrian2000-08-166-28/+20
| | | | it from id.c into defs.c
* Default the bandwidth of an ISDN B channel to 65536bpsbrian2000-08-161-3/+5
|
* Maintain input and output throughput averages and choose the highestbrian2000-08-159-44/+77
| | | | | | | | | | | | | | of the two when calculating the MP throughput average for the ``set autoload'' implementation. This makes more sense as all links I know of are full-duplex. This also means that people may need to adjust their autoload settings as 100% bandwidth is now the theoretical maximum rather than 200% (but of course, halfing the current settings is probably not the correct answer either!). This involves a ppp version bump as we need to pass an extra throughput array through the MP local domain socket.
* Calculate the average link throughput using a counter based on thebrian2000-08-156-37/+57
| | | | | | | | cumulative total of all active links rather than basing it on the total of PROTO_MP traffic. This fixes a problem whereby Cisco routers send PROTO_IP packets only when there's only one link (hmm, what a good idea!).
* Don't delete sticky routes when unconfiguring the interface.brian2000-08-142-14/+0
| | | | Deleting all routes that match the interface is sufficient.
* Index: ppp.8brian2000-08-132-2/+2
| | | | | | | | | | | | | | | | | | | =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/ppp.8,v retrieving revision 1.233 diff -u -r1.233 ppp.8 --- ppp.8 2000/08/10 13:26:01 1.233 +++ ppp.8 2000/08/12 19:50:41 @@ -1,8 +1,8 @@ .\" $FreeBSD: src/usr.sbin/ppp/ppp.8,v 1.233 2000/08/10 13:26:01 brian Exp $ .Dd 20 September 1995 .nr XX \w'\fC00' -.Os FreeBSD .Dt PPP 8 +.Os .Sh NAME .Nm ppp .Nd Point to Point Protocol (a.k.a. user-ppp)
* Mention that pppoe requires netgraph(4) and without it, an externalbrian2000-08-102-2/+26
| | | | pppoe program must be used (such as pppoe(8) on OpenBSD).
* Allow leading ``!'' characters in authkeys and chat scripts tobrian2000-08-095-9/+33
| | | | be doubled up to mean a single literaly ``!''.
* If the first character of the ``set title'' argument is `-',brian2000-08-091-1/+4
| | | | | put it into the format string, supporting ps's tweak to setproctitle().
* Don't mis-interpret sockaddr_in6 structures as sockaddr_in structuresbrian2000-07-201-1/+1
| | | | when purging routes.
* Describe the new VERSION and COMPILATIONDATE macros and mention that thebrian2000-07-192-8/+30
| | | | ``ident'' command will expand macros.
* Support link identification from rfc1570brian2000-07-1917-22/+176
| | | | Two new commands are available; ``ident'' and ``sendident''.
* Permit multiple ``allow user'' lines in any given sectionbrian2000-07-123-8/+19
| | | | | This avoids line length limits when large numbers of users are allowed access to ppp.
* Correct ``set filter'' usagebrian2000-07-122-4/+8
| | | | Spotted by: sheldonh
* Fix a rather nasty latency problem that occurs with single tcp sessionsbrian2000-07-121-11/+17
| | | | thorough an MP setup with only a single link.
* Allow a ``timeout secs'' filter option to let specific packet typesbrian2000-07-1110-212/+295
| | | | | | | | | | | | effect the idle timer in different ways. Submitted by: Stefan Esser <se@freebsd.org> With adjustments by me to document the option in the man page and to give the same semantics for outgoing traffic as incoming. I made the style more consistent in ip.c - this should really have been done as a separate commit.
* Fix -auto breakage introduced with the last commit.brian2000-07-111-1/+1
|
* o Log the (payload/size) of all packet types, not just TCP packetsbrian2000-07-078-33/+157
| | | | | | | | | | | | | | | | | | | o If the new ``filter-decapsulation'' is enabled, delve into UDP packets that contain 0xff 0x03 as the first two bytes, and if we recognise it as PROTO_IP, decapsulate it for the purpose of filter checking. If we recognise it as PROTO_<anything else> mention this for logging purposes only. This change is aimed at people running PPPoUDP where the UDP traffic is being sent over another PPP link. It's desireable to have the top level link connected all the time, but to have the bottom level link capable of decapsulating the traffic and comparing the payload against the filters, thus allowing ``set filter dial ...'' to work in tunnelled environments. The caveat here is that the top ppp cannot employ any compression layers without making the data unreadable for the bottom ppp. ``disable deflate pred1 vj'' and ``deny deflate pred1 vj'' is suggested.
* kldload ng_ether if we need to.brian2000-06-281-2/+8
|
* Don't assign an MTU based on the peers first-link MRU in MP mode.brian2000-06-241-5/+4
| | | | Use the peers MRRU as we're supposed to.
* Fix a printf-style arg cast (again)brian2000-06-231-1/+2
|
* e.g. -> e.g.,brian2000-06-232-4/+4
| | | | Obtained from: OpenBSD
* Correct PPPoE in multi-link modebrian2000-06-221-1/+1
| | | | Submitted by: jason@OpenBSD.org
* Remove ``nat pptp'' as this is now done transparently by libalias.brian2000-06-206-74/+1
|
* Allow padding in LQR ECHO requestsbrian2000-06-201-2/+3
| | | | Problem found by: Tomaz Borstnar <tomaz.borstnar@over.net>
* Don't mis-match interface names in iface_Create()brian2000-06-191-2/+3
| | | | Submitted by: Adrian Penisoara <ady@freebsd.ady.ro>
* Fix a printf-style format errorbrian2000-06-181-1/+1
|
* A few more hard-sentence breaks.brian2000-06-132-22/+28
|
* Hard sentence breaks and trailing space tidy-upsbrian2000-06-112-1054/+1708
| | | | Obtained from: OpenBSD
* Don't oan about padding charactersbrian2000-06-111-2/+0
|
* Add ``set ifqueue'' to control the size of the outgoing packetbrian2000-06-116-2/+57
| | | | | | | queue. Doing ``set ifqueue 0'' and ``set urgent none'' will allow full use of luigi's WF2Q code. Requested by: luigi
* Allow ``set urgent none'' to disable all urgent ports and IPTOS_LOWDELAYbrian2000-06-086-5/+30
| | | | | | prioritisation. Requested by: luigi
* Use mp_CheckAutoloadTimer() rather than mp_StopAutoloadTimer()brian2000-05-311-2/+2
| | | | | | | when opening or closing an auto link due to the autoload setting. Spotted by: David Hedley <david@inty.co.uk>
* Don't use the umask to chmod local domain server sockets, usebrian2000-05-311-1/+1
| | | | the mask
* If the fsm header reports a length greater than the packet size,brian2000-05-261-1/+8
| | | | | drop the packet rather than just whinging about it in the log. If the fsm header has a smaller length, continue to whinge.
* Remove an unused variablebrian2000-05-261-1/+1
|
* When we do a ``dial'' or ``open'' from DATALINK_READY, go tobrian2000-05-262-7/+8
| | | | | | | | | | DATALINK_CARRIER and turn off scripting. This should fix instances where ``term'' is used followed by ~. and then ``dial''/``open'' (it currently just sits there looking at you). Reported by: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
* Fix a topy (if (expr); command;)brian2000-05-251-1/+1
| | | | Submitted by: Renaud Waldura <renaud@guppy.evolunet.com>
* The name /var/log/alias.log is *not* likely to change in the nearbrian2000-05-242-2/+0
| | | | future...
* Mention what ``enable proxy'' actually doesbrian2000-05-242-2/+6
|
* Honour ``set speed sync'' and ``set device !program'' whenbrian2000-05-241-13/+32
| | | | | | | | | used together by creating a SOCK_DGRAM socketpair() between the processes. Be polite when closing !program links and send a HUP to the process. This makes ssh tunnels over unreliable media (such as via httptunnel) reconnect properly.
OpenPOWER on IntegriCloud