summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
* The ppp application relies on the if_tun interface to properlyqingli2008-12-191-1/+3
| | | | | | | install a p2p host route between the end points. The ppp module upates this router based on user configuration later on. The rt_Update() seems to always set the RTF_GATEWAY flag, which is broken.
* This main goals of this project are:qingli2008-12-151-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* Make ppp use <termios.h>, not <sys/tty.h>.ed2008-06-051-1/+1
| | | | | | | | ppp's physical.c is filled with calls to termios. For some reason, it includes <sys/tty.h>, not <termios.h>. Even though this works with the current version of FreeBSD, we'd better follow the standards. Approved by: philip (mentor)
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-264-484/+2
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Update to the "new" libalias API (and thus fix world breakage).piso2008-03-124-23/+30
|
* Revert previous commit and fix OpenPAM issue properly.des2007-12-221-6/+6
|
* Fix/workaround build breakage caused by PAM importkmacy2007-12-211-1/+1
| | | | | struct pam_conv takes a void * for the appdata_ptr but is being passed a const char * - explicitly cast away the const
* Use uintptr_t to cast a pointer to an integer to avoid compiler warningsjb2007-11-172-2/+2
| | | | on processors where sizeof(void *) > sizeof(int).
* I4B header files are now installed in include/i4b/ and no longerbz2007-07-061-5/+0
| | | | | | | | in include/machine/. Adapt #include paths. Approved by: re (kensmith)
* Cleanup after previous commit.brueffer2007-05-251-3/+5
|
* Add a new option for ppp.conf: rad_port_id. It allows tonovel2007-05-254-12/+80
| | | | | | | | | | | | | | | change the way of what ppp submits to the RADIUS server as NAS-Port-Id. Possible options are: the PID of the process owning the corresponding interface, tun(4) interface number, interface index (as it would get returned by if_nametoindex(3)), or it's possible to keep the default behavior. Check the ppp(8) manual page for details. PR: bin/112764 Submitted by: novel (myself) Reviewed by: flz Approved by: flz MFC after: 1 month
* Check the return value from rad_cvt_ipv6prefix().ume2007-03-011-1/+7
| | | | | PR: bin/89808 MFC after: 1 week
* MFp4: struct fsm_opt_hdr needs to be __packed as it is used as an array forticso2007-01-051-1/+1
| | | | | handling wire data This is required to get ppp working on arm.
* Listen to a control socket on an IPv4 as well throughume2006-09-181-0/+7
| | | | | | | | an IPv4-mapped IPv6 address. Reported by: Julian H. Stacey <jhs__at__flat.berklix.net> Test by: Julian H. Stacey <jhs__at__flat.berklix.net> MFC after: 1 week
* Remove leading zerosbrian2006-09-061-1/+1
| | | | Suggested by: mdoc police (ru)
* Remove __DATE__ so that compiling the same source produces the same binarybrian2006-09-062-4/+5
| | | | (for non-static binaries at least).
* If the peer REJects our MRU request and that request is for a valuebrian2006-09-061-0/+3
| | | | less than the current MTU, set our mtu to the value requested.
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-5/+7
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Fix a typobrian2005-09-221-1/+1
| | | | Obtained from: OpenBSD
* Remove this file as it's mostly out of date. Up-to-date info such asbrian2005-09-121-49/+0
| | | | | | the program's origin is already in the man page. Update requested by: Xavier Venient & Jason McIntyre
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-131-5/+0
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* The kernel doesn't need to include a tun device - the module will be loadedbrian2005-05-061-7/+0
| | | | on demand if required.
* Update the manual page for ppp(8).jcamou2005-04-281-21/+3
| | | | | | | PR: docs/78605 Submitted by: John E. Hein <jhein@timing.com> Approved by: trhodes (mentor) MFC after: 1 day
* Be concerned about huge callback numbers by truncating them rather thanbrian2005-02-151-5/+9
| | | | | | scribbling past the end of our buffer. Problem spotted by: Damien COUDERC couderc at openbsd dot org
* Expand contractions.ru2005-02-131-42/+42
|
* Expand *n't contractions.ru2005-02-131-29/+29
|
* Use the correct length when copying trailing data!!brian2005-02-081-1/+1
| | | | | | PR: 77104 Submitted by: Martin Birgmeier martin at email dot aon dot at MFC after: 3 days
* Add a radius_Flush() function that waits for the response (or timeout) tobrian2005-01-274-0/+23
| | | | | | | | | | | | | | any pending RADIUS transaction. Use this before sending RAD_STOP RADIUS messages so that we definitely ``stop'' the session. It was discovered that sometimes when the link timed out, we got lucky enough to have an un-ACK'd RADIUS accounting transaction in progress, resulting in the RAD_STOP message failing to send. Original report found on: A russion news group Text translated by: glebius Tested by: Alexey Popov llp at iteranet dot com MFC after: 7 days
* Fixed xref.ru2005-01-211-1/+1
|
* 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
|
OpenPOWER on IntegriCloud