[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] fetchnews via stunnel4 :-((((



Hartmut Gehrke-Tschudi <hgtschudi@xxxxxxx> writes:

> Leafnode NNTP Daemon, version 1.9.54 is called through "xinetd"
> System is  Suse8.2 Linux 2.4.20.
>
> when I do /usr/local/sbin/fetchnews -vvvv as user news I get errors:
>
> Jul  5 11:18:51 vitzlipu fetchnews[8725]: error: NNTP server went
> away (server disconnect or timeout)
> Jul  5 11:18:51 vitzlipu fetchnews[8725]: error: localhost: received
> bogus greeting (498): (nil)
> Jul  5 11:18:51 vitzlipu fetchnews[8725]: localhost: address list
> exhausted without establishing connec
> tion.

So stunnel had problems connecting.

> and this stunnel.config:
> -------------
> client = yes
> foreground = no
> verify = 2
> delay   = yes
> chroot = /var/lib/stunnel/
> setuid = stunnel
> setgid = nogroup
> pid = /var/run/stunnel.pid
> debug = 7
> output = stunnel.log

There should be something in the stunnel.log file, which resides in the
current working directory from which stunnel was started.

I'm getting for example this output:

2004.07.05 12:42:47 LOG7[17268:16384]: nntpsfree accepted FD=7 from 127.0.0.1:35751
2004.07.05 12:42:47 LOG7[17268:16384]: FD 7 in non-blocking mode
2004.07.05 12:42:47 LOG7[17274:16386]: nntpsfree started
2004.07.05 12:42:47 LOG5[17274:16386]: nntpsfree connected from 127.0.0.1:35751
2004.07.05 12:42:47 LOG3[17274:16386]: Failed to resolve hostname 'news2.free.de'
2004.07.05 12:42:47 LOG3[17274:16386]: Failed to initialize remote connection
2004.07.05 12:42:47 LOG7[17274:16386]: nntpsfree finished (0 left)

Something must be wrong with stunnel's resolver.

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/