From: Gui Iribarren <gui@altermundi.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: [B.A.T.M.A.N.] alfred hook to run when new information is received?
Date: Sun, 03 Nov 2013 06:52:18 +0100 [thread overview]
Message-ID: <5275E492.2000608@altermundi.net> (raw)
Hey Simon,
until sarcasmarec ideas come true... ;)
[(2013/10/14) marec: d0tslash: we should release some more daemons]
we're doing our best to convince current daemons to turn *more* evil, in
the meanwhile
turns out, we're trying to propagate dnsmasq dhcp leases over the
network with alfred
[1]:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2013q4/007750.html
with the current 'alfred-facters' 5-minute cronjob (or any cronjob,
yeah) we can send a reload signal to dnsmasq at an acceptably short
interval. Nevertheless, something more realtime would be highly
desirable in this case
some kind of hook inside the C code, that gets called when alfred gets
updated information from any other node, and the hook runs a script (or
maybe all facters in facters_dir?)
in other words, instead of polling alfred every X interval to see if
there's any new info, make alfred react as soon as it receives
propagated info, so that it calls facter scripts and they can use that
info ASAP.
What do you think? Sounds useless? doable? Lightweight? Almighty?
gui :)
next reply other threads:[~2013-11-03 5:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-03 5:52 Gui Iribarren [this message]
2013-11-04 10:25 ` [B.A.T.M.A.N.] alfred hook to run when new information is received? Simon Wunderlich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5275E492.2000608@altermundi.net \
--to=gui@altermundi.net \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox