summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2010-07-23Manuel Bouyer rescinded clauses 3 and 4 of his license text.Jonathan Gray
2010-07-21Search filter BER tags use a context-specific class, not an applicationMartin Hedenfal
class. This allows ypldap to talk to ldapd, which otherwise refuses the search filter. ok gilles@
2010-07-21fix NULL-deref, ok martinh@Gilles Chehade
2010-07-21Add a history section saying that ldapd/ldapctl first appeared in 4.8.Martin Hedenfal
2010-07-20opration -> operationMiod Vallat
2010-07-20Instead of checking for the *etcXX.tgz filename, check whether theAntoine Jacoutot
tarball contains ./var/db/sysmerge/etcsum or ./var/db/sysmerge/xetcsum. First, it's more correct and second it allows people to rename the sets without sysmerge bailing out. feature requested and tested by oga@
2010-07-20Another hand rolled offsetof(), replace with mask2prefixlen from kroute.cClaudio Jeker
which was copied from bgpd. Found by deraadt@
2010-07-20delete unused variableTheo de Raadt
2010-07-20do not use gcc -W options which you do not understandTheo de Raadt
2010-07-19When removing an announced prefix inherit the metric and ext_tag from theClaudio Jeker
LSA that is currently in the tree. Pruning with default metrics is bad since the checksum of the LSA is different and therefor an additional update cycle is needed to convince the other systems. OK bluhm@, sthen@
2010-07-19lsa_refresh() was able to resurect dead LSA resulting in zombie anouncements.Claudio Jeker
Make sure that if the LSA is managed by this router that we force timed-out LSA to stay timed out which causes them to be pruned in the secound round. This problem can show up when not exactly the same LSA is pruned because the checksum is used as tiebreaker resulting in indeterministic selection of which LSA is considered newer. OK bluhm@, sthen@
2010-07-18Fix an unaligned memory access.Martin Hedenfal
2010-07-18fix a double "is";Jason McIntyre
2010-07-17When running in full diff mode, don't wait for user input beforeAntoine Jacoutot
starting the comparison anymore. It does not bring us anything and allows to chop 30 lines of the script. While here, remove some empty lines.
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,Ingo Schwarze
who asked me to commit because he is just running out of the door.
2010-07-15store openssl error output during verification, and log it if it didn't work.Marc Espie
2010-07-14Another hand knitted offsetof() that needs to die. This time steal theClaudio Jeker
mask2prefixlen6 version from bgpd.
2010-07-14use offsetof() instead of self knitted version to please gcc4.Claudio Jeker
stolen from ospf.h
2010-07-14Fix a mrt fd leak by moving the block which closes finished dumps.Claudio Jeker
The previous location also depended on poll results and in most cases was therefor not entered because finished dumps are not added to the poll array. Problem reported by Peter Haag, OK henning@
2010-07-14handle RTM_DESYNC. if the kernel says we're out of sync with the kernelDavid Gwynne
routing table and interface list, do a reload of the kernel state. ive been running this in production for 2 or 3 weeks. tested by sthen@ ok sthen@ claudio@ deraadt@ code written by andrew sallaway at the univeristy of queensland.
2010-07-13Avoid double free in ldap modify requests. The values received in theMartin Hedenfal
modify request is linked into the stored ber structure, and then both are freed. Fix this by unlinking the values from the request.
2010-07-13no more rmd160(1);Jason McIntyre
2010-07-12missed one next -> return, as noticed by marco@Marc Espie
2010-07-12Merge duplicate log messages into one log_warn().Alexander Bluhm
ok claudio@
2010-07-12need to copy f() parameters, otherwise strange bugs with sub expressionsMarc Espie
may occur (bug in locality in @_ ?) Add missing bagage to State.pm to be able to interact directly with Makewhatis, later.
2010-07-11move compare into LibSpec, it's not so specific to Signature after allMarc Espie
2010-07-11display updateset name alongside collisionreport (turns out it's notMarc Espie
always obvious)
2010-07-10Retry requests when the btree is busy. Without this, clients will just hangMartin Hedenfal
waiting for a response if the btree was being reopened when the request was received.
2010-07-09ospfd is a AF_INET only routing daemon so limit the routing socket to thatClaudio Jeker
af. This is possible since this filtering no longer blocks RTM_IFINFO. OK henning@
2010-07-09fix pkg_mklocatedbMarc Espie
2010-07-09Do not try to originate an intra-area-prefix-lsa if an interfaceAlexander Bluhm
address changes that does not belong to any area. This fixes an ospf6d crash. To not search for the area in orig_intra_lsa_net(), just pass the area as function parameter. ok claudio@
2010-07-09inetname is only called when !nflag. There is no need to again check forDavid Hill
!nflag within inetname(). from Alexandr Shadchin ok claudio@
2010-07-09use macro defines for magical numbers, instead hardcoded valueszinovik
ok krw@
2010-07-08Let traceroute parse extended ICMP messages as defined by RFC 4884.Claudio Jeker
Currently only the MPLS label can be shown (RFC 4950). The extended information is only printed if either -x or -v was used. Initialy based on a port from NetBSD done by dhill@ but mostly rewritten now. OK deraadt@, dhill@
2010-07-08use more natural English in messages; ok espie@Stuart Henderson
2010-07-08Update after kroute.c change. As a goody print the route priority.Claudio Jeker
OK michele@
2010-07-08Kill more code in kroute.c that is unneeded in ldpd. ldpd is a bit strangeClaudio Jeker
since it does not care that much about reachability of routes. The idea is to have diverse LSP in the kernel and the kernel should then decide which path should be used. OK michele@
2010-07-08- Xr ldd; from jochen keil, netbsd pr 30043Jason McIntyre
- knock out some unhelpful Xrs - correct history entry; from millert ok millert otto
2010-07-07Make ifstated cause a little less noise in /var/log/daemon.Stefan Sperling
State transitions are still logged, but commands run are now printed only in debug mode (ifstated -d). ok deraadt
2010-07-06Send empty statistics rather than segfault if "ldapctl stats" is run when aMartin Hedenfal
database is being reopened due to compaction.
2010-07-06Plug another memory leak. Forgot to reset key returned from cursor, havingMartin Hedenfal
a reference to a cached page.
2010-07-06Clarify differences between the 'include' and 'schema' keyword. And stressMartin Hedenfal
the 'secure' keyword. Looks fine to jmc@, gilles@
2010-07-06When moving a node between pages during rebalance, find the source pageMartin Hedenfal
prefix before finding any child page prefix. This fixes an inconsistency during rebalance.
2010-07-06Update the interfaces changes from kroute to rde via imsg. ThisAlexander Bluhm
is needed to orginate correct intra-area-prefix-lsas. ok claudio@ stsp@
2010-07-06Use the static variable narea only where needed for config reload.Alexander Bluhm
The other imessages use the stack variables area and iface. ok claudio@
2010-07-06Adapt code to adhere to the comment (now that doesn't happen very often!).Martin Hedenfal
When deciding how to rebalancing after delete (move or merge), the number of keys is not important, as long as the source page doesn't get empty after a move. There is still a rare case where merging two quarter-full pages will not fit in a whole page (due to prefix expansion) that needs to be fixed.
2010-07-06fuss over wantntogo, especially when it's false (make sure we still get :okMarc Espie
at end of lines instead of '' replacing 30/50)
2010-07-06Add a blank line between sections in the output log, it's more readable.Antoine Jacoutot
2010-07-06Check return code from commit. Incorrectly returned success when commitMartin Hedenfal
failed due to disk full.
2010-07-05During network intra-area-prefix-lsa origination, the designatedAlexander Bluhm
router's prefixes were ignored if all other routers on that link had no prefixes. Advertise a intra-area-prefix-lsa with all prefixes for the network if there are any adjacent neighbors on link. ok stsp@