summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2010-07-26even if you write signal handlers to not do anything stupid when you'reMarc Espie
not on a terminal, they STILL interrupt long system calls and cause sysread to fail, so disable them when they're not needed. problem found by mlarkin@ this is just a band-aid, I guess I really need to "reset" non-needed signals globally whenever I fork... sigh.
2010-07-26- use warnx instead of warn when skipping large lines, as errno isMiod Vallat
nonsensical in that case (and usually zero). - when altering the groups file, preserve a single "+" line instead of complaining it is incorrect and removing it. ok fgsch@ millert@ ray@
2010-07-26Fix a sigbus due to unaligned memory access, found when compacting onMartin Hedenfal
sparc64. reads ok to gilles@
2010-07-26typo (canacar@)Marc Espie
2010-07-25oopsMarc Espie
2010-07-24pass state to Makewhatis. With new hooks in there, that means displayMarc Espie
will integrate with pkg_add output (no more disturbed error messages from wrong subject lines)
2010-07-23smtpd should NOT fatal when it permanently fails a bounce delivery as thisGilles Chehade
can be a normal situation and will allow a local/authenticated user to trigger the fatal on purpose ... ignore permanently failed bounce deliveries since there's not much smtpd can do anyway, that's what the previous queue code did. experienced and reported by pirofti@
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.