summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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@
2010-07-05convert last user of libcompat in base to modern regexes. ok deraadtTed Unangst
2010-07-05Change SO_RDOMAIN to SO_RTABLE in err() after the recent "rename".Robert Nagy
It seems this one was missed.
2010-07-05Unbreak writing updates to the btree while having a cursor open on theMartin Hedenfal
affected pages. When a cursor has increased the reference count on a cached page, it is copied before updated. The new pointer was however not passed back to the caller, effectively commiting the old page numbers.
2010-07-05original `for' loop has bug `use after free'. At first iteration we arezinovik
checking h != NULL, then we free(h) and then we do `h = h->next', but `h' is not valid anymore. ok @krw
2010-07-05Plug a memory leak when aborting transactions.Martin Hedenfal
2010-07-05Close cursor on delete. Fixes memory leak introduced by non-leaf deleteMartin Hedenfal
check.
2010-07-05Automatically install missing users and groups.Antoine Jacoutot
(does *NOT* touch existing users/groups) "I like it" from several... inputs from sthen@ and halex@ ok krw@ halex@ sthen@
2010-07-04- zap trailing whitespaceJason McIntyre
- knock out an unneeded .Pp
2010-07-04reindent, turn function mkheader into method.Marc Espie
2010-07-04remove direct prints, pass thru state.Marc Espie
2010-07-04best if I don't forget half of the commit...Marc Espie
2010-07-04initial documentation for pkg.conf, after nits from jmc@, and straighteningMarc Espie
up by Theo about what should be in there...
2010-07-04two config optionsMarc Espie
2010-07-04Remove the non-standard, commented out, -c option.Todd C. Miller
OK tedu@ jmc@ deraadt@
2010-07-03string comparison (noticed by landry)Marc Espie
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me