[stunnel-users] ftp support for stunnel-4.11 (now it works!)
ZHUANG YUYAO
zhuangyy at netease.com
Wed Aug 3 04:45:18 CEST 2005
Hi,
a new patch is included in this mail (pre-pre-alpha!) for adding ftp
support to stunnel-4.11
here are some notes:
1) only tested under linux. debian 3.1 (testing), gcc version 3.3.5
(Debian 1:3.3.5-13)
2) ftp_alloc_port() in ftp.c is not yet finished. just a demo;
3) works with both ucontext and pthread
4) libwrap support is not tested. should be OK. inted support is not
tested, but it should be OK too (no related code changed);
5) still contains memory leaks.
6) client compatibility test: just FlashFXP 3 (implicit ssl, secure both
list and data transfer) now.
7) bug #7 in last mail is resolved.
client compatibility test and bug reports are welcome.
ZHUANG YUYAO wrote:
> hi,
>
> here is the initial patch (pre-pre-pre-alpha! just a demo/test) for
> adding ftp support to stunnel-4.11.
>
> Known bugs:
> 1) only tested under linux. debian 3.1 (testing), gcc version 3.3.5
> (Debian 1:3.3.5-13)
> 2) ftp_alloc_port() in ftp.c is not yet finished. just a demo;
> 3) only works when configured with --with-threads=ucontext. does not
> work with --with-threads=pthread!
> 4) libwrap support is not tested.
> 5) only tested with flashfxp (3.0.2 build(1043) implicit SSL);
> 6) still contains memory leaks.
> 7) can only successfully transfer(RETR) small files whose size is less
> than about 90K bytes. stunnel hangs while transferring a larger file,
> looks like poll() in scan_waiting_queue() (network.c line 164) can not
> receive a POLLOUT event from ssl_wfd->fd after successfully transfered
> 90K bytes. the log file is also included in this mail.
>
> bug #7 really frustrats me. still do not know why. could anyone please
> give me some hints?
>
>
> Zhuang Yuyao.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>stunnel-users mailing list
>stunnel-users at mirt.net
>http://stunnel.mirt.net/mailman/listinfo/stunnel-users
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel.ftp.zip
Type: application/octet-stream
Size: 6963 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20050803/139389c3/attachment.obj>
More information about the stunnel-users
mailing list