* [gentoo-user] leafnode and xinetd.conf
@ 2006-03-26 20:22 THUFIR HAWAT
2006-03-26 21:27 ` Alexander Skwar
0 siblings, 1 reply; 4+ messages in thread
From: THUFIR HAWAT @ 2006-03-26 20:22 UTC (permalink / raw
To: gentoo-user
I'd crosspost this from news.softwear.readers, but I don't have
leafnode configured yet ;)
Here is a sample /etc/xinetd/leafnode entry. The entry in the "server"
field has to point to your locally installed leafnode executable.
Dependent on the installation, this executable may not reside in
/usr/sbin but elsewhere (e.g. /usr/local/sbin if you installed
leafnode from the source code).
service nntp
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = news
server = /usr/sbin/leafnode
log_on_failure += USERID
}
<http://leafnode.sourceforge.net/wuerzburg/faq.html#4>
How do I know where leafnode is, please? I can create a file
thufir@localhost ~ $
thufir@localhost ~ $ cat /etc/xinetd/leafnode
cat: /etc/xinetd/leafnode: No such file or directory
thufir@localhost ~ $ date
Sun Mar 26 21:21:07 IST 2006
thufir@localhost ~ $
such that it's appended /etc/xinetd.conf when xinetd runs?
thanks,
Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] leafnode and xinetd.conf
2006-03-26 20:22 [gentoo-user] leafnode and xinetd.conf THUFIR HAWAT
@ 2006-03-26 21:27 ` Alexander Skwar
2006-03-26 22:22 ` THUFIR HAWAT
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Skwar @ 2006-03-26 21:27 UTC (permalink / raw
To: gentoo-user
THUFIR HAWAT wrote:
> How do I know where leafnode is, please?
cat /var/db/pkg/*/leafnode*/CONTENTS
> I can create a file
>
> thufir@localhost ~ $
> thufir@localhost ~ $ cat /etc/xinetd/leafnode
/etc/xinetd.d/leafnode
> such that it's appended /etc/xinetd.conf when xinetd runs?
Check out your /etc/xinetd.conf.
But /etc/xinetd.d/leafnode will be included, yes.
Alexander Skwar
--
Yes, I've now got this nice little apartment in New York, one of those
L-shaped ones. Unfortunately, it's a lower case l.
-- Rita Rudner
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] leafnode and xinetd.conf
2006-03-26 21:27 ` Alexander Skwar
@ 2006-03-26 22:22 ` THUFIR HAWAT
2006-03-27 7:54 ` Alexander Skwar
0 siblings, 1 reply; 4+ messages in thread
From: THUFIR HAWAT @ 2006-03-26 22:22 UTC (permalink / raw
To: gentoo-user
On 3/26/06, Alexander Skwar <listen@alexander.skwar.name> wrote:
..
> /etc/xinetd.d/leafnode
>
> > such that it's appended /etc/xinetd.conf when xinetd runs?
>
> Check out your /etc/xinetd.conf.
>
> But /etc/xinetd.d/leafnode will be included, yes.
>
> Alexander Skwar
..
thufir@localhost ~ $
thufir@localhost ~ $
thufir@localhost ~ $ cat /etc/xinetd/leafnode
cat: /etc/xinetd/leafnode: No such file or directory
thufir@localhost ~ $ date
Sun Mar 26 21:21:07 IST 2006
thufir@localhost ~ $ ls -lh /etc/xinetd.d/
total 56K
-rw-r--r-- 1 root root 643 Mar 22 13:29 README.services
-rw-r--r-- 1 root root 246 Mar 22 13:29 chargen-tcp
-rw-r--r-- 1 root root 266 Mar 22 13:29 chargen-udp
-rw-r--r-- 1 root root 368 Mar 20 19:39 cups-lpd
-rw-r--r-- 1 root root 246 Mar 22 13:29 daytime-tcp
-rw-r--r-- 1 root root 272 Mar 22 13:29 daytime-udp
-rw-r--r-- 1 root root 238 Mar 22 13:29 echo-tcp
-rw-r--r-- 1 root root 263 Mar 22 13:29 echo-udp
-rw-r--r-- 1 root root 250 Mar 21 11:37 fingerd
-rw-r--r-- 1 root root 230 Mar 22 13:34 leafnode-nntp
-rw-r--r-- 1 root root 528 Mar 20 19:59 swat
-rw-r--r-- 1 root root 205 Mar 26 19:46 telnetd
-rw-r--r-- 1 root root 270 Mar 22 13:29 time-tcp
-rw-r--r-- 1 root root 272 Mar 22 13:29 time-udp
thufir@localhost ~ $ cat -n /etc/xinetd.d/leafnode-nntp
1 # default: off
2 # description: Leafnode - accepts connections on port 119 (NNTP)
3
4 service nntp
5 {
6 socket_type = stream
7 protocol = tcp
8 wait = no
9 user = news
10 server = /usr/sbin/leafnode
11 disable = yes
12 }
thufir@localhost ~ $ cat -n /etc/xinetd.conf
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 includedir /etc/xinetd.d
thufir@localhost ~ $ date
Sun Mar 26 23:18:23 IST 2006
thufir@localhost ~ $
Was it epstein on "welcome back kotter"? Ooooh, oooh, oooh!
Ok, thank you so much. I thought it was odd that "emerge leafnode"
didn't automagically create this file, or something similar :)
Thing is, I'm multi-posting :(
Over in news.softwear.readers there's a thread, so I'm not sure how to
proceed with any followup questions.
After I have this done, I might be inclined adding to the gentoo wiki on this :)
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] leafnode and xinetd.conf
2006-03-26 22:22 ` THUFIR HAWAT
@ 2006-03-27 7:54 ` Alexander Skwar
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Skwar @ 2006-03-27 7:54 UTC (permalink / raw
To: gentoo-user
THUFIR HAWAT wrote:
> On 3/26/06, Alexander Skwar <listen@alexander.skwar.name> wrote:
> ..
>> /etc/xinetd.d/leafnode
>>
>> > such that it's appended /etc/xinetd.conf when xinetd runs?
>>
>> Check out your /etc/xinetd.conf.
>>
>> But /etc/xinetd.d/leafnode will be included, yes.
> thufir@localhost ~ $ cat -n /etc/xinetd.d/leafnode-nntp
> 1 # default: off
> 2 # description: Leafnode - accepts connections on port 119 (NNTP)
> 3
> 4 service nntp
> 5 {
> 6 socket_type = stream
> 7 protocol = tcp
> 8 wait = no
> 9 user = news
> 10 server = /usr/sbin/leafnode
> 11 disable = yes
> 12 }
Sure? Why disable=yes?
> After I have this done, I might be inclined adding to the gentoo wiki on this :)
Well, go ahead - but I don't think that changing "disable = yes"
to "disable = no" is a good enough reason for adding something
to the Wiki. But that's just me.
Alexander Skwar
--
People who go to conferences are the ones who shouldn't.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-27 8:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-26 20:22 [gentoo-user] leafnode and xinetd.conf THUFIR HAWAT
2006-03-26 21:27 ` Alexander Skwar
2006-03-26 22:22 ` THUFIR HAWAT
2006-03-27 7:54 ` Alexander Skwar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox