Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | spellings | 2021-03-29 | 24 | -102/+102 | |
| | | | | suggested by jsg | ||||
* | Expand the maximum length for CHAP challenge to 96 octets. npppd | 2021-03-10 | 1 | -2/+2 | |
| | | | | | | couldn't handle ICCN message which has a ProxyAuthenChallenge AVP longer than 24 octets. Juniper actually send such challenges. Reported and tested by Ryan Freeman. | ||||
* | Fix "phone number" spelling. | 2021-03-10 | 1 | -3/+3 | |
| | | | | ok yasuoka@ | ||||
* | Fix some heap over-read in logging in PPTP protocol handler. | 2021-03-05 | 2 | -18/+17 | |
| | |||||
* | Remove dummy TUNSIFMODE ioctl(2) call from pppac(4) and npppd(8). Since | 2021-02-01 | 1 | -13/+2 | |
| | | | | | | OpenBSD 6.7 npppd(8) can't work over tun(4). ok yasuoka@ | ||||
* | Remove PIPEX{S,G}MODE ioctl(2) commands. This time they are pretty dummy | 2021-01-02 | 1 | -46/+3 | |
| | | | | | | and were kept only for backward compatibility reasons. ok mpi@ yasuoka@ | ||||
* | The result of getifaddrs() not used in pppoed_reload(). Remove it. | 2020-12-30 | 1 | -13/+2 | |
| | | | | ok mvs@ kn@ | ||||
* | getifaddrs() can return entries where ifa_addr is NULL. Check for this | 2020-12-30 | 1 | -3/+4 | |
| | | | | | before accessing anything in ifa_addr. ok claudio@ | ||||
* | getifaddrs() can return entries where ifa_addr is NULL. Check for this | 2020-12-30 | 1 | -4/+5 | |
| | | | | | before accessing anything in ifa_addr. ok claudio@ | ||||
* | Some times ago we disabled in-kernel timeout for pppx(4) related | 2020-08-09 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | pipex(4) sessions. We did this for prevent use after free issue caused by pipex_timer(). By default "idle-timeout" is not set in npppd.conf(5) and I guess this is reason for we forgot to describe this exception in npppd.conf(5). Since it's pppx(4) related bug description was added to BUGS section of pppx(4) man page. npppd.conf(5) has this exception described in "idle-timeout" section. ok jmc@ yasuoka@ | ||||
* | Install npppd.conf(5) with mode 0600 instead of 0640. npppd.conf(5) can | 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, | 2020-06-13 | 1 | -3/+2 | |
| | | | | and advised by dlg; | ||||
* | Prepare buffer for both receive and transmit side so that a client can | 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; | 2020-04-23 | 1 | -3/+3 | |
| | |||||
* | Put the interface down if the kernel fails to enable pipex. | 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; | 2020-01-23 | 1 | -2/+1 | |
| | |||||
* | use pppac(4) instead of tun(4) | 2020-01-23 | 2 | -12/+12 | |
| | |||||
* | allow npppd to use pppac(4) (once i wire it up) | 2020-01-23 | 1 | -20/+17 | |
| | |||||
* | More correction of section 3 layout. directory->opendir, fts->fts_open, | 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> | 2019-05-10 | 4 | -12/+8 | |
| | | | | ok krw@, jsg@ | ||||
* | macro fix; | 2019-04-08 | 1 | -3/+3 | |
| | |||||
* | fix some cases of spaces before full stops, where none were neccessary; | 2019-03-10 | 1 | -3/+3 | |
| | |||||
* | remove unused includes | 2019-02-27 | 10 | -29/+18 | |
| | | | | OK yasuoka@ | ||||
* | errror -> error in log messages; from alessandro gallo | 2019-02-22 | 2 | -6/+6 | |
| | |||||
* | fix attribute name | 2019-02-20 | 1 | -3/+3 | |
| | |||||
* | (unsigned) means (unsigned int) which on ptrdiff_t or size_t or other | 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 | 2019-01-22 | 1 | -2/+2 | |
| | | | | | | where the "wrong" #define was used. ok dlg@ | ||||
* | Delete unnecessary <libgen.h> #includes | 2018-12-30 | 1 | -3/+2 | |
| | | | | ok deraadt@ | ||||
* | - odd condition/test in PF lexer | 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 | 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, | 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 | 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; | 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. | 2018-03-16 | 1 | -3/+3 | |
| | | | | From Raf Czlonka, ok sthen@ | ||||
* | Remove useless <sys/socketvar.h> includes. | 2018-01-05 | 1 | -2/+1 | |
| | | | | ok kettenis@, visa@, claudio@, deraadt@ | ||||
* | The problem when npppd receives a zero length 1701/udp packet seemed to | 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. | 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. | 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 | 2017-08-11 | 2 | -2/+4 | |
| | | | | ok yasuoka@ | ||||
* | man pages with pseudo synopses which list filenames end up creating | 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 | 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 | 2017-05-30 | 3 | -153/+31 | |
| | | | | parameters in modern way. | ||||
* | Stop using __P macro. | 2017-05-30 | 11 | -129/+114 | |
| | |||||
* | Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been | 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. | 2017-04-18 | 1 | -5/+19 | |
| | |||||
* | Delete #include lines which are unnecessary. | 2017-04-18 | 1 | -9/+2 | |
| | |||||
* | From a syslog perspective it does not make sense to log fatal and | 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 | 2017-02-22 | 1 | -3/+3 | |
| | | | | | | the manpage to not tell lies. ok yasuoka@ | ||||
* | Delete lines which are misleading and unneeded. | 2017-02-22 | 1 | -5/+2 | |
| | | | | spotted patrick | ||||
* | Stop using "DEBUG" make variable for extra debugs. | 2017-02-21 | 1 | -11/+10 | |
| |