summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-22POSIX/FreeBSD/NetBSD/Linux/etc agree -- blk[size|cnt]_t is the bomb.Kenneth R Westerback
So add the types blksize_t (a.k.a. int32_t) and blkcnt_t (a.k.a. int64_t). Use blkcnt_t in stat.h since the base type (int64_t) does not change. blksize_t in stat.h will follow after the tree is audited for signed issues, since the base type will change from u_int32_t to a POSIX compliant int32_t. Guidance and feedback from guenther@ ok millert@
2014-08-22switch ndp to display MAC addresses in 00:00:00:00:00:00 format, ok deraadt@Stuart Henderson
2014-08-22print leading 0's in MAC addresses again, ok deraadtStuart Henderson
2014-08-22pseudo-device crypto was accidentally left for some architectures.Theo de Raadt
2014-08-22Strip the BIND code down to just building and installing dig, host and nslookup.Brad Smith
2014-08-22disable use of bind in base; in the base use nsd/unbound instead.Theo de Raadt
a proper & complete bind port will show up. discussed with many for years
2014-08-22don't need this file, only the mod versionTed Unangst
2014-08-22Instead of getting a nasty error message from privsepAlexander Bluhm
"syslogd: priv_getaddrinfo: overflow attempt in hostname" check the host and port length when parsing the config. OK henning@
2014-08-22typo; noticed by jmc@ some time agoIngo Schwarze
2014-08-22Set the default nfsd flags to "-tun 4". Matches the commentJonathan Gray
in rc.conf and the behaviour of the backwards compatibility code in rc.subr for nfs_server=YES. ok ajacoutot@
2014-08-22fix memory leak in isakmpddoug
ok gerhard@ (also corrected first version)
2014-08-22syncTheo de Raadt
2014-08-22Enable rcctl(8).Antoine Jacoutot
prodded by deraadt@
2014-08-22remove an uneeded testJonathan Gray
ok yasuoka@
2014-08-22syncTheo de Raadt
2014-08-21Set the sensor's status when docking and undocking, not just its value.kspillner
With this change sensorsd(8) now correctly detects state changes when docking and undocking. ok mlarkin@
2014-08-21Bugfix: make whatis(1) case-insensitive again.Ingo Schwarze
The traditional whatis(1) was case-insensitve and it's still documented that way, that but apparently got broken with or after the switch.
2014-08-21Add Last-Modified: HTTP header.Christopher Zimmermann
OK reyk@
2014-08-21Document square brackets for IPv6 addresses. From FreeBSD.Alexander Bluhm
OK logan@ henning@
2014-08-21Send and receive UDP syslog packets on the IPv6 socket.Alexander Bluhm
OK henning@
2014-08-21Unbreak when "SRCDIR=."Antoine Jacoutot
reported by phessler@
2014-08-21Fix double free. ok guenther@Jeremie Courreges-Anglas
2014-08-21limit CGI process execution time to make REDoS attacks less effective;Ingo Schwarze
attack surface pointed out by Sebastien Marie
2014-08-21deny "once" flags for match rules; ok henningMike Belopuhov
2014-08-21Now that DVACT_DEACTIVATE is propagated to the children of a device whenMartin Pieuchot
a driver does not implement a specific *_activate() handler and that our USB stack sets the dying flag before detaching a device, these specific handlers can die.
2014-08-21Fix a copy and pasto with the standard ring setup with calling if_rxr_init()Brad Smith
to use BGE_STD_RX_RING_CNT instead of BGE_JUMBO_RX_RING_CNT. ok dlg@
2014-08-21add $OpenBSD$Jonathan Gray
2014-08-21Kill the remaining <netinet/in_systm.h> inclusion!Martin Pieuchot
2014-08-21Right after .Fl, a middle delimiter triggers an empty scope,Ingo Schwarze
just like a closing delimiter. This didn't work in groff-1.15, but it now works in groff-1.22. After being closed by delimiters, .Nm scopes do not reopen. Do not suppress white space after .Fl if the next node is a text node on the same input line; that can happen for middle delimiters. Fixing an issue reported by jmc@.
2014-08-21Make "rcctl status" output match rc.conf(8) format.Antoine Jacoutot
ok jasper@
2014-08-21Misleading comments about splnet().Martin Pieuchot
2014-08-21Change the output of arp(8) to match what ndp(8) does and include theMartin Pieuchot
expire timer. This will makes it easier to add further information in a coherent way between these tools for local and broadcast entries. This new view displays either symbolic names (by default) or numerical addresses (with "-n") for hosts but not both at the same time, just like ndp(8), route(8) or netstat(1) do. ok henning@
2014-08-21Now that rc.conf(8) defines what a base system service, a baseIngo Schwarze
system daemon, and a package daemon is, refer to it instead of duplicating information. While here, clean up wording. OK ajacoutot@
2014-08-21If an ifa has as NULL ifp pointer then is should be considered asMartin Pieuchot
invalid. When such thing happens, it means that the address is no longer configured on the system but still referenced by some routes. So do not return such ifa in ifa_ifwithroute(). Fix a panic reported by Pierre Bardou. ok mikeb@, henning@
2014-08-21Drop sanitation, _rc_parse_conf does this for us already.Antoine Jacoutot
ok schwarze@
2014-08-21If a service is disabled its flags are unconditionally set to "NO", soAntoine Jacoutot
there's not need to display "enabled" or "disabled" when calling "status", we have the information already.
2014-08-21Free resources on error in mkstemp and fdopendoug
ok djm@
2014-08-21Parse loghost in a separate function. Allow [] around hostname,Alexander Bluhm
needed for IPv6 addresses. Print full loghost specifier in case of error or debug. Make string sizes more precise. input henning@; input and OK deraadt@
2014-08-20after allocating an mbuf and cluster you still need to init the lengthDavid Gwynne
fields. found by steven roberts, who also tested this fix for me
2014-08-20Move the examples to the EXAMPLES section and add some actualIngo Schwarze
reference manual style documentation to the DESCRIPTION. Feedback and OK rpe@ and ajacoutot@, also using feedback from deraadt@.
2014-08-20Link ospfd and syslogd regression tests to the build.Alexander Bluhm
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2014-08-20Replace gethostbyaddr(3) with getnameinfo(3). Remove the sigprocmask()Alexander Bluhm
that was necessary for gethostbyaddr() because the latter is not signal safe. Change the return code semantics of priv_getnameinfo() to match getnameinfo(3). input and OK jca@
2014-08-20Add missing OpenBSD RCS id.Alexander Bluhm
2014-08-20Rename priv_gethostserv() to priv_getaddrinfo() as this is what theAlexander Bluhm
function does. Change the return code semantics to match getaddrinfo(3). OK deraadt@
2014-08-20Better explain what unbound is for.Florian Obser
While there fix some nits. Problem pointed out by deraadt@ Input jmc@, schwarze@ wouter@ committed a slightly different diff upstream. Pull that on out of svn and hand merge it. OK schwarze@
2014-08-20remove one more reference to crypto(4); ok mikebJason McIntyre
2014-08-20Store the positional args in vars with meaningful names which makes the argRobert Peichaer
checking block easier to comprehend. OK ajacoutot@
2012-03-26Import Unbound 1.4.16 to work on in-tree (not yet linked to the build).Stuart Henderson
These are the direct sources from NLnet Labs upstream, minus these: compat contrib libunbound/python pythonmod testcode testdata winrc ok deraadt@ jakob@
2014-08-20Greatly simplify get/set flags and status.Antoine Jacoutot
Provide a unified output for the status of disabled services/daemons: foobar_flags will always be "NO" regardless of the type (pkg script, base system daemon, special variable).