From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] playing with namespaces
Date: Sun, 26 Sep 2010 17:41:24 -0400 [thread overview]
Message-ID: <076604d7e2a8417033c7a50f4e7638c2@plug.quanstro.net> (raw)
In-Reply-To: <20100926212108.GA20262@chiron.galaxy>
> - I copied /rc/bin/service.auth to /cfg/<authhost>/slash and enabled
> tcp567 and then added a bind -b of that directory to the original
> /rc/bin/service.auth.
the traditional way of doing this is to create directories
service.$function and/or service.$function.auth and use them
as arguments to listen. the exact arguments to listen should
depend on $sysname (whaever your cpurc setup). that way,
you don't have stuff that's mucking with the namespace depending
to much on construction of the namespace.
for example, i start this on the public interface of my auth server
(i knew the fancy new way to do this is with /cfg/$sysname/cpurc, but
you get the point):
...
switch($sysname){
...
case ladd:
...
aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service.ext /net.alt/tcp
...
; cd /rc/bin; lc service.ext
!tcp17007 tcp17010 tcp25
tcp17009 tcp17013
; lc service.auth
!il566 tcp22 tcp566 tcp567 tcp993 tcp995
- erik
next prev parent reply other threads:[~2010-09-26 21:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-26 21:21 frank
2010-09-26 21:41 ` erik quanstrom [this message]
2010-09-27 20:33 ` frank
2010-09-27 22:16 ` erik quanstrom
2010-09-28 21:00 ` frank
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=076604d7e2a8417033c7a50f4e7638c2@plug.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/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).