supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org>
Subject: Re: Respawn limit for runsv?
Date: 14 Feb 2005 17:23:42 +0100	[thread overview]
Message-ID: <wttbnm8r.fsf@ID-23066.news.dfncis.de> (raw)
In-Reply-To: <slrnd0v6lt.q8c.lars@flowers.house.oddbit.com> (Lars Kellogg-Stedman's message of "Sun, 13 Feb 2005 18:19:37 +0000 (UTC)")

* Lars Kellogg-Stedman:

> Having said that, an external implementation does work, although the code is
> a little more complicated since it becomes necessary to maintain some sort
> of external state.

this is the same problem as making a connection limiter for tcpserver/tvpsvd.
this can become important for services under DOS attacks.  i have such a
beast, written in guile-scheme (for experimenting), and the database part
works, but not logging by writing to stderr.  the correct place to implement a
simple algorithm (don't let some IP connect more then N times in T seconds)
would be the servers themselves.

> But with a working external solution, I'm probably too lazy to pursue
> anything else.

you could still make a patch and send it to the list.  me, i don't dare to
until i thought out all the issues with a simple but propably big and ever
changing hash table on file.

  clemens


  reply	other threads:[~2005-02-14 16:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11 12:56 Lars Kellogg-Stedman
2005-02-12  0:14 ` Charlie Brady
2005-02-12  1:14   ` Lars Kellogg-Stedman
2005-02-12  3:13     ` Charlie Brady
2005-02-12  5:21       ` Charles Duffy
2005-02-12 13:04         ` Lars Kellogg-Stedman
2005-02-13 18:42           ` Charlie Brady
2005-02-13 21:21             ` Thomas Schwinge
2005-02-13 13:48         ` Gerrit Pape
2005-02-13 18:19           ` Lars Kellogg-Stedman
2005-02-14 16:23             ` Clemens Fischer [this message]
2005-02-13  3:59     ` Lars Kellogg-Stedman

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=wttbnm8r.fsf@ID-23066.news.dfncis.de \
    --to=ino-qc@spotteswoode.de.eu.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;
as well as URLs for NNTP newsgroup(s).