Bug 119650

Summary: stunnel doesn't seem to send input across the tunnel.
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Egbert Eich <eich>
Component: NetworkAssignee: Anja <ast>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: ke
Version: RC 4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: use pthreads by removing the configure check for ucontext.h

Description Egbert Eich 2005-09-30 14:49:49 UTC
stunnel doesn't seem to pass any data from stdin thru the tunnel.
Create a file 'foo' containing:
client = yes
connect = imap-dhs.suse.de:993
run:
  /usr/sbin/stunnel foo
type something like:
VM CAPABILITY
You should see a resonse from the imap server. Howerver nothing happens.
strace shows that the command line is read but the program returns to the same
poll to wait for the next input.
Comment 1 Egbert Eich 2005-09-30 14:52:07 UTC
> type something like:
> VM CAPABILITY
Of course this line needs to be terminated with a enter.
Comment 2 Peter Poeml 2005-10-04 14:45:17 UTC
I can reproduce it here.
Comment 3 Peter Poeml 2005-10-04 15:22:37 UTC
It works with 4.12... /work/built/mbuild/aust-poeml-1338
Comment 4 Peter Poeml 2005-10-06 12:27:57 UTC
It also works with 4.11, and the change which accounts for it is the
fixed thread model (ucontext) which was used by default in 4.10 (and
which is made configurable with 4.11).

By building with pthreads instead it works fine.
Comment 5 Peter Poeml 2005-10-06 12:28:41 UTC
Created attachment 51587 [details]
use pthreads by removing the configure check for ucontext.h
Comment 6 Peter Poeml 2005-10-06 12:30:01 UTC
Andreas, do you approve this update for 10.0?
I placed a fixed package under /work/src/done/10.0 for checkin.
Comment 7 Peter Poeml 2005-10-06 12:52:46 UTC
Adjusting severity.
Comment 8 Andreas Jaeger 2005-10-07 05:00:06 UTC
Ok, Maintenance-Tracker-2538
Comment 9 Peter Poeml 2005-10-07 08:58:09 UTC
/work/src/done/PATCHINFO/stunnel.patch.box submitted
Comment 10 Peter Poeml 2005-10-07 12:08:45 UTC
Reassigning for maintenance tracking
Comment 11 Anja Stock 2005-10-10 14:15:54 UTC
released
Comment 12 Peter Poeml 2007-04-17 12:05:04 UTC
Cf. bug 237243 (10.1)