Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 08-06-2005, 12:02 PM   #1
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
OpenBSD/courier server connection timeout

I run an OpenBSD/courier-imap mailserver at home with a pf firewall. When I run a Thunderbird client on my Linux desktop at home things are fine. Both machines are behind a Linksys firewall.

When I run Thunderbird on my desktop at work and try to reach my home server, it runs fine for a minute or two and then loses the connection (connection to server timed out). All this is secure (SSL) imap through port 993.

Any idea what the problem might be? I don't see any rules in my pf.conf that would cause a broken connection, and FWIW, I can ssh from my work desktop to my home server and stay logged in without losing the connection. I also don't see anything in /etc/courier-imap/imapd* that would cause remote connections to timeout but not local connections.

Old 12-01-2005, 11:28 PM   #2
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Original Poster
Rep: Reputation: 15

For the benefit of any others with this problem...

The issue is the Linksys router/firewall. There's some bug in the firmware which causes trouble with secure imap when stateful packet inspection (SPI) is turned on. The firmware is closed-source and so cannot be debugged. However, turning off SPI solves the problem. Note that the "disable firewall protection" checkbox (Security->Firewall) only turns off SPI, it doesn't actually disable the firewall.


Last edited by gypsy_rabbi; 12-01-2005 at 11:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Timeout on server, Connection was to at port 80 xxvm1 Mandriva 16 03-21-2008 12:34 AM
sendmail connection timeout pauloco Linux - Networking 2 04-21-2006 09:20 PM
90 second timeout on new connection mikewelter Linux - General 1 10-08-2003 05:18 PM
OpenBSD: ne0: device timeout pickledbeans *BSD 4 07-09-2002 02:30 PM
Connection Timeout Nezar Linux - Networking 1 07-01-2001 01:30 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration