summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
* Scheduled mdoc(7) sweep.ru2005-01-111-1/+1
|
* Use the standard BSD copyright as per OpenBSD and /sys/net/slcompress*brian2005-01-102-31/+59
|
* Cast unsigned variables to intbrian2005-01-101-1/+1
|
* ifr_flagshigh is FreeBSD specificbrian2005-01-101-0/+6
|
* Integrate some OpenBSD alignment fixes. This hopefully also fixes PR 38058...brian2005-01-102-27/+35
| | | | Obtained from: Brad <brad@comstyle.com>
* NOPAM -> NO_PAMru2004-12-211-0/+3
|
* Overhaul ppp(8) build options so they are safe to use inru2004-12-211-18/+26
| | | | | | | | | | | | | | | | /etc/make.conf: NOALIAS -> retired (support provided by PPP_NO_NAT) NOATM -> PPP_NO_ATM (also subject to NO_ATM global) NODES -> PPP_NO_DES (support was broken, now recovered) NOI4B -> PPP_NO_I4B (also subject to NO_I4B global) NOKLDLOAD -> PPP_NO_KLDLOAD NONAT -> PPP_NO_NAT NONETGRAPH -> PPP_NO_NETGRAPH NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global) NORADIUS -> PPP_NO_RADIUS NOSUID -> retired (support provided by PPP_NO_SUID) PPP_NOSUID -> PPP_NO_SUID
* The C define is NONAT.ru2004-12-211-1/+1
|
* NOINET6 -> NO_INET6ru2004-12-211-1/+1
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* NOATM -> NO_ATMru2004-12-211-2/+2
|
* Describe the special meaning of the $ and ~ characters, and the factroam2004-12-161-0/+20
| | | | | | | | that you can get around it by double-quoting them. PR: 42762 Submitted by: AIDA Shinra <aida-s@jcom.home.ne.jp> Discussed with: brian
* Implement an ``enable/disable echo'' option, defaults to off.brian2004-12-135-35/+109
| | | | | | | | | This allows LCP ECHOs to be enabled independently of LQR reports. Note: This introduces a change in the default behaviour (search for lqr and echo in the man page). I'll update UPDATING to reflect this. PR: 74821
* Send NAS-IP-Address as well as NAS-Identifierbrian2004-11-296-57/+120
| | | | | | | | Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to support pre-rfc2865 RADIUS servers. This pushes our enable/disable items over the 32 bit limit, so reoganise things to allow a bunch more options. Go to version 3.4.1 so that any compatability problems can be identified.
* Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].obrien2004-11-193-13/+13
| | | | | PR: 73879 Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* For variables that are only checked with defined(), don't provideru2004-10-241-8/+8
| | | | any fake value.
* Handle a malloc() failure when allocating urgent portsbrian2004-10-111-3/+8
| | | | PR: 59995
* Add a bunch of malloc() return checksbrian2004-10-119-25/+61
| | | | | PR: 71592 Submitted by: Dan Lukes <dan@obluda.cz> with further changes
* Fixed the NONETGRAPH build.ru2004-09-131-2/+14
| | | | Reported by: wsk@gddsn.org.cn
* Mark bundle as unused in case we're compiled with NORADIUS.phk2004-09-071-3/+3
|
* Fix the NOSUID build: make sure we have the kldload(2) prototype.marcel2004-09-071-0/+2
|
* Build with -DNOINET6...brian2004-09-062-3/+20
|
* Reduce WARNS level to 3. Casting causes alignment warnings on platformsmarcel2004-09-061-1/+1
| | | | with strong alignment (All 64-bit platforms, except amd64).
* Fix the build on 64-bit platforms.marcel2004-09-0610-31/+37
|
* Fix a warningbrian2004-09-051-1/+2
| | | | Submitted by: Stefan Farfeleder <stefanf at FreeBSD dot org>
* Make ppp WARNS=5 cleanbrian2004-09-0575-571/+608
|
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Add configuration option "set pppoe [standard|3Com]" which allowsglebius2004-07-295-3/+47
| | | | | | | to configure mode for ng_pppoe(4) node under control. Reviewed by: brian Approved by: julian (mentor)
* Avoid casts as lvalues.kan2004-07-281-2/+2
|
* Report the number of bytes not written when complaining about failed writesbrian2004-07-201-2/+2
|
* Support a ``set rad_alive N'' command to enable periodic RADIUS accountingbrian2004-07-177-42/+190
| | | | | | | | | | | information being sent to the RADIUS server. Logging of RADIUS accounting information moves to a ``set log [+-]radius'' level, along with the RADIUS alive info, and the version number is bumped to 3.2 to reflect this. Mostly submitted by: alx@sm.ukrtel.net (back in January) MFC after: 3 weeks
* Fix ``set ifaddr''. The code was actually using an uninitialised variable,brian2004-07-151-1/+1
| | | | | | | | | | but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to ncpaddr_getip4addr() became a no-op leaving the local address as it was (defaulting to whatever my hostname resolves to). PR: 62050 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> MFC after: 3 days
* Remove a stray backslashbrian2004-07-141-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-9/+15
|
* Re-implement LQM, this time according to the rfc.brian2004-06-3010-67/+208
| | | | | PR: 11293 MFC after: 4 weeks
* Mention that ``set mtu max'' is necessary for PPPoE.brian2004-06-291-0/+3
| | | | | PR: 32040 MFC after: 2 weeks
* Reduce MAXMSS limit by 12 bytes to allow for rfc 1323.brian2004-06-291-1/+1
| | | | | | PR: 32717 Submitted by: MORI Kouji <moriko@hh.iij4u.or.jp> MFC after: 2 weeks
* If HISMACADDR is set in the environment (by pppoed), pass the value tobrian2004-06-261-0/+16
| | | | | | | | the RADIUS server as RAD_CALLING_STATION_ID. PR: 44310 Submitted by: Gleb Smirnoff <glebius@cell.sick.ru> MFC after: 2 weeks
* Send RADIUS gigaword data when OctetsIn or OctetsOut go over UINT32_MAX.dds2004-05-191-2/+5
| | | | | | PR: bin/61294 Submitted by: Boris Kovalenko MFC after: 3 weeks
* Make getprotobynumber() calls in FilterCheck conditional on the logdds2004-05-131-13/+43
| | | | | | | | | | | | | | | | | | | | | | levels by which they are used. On a typical production setting (no debug or filter logging) this will save an open/read/close system call sequence per packet, approximately halving the system overhead and reducing the overall overhead by 38%. dd bs=1k count=512 if=/usr/share/dict/web2 | ssh ppp-linked-host dd of=/dev/null # time original-ppp -nat -foreground connection Working in foreground mode Using interface: tun0 2.822u 2.404s 2:00.31 4.3% 392+496k 8+18io 3pf+0w # time new-ppp -nat -foreground connection Working in foreground mode Using interface: tun0 2.082u 1.173s 1:26.06 3.7% 379+450k 0+18io 0pf+0w MFC after: 3 weeks
* Add a missing memcpy (*blush*!)brian2004-04-171-4/+8
| | | | | Suggested by: James P Scully <scully@CS.Arizona.EDU>, Perianayagam Somasundaram <somu@CS.Arizona.EDU> MFC after: 10 days
* 2 small typos.charnier2004-04-041-2/+2
|
* Use the length of the interface name, not the length of its address whenbrooks2004-01-211-1/+1
| | | | | | printing the name. Approved by: brian
* Xref the proper manual pages.trhodes2004-01-121-3/+3
| | | | | PR: 60999 Submitted by: Marc Silver <marcs@draenor.org>
* Replace all uses of the old netgraph constants NG_*LEN by the newharti2003-11-152-11/+11
| | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
* Ignore case when comparing CHAP/CHAP81 responsesbrian2003-11-101-7/+12
| | | | PR: 31771
* Basic PAM authentication support.ru2003-10-292-0/+56
|
* Add Cisco Skinny Station protocol support to libalias, natd, and ppp.marcus2003-09-234-0/+34
| | | | | | | | | | | | | | | Skinny is the protocol used by Cisco IP phones to talk to Cisco Call Managers. With this code, one can use a Cisco IP phone behind a FreeBSD NAT gateway. Currently, having the Call Manager behind the NAT gateway is not supported. More information on enabling Skinny support in libalias, natd, and ppp can be found in those applications' manpages. PR: 55843 Reviewed by: ru Approved by: ru MFC after: 30 days
* Hide more crypto from being crunched at release time.markm2003-07-241-1/+1
|
* Don't check for the existance of src/crypto/ for building items thatmarkm2003-07-241-1/+1
| | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient.
OpenPOWER on IntegriCloud