summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-03-12missing close(); dhill@mindcry.orgTheo de Raadt
2006-03-12more getopt() EOF crud; adobriyan@gmailTheo de Raadt
2006-03-10print IAPP messages for the old IAPP port 2313.Reyk Floeter
2006-03-10add whitespaceReyk Floeter
2006-03-10some IAPP implementations still use the pre-standard port 2313 in broadcastReyk Floeter
mode (tested with the HP ProCurve 420wl). add a note to the manual page and the example configuration.
2006-03-10Avoid printing the whole file in the error message on missing trailing "Otto Moerbeek
Found by by mpech@; ok mpech@ ray@ miod@
2006-03-09Track interface uptime.Esben Norby
ok claudio@
2006-03-09Add some NOTREACHED to please lint.Claudio Jeker
2006-03-09More spring cleaning with lint. Change a few types and add some comments toClaudio Jeker
help lint.
2006-03-09It seems that 60 secs is a reasonable amount of time to reach state FULL.Esben Norby
2006-03-09Start using *_name function that are now shared between ospfd and ospfctl.Claudio Jeker
OK norby@
2006-03-09Move *_name functions to log.c and use these for both ospfd and ospfctl.Claudio Jeker
Stuff that is only used in ospfd debug messages is simplified. OK norby@
2006-03-09Correctly warn about unsupported interface types as it is done in other places.Claudio Jeker
2006-03-09KNF, remove some unneded type casts and add some ARGSUSED. This makes lintClaudio Jeker
almost happy.
2006-03-09Mark event callbacks with ARGSUSED to silence lint.Claudio Jeker
2006-03-09Switch send_packet from char * to void * and from int to size_t. The functionClaudio Jeker
is now similar to sendto et al.
2006-03-09in_cksum() should return a u_int16_t and not int. Switch a variable toClaudio Jeker
unsigned. Found by lint.
2006-03-09if_event_names is only used by interface.c so move it there.Claudio Jeker
2006-03-09Log link state changes.Esben Norby
ok claudio@
2006-03-08Remove unused quit flag inherited from bgpd long ago.Claudio Jeker
2006-03-08Cleanup with lint. Kill unused variable and fix some types.Claudio Jeker
2006-03-08Move procnames from log.h to log.c it is only used there.Claudio Jeker
2006-03-08Spaces and other minor cleanup.Claudio Jeker
2006-03-08Last kroute.c commit changed the meaning of the flags so check them correctly.Claudio Jeker
OK norby@
2006-03-08Fix logic of the kroute code. First of all there was a porblem if a prefixClaudio Jeker
is known via kernel and ospf. If the kernel route is removed the ospf one was not added to the FIB. This is an uncommon event so it is OK to request an update from the RIB in this case. Additionally ospfd treated bgpd inserted routes like static routes. This is wrong because IGP routes habe a higher preference over EGP routes. In this case a bgpd route needs to be overridden by a ospfd one. With these to fixes bgpd and ospfd start to play nicely together. OK norby@
2006-03-08Check for implied acks. If we receive an update that is on our retransmissionClaudio Jeker
queue for the neighbor there is no need to send back an ack.
2006-03-08Document "set community delete ..." and sync that section with the oneClaudio Jeker
from the PARAMETERS section. ok henning@
2006-03-08propagate stuff to be able to explicitly clean-up repositories.Marc Espie
(we can't use a normal destructor, since this will be called for each fork()ed subprocess).
2006-03-08fix race condition in SCP for real.Marc Espie
We can't control a grand-child death through gzip, so stop spawning grand-children: create two children connected by hand through a pipe, and when we close gzip, explicitly wait for the second child to die as well. This avoids race conditions between sigpipe and sigusr1. (and as usual, the resulting code is easier to follow once you get through the pipe/fork). Thanks theo for the comment. ;-)
2006-03-07Fix a bug reported by Xavier Beaudouin. On config reloads set parametersClaudio Jeker
inside group blocks were reset to default values. The problem was that group ids changed on reload as soon as a new peer was added to one group. Make sure that group ids remain the same over reloads a similar thing is already done for peer ids. ok henning@
2006-03-07"set attribute ..." in neighbor blocks needs better documentation.Claudio Jeker
With input from jmc@ and ok henning@
2006-03-07do not write partial files out if the PKG_CACHE filesystem overflows.Marc Espie
2006-03-07Use 65535 instead of 0xffff to specify the maximum number that can be usedClaudio Jeker
for the local part of communities.
2006-03-07Fix pkg_copy().Bernd Ahlers
2006-03-07properly zap temporary file.Marc Espie
2006-03-07rendez-vous with subchild through signal USR1.Marc Espie
2006-03-07make pkg_copy be overidable by subclass.Marc Espie
2006-03-07only the grand child can have issuesMarc Espie
2006-03-07beef up this file a little; ok grangeJason McIntyre
2006-03-07special case: repository holds several packages (say, old versions), andMarc Espie
you choose the most recent one, which also happens to be the currently installed version -> then explicitly say no update is needed and proceed.
2006-03-07let scp repositories work. Avoid run-away processes by just having one singleMarc Espie
ssh connection for each repository.
2006-03-07pass the grandchild pid through the pipe, in order to be able to monitor it.Marc Espie
2006-03-07Clone documentation for -C and -A options from apmd(8); otherwise they lookTheo de Raadt
terribly naked in here
2006-03-06failure to connect to apmd socket -- get status from the /dev/apm directlyMichael Shalayeff
2006-03-06zap object pid when done with it.Marc Espie
2006-03-06actually zap the codeMarc Espie
2006-03-06typoMarc Espie
2006-03-06take some infrequently used code completely out of the way.Marc Espie
2006-03-05avoid running mkfontdir/fc-cache if they don't exist.Marc Espie
2006-03-05SynchMarc Espie