summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a ton of speelling errorseadler2015-10-212-3/+3
| | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337
* Use existing CONFDIR instead of adding a new CONFIGDIRbapt2015-10-111-1/+1
| | | | Reported by: jbeich
* Install bsd.confs.mkbapt2015-10-101-1/+1
| | | | Rename ETCDIR into CONFIGDIR to avoid conflicts with the ports tree
* Move ppp.conf into the ppp sourcesbapt2015-10-092-0/+40
|
* Add META_MODE support.sjg2015-06-131-0/+27
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-278-24/+17
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-2/+2
| |\
| * \ Merge head from 7/28sjg2014-08-192-5/+4
| |\ \
| * | | Updated dependenciessjg2014-05-161-0/+1
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \
| * \ \ \ Merge headsjg2014-04-284-31/+8
| |\ \ \ \
| * \ \ \ \ Merge from headsjg2013-09-055-45/+17
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | |
| * | | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | | |
| * | | | | | Sync with HEAD.obrien2013-02-084-15/+14
| |\ \ \ \ \ \
| | \ \ \ \ \ \
| | \ \ \ \ \ \
| *-. \ \ \ \ \ \ Sync from headsjg2012-11-043-43/+24
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+29
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | Stop including if_var.h from userland.glebius2015-04-061-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: Nginx, Inc.
* | | | | | | | | Conditionalize building radius support into libpam, ppp, etc viangie2015-02-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | | | | | Fix multiple instances of the following clang 3.6.0 warning in ppp:dim2015-01-285-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usr.sbin/ppp/command.c:2054:74: error: address of array 'arg->bundle->radius.cfg.file' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (arg->bundle->radius.alive.interval && !arg->bundle->radius.cfg.file) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In all cases, the file field of struct radius is a char array, but the intent was to check whether the string is empty, so add an indirection to achieve that. Use a similar approach for the sockname field of struct server.
* | | | | | | | | Convert usr.sbin to LIBADDbapt2014-11-251-12/+6
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking
* | | | | | | | Change file permissions for some setuid executables so they are "o+r".neel2014-08-211-2/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The executable itself doesn't contain any privileged information. An example of where this is useful is when makefs(8) is creating an image that includes /sbin/shutdown. This can now be done without root privileges. Reviewed by: delphij Discussed with: delphij, des CR: https://reviews.freebsd.org/D662
* | | | | | | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | | | | When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS andimp2014-06-061-2/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove the now-redundant checks for RELEASE_CRUNCH. This originally was defined for building smaller sysinstall images, but was later also used by picobsd builds for a similar purpose. Now that we've moved away from sysinstall, picobsd is the only remaining consumer of this interface. Adding these two options reduces the RELEASE_CRUNCH special cases in the tree by half.
* | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | from the latter.
* | | | | Garbage collect long time obsoleted (or never used) stuff from routing API.glebius2014-03-151-17/+2
| | | | |
* | | | | In chat_UpdateSet(), initialize the input buffer to prevent stale databrueffer2014-02-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from previous timed out commands. PR: 186530 Submitted by: Alexander Zagrebin <alexz at visp.ru> Reviewed by: brian MFC after: 1 week
* | | | | mdoc: minor paragraph fixes.joel2014-02-081-13/+0
| | | | |
* | | | | Fix logic error. MPPE only accepts protocol numbers 0x21 through 0xFA.kevlo2013-10-161-1/+1
| |_|_|/ |/| | | | | | | | | | | PR: bin/175974
* | | | Remove ancient code for FreeBSD 2.x compatibility.rmh2013-07-052-12/+3
| | | | | | | | | | | | | | | | Reviewed by: brian, freebsd-net
* | | | Move ppp.8.m4 back to ppp.8 and de-ifdef it.brian2013-06-022-32/+13
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: joel MFC after: 1 week
* | | | - Correct mispellings of the word occurrencegabor2013-04-171-1/+1
| |_|/ |/| | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* | | Retire struct sockaddr_inarp.glebius2013-01-311-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ARP and routing are separated, "proxy only" entries don't have any meaning, thus we don't need additional field in sockaddr to pass SIN_PROXY flag. New kernel is binary compatible with old tools, since sizes of sockaddr_inarp and sockaddr_in match, and sa_family are filled with same value. The structure declaration is left for compatibility with third party software, but in tree code no longer use it. Reviewed by: ru, andre, net@
* | | A number of places in the source tree still reference cuad.* aftereadler2012-12-083-12/+12
| |/ |/| | | | | | | | | | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* | remove duplicate semicolons where possible.eadler2012-10-221-1/+1
| | | | | | | | | | Approved by: cperciva MFC after: 1 week
* | Some 3G modems return the wrong signature in echo packets and make itn_hibma2012-10-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | impossible to use LQR/ECHO. They return want_magic instead. With this change it is now possible to use enable lqr set lqrperiod 5 enable echo set echoperiod 5 in your ppp.conf file. MFC after: 3 days
* | mdoc fixes.joel2012-09-081-41/+21
|/
* Fix build:delphij2012-05-231-7/+7
| | | | | | | - Use %ll instead of %q for explicit long long casts; - Use %j instead of %q in XFS and cast to intmax_t. Tested with: make universe
* Handle NULL return from crypt(3). Mostly from DragonFlykevlo2012-02-221-1/+3
|
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+1
| | | | | | | error: variable 'len' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+1
| | | | | | | error: variable 'extra_async_bytes' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC After: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+1
| | | | | | | | error: variable 'addrs' set but not used Approved by: dim Approved by: cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC After: 3 days
* Spelling fixes for usr.sbin/uqs2011-12-306-12/+12
|
* Remove duplicated header fileskevlo2011-06-241-1/+0
|
* Add "iface name" and "iface description" commands.brian2011-02-078-24/+177
| | | | | | PR: 151400 Submitted by: Aragon Gouveia - aragon at phat dot za dot net with minor fixes MFC after: 3 weeks
* Log if fopen() fails.glebius2010-10-181-1/+4
| | | | Reviewed by: brian
* Bugfix: Reset the packet counters at the same time as the byte counts.n_hibma2010-09-181-2/+2
| | | | | Reviewed by: brian MFC after: 3 weeks
* Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butjhb2010-08-061-0/+1
| | | | | | | | use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. Reviewed by: syrinx (bsnmpd) MFC after: 1 week
* Need to set the proper flag bit when inserting ARPqingli2010-03-181-1/+1
| | | | | | entries into the kernel. MFC after: 3 days
OpenPOWER on IntegriCloud