summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2010-03-24We need to set the rtm_priority when changing a route so that we do notClaudio Jeker
modify a possible better route instead. A bit more is still needed. OK michele@
2010-03-24DSR got broken with the move towards the new pf.Pierre-Yves Ritschard
This fixes it. Found out by Laurent Lavaud & myself. "looks olrite" henning@
2010-03-24options must be sorted.Joerg Goltermann
OK: henning@, claudio@
2010-03-23fix callback. This one isn't called that often actually.Marc Espie
noticed by ckuethe
2010-03-22Add missing text from license. Originally found in safte(4) in JulyPaul de Weerd
2005, this was copied around quite a bit. ok jmc@ deraadt@ dlg@ claudio@ grange@ marco@
2010-03-22clean up the ProgressMeter code, create a specific class if a TermMarc Espie
is around. start using stuff from termcap, specifically, cleareol, and move to hp. use the full line when we can, cram 100% if we can. (this should flicker much less on slow terminals). clean-up the install-and-progress bits to be in progressmeter, this removes some code. have pkg_create follow the same pattern as the others, with a state. This allows us to unify error messages a bit.
2010-03-22Do not leak file descriptor `fd' on error path; from zinovikTheo de Raadt
2010-03-20if a package already contains an url marker (say, local stuff recreated),Marc Espie
don't override it. so that it can actually be installed.
2010-03-20s/sh/ksh/Antoine Jacoutot
2010-03-08res.flags is not only used by the irrfilter so initializing them withClaudio Jeker
irrfilter flags is causing strange behaviour on other commands (like show fib). Set the IPV4 and IPV6 flags at the end unless one of them got already set. OK henning, sthen, deraadt
2010-03-07erase to the end of "previous line". Avoid dangling % after displaying 100%.Marc Espie
from sthen@.
2010-03-06ospfd/ospf6d man page cleanup:Stefan Sperling
Sync description of the OSPF protocol between ospfd(8) and ospf6d(8). Document current shortcomings -- in particular, document that ospf6d(8) needs manual IPsec setup for security. Clean up various grammatical errors, re-order and re-phrase things a bit to improve readability. Update RFC references. Remove IPv4-specific stuff from ospf6d.conf(5). OK jmc@ claudio@
2010-03-06match_locations doesn't work on invalid specs, so don't go thereMarc Espie
2010-03-06fix very stupid typoMarc Espie
2010-03-06don't go up to column 80, until we ask Term::Cap properly for what's goingMarc Espie
on.
2010-03-06consistent error. exit(1) if something bad happened.Marc Espie
(fixes some errors in ports)
2010-03-05Allow to filter for ext-community attributes. Currently only perfect matchesClaudio Jeker
work but that's already better then nothing. OK sthen@
2010-03-046Bone is dead. Use the literal '3ffe::/16' rather than '6bone testKenneth R Westerback
address range' when explaining the -L example.
2010-03-03Compare against correct flag when printing "network inet6 static"Claudio Jeker
2010-03-03Replace enum rib_state with enum reconf_action since their doing the same.Claudio Jeker
NEW is now REINIT, ACTIVE is KEEP and DELETE and NONE stay the same.
2010-03-03tweak mda.c rev. 1.36: eliminate risk of busy waiting for socketJacek Masiulaniec
to become writable, and make code more idiomatic. tested by nicm@ ok gilles@
2010-03-03tweak mda.c rev. 1.36: eliminate risk of busy waiting for socketJacek Masiulaniec
to become writable, and make code more idiomatic. tested by nicm@ ok gilles@
2010-03-03Must check for NO_LABEL here as well or we print strange label numbers.Claudio Jeker
OK michele@
2010-03-03Rework the kroute code by stealing some code from ospfd and massaging itClaudio Jeker
a lot more. Main reason for this is to add priority support. Additionally add some additional NO_LABEL fixes. OK michele@
2010-03-03Remove superfluous newlineClaudio Jeker
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