summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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.
2007-05-27move computation of header to a separate function.Marc Espie
slightly more precise comment
2007-05-27move packing-list validation to the UpdateSet level.Marc Espie
2007-05-27comment out some of this code. Currently, we don't know how to recoverMarc 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-27group packing-list validation for replaced packages with added one.Marc Espie
2007-05-27Second 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-27use macros from sys/queue.hPierre-Yves Ritschard
ok otto@
2007-05-27allow to specify table templates in the configuration file and toReyk 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-27initialize pfx->pfx_maxlen too, rotting in my tree for some timeHenning Brauer
2007-05-27Additional 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@