Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-29 | Remove watch_cnt in preparation for my bigger patch that makes sensorsd | Constantine 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-29 | put the reload imsg types in right now. it makes my life easier. | Pierre-Yves Ritschard | |
2007-05-29 | do not start relay processes when no L7 load balancing is needed. | Pierre-Yves Ritschard | |
ok reyk@ | |||
2007-05-29 | add a new check method which allows to run external scripts/programs | Reyk Floeter | |
for custom evaluations. pyr agrees to put it in now but to do some improvements of the timeout handling later. | |||
2007-05-29 | use the right capitalization for `EBus' and `SBus' | Igor Sobrado | |
ok jmc@ | |||
2007-05-29 | slightly more descriptive names. | Marc Espie | |
2007-05-29 | in 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-29 | move code a bit, in preparation for multiple handles in an UpdateSet. | Marc Espie | |
2007-05-29 | rely on packing-lists knowing where they live, much saner. | Marc Espie | |
2007-05-29 | don't bypass add_object to create special files, otherwise infodir won't | Marc 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-29 | set_infodir only if plist got defined. | Marc Espie | |
2007-05-29 | set_infodir during pkg_add. | Marc Espie | |
2007-05-29 | use the infodir property of packing-lists and specialfiles instead of | Marc Espie | |
passing extra parameters around. | |||
2007-05-29 | a few more details so that infodirs become useful. | Marc Espie | |
2007-05-29 | clean-up SpecialFile a bit: make sure the name passed during creation is | Marc 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-29 | downgrade `can't find +DISPLAY' to a warning until I figure things out. | Marc Espie | |
2007-05-29 | Do not change snaplen when parsing a netflow packet | Can Erkin Acar | |
2007-05-29 | don't use 0 as an error number. | Marc Espie | |
2007-05-29 | tweaks; help/ok cnst | Jason McIntyre | |
2007-05-29 | Correctly fill the MP reach and unreach update messages. Until now | Claudio 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-29 | Correctly encode the End-of-RIB marker capability. It is just 2 bytes not | Claudio Jeker | |
4. OK henning@ | |||
2007-05-29 | for 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-29 | when 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-29 | move 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-29 | move struct relay to the runtime + config scheme. | Pierre-Yves Ritschard | |
this time around, include hoststatectl changes too. | |||
2007-05-28 | on tsartup, along with saying which AS number we are building filters for, | Henning Brauer | |
give the output dir | |||
2007-05-28 | another 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-28 | parse_asnum must return 0 (no match) if word is not an as number instead | Henning Brauer | |
of bitching and erroring out. worked so far because at the position it kicked in, only asnumor nothing were allowed | |||
2007-05-28 | store the configuration file's path, this will be useful when reloading. | Pierre-Yves Ritschard | |
2007-05-28 | allow 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-28 | move `interrupted' stuff inside state: removes one local variable, allows | Marc Espie | |
me to cut up big function into smaller ones. | |||
2007-05-28 | delay error reporting a bit more: try installing and deinstalling everything | Marc Espie | |
and report more issues. | |||
2007-05-28 | store skipupdatedeps in the set, not the plist | Marc Espie | |
2007-05-28 | lift 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-28 | oops, can't copy CONTENTS twice | Marc Espie | |
2007-05-28 | always create packing-lists with a `contents' entry. | Marc Espie | |
2007-05-28 | split off handle creation (for added packages) into its own routine. | Marc Espie | |
2007-05-28 | clean up packing-list validation, call the methods `prepare_for_addition' | Marc Espie | |
and `prepare_for_deletion', that's clearer... | |||
2007-05-28 | Reflect recent hoststated changes into hoststatectl | Pierre-Yves Ritschard | |
This unbreaks the tree. Fixed from the depth of the OpenBSD lair. | |||
2007-05-27 | so save_old_libs becomes the first routine to handle full UpdateSets. | Marc Espie | |
2007-05-27 | oops, save_old_libs is now set dependent, we no longer store old packages | Marc Espie | |
in the same location. | |||
2007-05-27 | move computation of header to a separate function. | Marc Espie | |
slightly more precise comment | |||
2007-05-27 | move packing-list validation to the UpdateSet level. | Marc Espie | |
2007-05-27 | comment out some of this code. Currently, we don't know how to recover | Marc Espie | |
from collision with old libs (and the result from figure_out_old_libs says so), so don't pretend we're doing anything significant with them... | |||
2007-05-27 | group packing-list validation for replaced packages with added one. | Marc Espie | |
2007-05-27 | Second step towards hoststated reload: | Pierre-Yves Ritschard | |
First split out hosts, tables and services into to structs, one that contains the runtime fields and one (inside the runtime) that contains mostly static fields that will be sent over the socket during reload. Also move the demoted field of tables inside the flags field as its just a boolean. ok reyk@ | |||
2007-05-27 | use macros from sys/queue.h | Pierre-Yves Ritschard | |
ok otto@ | |||
2007-05-27 | allow to specify table templates in the configuration file and to | Reyk Floeter | |
inherit them from multiple services or relays. this is useful if you want to use a table with the same list of hosts but different ports as specified in the relay or service section. this makes mcbride more happy ok pyr@ | |||
2007-05-27 | initialize pfx->pfx_maxlen too, rotting in my tree for some time | Henning Brauer | |
2007-05-27 | Additional truncation checks, mostly from tcpdump.org, | Can Erkin Acar | |
and remove some unused hlen assignments found by lint from Stuart Henderson, reviewed by me, ok henning@ claudio@ |