summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2014-06-30remove backwards compat layer for alpha osf1. back then compilers andTheo de Raadt
the parsers sucked, so byte misalignment repair was requested. These days it means the parsers should improve. ok lteo
2014-06-29If you want <sys/queue.h>, you need to include it. Don't assume thatTheo de Raadt
<sys/sysctl.h> will pull in the universe (I am working on breaking that assumption in a gentle fashion)
2014-06-27knf, no functional change.Andre de Oliveira
ok reyk
2014-06-25Apply/fix OpenBSD tag.Tobias Stoeckmann
ok jsing@
2014-06-25Check malloc return value for NULL.Tobias Stoeckmann
ok jsing@
2014-06-25I did enough significant changes and/or additions since 2007 afterReyk Floeter
pyr@'s initial version to rightfully add my copyright to these files: sync with reality.
2014-06-25sync copyright to reality according to my last changesReyk Floeter
2014-06-25revert for now. Some aspects of tied code are currently broken in a funMarc Espie
way. surprised nobody noticed...
2014-06-25Alexander Schrijver posted a diff to remove references to the c_rehash script,Jason McIntyre
which we don;t have in base. after some discussion with jca, i've not removed these references, but tried to make it clearer it's distributed with openssl and not included in base;
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)
2014-06-22missing .Pa macro below FILES;Ingo Schwarze
patch from Jan Stary <hans at stare dot cz>
2014-06-20Instead of showing the difference between a bad checksum and a goodLawrence Teo
checksum, make tcpdump (with the -v flag) show the actual bad checksum within the IP/protocol header itself and what the good checksum should be, e.g. "[bad tcp cksum abcd! -> d1e6]" This change applies to IP, TCP (over IPv4 and IPv6), UDP (over IPv4 and IPv6), ICMP, and ICMPv6. This commit also fixes several inconsistencies in the way bad checksums were displayed for these protocols. Tested on amd64, i386, and macppc. ok henning@
2014-06-20Import in_cksum_shouldbe() from mainline tcpdump; this is needed by myLawrence Teo
upcoming commit which will fix and improve the display of bad checksums for the major protocols. ok henning@
2014-06-17oops, committed debug version, to the tied hash was not used at all,Marc Espie
and of course there were 3 obvious errors... fixed and retested. much better now
2014-06-17Convert malloc/memset to calloc, and remove pointless casts while here.Lawrence Teo
From Benjamin Baier.
2014-06-16tweak extraction for out-of-order archives: do a first passMarc Espie
where we register every actual file in the plist by its path relative to cwd. Note every meta info as extracted (for partial packages to make sense), then do a newer extract loop, where each archive member must match by path. That way, we can close archives early as soon as we've extracted every new file. To be used shortly by pkg_create. Note that new packages *won't* be extractible by the old tools.
2014-06-16tweak the size_and support to be able to do stuff out of orderMarc Espie
2014-06-16fix bug introduced by work-around: sets with nothing to do must be markedMarc Espie
uptodate as well. Restores ntogo to working order
2014-06-15Correct precedence for returned value.Andrew Fresh
style suggested and ok espie@
2014-06-13fix duplicate entry for the eot extension; noted by ajacoutot@Robert Nagy
2014-06-13Fix tcp-mss-adjust of pipex and npppd to update the pointer ofYASUOKA Masahiko
tcp option and check the boundary correctly.
2014-06-12update to 1.6.0 with official syslog support backported from the 1.7 branchRobert Nagy
tested by several, ok sthen@
2014-06-12display full url if we can for UNSIGNED PACKAGES.Marc Espie
unconfuse mikeb@ :)
2014-06-11rfc 4512, not 4712;Jason McIntyre
From: route dylanharris org
2014-06-11Prettify & refactor, no functional change.Martin Pelikan
ok beck
2014-06-10we should really zero a buffer we strlcat to otherwise aliases resolutionGilles Chehade
really resolves nothing :-)
2014-06-10get verbose_system in line with _system, do not display \&code snippets...Marc Espie
2014-06-10Implement -u (user to drop privs to) and -p flag (path to chroot to).Florian Obser
This allows to run slowcgi non-chrooted with -p /, requested by at least ratchov@ and henning@. Input by many, OK ratchov@ on a previous diff, "looks good" millert@, man page bits tweak and OK schwarze@ (all some time ago); OK henning@
2014-06-10Cleanup socket creation.Florian Obser
Input ajacoutot some time ago; OK henning@
2014-06-09Change the installboot file copying process so that it carefullyJoel Sing
overwrites the existing file, before truncating it to the final length. This means that we will keep the same inode and potentially retain the same disk data block allocation between runs. This will aid users who multiboot since it makes it less likely that the PBR will change, although as before, there is no guarantee. Obviously if the second stage boot loader grows or shrinks then the PBR will change regardless.
2014-06-09Use calloc() instead of malloc()/memset().Joel Sing
From Benjamin Baier.
2014-06-07remove last few uses of __PTheo de Raadt
2014-06-07Clint Pachl points out "authtable" is optional;Jason McIntyre
2014-06-06Update description of optional argument "datalen" to reality.Florian Obser
Issue pointed out by, tweak and "looks ok" jmc@
2014-06-06when relying on the local enqueuer, fix an issue with long To and Cc linesGilles Chehade
that can lead to broken headers and confuse some MUA issue spotted by tedu@
2014-06-05Reduce code running as root by trying to create all needed socketsFlorian Obser
first, remember which failed, drop privs and then decide which sockets are needed and close the others. Only error out if the creation of a needed socket failed. That is it is non-fatal if tracerouting an INET4 address and the INET6 socket creations failed. prodding deraadt@; OK benno@
2014-06-04datalen is additional data, sync traceroute6 to traceroute. Also "nnFlorian Obser
byte packets" in the first line of traceroute output is the length of the complete IP packet, fix this for traceroute6. OK benno@
2014-06-04Replace ICMP6ECHOLEN define with sizeof()Florian Obser
OK benno@
2014-06-04fix a fd leak in an error pathJonathan Gray
2014-06-03remove set but not used variableCharles Longeau
found while building portable OpenNTPD ok henning@
2014-06-03as miod found out, mandocdb is slightly intrusive and wants to know whereMarc Espie
you live (e.g., it expects to be able to get back to the directory it started from, even when this one wasn't readable in the first place). Do an extra chdir('/') to try to sidestep the issue.
2014-06-03Handle the event parameter of libevent callback function as a bitYASUOKA Masahiko
mask. Also remove redundant imsg_event_add calls. Fixes come from usr.sbin/ospfd/control.c ok reyk
2014-06-03Expand the IP checksum offload subsection to mention the same issue withLawrence Teo
protocol checksum offload, where tcpdump might see bad checksums on valid packets. ok henning@ jmc@
2014-06-02Remove references to RANDFILE.Joel Sing
2014-06-02Remove details regarding -rand from the openssl man page.Joel Sing
2014-05-30oops, auto-read config only *after* we have a way to print out errors.Marc Espie
Also zap bad lines completely. issue reported by aja@
2014-05-30Use calloc instead of malloc and memset.YASUOKA Masahiko
from Benjamin Baier
2014-05-29define -DLIBRESSL_INTERNAL in here so we don't use nastiesBob Beck
ok deraadt@
2014-05-29use calloc, from Benjamin BaierTed Unangst
2014-05-28Fixed chap_input() and chap_authenticate() not to be used as if theyYASUOKA Masahiko
return a value. Since they are void function. pointed out daniel, ok daniel