🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #182679

Re: FQDN for Leafnode

#182679
From: hawat.thufir
Date: Sun, 26 Mar 2006 19:39
111 lines
4921 bytes
hawat.thufir@gmail.com wrote:
> Neil Woods wrote:
> ..
> > On another note, how are you starting Leafnode?  The usual method is to
> > use the Internet superserver inetd (or xinetd on some systems).  This
> > provides some extra level of security.  For example, here I have in
> > /etc/inetd.conf:
> >
> > # start leafnode nntp server
> > nntp  stream  tcp  nowait news /usr/sbin/tcpd /usr/sbin/leafnode
> >
> > If you have xinetd, the entry will be different.
> >
> > See inetd(8) (or xinetd(8)) man pages for more information.
> >
> > Apologies if you know this already!
> >
> > Hope this helps.
> ..
>
> Aha, this is exactly what I need to do.  I have xinetd and have read
> the man pages, however I still don't know how to edit /etc/xinetd.conf
> such that it starts leafnode.  I'm googling for an example, but notice
> that I don't have anything in in /usr/sbin/leafnode (different distro,
> no doubt).  How do you know what to put in that line, please?
>
>
> thanks,
>
> Thufir


Oh, it's a FAQ on leafnode's home page.


thufir@localhost ~ $
thufir@localhost ~ $ cat /home/thufir/xinetd.conf -n
     1  # /etc/xinetd.conf: sample configuration file for xinetd
     2
     3  defaults
     4  {
     5          only_from      = localhost
     6          instances      = 60
     7          log_type       = SYSLOG authpriv info
     8          log_on_success = HOST PID
     9          log_on_failure = HOST
    10          cps            = 25 30
    11  }
    12
    13
    14
    15  # see <http://tqmcube.com/leafnode.php>
    16  service nntp
    17  {
    18          disable         = no
    19          socket_type     = stream
    20          protocol        = tcp
    21          wait            = no
    22          user            = news
    23          server          = /usr/sbin/leafnode
    24  #       bind            = 127.0.0.1
    25  }
    26
    27
    28
    29  # see
<http://www.linuxfromscratch.org/blfs/view/stable/server/leafnode.html>
    30
    31          service nntp
    32          {
    33             flags           = NAMEINARGS NOLIBWRAP
    34             socket_type     = stream
    35             protocol        = tcp
    36             wait            = no
    37             user            = news
    38             server          = /usr/sbin/tcpd
    39             server_args     = /usr/sbin/leafnode
    40             instances       = 7
    41             per_source      = 3
    42          }
    43
    44
    45
    46  #<http://leafnode.sourceforge.net/wuerzburg/faq.html#4>
    47
    48                  service nntp
    49                  {
    50                          disable = no
    51                          flags           = REUSE
    52                          socket_type     = stream
    53                          wait            = no
    54                          user            = news
    55                          server          = /usr/sbin/leafnode
    56                          log_on_failure  += USERID
    57                  }
    58
    59
    60
    61
    62  includedir /etc/xinetd.d
    63
    64
    65
thufir@localhost ~ $ date
Sun Mar 26 20:37:47 IST 2006
thufir@localhost ~ $



-Thufir
Technical Details
Message-ID: <1143401961.250504.165670@i39g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com> <mf2gf3-isc.ln1@ID-107770.user.individual.net> <1143310596.083858.270300@i39g2000cwa.googlegroups.com> <irlgf3-lvh.ln1@ID-107770.user.individual.net> <1143327438.223962.198770@g10g2000cwb.googlegroups.com> <1143327796.764380.101290@e56g2000cwe.googlegroups.com> <87r74q9fkh.fsf@phun.phasmic.org> <1143401326.528322.158030@u72g2000cwu.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <1143401961.250504.165670@i39g2000cwa.googlegroups.com>
Subject: Re: FQDN for Leafnode
Date: Sun, 26 Mar 2006 19:39:21 +0000
From: hawat.thufir@gmail.com
References: <Pine.LNX.4.64.0603250058250.10025@ybpnyubfg> <udlef3xhe4.ln2@news.gates-of-hell.com> <mf2gf3-isc.ln1@ID-107770.user.individual.net> <1143310596.083858.270300@i39g2000cwa.googlegroups.com> <irlgf3-lvh.ln1@ID-107770.user.individual.net> <1143327438.223962.198770@g10g2000cwb.googlegroups.com> <1143327796.764380.101290@e56g2000cwe.googlegroups.com> <87r74q9fkh.fsf@phun.phasmic.org> <1143401326.528322.158030@u72g2000cwu.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
Newsgroups: news.software.readers
Organization: http://groups.google.com
Lines: 111
NNTP-Posting-Host: 24.84.131.197
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1143401966 25453 127.0.0.1 (26 Mar 2006 19:39:26
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 26 Mar 2006 19:39:26 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US;
Complaints-To: groups-abuse@google.com
Injection-Info: i39g2000cwa.googlegroups.com; posting-host=24.84.131.197;
 posting-account=fzKvuw0AAABwacCCYjdJ_2qlt6GHSH_U