summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2017-07-05Don't stop logging to stderr when running in foreground with -d.Reyk Floeter
Pointed out by Kapetanakis Giannis
2017-07-05Some documentation improvements:Martin Pieuchot
- Fix TLS s/server/client/ - Use 'remote loghost' consistently, even if it's not clear to which endpoint this correspond. - Replace 'forwarding' by 'sending' to remove the ambiguity about the inserted hostname. - Do not use the word 'server' with 'socket' to avoid confusion with a TLS server. - Prefer 'senders' than 'clients' when it comes to spoofing, to reduce one usage of the word 'client. ok jmc@, bluhm@
2017-07-04Fix the only remaining mandoc(1) ERROR in the base system.Ingo Schwarze
(Can't resist the temptation to commit 'cause it allows such a cute commit message.)
2017-07-04delete tokens that have never been used.Sebastian Benoit
From Rob Pierce ok yacc and gcc
2017-07-04rename fetch_state() to fetch_ifstate(). The word "state" is a bitSebastian Benoit
overloaded in this daemon. From Rob Pierce
2017-07-04Fix some variable alignment whitespace.Sebastian Benoit
From Rob Pierce
2017-07-04if configured, set the ttl (IPV6_UNICAST_HOPS) for ipv6 tcp checks.Sebastian Benoit
From Kapetanakis Giannis, thanks. ok florian@
2017-07-04Detect upfront whether we have a particular set installed and if not, do *not*Antoine Jacoutot
list a matching syspatch as available. This will allow to skip the syspatches for the X sets for example if we don't have them installed. If we do install these sets a posteriori, then syspatch *will* list the X syspatches if there are any. req. by many ok robert@
2017-07-04make relayd not crash in relay_udp_server() when using a dns relay.Sebastian Benoit
needs revisiting. From Rivo Nurges, thanks. ok florian@
2017-07-04It does not make sense to use ioctl(FIONREAD) with TLS as libtlsAlexander Bluhm
has already read the buffer from kernel to user land. I have blindly copied this code from libevent for syslogd(8) TLS, remove it together with the bug. It caused hangs in ldapd(8). report, analysis, testing, OK Seiya Kawashima, Robert Klein, gsoares@
2017-07-04consistently use the evtimer wrappers around the connection timeout.Florian Obser
this is instead of setting the timeout up with event_set and event_add, but removing it with evtimer_del. this uses evtimer_set and evtimer_add. prompted by dlg's commit to identd OK dlg
2017-07-04Include stdarg.h explicitly instead of relying on event.h to bring it in.Florian Obser
prompted by dlg's commit to identd OK dlg
2017-07-04consistently use the evtimer wrappers around the connection timeout.David Gwynne
this is instead of setting the timeout up with event_set and event_add, but removing it with evtimer_del. this uses evtimer_set and evtimer_add.
2017-07-04include stdarg.h explicitly instead of relying on event.h to bring it in.David Gwynne
2017-07-04properly adjust the ttl of replies instead of freezing them in timeTed Unangst
2017-07-03no need to generate y.tab.h if nothing uses it, set YFLAGS to nothingMarc Espie
instead of CLEANFILES += y.tab.h okay millert@
2017-07-03Remove obvious clear_config() comments and misleading state_change() comments.Sebastian Benoit
Also relocate do_action() calls for the init block from change_state() to occur with the corresponding do_action() calls for the body block. From Rob Pierce ok stsp@ and i
2017-07-03don't bother caching invalid or very short lived responsesTed Unangst
2017-07-03check that a cachehit hasn't expired before using it.Ted Unangst
2017-07-02Second diff to rename additional "always" variable in struct ifsd_config.Sebastian Benoit
from Rob Pierce. Requested by stsp@
2017-07-02Remove unused variable from header file.Sebastian Benoit
from Rob Pierce. ok stsp@ and me
2017-07-02Remove variable assignment in declaration and add whitespace to improveSebastian Benoit
readability. No functional change. from Rob Pierce. ok stsp@ and me
2017-07-02Rename one of the "always" variables to "body" for improved readability.Sebastian Benoit
No functional change. from Rob Pierce. ok stsp@ and me
2017-07-01go thru POSIX::Termios to turn off kerninfo.Marc Espie
wasn't even aware that stuff existed, thanks nicm@ NOKERNINFO hardcoded, because it's not in the POSIX module, shouldn't be a big issue. okay millert@
2017-06-29Move <fcntl.h> to its alphabetic spot and add __dead attribute to usage()Theo Buehler
ok mestre
2017-06-28remove a contradictory sentence (see dhcp-options(5)) which claimsJason McIntyre
hostnames which resolve to muliple ip addresses are all forwarded to the client; issue reported by edgar pettijohn; discussed with dhcpd's de facto maintainer, kenneth westerback;
2017-06-28whitespace fixes, from Rob Pierce and meSebastian Benoit
2017-06-28usage() gets __dead attribute, from Rob PierceSebastian Benoit
2017-06-27Hoist some privileged code in preparation for future work.Sebastian Benoit
Based on an approach in vmd with mc146818/ns8250. diff by Rob Pierce <rob -AT- 2keys -DOT- ca> ok deraadt@
2017-06-27move a global into local context; from rob pierceTheo de Raadt
2017-06-26don't print the WELLKNOWN string for unknown well-known communitiesPeter Hessler
from Job Snijders ok phessler@ benno@
2017-06-26let admins set an unknown well-known communityPeter Hessler
from Job Snijders ok phessler@ benno@
2017-06-26add support for the "graceful shutdown" well-known community as describedPeter Hessler
in draft-ietf-grow-bgp-gshut from Job Snijders ok phessler@ benno@
2017-06-26allow setting localpref to 0Peter Hessler
from Job Snijders ok phessler@ benno@
2017-06-22Close file descriptor on an exit path.Frederic Cambus
OK gsoares@
2017-06-22Generate the newbsd: and install-update: targets here, rather thanTheo de Raadt
in the source Makefile.* files. ok tb rpe mlarkin
2017-06-20trim more error messagesMarc Espie
- if we can't retrieve the package, of course signify will say it's truncated so that's redundant. - if you give a full package name, can_be_empty should make directories vanish. (landry just discovered 6.1/packages-stable by accident, make it vanish again so he can't find it back... :D )
2017-06-20Revert a previous commit that increased the virtio queue size since itMike Larkin
appears to be causing some instability.
2017-06-19Import route priority support from ospfd to ospf6d.friehm
Also remove the RTF_UP flag from hdr.rtm_flags in send_rtmsg() since ospfd and bgpd don't set the flag. OK bluhm@ claudio@
2017-06-19delete accidental blank lineTheo de Raadt
2017-06-19fix descriptor leak in the smtp congestion mechanismGilles Chehade
diff from Henri Kemppainen; ok gilles@ eric@
2017-06-19port the RBT code to userland by making it part of libc.David Gwynne
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with annotations for symbol visibility. changes to one should be reflected in the other. the malloc debug code that uses RB code is ported to RBT. because libc provides the RBT code, procmap doesn't have to reach into the kernel and build subr_tree.c itself now. mild enthusiasm from many ok guenther@
2017-06-18update log.c in ifstated to the same used in bgpd etc.Sebastian Benoit
Done by Rob Pierce <rob AT 2keys DOT ca>, thanks
2017-06-17Since WSFONT_NAME_SIZE was switched from 16 to 32, account for theFrederic Cambus
change in wsfontload as well: tweak spacing and printf format string. OK deraadt@, mpi@
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-06-16PCI Express extendeded capability 0x1c is LN Requester according to theJonathan Gray
PCI-SIG Lightweight Notification (LN) Protocol ECN document. From Masanobu SAITOH.
2017-06-15We do not support iso7 nor pcvt encoding, so remove macro definitionsFrederic Cambus
and commented entries. OK mlarkin@
2017-06-14Don't support loading appletalk addresses from /etc/appletalk.names.Michal Mazurek
OK deraadt@
2017-06-14Remove main() prototype and unused envp argument.anton
ok deraadt@ martijn@
2017-06-13Initialize the length parameter for radius_get_vs_raw_attr() sinceYASUOKA Masahiko
it's read/write. diff from IIJ.