Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Install npppd.conf(5) with mode 0600 instead of 0640. npppd.conf(5) can | mvs | 2020-06-22 | 1 | -3/+3 |
| | | | | | | store radius passwords and nothing requires it to be group readable. ok yasuoka@ | ||||
* | remove the reference to tun(4), as suggested by kaya saman, | jmc | 2020-06-13 | 1 | -3/+2 |
| | | | | and advised by dlg; | ||||
* | Prepare buffer for both receive and transmit side so that a client can | yasuoka | 2020-06-09 | 2 | -58/+104 |
| | | | | | use them separately. Actually a version of CISCO does and expects the peer does the same. Also fix some typos. | ||||
* | replace examples of "Ic arg Ic arg" with "Ic arg arg" and stop the spread; | jmc | 2020-04-23 | 1 | -3/+3 |
| | |||||
* | Put the interface down if the kernel fails to enable pipex. | mpi | 2020-04-01 | 1 | -3/+7 |
| | | | | | | | | | This is necessary to not silently continue if pppx_ioctl() returns an error. Found out by and diff from Vitaliy Makkoveev. ok yasuoka@ | ||||
* | do not Xr both pppx and pppac in SEE ALSO, since they are the same page; | jmc | 2020-01-23 | 1 | -2/+1 |
| | |||||
* | use pppac(4) instead of tun(4) | dlg | 2020-01-23 | 2 | -12/+12 |
| | |||||
* | allow npppd to use pppac(4) (once i wire it up) | dlg | 2020-01-23 | 1 | -20/+17 |
| | |||||
* | More correction of section 3 layout. directory->opendir, fts->fts_open, | deraadt | 2019-09-02 | 1 | -5/+5 |
| | | | | | getcap->cgetent. pwcache->user_from_uid. And then repair references. ok jmc | ||||
* | Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h> | guenther | 2019-05-10 | 4 | -12/+8 |
| | | | | ok krw@, jsg@ | ||||
* | macro fix; | jmc | 2019-04-08 | 1 | -3/+3 |
| | |||||
* | fix some cases of spaces before full stops, where none were neccessary; | jmc | 2019-03-10 | 1 | -3/+3 |
| | |||||
* | remove unused includes | denis | 2019-02-27 | 10 | -29/+18 |
| | | | | OK yasuoka@ | ||||
* | errror -> error in log messages; from alessandro gallo | jmc | 2019-02-22 | 2 | -6/+6 |
| | |||||
* | fix attribute name | denis | 2019-02-20 | 1 | -3/+3 |
| | |||||
* | (unsigned) means (unsigned int) which on ptrdiff_t or size_t or other | deraadt | 2019-02-13 | 1 | -3/+3 |
| | | | | | | larger types really is a range reduction... Almost any cast to (unsigned) is a bug. ok millert tb benno | ||||
* | PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() calls | krw | 2019-01-22 | 1 | -2/+2 |
| | | | | | | where the "wrong" #define was used. ok dlg@ | ||||
* | Delete unnecessary <libgen.h> #includes | guenther | 2018-12-30 | 1 | -3/+2 |
| | | | | ok deraadt@ | ||||
* | - odd condition/test in PF lexer | sashan | 2018-11-01 | 1 | -2/+3 |
| | | | | | | | | | | | | | | (and other lexers too) This commit rectifies earlier change: in the lex... even inside quotes, a \ followed by space or tab should expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). OK deraadt@, OK millert@ | ||||
* | Fix the prefix length of the IP address in the error message which shows | yasuoka | 2018-07-25 | 1 | -3/+3 |
| | | | | | failure of assigning requested IP address on IPCP, it was mistakenly "-1" on little endians. Found by IIJ. | ||||
* | No need to mention which memory allocation entry point failed (malloc, | krw | 2018-07-09 | 1 | -4/+4 |
| | | | | | | | | | calloc or strdup), we just need to log that we ran out of memory in a particular function. Recommended by florian@ and deraadt@ ok benno@ henning@ tb@ | ||||
* | Be consistent in warn() and log_warn() usage when | krw | 2018-07-08 | 1 | -3/+3 |
| | | | | | | | | running out of memory. Next step, be correct *and* consistent. ok dennis@ tb@ benno@ schwarze@ | ||||
* | remove the SECTIONS header, since a one line DESCRIPTION is a bit silly; | jmc | 2018-06-18 | 1 | -4/+4 |
| | | | | | | | use a more general text for the sections, and avoid the catchup issue that was trying to document how many there were; ok benno rob | ||||
* | Consistently spell "IPsec" in comments and debug outputs. | mpi | 2018-03-16 | 1 | -3/+3 |
| | | | | From Raf Czlonka, ok sthen@ | ||||
* | Remove useless <sys/socketvar.h> includes. | mpi | 2018-01-05 | 1 | -2/+1 |
| | | | | ok kettenis@, visa@, claudio@, deraadt@ | ||||
* | The problem when npppd receives a zero length 1701/udp packet seemed to | yasuoka | 2017-10-06 | 1 | -3/+3 |
| | | | | be fixed at 1.16, but it wasn't fixed. Fix it again. | ||||
* | add a new option to set limits on max-sessions each IPCP. | goda | 2017-08-12 | 6 | -10/+148 |
| | | | | | | | It can set limits on different max-sessions if there're using several protocols such as PPPoE and L2TP/IPsec. ok yasuoka@ | ||||
* | add a new option to set limits on user-max-sessions each AUTHENTICATION. | goda | 2017-08-11 | 8 | -22/+60 |
| | | | | | | | It can set limits on different user-max-sessions if there're using several protocols such as PPPoE and L2TP/IPsec. ok yasuoka@ | ||||
* | display MRU each sessions in npppctl session command | goda | 2017-08-11 | 2 | -2/+4 |
| | | | | ok yasuoka@ | ||||
* | man pages with pseudo synopses which list filenames end up creating | jmc | 2017-07-13 | 1 | -4/+7 |
| | | | | | | | | | | very ugly output in man -k; after some discussion with ingo, we feel the simplest fix is to remove such SYNOPSIS sections: the info is hardly helpful at page top, is contained already in FILES, and there are sufficiently few that just zapping them is simple; ok schwarze, who also helpfully ran things through a build to check output; | ||||
* | no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing | espie | 2017-07-03 | 1 | -1/+2 |
| | | | | | | instead of CLEANFILES += y.tab.h okay millert@ | ||||
* | Remove never used ifdefs, define FATAL macro properly and define function | yasuoka | 2017-05-30 | 3 | -153/+31 |
| | | | | parameters in modern way. | ||||
* | Stop using __P macro. | yasuoka | 2017-05-30 | 11 | -129/+114 |
| | |||||
* | Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been | natano | 2017-04-19 | 2 | -5/+5 |
| | | | | | | around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka | ||||
* | Warn if pipex(4) is disabled but the configuration uses it. | yasuoka | 2017-04-18 | 1 | -5/+19 |
| | |||||
* | Delete #include lines which are unnecessary. | yasuoka | 2017-04-18 | 1 | -9/+2 |
| | |||||
* | From a syslog perspective it does not make sense to log fatal and | bluhm | 2017-03-21 | 1 | -6/+6 |
| | | | | | | warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@ | ||||
* | The default for the strip-nt-domain attribute is "yes", so fix up | patrick | 2017-02-22 | 1 | -3/+3 |
| | | | | | | the manpage to not tell lies. ok yasuoka@ | ||||
* | Delete lines which are misleading and unneeded. | yasuoka | 2017-02-22 | 1 | -5/+2 |
| | | | | spotted patrick | ||||
* | Stop using "DEBUG" make variable for extra debugs. | yasuoka | 2017-02-21 | 1 | -11/+10 |
| | |||||
* | Replace hand-rolled for(;;) traversal of ctl_conns TAILQ with | krw | 2017-01-09 | 1 | -4/+5 |
| | | | | | | | | TAILQ_FOREACH(). No intentional functional change. ok reyk@ | ||||
* | Remove the use of cast. It is unnecessary and potentially problematic. | yasuoka | 2016-09-21 | 1 | -3/+3 |
| | | | | | input semarie ok deraadt | ||||
* | Fix about the default value of pptp-hostname. It's an empty string. | yasuoka | 2016-09-07 | 1 | -4/+3 |
| | | | | Reported by Joe Holden. | ||||
* | Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...). | natano | 2016-05-28 | 2 | -19/+8 |
| | | | | ok deraadt jca | ||||
* | Improve and clarify a few bits; with input from jmc@, ok yasuoka, jmc | mikeb | 2016-05-26 | 1 | -12/+13 |
| | |||||
* | Change last non-/gnu/ fcntl(x, F_GETFL, 0) strays to fcntl(x, F_GETFL). | krw | 2016-04-16 | 2 | -7/+7 |
| | | | | | | No functional change. ok millert@ | ||||
* | Move more fcntl(,F_GETFL,0) -> fcntl(,F_GETFL). | krw | 2016-04-05 | 1 | -4/+3 |
| | | | | | | No functional change. ok guenther@ | ||||
* | Log the reply message from RADIUS server when the authenticaion fails. | yasuoka | 2016-03-22 | 2 | -4/+34 |
| | | | | Diff from Yuuichi Someya | ||||
* | Cleanup control sockets in control_cleanup(). | yasuoka | 2016-03-22 | 1 | -1/+7 |
| | | | | Diff from Yuuichi Someya. | ||||
* | Use SOCK_NONBLOCK in socket() and accept4() instead of a separate fcntl() | krw | 2016-03-22 | 1 | -20/+4 |
| | | | | | | | | dance. Inspired by guenther@ ok millert@ yasuoka@ |