Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-29 | spellings | YASUOKA Masahiko | |
suggested by jsg | |||
2021-03-10 | Fix "phone number" spelling. | Patrick Wildt | |
ok yasuoka@ | |||
2021-03-05 | Fix some heap over-read in logging in PPTP protocol handler. | YASUOKA Masahiko | |
2019-05-10 | Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h> | Philip Guenther | |
ok krw@, jsg@ | |||
2016-04-16 | Change last non-/gnu/ fcntl(x, F_GETFL, 0) strays to fcntl(x, F_GETFL). | Kenneth R Westerback | |
No functional change. ok millert@ | |||
2016-03-21 | Instead of creating a socket with socket() or accept() and then | Philip Guenther | |
setting the O_NONBLOCK flag on it with fcntl(F_SETFL) afterwards, just pass SOCK_NONBLOCK to socket() or accept4() and get it right to begin with. ok millert@ krw@ beck@ deraadt@ jca@ | |||
2015-12-17 | Replace arc4random() % i by arc4random_uniform(i) to avoid modulo bias. | tb | |
Part of a diff by Matthew Martin, reviewed by deraadt@ and me. ok deraadt@ | |||
2015-12-05 | strings.h -> string.h to prevent an implicit declaration. Also remove a | mmcc | |
bunch of NULL-checks before free(). | |||
2015-12-05 | Pass the pppx_hdr when sending packets through the pppx device and use the | YASUOKA Masahiko | |
ppp_id in the pppx_hdr to find the associated ppp when receiving the packets from the device. | |||
2015-06-23 | Fix npppd to check the size of received GRE packets properly. | YASUOKA Masahiko | |
2015-06-23 | Fix the problem when npppd receives a zero length 1701/udp packet. If | YASUOKA 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-05-12 | Fix an uninitialized variable access when pptp.hostname is configured. | YASUOKA Masahiko | |
2015-01-19 | move to <limits.h> universe | Theo de Raadt | |
ok yasuoka | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-07-10 | Tweak accept pacing in pptp. Add handling when accept_add() fails and | YASUOKA Masahiko | |
add logging when accept() fails in EMFILE or ENFILE. | |||
2014-05-30 | Use calloc instead of malloc and memset. | YASUOKA Masahiko | |
from Benjamin Baier | |||
2014-03-22 | Now tunnel can have multiple listen addresses. | YASUOKA Masahiko | |
2014-03-22 | Don't stop listening 1723/tcp when accept() is failed. | YASUOKA Masahiko | |
2014-03-22 | Stop output "Stopped" log message of the tunnel protocols. | YASUOKA Masahiko | |
2013-04-20 | Don't use random() because it's not safe. Use arc4random() instead of | YASUOKA Masahiko | |
it. Suggested by deraadt. | |||
2013-04-20 | PPPoE server was broken since last configuration rework. Calling | YASUOKA 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-06 | Turn an error into a warning to be able to start l2tp tunnels even if | Giovanni Bechis | |
gre is not allowed. ok yasuoka@ | |||
2013-03-14 | Remove some faith-related #ifdef'd code that was only used for old IIJ | Martin Pieuchot | |
products and never enabled in our tree. ok yasuoka@ | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2013-03-11 | do not start npppd if a pptp tunnel is configured but the gre protocol is not | Giovanni Bechis | |
enabled. ok yasuoka@ | |||
2012-11-13 | Add accept.c from ldpd and use it to handle file descriptor exhaustion | YASUOKA Masahiko | |
in accept() case. "go for it" deraadt | |||
2012-09-18 | New configuration syntax for npppd(8). `npppd.conf' will be based on | YASUOKA Masahiko | |
parse.y and `npppd-users' will be based on getcap(3). Add man pages. feedback from giovanni | |||
2012-05-08 | Trivial changes from the upstream(IIJ). | YASUOKA Masahiko | |
- fix styles, compile errors in some ifdef condition and compiler warnings. - delete rtev* that was to work around routing socket overflows. - delete is_ctrl argument from l2tp_ctrl_send_packet(). It's not used. - tweak returning the exit status. - use IPV6_IPSEC_POLICY for IPv6 socket. (though npppd cannot set up a ipsec policy to the socket yet.) ok mcbride henning | |||
2012-05-08 | Fix comments and styles. Delete unused variables and labels. | YASUOKA Masahiko | |
No binary changes. ok mcbride henning | |||
2012-01-18 | Replace npppdctl(8) by new npppctl(8). npppctl was written from | YASUOKA Masahiko | |
scratch, it uses parser.c derived from ikectl(8) to have OpenBSD's fashion. This includes related changes listed below: - changed npppd control IPC heavyly. - support IPv6 as tunnel source address. - deleted support changing the configuration of npppd_ctl on running. Because it is not so needed but it requires privilege operations. - refactors. man page helps from jmc. tested by sebastia. ok deraadt sebastia sthen | |||
2012-01-18 | Fix compiler warnings and some styles. | YASUOKA Masahiko | |
ok sebastia sthen | |||
2011-10-15 | Added "provision for rewound PPP frames" that allows receiving | YASUOKA Masahiko | |
reorder packets to pass to the upper layer without reorder. It will improve performance (throughput or loss rate) for PPTP or L2TP(/IPesc) on networks that latency is unstable such as mobile network. As our test environment (bandwidth: 6Mbps, latency: 50ms for 97% of traffic and 52ms for rest of traffic), throughput has changed from 0.76MB to 2.17MB on file upload by PPTP connected Windows Vista ftp.exe. Developed by UMEZAWA Takeshi at IIJ. ok jmatthew@ tested jmatthew@ and myself. | |||
2011-03-16 | use timerclear macro. while here, fix spelling. | Okan Demirmen | |
ok yasuoka@ | |||
2011-01-20 | - tyop, recieve -> receive | Jasper Lievisse Adriaanse | |
ok sthen@ | |||
2010-09-27 | IP_PIPEX mistakenly was applied to the 1723/tcp socket. Apply the option | YASUOKA Masahiko | |
to the gre socket. | |||
2010-09-24 | Add support pipex for L2TP call and L2TP on IPv6. | YASUOKA Masahiko | |
- pipex requires unique session-id in protocol, so session-id generation algorithm has been changed. - change to fit the new PIPEX ioctl. ok dlg@ | |||
2010-07-02 | add $OpenBSD$ and remove trailing space. no functional change. | YASUOKA Masahiko | |
2010-07-01 | Translate Japanese comments or labels into English. Translation was | YASUOKA Masahiko | |
done by IIJ people (MATSUI Yoshihiro, SAITOH Masanobu, Tomoyuki Sahara), yuo@ and myself. This diff also includes - delete part of useless comments, correct spelling. - add man page of npppdctl. There is no functional change. | |||
2010-01-31 | privilege separation of npppd. | YASUOKA Masahiko | |
- Drop privilege after daemon initializing. - Some system calls that requires root privileges were replaced to wrapper functions that communicate with a separated privileged process via IPC. And the privileged process checks whether the operations are acceptable. | |||
2010-01-13 | cleanup npppd code. delete IIJ local ifdef switches and fix warnings. | YASUOKA Masahiko | |
ok @dlg | |||
2010-01-11 | Initial import npppd(8). npppd is a new PPP daemon that handles many | YASUOKA Masahiko | |
ppp sessions as a server. It supports L2TP, PPTP and PPPoE as tunneling. ok mcbride@ dlg@ deraadt@ reyk@. |