summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-05-30backout last diff which introduces problems and use the globalPierre-Yves Ritschard
environment instead.
2007-05-29make sure every dispatch function is fed the environment structure.Pierre-Yves Ritschard
2007-05-29when the time comes, let pfe_dispatch_parent be able to service morePierre-Yves Ritschard
than one message.
2007-05-29allow the control handling code to send messages back to the parent.Pierre-Yves Ritschard
forward IMSG_CTL_RELOAD which ends up not doing anything for now.
2007-05-29In update mode, restore previous behavior: some updated packages may haveMarc Espie
names that match installed packages, but still mark them to be installed, so that they're returned as dependencies, and get updated first. Write in TODO that the current situation is brittle, solved dependencies should get adjusted in real time to be 100% sure this won't cause problems...
2007-05-29teach hoststatectl's parser about reload. the code to handle it isPierre-Yves Ritschard
already there. of course this is a dummy for now.
2007-05-29Demote support for ospfd. It is possible to specify a demote group onClaudio Jeker
interfaces and areas. With this carp setups using ospfd are more reliable because we can fail over if the OSPF connectivity is (partially) lost. OK norby@
2007-05-29adapt ztsscale and the installer to use wscons ioctls for calibration;Robert Nagy
ok deraadt@
2007-05-29Remove clause 3 and 4. Ok with Chuck. -mojMats O Jansson
2007-05-29Remove watch_cnt in preparation for my bigger patch that makes sensorsdConstantine A. Murenin
usable by default, where we will monitor all sensors that automatically provide status, and this watch_cnt won't make much sense. Besides, upon startup, sensorsd already shows all sensors that it is going to monitor, making this watch_cnt rather unimportant. ok henning@
2007-05-29put the reload imsg types in right now. it makes my life easier.Pierre-Yves Ritschard
2007-05-29do not start relay processes when no L7 load balancing is needed.Pierre-Yves Ritschard
ok reyk@
2007-05-29add a new check method which allows to run external scripts/programsReyk Floeter
for custom evaluations. pyr agrees to put it in now but to do some improvements of the timeout handling later.
2007-05-29use the right capitalization for `EBus' and `SBus'Igor Sobrado
ok jmc@
2007-05-29slightly more descriptive names.Marc Espie
2007-05-29in checksum creation, allow $base to be undef.Marc Espie
This allows us to always compute checksums based on $self->fullname, so as a result, we no longer need to pass as many parameters around. Small negative side-effect: the method names no longer reflect reality well, they will need renaming at some point...
2007-05-29move code a bit, in preparation for multiple handles in an UpdateSet.Marc Espie
2007-05-29rely on packing-lists knowing where they live, much saner.Marc Espie
2007-05-29don't bypass add_object to create special files, otherwise infodir won'tMarc Espie
get defined. Simplify and clean-up register_installation: everything is in the packing-list so don't pass other arguments. Do not copy arbitrary info_names objects, but use a copy_info visitor which copies exactly what files are around. Use the stored infodir to locate DISPLAY and INSTALL files.
2007-05-29set_infodir only if plist got defined.Marc Espie
2007-05-29set_infodir during pkg_add.Marc Espie
2007-05-29use the infodir property of packing-lists and specialfiles instead ofMarc Espie
passing extra parameters around.
2007-05-29a few more details so that infodirs become useful.Marc Espie
2007-05-29clean-up SpecialFile a bit: make sure the name passed during creation isMarc Espie
totally irrelevant. Add a new property to packing-lists: infodir, and use it to compute fullnames for special files. Once this is properly synchronized, we can tie infodir to packing-lists, and remove it from the state...
2007-05-29downgrade `can't find +DISPLAY' to a warning until I figure things out.Marc Espie
2007-05-29Do not change snaplen when parsing a netflow packetCan Erkin Acar
2007-05-29don't use 0 as an error number.Marc Espie
2007-05-29tweaks; help/ok cnstJason McIntyre
2007-05-29Correctly fill the MP reach and unreach update messages. Until nowClaudio Jeker
short updateds included a dummy ::/0 route and the withdraws were totaly wrong because the AFI/SAFI header was missing. put it in henning@
2007-05-29Correctly encode the End-of-RIB marker capability. It is just 2 bytes notClaudio Jeker
4. OK henning@
2007-05-29for sensorsd.conf entries, let's do matching by sensor type if maching by ↵Constantine A. Murenin
complete sysctl name does not yield anything; ok henning, otto
2007-05-29when purging relays, purge sessions as well.Pierre-Yves Ritschard
not needed for the initial purge since no sessions exist but will be necessary when reloading the relay process.
2007-05-29move the ssl cipher suite string to a (small) static charbuf,Pierre-Yves Ritschard
this will make it easier to send the struct over the socket.
2007-05-29move struct relay to the runtime + config scheme.Pierre-Yves Ritschard
this time around, include hoststatectl changes too.
2007-05-28on tsartup, along with saying which AS number we are building filters for,Henning Brauer
give the output dir
2007-05-28another small step towards hoststated reloading.Pierre-Yves Ritschard
allow purging of parts of the hoststated environment structure. start using this function now to only keep vital information in hoststated children processes. ok reyk@
2007-05-28parse_asnum must return 0 (no match) if word is not an as number insteadHenning Brauer
of bitching and erroring out. worked so far because at the position it kicked in, only asnumor nothing were allowed
2007-05-28store the configuration file's path, this will be useful when reloading.Pierre-Yves Ritschard
2007-05-28allow matching on communities using 0 in the AS part, that is in use.Henning Brauer
that unfortunately means we cannot use 0 for "unset". ok claudio
2007-05-28move `interrupted' stuff inside state: removes one local variable, allowsMarc Espie
me to cut up big function into smaller ones.
2007-05-28delay error reporting a bit more: try installing and deinstalling everythingMarc Espie
and report more issues.
2007-05-28store skipupdatedeps in the set, not the plistMarc Espie
2007-05-28lift up more of the dev checking code into Vstat.Marc Espie
un-special case SpecialFiles on deletion. Now that CONTENTS is part of the plist, it's checked as well on addition.
2007-05-28oops, can't copy CONTENTS twiceMarc Espie
2007-05-28always create packing-lists with a `contents' entry.Marc Espie
2007-05-28split off handle creation (for added packages) into its own routine.Marc Espie
2007-05-28clean up packing-list validation, call the methods `prepare_for_addition'Marc Espie
and `prepare_for_deletion', that's clearer...
2007-05-28Reflect recent hoststated changes into hoststatectlPierre-Yves Ritschard
This unbreaks the tree. Fixed from the depth of the OpenBSD lair.
2007-05-27so save_old_libs becomes the first routine to handle full UpdateSets.Marc Espie
2007-05-27oops, save_old_libs is now set dependent, we no longer store old packagesMarc Espie
in the same location.