summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppctl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-3/+3
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* display MRU each sessions in npppctl session commandgoda2017-08-111-2/+3
| | | | ok yasuoka@
* The POSIX APIs that that sockaddrs all ignore the s*_len field in theguenther2017-01-211-2/+1
| | | | | | | incoming socket, so userspace doesn't need to set it unless it has its own reasons for tracking the size along with the sockaddr. ok phessler@ deraadt@ florian@
* EAGAIN handling for imsg_read. OK henning@ benno@claudio2015-12-051-2/+3
|
* move to <limits.h> universederaadt2015-01-192-6/+6
| | | | ok yasuoka
* Handle msgbuf_write() returning EAGAIN.yasuoka2014-07-221-2/+2
| | | | from krw
* remove some duplicate text,schwarze2014-04-041-21/+2
| | | | | and some remains of the template not pertinent to section 8; ok yasuoka@ jmc@
* various macro cleanup and tweaks;jmc2014-04-031-10/+9
| | | | ok yasuoka schwarze
* add mention about "monitor" command.yasuoka2014-04-031-2/+14
|
* calucuation of response message size was wrong.yasuoka2014-04-031-3/+3
|
* Reimplement control part of npppd(8) with imsg. Also add "monitor"yasuoka2014-03-225-159/+204
| | | | command for npppctl(8) to monitor PPP session start/stop events.
* New configuration syntax for npppd(8). `npppd.conf' will be based onyasuoka2012-09-181-5/+4
| | | | | | parse.y and `npppd-users' will be based on getcap(3). Add man pages. feedback from giovanni
* Fix comments and styles. Delete unused variables and labels.yasuoka2012-05-081-2/+2
| | | | | | No binary changes. ok mcbride henning
* Replace npppdctl(8) by new npppctl(8). npppctl was written fromyasuoka2012-01-185-0/+1012
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