summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2010-03-01mda_event() assumed the mbox fp to be a file when it could be a pipe, doGilles Chehade
not fatal on read/write errors otherwise a broken pipe in an external mda will bring smtpd down. mda_store() assumed write would succeed and fatal otherwise, change code so that EINTR/EAGAIN trigger a new write while other errors gracefully return causing the message to be rescheduled later. these two prevent a fatal() from being hit when execution of a filter or external mda fails (bug experienced and fix verified by nicm@) while at it, fix a small bug where logs would not display the recipient when mail went through a ~/.forward / aliases expansion.
2010-03-01On amd64 and i386, dump the VGA BIOS found at the canonical address 0xc0000Mark Kettenis
if a VGA device doesn't have its expansion ROM base address register set. ok oga@, miod@
2010-03-01typo in warning logGilles Chehade
spotted by Seth Wright <seth@crosse.org>
2010-03-01slightly terser messages, better use of terminal lineMarc Espie
2010-03-01nitpicking, NULL instead of 0 in lde_imsg_compose_ldpe() call.Claudio Jeker
2010-03-01Support for redistributing AS-ext LSA (redistribute static/connected).Claudio Jeker
Appart from multi-area support this is the last big missing piece in ospf6d. ospf6d should now work correctly in single area setups. So please test. "it's always nice to see those #if 0 being killed" stsp@
2010-03-01Implement lsa_find_lsid(), a function that searches the LSDB for a LSAClaudio Jeker
specified by type, adv_rtr and an LSA to compare against. This is needed to find either a free LS ID or the previously assigned LS ID of an AS-ext LSA. "looks like you know what you're doing" stsp@
2010-03-01Add routing calculation code for AS-ext LSA and Inter-Area LSA but theClaudio Jeker
latter are not realy tested. AS-ext LSA are now correctly added to the RIB. "looks like you know what you're doing" stsp@
2010-02-28progress-meter -> progress meter, which is at least consistent with ourJason McIntyre
other pages;
2010-02-28the netmask fix I commited a couple days ago lacked the AF_INET6 bits,Gilles Chehade
this commit fixes pr user/6328 bug reported and fix verified by Martin Hedenfalk <martinh@bzero.se>
2010-02-28ProgressMeter support.Marc Espie
2010-02-28more useful paths (for dpb)Marc Espie
2010-02-28build for loongson; ok miod@ jasper@ matthieu@Otto Moerbeek
2010-02-26Fix some minor issues. 0 instead of NULL in one comparison. Set theClaudio Jeker
right flags when protecting the IPv6 loopback addr (instead of reassigning the IPv4 ones) and install the IPv4 loopback blocker as 127/8 and not as 127.0.0.1/8. First two found by Hiroki Sato hrs (at) allbsd org and I found the 127/8 issue all by myself.
2010-02-26- fix netmask matching for AF_INET, it was broken in many ways, problemGilles Chehade
was reported by nicm@ which spent a couple hours with me trying to understand what was causing the bug, and helping me write and test fix.
2010-02-26Swap order of RB tree sorting from type, ls_id, adv_rtr to type, adv_rtr,Claudio Jeker
ls_id. This is needed since sometimes the ls_id is not known and we need to walk part of the tree.
2010-02-25One more substitution of label 0 with NO_LABEL.Michele Marchetto
ok claudio@
2010-02-25Whitespaces cleanup.Michele Marchetto
2010-02-25NO_LABEL (instead of zero) must be used to mean that no labels are associatedMichele Marchetto
with the prefix. ok claudio@
2010-02-25Do not use bufferevent for something that's already covered in the imsgClaudio Jeker
buffer API. This fixes a few possible problems in session_read and does some further cleanup in various places. Wrap msgbuf into evbuf to add libevent functionality and use buf_read to handle the read side of a session. OK michele@ and dlg@ did not see anything evil
2010-02-25fix the usage messageTheo de Raadt
2010-02-25Fix AS-ext LSA detailed output. While there rework the way we printClaudio Jeker
prefixes a bit. The output is now a bit more compact.
2010-02-25fix incorrect reference; ok jmc@ gilles@ jacekm@Kevin Steves
2010-02-25a little cleanup;Jason McIntyre
2010-02-25make nsd compile on gcc2 platforms; from miod@Jakob Schlyter
2010-02-25- apache would send the wrong Host-Header back when setup as a reverse proxyJasper Lievisse Adriaanse
with ProxyPreserveHost. fixes pr6009, though i applied a different fix as what was suggested in that pr. ok sthen@
2010-02-25fix some fallout from the >2G commit. namely allow for all byte counters toPierre-Yves Ritschard
report the correct size when it exceeds a long's capacity. From Dan Harnett <daniel @ harnett . name>
2010-02-24Sync the list of initialisation steps done for the defaultJonathan Gray
relay protocol with that done for specified relay protocols. Makes it possible to use SSL for the default relay protocol. From boudewijn@indes.com in pr 6316
2010-02-24manual pages should not have blank lines outside literal context,Ingo Schwarze
and .Pp is not needed before or after .Sh; found by mandoc -Tlint; "please fix" jmc@
2010-02-24revert rev. 1.54 because it doesn't change the rendering with groffIngo Schwarze
but breaks the build with mandoc(1); ok jmc@ espie@
2010-02-24According to mdoc.samples(7), .Xo is explicitely disallowed after .Op,Ingo Schwarze
so switch from .Op Xo to .Oo Oc Xo, avoiding overlapping blocks. Note that removing the .Xo/.Xc and just putting everything on one line looks good, but is not possible right now because it triggers one of our old groff bugs, killing the build. Also fix another case of explicitly overlapping blocks, changing Oo Xo Oc Oo Op Oc Xc to just Oo Oc Oo Oo Oc Oc. ok jmc@
2010-02-24match code and doc; ok claudioJason McIntyre
2010-02-24exit if paths are not relative to chrootJakob Schlyter
2010-02-24Get rid of overlapping blocks;Ingo Schwarze
found by and fixing the build with mandoc(1). While here, use the proper escape sequence for the vertical bar. Patch from jmc@, thanks!
2010-02-24sort SEE ALSO;Jason McIntyre
2010-02-24regenJakob Schlyter
2010-02-24better default chrootJakob Schlyter
2010-02-23add remove command; ok jmc@ gilles@Kevin Steves
2010-02-23Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which,Ingo Schwarze
in these cases, is useless anyway. Found by and fixing the build with mandoc; still fine with both old and new groff. ok jmc@
2010-02-23Add a description for message-id and message-uid (text from gilles@).Kevin Steves
Also combine the two schedule commands with uid/id into one. help and ok jmc@ and gilles@
2010-02-23Add opendocument mime types, from Lars Nooden.Stuart Henderson
Pointed out by deraadt@, ok henning@
2010-02-23Unbreak tree. struct lsa_asext changed so we need to adjust the outputClaudio Jeker
function. Correct fix will follow but this compiles again.
2010-02-23This is a total dejavu of bgpd/kroute.c 1.165. Because IPv6 fucked up andClaudio Jeker
created a badly sized struct sockaddr_in6 we need to add some magic pading on 64bit archs. Code stolen from bgpd after a painful afternoon of bug hunting, head scratching and violent cursing. Now ospf6d works on 64bit archs.
2010-02-23Remove some extra ().Claudio Jeker
2010-02-23Oups, forgot this file in last commit. Bit definitions for AS-ext LSA neededClaudio Jeker
by lsa_asext_check().
2010-02-23Implement lsa_asext_check() to verify that type 5 LSA are correctly encoded.Claudio Jeker
Diff originally from stsp@, some minor modifications by me. First step to support type 5 LSA.
2010-02-23fetchtable and the kroute dispatch handlers both parse the same messagesDavid Gwynne
in slightly different ways. this unifies these handlers and cuts fetchtable over to using the generic handler. help from claudio@ and sthen@ ok claudio@
2010-02-23Fix byte range parsing, broken in last revision of http_protocol.c,Pierre-Yves Ritschard
unfortunately this backs out the use of strtonum and goes back to strtoll will need more love in a future diff. This fix from Dan Harnett <daniel @ harnett . name> ok deraadt@
2010-02-22dedup some code a bit. rather than have the same code in fetchifs andDavid Gwynne
dispatch_rtmsg, factor the message handling out. both fetchifs and dispatch_rtmsg get a buffer full of messages and then run it through a parser. now they get their buffers and pass it to rtmsg_process. ok claudio@
2010-02-22remove the original fetchtable code and replace it with the newDavid Gwynne
refetchtable. tested by me and sthen@ ok claudio@