summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-04-22Flush output buffers before closing TCP session. Fixes the case whereJoel Knight
the proxy would eat the 221 response coming from the server towards the client. Patch from camield@. Tested by Camiel and myself. ok camield@
2008-04-21If a |program is too slow to process the input,Marco Pfatschbacher
drop messages rather than to kill and restart it. Also log this error, but limited at a 2 minute rate. Discussed with henning. OK henning@
2008-04-21Clean up logging by introducing the logging API used inRainer Giedat
other daemons and clean up the command line options. For details, see rtadvd(8). ok bluhm@, pyr@
2008-04-21add a short section on checksum offloading, based on a diffJason McIntyre
from Alf Schlichting; help/ok henning
2008-04-20Take failed system calls more serious than LOG_INFO.Rainer Giedat
This is mainly in preparation for more changes to logging. Ok bluhm@, pyr@
2008-04-19remove build warnings:Charles Longeau
- unused variables - missing return ok espie@
2008-04-18add filtering on direction; ok mpf@ deraadt@ feedback jmc@Damien Miller
2008-04-16Redo/clarify the logic for storing options in the various buffers.Kenneth R Westerback
While there, bail out quickly if no options can be stored, and avoid overflow buffers if building a bootp reply. Henning looked and didn't get upset. millert@ tested it for a few days and liked the look of it. canacar@ glanced at it.
2008-04-15- make it clear that hosts.lpd follows the same syntax that hosts.equiv(5)Antoine Jacoutot
inputs from jmc@ "looks ok" beck@ (similar older diff), "fine by me" jmc@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
2008-04-07typo, fix fragmentsMarc Espie
2008-04-07deprecate -c, we've been using -DCOMMENT=value more or less forever by now.Marc Espie
2008-04-07tweak a bit, allow ^ to occur at beginning of variable nameMarc Espie
2008-04-07pretty print the BARsDavid Gwynne
2008-04-07likewise for the hash itselfMarc Espie
2008-04-07I should know better... reuse methods internally as much as I can, toMarc Espie
facilitate further changes.
2008-04-07document OpenBSD::SubstMarc Espie
2008-04-07put Subst stuff into its own library file, to reuse elsewhere.Marc Espie
2008-04-04option 144 is commonly used for tftp-config-file.David Gwynne
ok henning@ krw@
2008-04-04document the bug that sasyncd peers should share the sameOtto Moerbeek
platform. it would be really nice if somebody would fix this. ok mpf@ todd@ jmc@
2008-03-30.Xr snmpctlMartin Reindl
ok jmc@
2008-03-24Make it possible to disable/enable pseudo devices in UKC, config file andMats O Jansson
at config -e. -moj ok deraadt@
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-23Done mark a disable of a disabled device as an change (and same with enable).Mats O Jansson
Reported by jj@ a long time ago. -moj
2008-03-23Do not abort walking the tree if a node's contents is too large; allowsMiod Vallat
eeprom -p to be used on more macppc models. ok fgsch@
2008-03-22spaces found reading that diffTheo de Raadt
2008-03-22put in explicit suffix rules, they're needed anyways since $< is only usedMarc Espie
for suffix rules. Use them to avoid writing loads of explicit lines. Shaves 2/3 of each Makefile off. okay miod@, deraadt@, henning@
2008-03-22Mention that softreconfig is on by default. From Matthew DempskyClaudio Jeker
2008-03-21better handling of chunked encoding, further fixes after extensive testingReyk Floeter
2008-03-20handle the case that the Content-Length HTTP header may be 0Reyk Floeter
2008-03-20Fix HISTORY. OK reyk@Todd C. Miller
2008-03-19CMSG_LEN and CMSG_SPACE are not neccessarily the same size. So if youTheo de Raadt
are going to allocate/free a block of memory for the message contents, you have to calculate and track the sizes seperately. This change is just like all the other CMSG changes...
2008-03-18Fix mention of authpf_users table (s/authpf users/authpf_users/).Michael Erdely
ok jmc@, mcbride@
2008-03-18correct CMSG_SPACE and CMSG_LEN handling as done in other places. TheseTheo de Raadt
are the complicated cases where multiple messages are sent. discussed with kettenis, hshoexer, and rtsol tested by jmc - thanks
2008-03-18remove ber_add_astring and make it the default behaviour inReyk Floeter
ber_add_string, ber_add_nstring, and ber_add_bitstring to allocate and copy the provided buffer instead of just attaching it to the ber element. this may add some overhead but fixes and avoids some bugs with static buffers and simplifies the ber api again. From Matthew at Dempsky dot org With input from claudio@
2008-03-18fix bug that ber_oid2ber skips the first byte when encoding powers ofReyk Floeter
128. E.g., it will encode 128 as 0x00 instead of 0x81 0x00. From Matthew at Dempsky dot org
2008-03-17two small bugs in printing funcs:Henning Brauer
log_as < vs <= confusion, AS 65535 printed like 4 byte AS 0.65535 aspath_strlen: omitted stripping high 16 bits of 32bit AS after dealing with the upper half From: Matthew Dempsky <matthew@dempsky.org>
2008-03-17sync the synopsis and usage; "usage:" is lowercaseIgor Sobrado
ok jmc@
2008-03-17"usage:" is lowercase; while here, KNFIgor Sobrado
ok jmc@
2008-03-17use the right format for "usage:"; "usage:" is lowercaseIgor Sobrado
ok jmc@
2008-03-17sort optionsIgor Sobrado
ok jmc@
2008-03-17convert more strings to use the new ber_add_astring() function whichReyk Floeter
simplifies the code.
2008-03-17another sizeofa instead of sizeof fixReyk Floeter
2008-03-17fix incorrect use of sizeof() where there sizeofa() macro should be usedReyk Floeter
ok dlg@
2008-03-17option 252 is generally used to specify an autoproxy-script on a subnet.David Gwynne
ok krw@ henning@
2008-03-16s/273.16/273.15/g, then refactor the formulae to ensure that theConstantine A. Murenin
double to int64_t conversions happen sooner rather than later discussed with / ok by kettenis
2008-03-16text simplification;Jason McIntyre
2008-03-16avoid errno trashing, ok mpf henningTheo de Raadt
2008-03-16syslogd leaves zombies around if multiple |/pathto/mylogprogMarco Pfatschbacher
children died in a row. Do waitpid(2) in a loop until there's nothing left. OK henning@, millert@
2008-03-16Reduce the number of unnecessary time(3)/gettimeofday(2) calls, and make sureConstantine A. Murenin
that the time always goes forward, so reports are neither duplicated nor lost. Report state changes stabilised through dampening immediately, instead of delay- ing them until the next reporting window; previously, it was common for check() to lag one second behind report(), hence the initial report was delayed one extra minute (this then reduces the number of sleep(3)/nanosleep(2) calls, too). ok ckuethe; some man-page suggestions jmc