| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
suggested by jsg
|
|
|
|
|
| |
before accessing anything in ifa_addr.
ok claudio@
|
|
|
|
| |
ok kettenis@, visa@, claudio@, deraadt@
|
|
|
|
| |
parameters in modern way.
|
| |
|
|
|
|
|
| |
input semarie
ok deraadt
|
|
|
|
| |
Feedback millert@ kettenis@
|
| |
|
| |
|
|
|
|
|
|
| |
Part of a diff by Matthew Martin, reviewed by deraadt@ and me.
ok deraadt@
|
|
|
|
| |
bunch of NULL-checks before free().
|
| |
|
|
|
|
| |
Poined out by Yuuichi Someya at IIJ.
|
|
|
|
| |
ok millert@
|
|
|
|
| |
ok yasuoka
|
|
|
|
| |
ok deraadt@ millert@ tedu@
|
|
|
|
| |
from Benjamin Baier
|
|
|
|
| |
command for npppctl(8) to monitor PPP session start/stop events.
|
|
|
|
|
|
| |
(namespace pollution!) or talking about its opinion on code.
ok krw@
|
|
|
|
| |
it. Suggested by deraadt.
|
|
|
|
| |
ok guenther millert kettenis
|
|
|
|
| |
#include "recvfromto.h" to l2tp_ctrl.c. no binary changes.
|
| |
|
|
|
|
|
|
|
| |
can use this to select the IPsec tunnel for sending L2TP packets.
this fixes Windows (always binding to 1701) and Android clients
(negotiating wildcard flows); feedback mpf@ and yasuoka@;
ok henning@ and yasuoka@; ok jmc@ for the manpage
|
|
|
|
| |
This was forgotten on the prior commit.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
No binary changes.
ok mcbride henning
|
|
|
|
| |
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Changed finalizing way to the privileged process. In old way, the
privileged process could not aware abnormal exit of the process in
jail. Then the processes in jail remained as zombies. Created a
pipe to monitor the privileged process, the privileged process can
exit in peace by using the pipe.
- npppd will exit abnormally when the privileged process exits
abnormally.
- PF_KEY socket requires privileges.
- Return correct "errno" to the jail in priv_open().
- Cleanup.
ok hsuenaga@
|
|
|
|
|
|
|
| |
- pipex requires unique session-id in protocol, so session-id
generation algorithm has been changed.
- change to fit the new PIPEX ioctl.
ok dlg@
|
|
|
|
| |
ok yasuoka@
|
|
|
|
|
|
| |
was not enabled, we use a kernel routing socket for such things.
ok yasuoka@ claudio@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
ppp sessions as a server. It supports L2TP, PPTP and PPPoE as
tunneling.
ok mcbride@ dlg@ deraadt@ reyk@.
|