summaryrefslogtreecommitdiff
path: root/usr.sbin/npppd
AgeCommit message (Collapse)Author
2015-09-21typo in documentation.Igor Sobrado
2015-09-13Set the index of the interface in handroller link_addr(3) like code.Martin Pieuchot
This is now necessary on OpenBSD because our routing interface no longer use ifunit() to find the corresponding interface. ok yasuoka@, dlg@
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-07-23Make npppd use libradius(3). Remove radius+ files.YASUOKA Masahiko
2015-07-20Add size and NULL checks in debugutil.cYASUOKA Masahiko
Poined out by Yuuichi Someya at IIJ.
2015-07-20Pass the errcode when disconnecting L2TP call.YASUOKA Masahiko
From Yuuichi Someya at IIJ.
2015-07-20Remove old route to the tunnel interface when the interface's address isYASUOKA Masahiko
changed. From Yuuichi Someya at IIJ.
2015-07-20Add missing initializations in privsep.cYASUOKA Masahiko
From Yuuichi Someya at IIJ.
2015-06-25Fixed a use-after-free. When handing the L2TP Proxy-LCP, a timer was usedYASUOKA Masahiko
to open LCP. If the PPP session is terminated before the timer fires, the timer had been fired with the freed context. Stop using the timer to open LCP.
2015-06-25Reset the LCP option state for dialin-proxy only if re-negotiation isYASUOKA Masahiko
enabled.
2015-06-24tweak previous;Jason McIntyre
2015-06-24Fix npppd to terminate all PPP sessions properly even in case theYASUOKA Masahiko
sending window for L2TP control is full when the control is terminating (by a L2TP keepalive failure or other reasons). In that case, if the L2TP peer didn't respond at all, npppd had kept some PPP sessions forever.
2015-06-24Use the return value of event_loop() properly. Also abort(3) ifYASUOKA Masahiko
event_loop() returns abnormally which is unexpected. diff from Yuuichi Someya
2015-06-24Improve and fix typo in the comment.YASUOKA Masahiko
2015-06-24Mention that pipex should be also configured by sysctl.YASUOKA Masahiko
2015-06-23Fix npppd to check the size of received GRE packets properly.YASUOKA Masahiko
2015-06-23Fix the problem when npppd receives a zero length 1701/udp packet. IfYASUOKA Masahiko
it receives such packets when the errno is not EAGAIN or EINTR, it had closed all L2TP sessions and stoppped the L2TP server. Also fix the receiving GRE packet since it potentially has the same problem.
2015-06-10Typos: equalivant, fucntion, libary.Miod Vallat
2015-05-12Fix an uninitialized variable access when pptp.hostname is configured.YASUOKA Masahiko
2015-05-12Move the logit() prototype so parse.y will see it.Jonathan Gray
ok yasuoka@
2015-04-04gcc 2.x is deadPhilip Guenther
ok millert@
2015-02-17Fix garbage in error message; ok yasuoka@Miod Vallat
2015-01-22Replace some obvious '$OpenBSD' and '$OpenBSD:' typos with '$OpenBSD$'.Kenneth R Westerback
Pointed out by dickman@. ok sthen@ phessler@
2015-01-19move to <limits.h> universeTheo de Raadt
ok yasuoka
2015-01-08Count number of sessions correctly.YASUOKA Masahiko
2014-11-27Fix typos in comments.Tobias Stoeckmann
ok jmc, yasuoka
2014-11-20Yet more #include de-duplication.Kenneth R Westerback
ok deraadt@ tedu@
2014-11-20Don't allow embedded nul characters in strings.Jonathan Gray
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@
2014-11-20remove nt and lanman functions which aren't used. ok reyk yasuokaTed Unangst
2014-11-18Nuke more obvious #include duplications.Kenneth R Westerback
ok deraadt@ millert@ tedu@
2014-11-16Convert the logic in yyerror(). Instead of creating a temporaryAlexander Bluhm
format string, create a temporary message. OK doug@
2014-11-14Add gcc printf format attributes to yyerror() in parse.y files.Doug Hogan
No yyerror() calls needed to be changed. ok bluhm@
2014-11-13Fix a condition which selects log level for errors on routing socket,YASUOKA Masahiko
since it was logically reverse.
2014-11-13When the pool address is changed and there is a PPP session which usesYASUOKA Masahiko
the pool to be deleted, then the PPP session is to be deleted. But the internal radish tree had kept the deleted session. This causes "use-after-free", and it had made npppd crash.
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
ok millert@
2014-10-18Use reallocarray()Theo de Raadt
ok doug
2014-08-23close fd when fdopen failsdoug
ok yasuoka@
2014-08-22remove an uneeded testJonathan Gray
ok yasuoka@
2014-08-14Do not set RTF_MASK, it is not used anymore.Martin Pieuchot
ok yasuoka@
2014-07-22Correct the initializer for tunnconf_default_pptpPhilip Guenther
ok yasuoka@
2014-07-22Handle msgbuf_write() returning EAGAIN.YASUOKA Masahiko
from krw
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
being-standardized <endian.h> ok deraadt@ millert@ beck@
2014-07-18Fix privsep.c. Call missing imsg_free() after imsg_get(). Also addYASUOKA Masahiko
missing #include <net/if.h> to use IFNAMESIZ and replace some strncmp() by startswith().
2014-07-13Some functions need to dup() before sending a socket by imsg and don'tYASUOKA Masahiko
need to close() after sending socket since imsg_compose() closes the passing socket.
2014-07-12Fix a potential bug. privsep.c didn't check the interface nameYASUOKA Masahiko
correctly if it's pppx.
2014-07-12Fix error in previous.YASUOKA Masahiko
2014-07-12Fix the sentence in the BUGS section. Colon is usable for password.YASUOKA Masahiko
Also add a mention about the escape sequence for the password. pointed out giovanni
2014-07-12Use imsg(3) for the IPC between the privileged process and theYASUOKA Masahiko
non-privileged process to be unify the way. Also fix style.
2014-07-10Tweak accept pacing in pptp. Add handling when accept_add() fails andYASUOKA Masahiko
add logging when accept() fails in EMFILE or ENFILE.
2014-07-08Fix a double free bug in parsing the config. It had occurred when aYASUOKA Masahiko
syntax error exists in radius {authentication,accounting}-server configuration. No need to free curr_radconf because it is a part of auth_conf. Pointed out Vladimir Seleznev