From: Jeff Garzik <jeff@garzik.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: Re: [Patch 3/7] tabled: add the status display
Date: Wed, 20 Jan 2010 16:49:57 -0500 [thread overview]
Message-ID: <4B577A85.8080301@garzik.org> (raw)
In-Reply-To: <20100120131950.2ce72e71@redhat.com>
On 01/20/2010 03:19 PM, Pete Zaitcev wrote:
> On Wed, 20 Jan 2010 14:51:59 -0500
> Jeff Garzik<jeff@garzik.org> wrote:
>
>> On 01/14/2010 11:12 PM, Pete Zaitcev wrote:
>>> I find it too tiresome to monitor the status with kill -USR1.
>>> This is more fun. The patch seems not too ugly regarding the factoring
>>> of the cli_xxx methods.
>>>
>>> Signed-Off-By: Pete Zaitcev<zaitcev@redhat.com>
>>>
>>> ---
>>> doc/etc.tabled.conf | 3
>>> server/Makefile.am | 4
>>> server/config.c | 19 +++
>>> server/replica.c | 64 +++++++++++-
>>> server/server.c | 104 +++++++++++++-------
>>> server/status.c | 218 ++++++++++++++++++++++++++++++++++++++++++
>>> server/tabled.h | 12 +-
>>> 7 files changed, 379 insertions(+), 45 deletions(-)
>>
>> applied... but we need some way to either turn this off, or limit to a
>> list of incoming IP addresses. This is an admin interface, which should
>> not be automatically available to all end-user applications.
>
> I thought it was obvious that StatusPort defaults to off (zero).
>
> if (tabled_srv.status_port)
> net_open_known(tabled_srv.status_port, true);
I missed that detail. That works.
Though eventually I hope someone will create a patch for filtering
incoming connections via IP address. Not an issue that needs attention
pre-1.0 unless a volunteer appears, though.
Jeff
prev parent reply other threads:[~2010-01-20 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100114211216.53d51c13@redhat.com>
2010-01-20 19:51 ` [Patch 3/7] tabled: add the status display Jeff Garzik
2010-01-20 20:19 ` Pete Zaitcev
2010-01-20 21:49 ` Jeff Garzik [this message]
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=4B577A85.8080301@garzik.org \
--to=jeff@garzik.org \
--cc=hail-devel@vger.kernel.org \
--cc=zaitcev@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.