OpenBSD CVS

CVS log for src/usr.sbin/hoststatectl/Attic/hoststatectl.c


[BACK] Up to [local] / src / usr.sbin / hoststatectl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28, Fri Dec 7 17:27:05 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +1 -1 lines
FILE REMOVED

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"

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 24 17:09:12 2007 UTC (16 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored)

style(9) for includes

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 23 09:39:42 2007 UTC (16 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

re-implement the "mark" action and document it in the manpage:
it is possible to attach a mark to a session based on matching an
entity (header, url, cookie, ...) and add conditional action for this
mark. it works a bit like the tag/tagged keywords in pf, but i decided
to pick a different name to avoid confusion.

ok pyr@ gilles@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 19 12:08:54 2007 UTC (16 years, 7 months ago) by pyr
Branch: MAIN
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored)

Add the ability to schedule an immediate check through hoststatectl.
Especially useful when interval is rather long.
I was supposed to commit this before 4.2.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 29 16:23:06 2007 UTC (16 years, 8 months ago) by pyr
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

KNF.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 28 13:29:56 2007 UTC (16 years, 8 months ago) by pyr
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Correct my mail address.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 7 08:33:31 2007 UTC (16 years, 9 months ago) by reyk
Branch: MAIN
Changes since 1.21: +40 -0 lines
Diff to previous 1.21 (colored)

add a "show sessions" command to dump the complete list of running relay
sessions.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Sep 7 08:31:36 2007 UTC (16 years, 9 months ago) by reyk
Branch: MAIN
Changes since 1.20: +2 -6 lines
Diff to previous 1.20 (colored)

simple style change in the switch

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 12 18:09:00 2007 UTC (17 years ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.19: +11 -11 lines
Diff to previous 1.19 (colored)

reflect msf's changes to the imsg framework in hoststated.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 29 23:19:18 2007 UTC (17 years ago) by pyr
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

allow the control handling code to send messages back to the parent.
forward IMSG_CTL_RELOAD which ends up not doing anything for now.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 29 00:21:10 2007 UTC (17 years ago) by pyr
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

move struct relay to the runtime + config scheme.
this time around, include hoststatectl changes too.

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 28 00:04:47 2007 UTC (17 years ago) by pyr
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

Reflect recent hoststated changes into hoststatectl
This unbreaks the tree.
Fixed from the depth of the OpenBSD lair.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 22 05:59:13 2007 UTC (17 years, 3 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

spacing

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 22 03:32:40 2007 UTC (17 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.14: +84 -14 lines
Diff to previous 1.14 (colored)

Add layer 7 functionality to hoststated used for layer 7
loadbalancing, SSL acceleration, general-purpose TCP relaying, and
transparent proxying.

see hoststated.conf(5) and my upcoming article on undeadly.org for
details.

ok to commit deraadt@ pyr@

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 6 08:45:46 2007 UTC (17 years, 4 months ago) by pyr
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

inform hoststatectl monitor of ruleset changes and table syncs.
ok reyk@

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 3 17:51:46 2007 UTC (17 years, 4 months ago) by reyk
Branch: MAIN
Changes since 1.12: +10 -1 lines
Diff to previous 1.12 (colored)

wait for hoststated to become available in monitor mode.

ok pyr@

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 1 21:57:18 2007 UTC (17 years, 4 months ago) by reyk
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

print id name in the monitor output if available

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 1 21:01:10 2007 UTC (17 years, 4 months ago) by reyk
Branch: MAIN
Changes since 1.10: +78 -42 lines
Diff to previous 1.10 (colored)

modify the imsg monitor to look even nicer and to use a more flexible
API (inspired by the ipsec pfkey monitor).

ok pyr@ niallo@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 1 20:03:38 2007 UTC (17 years, 4 months ago) by pyr
Branch: MAIN
Changes since 1.9: +59 -1 lines
Diff to previous 1.9 (colored)

add a monitor mode to hoststatectl to continuously report changes in
hoststated.
ok reyk@, "looks nice and clean" niallo@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 29 14:23:31 2007 UTC (17 years, 4 months ago) by pyr
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Add SSL support to hoststated.
with help and OK reyk@
with help and advice by claudio@ and Srebrenko Sehic

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 9 13:50:10 2007 UTC (17 years, 5 months ago) by pyr
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Finish renaming hostated to hoststated.
Note to testers: the user the daemon changes its id to is now _hoststated,
don't forget to update master.passwd.
ok reyk@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 9 00:45:32 2007 UTC (17 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

adapt to rename

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 16 18:50:33 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

- allow to use host/service/table names instead of Ids in hostatectl.
- minor change of the "hostatectl show" command output
- increase the max service and tag names (max pf tag name size is 64 now!)

thanks to pyr who found a bug in my initial diff

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 16 17:52:21 2006 UTC (17 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

spacing, plus dubious \% in format string

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 16 15:02:35 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.3: +8 -9 lines
Diff to previous 1.3 (colored)

more spacing

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 16 14:21:15 2006 UTC (17 years, 5 months ago) by bernd
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Fix two comments. ok reyk@

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 16 12:47:18 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.1: +15 -15 lines
Diff to previous 1.1 (colored)

knf, spacing

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 16 11:45:07 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN

Import hostated, the host status daemon.  This daemon will monitor
remote hosts and dynamically alter pf(4) tables and redirection rules
for active server load balancing.  The daemon has been written by
Pierre-Yves Ritschard (pyr at spootnik.org) and was formerly known as
"slbd".

The daemon is fully functional but it still needs some work and
cleanup so we don't link it to the build yet.  Some TODOs are a
partial rewrite of the check_* routines (use libevent whenever we
can), improvement of the manpages, and general knf and cleanup.

ok deraadt@ claudio@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.