summaryrefslogtreecommitdiff
path: root/usr.sbin/npppd
AgeCommit message (Collapse)Author
2013-09-20Don't assume the length of chap challenges.YASUOKA Masahiko
2013-09-20Add length check for Proxy LCP and Authentication AVPs.YASUOKA Masahiko
2013-09-13fix some gcc warningsYASUOKA Masahiko
2013-09-11some npppd.conf(5) should be npppd(8).YASUOKA Masahiko
2013-08-26replace rand(3)/random(3) calls with secure arc4random*()Christian Weisgerber
npppd ok yasuoka@ ok millert@
2013-08-24Extraneous local variable with useless increment applied.Mike Larkin
found by Maxime Villard
2013-08-12Clarify what "mru" config option does.YASUOKA Masahiko
input and ok giovanni jmc
2013-06-03Stop doing pipex ioctl if no tunnel interface is configured.YASUOKA Masahiko
2013-04-26fix typo in comment; OK yasuoka@Gleydson Soares
2013-04-20Don't use random() because it's not safe. Use arc4random() instead ofYASUOKA Masahiko
it. Suggested by deraadt.
2013-04-20PPPoE server was broken since last configuration rework. CallingYASUOKA Masahiko
pppoed_init() was accidentally deleted. Revert it in npppd_init() and rearrange l2tpd_init() and pptpd_init() to the same place. ok todd
2013-04-16Fix some AVPs of SCCRP to comply RFC 2661.YASUOKA Masahiko
- Firmware revision and vendor name AVP are not mandatory. - Hostname AVP must have 1 octect at least.
2013-04-16Fixed `max-session' and `user-max-session'. They has been broken by theYASUOKA Masahiko
configuration reworking.
2013-04-16Existing authentication realms are removed mistakenly whenYASUOKA Masahiko
the configuration is reloaded.
2013-04-16Configuration option `strip-nt-domain' and `strip-atmark-realm' didn'tYASUOKA Masahiko
work since the parser mistakenly treated them as `eap-capable' option. Pointed out by markus
2013-04-16pppoed didn't work since it has been broken after the lastYASUOKA Masahiko
configuration parser change. pointed out by todd.
2013-04-06Turn an error into a warning to be able to start l2tp tunnels even ifGiovanni Bechis
gre is not allowed. ok yasuoka@
2013-03-19typo: icpp/ipcp; from Renaud AllardStuart Henderson
2013-03-14Install npppd.conf with perms 0640, there could be the radius config on this ↵Giovanni Bechis
file ok yasuoka@
2013-03-14Remove some faith-related #ifdef'd code that was only used for old IIJMartin Pieuchot
products and never enabled in our tree. ok yasuoka@
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories...
2013-03-11do not start npppd if a pptp tunnel is configured but the gre protocol is notGiovanni Bechis
enabled. ok yasuoka@
2013-02-13Pipex did panic when the 0 length mppe is given by ioctl. ReturnYASUOKA Masahiko
EINVAL instead of panic. Also npppd called ioctl with the invalid argument because of the bugs introduced by the config parser change commit. Fixed those bugs and make sure not to use 0 length keys for MPPE. reported by csszep at gmail and giovanni ok giovanni
2013-02-08Fix memory leak in privsep.c. Free the memories which were allocated byYASUOKA Masahiko
getcap(3).
2013-02-08add mention about 'mppe' configuration option which is missing.YASUOKA Masahiko
pointed out by csszep at gmail.com
2013-02-08Because of the getcap(3) limitation, colon(':') can not be used forYASUOKA Masahiko
password or username in npppd.conf. Add this in the BUGS section. pointed out by and ok giovanni
2013-02-08Listening on IPv6 address is not supported for pptp tunnel. DocumentYASUOKA Masahiko
this to the man page and refuse it by the config parser.
2013-02-06remove unused constant definitionGiovanni Bechis
ok yasuoka@
2013-02-06remove duplicated CPPFLAGS definitionGiovanni Bechis
ok yasuoka@
2013-01-31port numbers for radius servers were not configured correctly.YASUOKA Masahiko
pointed out by mxb and Robert Blacquiere
2013-01-31Deleting ip address of tun inteface was failed. This was caused byYASUOKA Masahiko
passing wrong inteface name to ioctl(). pointed out by csszep at gmail.com
2013-01-29Add pppx.4 and enable links to it.YASUOKA Masahiko
ok dlg@
2013-01-07Remove inline from ppp_output() function to fix building with LLVM.Brad Smith
ok yasuoka@ millert@
2012-12-19Remove extra semicolon in "if (...);" which caused an incorrect flag toStuart Henderson
be set in _this->keylenbits. Found by scanning the tree using coccinelle. ok yasuoka
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-11-28Including ../../Makefile.inc was loop when npppd/obj is not a symbolic link.YASUOKA Masahiko
Delete Makefile.inc and define BINDIR at npppd/Makefile directly.
2012-11-13Add accept.c from ldpd and use it to handle file descriptor exhaustionYASUOKA Masahiko
in accept() case. "go for it" deraadt
2012-11-13Constify arguments to sendto_nat_t and add missingYASUOKA Masahiko
#include "recvfromto.h" to l2tp_ctrl.c. no binary changes.
2012-09-28framed-ip-address and framed-ip-netmask were not working.YASUOKA Masahiko
pointed out by Andrew Ngo.
2012-09-22gcc2 doesn't like unnamed fields. make this compile on vax again.Marc Espie
"looks right" deraadt@
2012-09-22various fixes; ok yasuokaJason McIntyre
2012-09-21various tweaks;Jason McIntyre
2012-09-20various fixes; ok yasuokaJason McIntyre
2012-09-20Enable npppd and npppctl in default build. Add npppd to rc andYASUOKA Masahiko
install sample configs to /etc/. ok claudio deraadt henning mcbride
2012-09-19tweak man pages.YASUOKA Masahiko
- new sentence, new line - on npppd.8 BUGS section, clarified that what is dropped is L2TP/IPsec packets these must be included the previous commit.
2012-09-19tweak man pages.YASUOKA Masahiko
- add missing copyright - delete comment lines from the template - new sentence, new line - on npppd.8 BUGS section, clarified that what is dropped is L2TP/IPsec packets
2012-09-19cleanup around the pipex. naming style, delete or update comments.YASUOKA Masahiko
no functional changes.
2012-09-19remove files that became unused by new configuration syntax.YASUOKA Masahiko
2012-09-18fix mandoc -Tlint warnings.YASUOKA Masahiko
2012-09-18New configuration syntax for npppd(8). `npppd.conf' will be based onYASUOKA Masahiko
parse.y and `npppd-users' will be based on getcap(3). Add man pages. feedback from giovanni