Contributed by merdely on from the what's-in-a-name? dept.
In a recent post to misc@, Reyk Flöter (reyk@) announces hoststated's new name:
As you probably noticed, hoststated got renamed to relayd to reflect the enhanced scope of the daemon. I also used the chance to do significat changes to the configuration language. We may do a few more changes with the goal to get something that is extensible, nice, and consistent. This is the final name change for a tool that became very powerful and grew out of its roots, hopefully.
The rest of Reyk's message follows...
if you run the OpenBSD upgrade process, it will keep the old hoststated/hoststatectl binaries, which allows you to keep the old configuration while you're migrating from hoststated.conf to the new relayd.conf format. but i strongly advise to get rid of grumpy old hoststated!
to get an impression about the language changes, have a look at relayd.conf(5), see src/etc/relayd.conf, and view the differences in the OpenBSD CVS tree with:
cvs diff -Nup -r1.10 -r1.11 src/etc/relayd.conf
(it will take some time to sync it to the anoncvs servers).
Below are the relevant commit messages Reyk quoted:
CVSROOT: /cvs Module name: src Changes by: reyk@ 2007/12/08 10:07:09 Modified files: etc : relayd.conf usr.sbin/relayd: parse.y relay.c relayd.8 relayd.c relayd.conf.5 relayd.h usr.sbin/relayctl: relayctl.8 Log message: some changes to the relayd.conf configuration language and grammar. the tables will look more like pf tables, it is easier to re-use tables with different options, "services" will become "redirections" (they refer to rdr pf rules), sync configuration directives of redirect (l3, ex-service) relay (l7) sections (for example "virtual host" will become "listen on"), all target definitions will start with "forward to", etc. pp. (see relay.conf(5) and etc/relayd.conf) discussed with pyr and deraadt ok pyr@
CVSROOT: /cvs Module name: src Changes by: deraadt@ 2007/12/07 10:27:07 Removed files: usr.sbin/hoststatectl: Makefile hoststatectl.8 hoststatectl.c parser.c parser.h usr.sbin/hoststated: Makefile buffer.c carp.c check_icmp.c check_script.c check_tcp.c control.c hce.c hoststated.8 hoststated.c hoststated.conf.5 hoststated.h imsg.c log.c name2id.c parse.y pfe.c pfe_filter.c relay.c relay_udp.c ssl.c ssl_privsep.c Log message: hoststated/hoststatectl get repository copied (and de-tagged) into relayd/relayctl. This is a more suitable place for a daemon that has grown out of it's initial roots of "monitoring and redirecting services at various layers", into one that is "a full featured proxy, which happens to know what is up/down"
(Comments are closed)