OpenBSD CVS

CVS log for src/usr.sbin/npppctl/npppctl.c


[BACK] Up to [local] / src / usr.sbin / npppctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 21 15:45:40 2023 UTC (15 months, 1 week ago) by mbuhl
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

spelling.
ok jmc

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 15 15:14:24 2021 UTC (2 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

No need to declare optind, optarg or opterr; unistd.h does this for us.
From Jan Stary.  OK deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:49 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

When system calls indicate an error they return -1, not some arbitrary
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.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 11 16:25:59 2017 UTC (6 years, 9 months ago) by goda
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

display MRU each sessions in npppctl session command

ok yasuoka@

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 21 11:32:04 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

The POSIX APIs that that sockaddrs all ignore the s*_len field in the
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@

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 5 13:19:32 2015 UTC (8 years, 5 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

EAGAIN handling for imsg_read. OK henning@ benno@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 19 01:48:57 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored)

move to <limits.h> universe
ok yasuoka

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 22 02:02:59 2014 UTC (9 years, 10 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Handle msgbuf_write() returning EAGAIN.

from krw

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 3 07:10:18 2014 UTC (10 years, 2 months ago) by yasuoka
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

calucuation of response message size was wrong.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 22 04:30:31 2014 UTC (10 years, 2 months ago) by yasuoka
Branch: MAIN
Changes since 1.1: +165 -133 lines
Diff to previous 1.1 (colored)

Reimplement control part of npppd(8) with imsg.  Also add "monitor"
command for npppctl(8) to monitor PPP session start/stop events.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 18 03:13:04 2012 UTC (12 years, 4 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1

Replace npppdctl(8) by new npppctl(8).  npppctl was written from
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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.