stunnel4 on hardy reset by peer?
chris
lostpkts at gmail.com
Wed Jul 9 17:06:54 UTC 2008
On Tue, Jul 8, 2008 at 8:17 AM, chris <lostpkts at gmail.com> wrote:
> I have an odd issue and I can't figure it out.
>
> I have stunnel4 installed and setup as a client. When my Hardy laptop
> boots up Stunnel4 is running.
>
> However connections to localhost:143 and localhost:119 get reset by
> peer. If I restart Stunnel4 everything works fine. But I have to
> restart it every time after it's already running from the bootup.
>
> I don't have this issue with Stunnel4 on my Gutsy server. I did the
> same thing to setup on my laptop that I did with my server. So
> something has changed but I can't find it.
>
> Any ideas?
>
> Thanks
>
>
>
>
> chris at kessel:~$ ps -eaf | grep stunnel4
> root 6372 1 0 07:47 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 6373 1 0 07:47 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 6374 1 0 07:47 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 6375 1 0 07:47 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 6376 1 0 07:47 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> stunnel4 6377 1 0 07:47 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> chris 7963 7943 0 08:12 pts/0 00:00:00 grep stunnel4
> chris at kessel:~$
> chris at kessel:~$
> chris at kessel:~$ telnet localhost 143
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection reset by peer
> chris at kessel:~$
> chris at kessel:~$ telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host.
> chris at kessel:~$
> chris at kessel:~$
> chris at kessel:~$ sudo /etc/init.d/stunnel4 restart
> [sudo] password for chris:
> Restarting SSL tunnels: [stopped: /etc/stunnel/stunnel.conf] [Started:
> /etc/stunnel/stunnel.conf] stunnel.
> chris at kessel:~$
> chris at kessel:~$
> chris at kessel:~$ ps -eaf | grep stunnel4
> root 8028 1 0 08:13 pts/0 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 8029 1 0 08:13 pts/0 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 8030 1 0 08:13 pts/0 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 8031 1 0 08:13 pts/0 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> root 8032 1 0 08:13 pts/0 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> stunnel4 8033 1 0 08:13 ? 00:00:00 /usr/bin/stunnel4
> /etc/stunnel/stunnel.conf
> chris 8035 7943 0 08:13 pts/0 00:00:00 grep stunnel4
> chris at kessel:~$
> chris at kessel:~$
> chris at kessel:~$ telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK Gimap ready for requests from 70.228.53.2 f60if1628793pyh.0 ^]
> telnet> quit
> Connection closed.
>
Anyone?
TIA
More information about the ubuntu-users
mailing list