CVS: cvs.openbsd.org: src

2019-03-29 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2019/03/29 23:33:39

Added files:
regress/usr.bin/netstat: Makefile nstest1.ok 

Log message:
Add a test case for
- adding 0.0.0.0 route
ok yasuoka



CVS: cvs.openbsd.org: src

2019-03-29 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2019/03/29 23:31:00

src/regress/usr.bin/netstat

Update of /cvs/src/regress/usr.bin/netstat
In directory cvs.openbsd.org:/tmp/cvs-serv91329/netstat

Log Message:
Directory /cvs/src/regress/usr.bin/netstat added to the repository



CVS: cvs.openbsd.org: www

2019-03-29 Thread Pamela Mosiejczuk
CVSROOT:/cvs
Module name:www
Changes by: pam...@cvs.openbsd.org  2019/03/29 22:13:06

Modified files:
.  : plus.html 

Log message:
plus for November 8-14, 2018
tweak and OK florian



CVS: cvs.openbsd.org: src

2019-03-29 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2019/03/29 22:10:34

Modified files:
regress/sbin/route: Makefile 
Added files:
regress/sbin/route: rttest34.ok rttest35.ok rttest36.ok 
rttest37.ok rttest38.ok 

Log message:
Add 5 test cases for
- adding default route with "deault"
- adding default route with "0.0.0.0/0"
- adding 0.0.0.0 route
- adding routes with mask
ok yasuoka



CVS: cvs.openbsd.org: src

2019-03-29 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/03/29 20:45:14

Modified files:
sbin/pfctl : pfctl_parser.c 

Log message:
Fail on invalid netmasks when filling tables

Fix a regression of revision 1.326 "Zap v4mask and v6mask in host()" which
allowed CIDR networks with more than one "/" to be loaded into tables.

I took care of this code path with regard to rules coming the ruleset
parser, which aborts earlier on such invalid specifications, but missed
`-T add 1/2/3' and the like.

Analyzed and fixed by Petr Hoffmann ,
thanks!

OK deraadt



CVS: cvs.openbsd.org: src

2019-03-29 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/03/29 20:12:45

Modified files:
sbin/unwind: resolver.c 

Log message:
Do not try to print NULL with %s.
Brainfart pointed out by tb



CVS: cvs.openbsd.org: src

2019-03-29 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/03/29 19:54:43

Modified files:
sbin/unwind/libunbound: config.h 
sbin/unwind/libunbound/iterator: iter_fwd.c iter_hints.c 
 iter_utils.c iterator.c 
sbin/unwind/libunbound/libunbound: libworker.c 
sbin/unwind/libunbound/respip: respip.c 
sbin/unwind/libunbound/services: listen_dnsport.c localzone.c 
 localzone.h modstack.c 
 outside_network.c 
sbin/unwind/libunbound/services/cache: infra.c infra.h 
sbin/unwind/libunbound/util: configlexer.c configparser.y 
 net_help.c netevent.c 

Log message:
update to libunbound 1.9.1; heavy lifting by sthen in unbound(8)



CVS: cvs.openbsd.org: src

2019-03-29 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/03/29 19:22:12

Modified files:
usr.sbin/nsd   : query.c 

Log message:
Disable

- Deny ANY with only one RR in response, by default.  Patch from
Daisuke Higashi.  The deny-any statement in nsd.conf sets ANY
queries over UDP to be further moved to TCP as well.
Also no additional section processig for type ANY, reducing
the response size.

with an ifdef NOTYET. It is too close to release and we want to let
this sit for a bit.
Pointed out / requested by sthen.



CVS: cvs.openbsd.org: src

2019-03-29 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/03/29 19:20:29

Modified files:
usr.sbin/nsd   : Makefile.in config.h.in configure configure.ac 
 difffile.c namedb.c nsd-checkconf.8.in 
 nsd-checkzone.8.in nsd-control-setup.sh.in 
 nsd-control.8.in nsd-control.c nsd.8.in nsd.c 
 nsd.conf.5.in options.h packet.h query.c 
 radtree.c region-allocator.c remote.c remote.h 
 server.c udb.h 
usr.sbin/nsd/dnstap: dnstap.c 

Log message:
Update to nsd 4.1.27
OK sthen



CVS: cvs.openbsd.org: www

2019-03-29 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/03/29 18:43:06

Modified files:
.  : support.html 
build  : support.dat 

Log message:
remove two entries that no longer provide openbsd support and one with
a bouncing email address



CVS: cvs.openbsd.org: src

2019-03-29 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/03/29 16:25:04

Modified files:
share/man/man4 : atu.4 zyd.4 

Log message:
move the HARDWARE sections in line with other wireless pages;



CVS: cvs.openbsd.org: src

2019-03-29 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/03/29 16:09:26

Modified files:
share/man/man4 : athn.4 

Log message:
this page was missing the "configured at runtime" boilerplate, so add it;



CVS: cvs.openbsd.org: src

2019-03-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/03/29 15:25:43

Modified files:
usr.bin/mandoc : out.c 

Log message:
Set the maximum column index in a tbl(7) to the maximum *right* edge
of any cell span, not to the maximum *left* edge, which may be smaller
if the last column of the table is only reached by horizontal spans,
but not by any regular cell in any row of the table.
Otherwise, the algorithm calculating column widths accessed memomy
after the end of the colwidth[] array, while it was trying to handle
the rightmost column(s).

Crash reported by Jason Thorpe 
via https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54069
and via Thomas Klausner (wiz@).
Christos@ Zoulas sent a (correct, but slightly confusing) patch.
The patch i'm committing here is easier to understand.



CVS: cvs.openbsd.org: src

2019-03-29 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/03/29 14:21:54

Modified files:
lib/libcrypto/man: EC_GROUP_new.3 

Log message:
Use correct capitalization of EC_GROUP_get_curve_GF{2m,p}(3).



CVS: cvs.openbsd.org: src

2019-03-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2019/03/29 11:25:44

Modified files:
sys/dev/pci: if_jme.c 

Log message:
typo in printf; leo_tck at volny cz



CVS: cvs.openbsd.org: src

2019-03-29 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/03/29 11:16:35

Modified files:
share/man/man4 : bwi.4 ipw.4 iwi.4 iwm.4 malo.4 otus.4 rsu.4 
 rtwn.4 rum.4 run.4 uath.4 upgt.4 urtw.4 urtwn.4 

Log message:
document that these drivers do not support powersave; two other pages (acu and 
zyd)
already document this in a slightly more tangled way - i chose not to edit 
those texts;

help/ok stsp



CVS: cvs.openbsd.org: www

2019-03-29 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/03/29 09:45:27

Modified files:
.  : support.html 
build  : support.dat 

Log message:
more contact info cleanup and a couple removals per their request



CVS: cvs.openbsd.org: src

2019-03-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/03/29 06:34:44

Modified files:
lib/libc/locale: newlocale.3 newlocale.c 

Log message:
Copy categories outside "mask" from "oldloc" to the new locale object.
While POSIX appears to allow the old behaviour of ignoring "oldloc",
Ted and Karl convinced me that is a bug in the spec and the Austin
group almost certainly intended to require the new behaviour.
Anyway, compatibility strongly suggests the new behaviour because
most (or maybe even all?) other systems do not ignore "oldloc",
and some software appears to depend on the copying from "oldloc"
to the new locale.

Issue analyzed and reported by Karl Williamson  with support from the Perl 5 community.
This final diff is similar to two earlier diffs from Ted,
but handles invalid input in a mode robust way.
OK tedu@.



CVS: cvs.openbsd.org: src

2019-03-29 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/03/29 05:31:41

Modified files:
usr.bin/ssh: clientloop.c 

Log message:
when logging/fataling on error, include a bit more detail than just the
function name and the error message



CVS: cvs.openbsd.org: src

2019-03-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2019/03/29 05:05:46

Modified files:
sys/net80211   : ieee80211_input.c 

Log message:
Use stricter validation checks for A-MPDUs in the net80211 input path.
Don't accept A-MPDUs if not in RUN state, and don't accept them from
unassociated clients in hostap mode.
ok jmatthew@ kevlo@



CVS: cvs.openbsd.org: src

2019-03-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2019/03/29 05:04:40

Modified files:
sys/dev/ic : ar9287.c ar9287reg.h 

Log message:
Read the EEPROM of AR9287 USB devices from the correct offset.
Fixes kevlo's TL-WN821nv3.
test & ok kevlo@



CVS: cvs.openbsd.org: src

2019-03-29 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/03/29 03:33:24

Modified files:
usr.bin/tmux   : format.c 

Log message:
Free old strings after they have been expanded in format_choose.



CVS: cvs.openbsd.org: src

2019-03-29 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/03/29 01:08:01

Modified files:
sbin/ifconfig  : ifconfig.8 

Log message:
point readers to individual driver pages for notes on powersave; ok stsp



CVS: cvs.openbsd.org: src

2019-03-29 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2019/03/29 01:07:48

Modified files:
usr.sbin/radiusd: parse.y 

Log message:
Use u_char for buffer in yylex.  This happened on the other parse.y
already.



CVS: cvs.openbsd.org: src

2019-03-29 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/03/29 01:07:05

Modified files:
share/man/man4 : acx.4 an.4 ath.4 athn.4 atw.4 pgt.4 ral.4 rtw.4 
 iwn.4 wpi.4 

Log message:
add notes for drivers which support powersave; help/ok stsp
while here i knocked out a Tn from iwn and tidied it a little...



CVS: cvs.openbsd.org: src

2019-03-29 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2019/03/29 01:05:58

Modified files:
usr.sbin/radiusd: parse.y 

Log message:
Add printf format attributes to yyerror() in parse.y.  This happened already
on the other parse.y.  Also fix the format warnings.