You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2010/03/15 20:02:40 UTC

DO NOT REPLY [Bug 48918] New: Add support for SCTP beyond opening an SCTP socket.

https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

           Summary: Add support for SCTP beyond opening an SCTP socket.
           Product: APR
           Version: 1.3.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: leighton@cis.udel.edu


APR has supported using SCTP socket for many years, but it does not support
access to the many features of SCTP.  I am proposing to add support for
sctp_sendmsg() and sctp_recvmsg(), as well as methods to get and set the many
SCTP socket options that are not simply on/off options.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

Jon Leighton <le...@cis.udel.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25133|0                           |1
        is obsolete|                            |

--- Comment #7 from Jon Leighton <le...@cis.udel.edu> 2011-12-01 19:13:47 UTC ---
Created attachment 28014
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28014
adds support for non-Windows platforms

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #5 from preethi.cis@gmail.com 2010-04-28 20:35:34 EDT ---
Hello, 

Wondering if our patch worked on Linux and other platforms. We'd really
appreciate any feedback/comments on the patch. Thanks!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

Jon Leighton <le...@cis.udel.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.3.9                       |1.4.5

--- Comment #6 from Jon Leighton <le...@cis.udel.edu> 2011-12-01 19:12:33 UTC ---
I've updated the patch and would very much appreciate any feedback.  The patch
has been tested on recent versions of FreeBSD, Linux, Mac OS X, Solaris,
Solaris Express, and Windows XP.  I'm now working on updating this from 1.4.5
to trunk and will then add support for more recent versions of Windows.

The patch is broken into three files:
apr-1.4.5_sctp_main.patch - adds support for non-Windows platforms
apr-1.4.5_sctp_win32.patch - adds support for Windows XP (requires main)
apr_1.4.5_sctp_test.patch - adds support for tests on all platforms (requires
main and win32)

Support for SCTP on Mac OS X requires installing the SCTP network kernel
extension from http://sctp.fh-muenster.de/sctp-nke.html

Support for SCTP on Windows requires installing the SCTP driver and library
from http://www.bluestop.org/SctpDrv

All other platforms have native support for SCTP.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #1 from Jon Leighton <le...@cis.udel.edu> 2010-03-15 19:15:12 UTC ---
Created an attachment (id=25133)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25133)
Support for additional SCTP functionality 

I've attached a patch that adds the following new functions:

apr_socket_sctp_sendmsg()
apr_socket_sctp_recvmsg()
apr_socket_opt_set_sctp()
apr_socket_opt_get_sctp()

The patch also adds support for the SCTP on/off socket option
SCTP_USE_EXT_RCVINFO, and adds SCTP socket test code to several files in the
test directory, as well as adding an additional file called testsockopt_sctp.c.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

preethi.cis@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |preethi.cis@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #3 from Dan Poirier <po...@pobox.com> 2010-03-19 14:16:44 UTC ---
Extending support beyond just Mac OS X and FreeBSD might increase interest. 
According to Wikipedia, Linux, AIX, HP-UX, and Solaris all support SCTP, and
others; any reason not to include them?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #9 from Jon Leighton <le...@cis.udel.edu> 2011-12-01 19:15:42 UTC ---
Created attachment 28016
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28016
adds support for SCTP tests on all platforms

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #2 from preethi.cis@gmail.com 2010-03-19 00:16:58 UTC ---
The bigger picture with this effort is to add SCTP streams support into
Apache's APR and httpd server. 

The current HTTP over SCTP design
(http://tools.ietf.org/html/draft-natarajan-http-over-sctp-01) exploits SCTP
streams to avoid head-of-line blocking. SCTP (RFC 4960) also offers other
services unavailable in TCP such as unordered delivery, partially reliable
transmission, message based transfer, multihoming support, more
secure connection establishment with a cookie mechanism and so on. 

Our empirical study has shown that HTTP over SCTP streams improves HTTP
response times, and created a lot of interest at IETF's http-bis WG.

Jon Leighton (who submitted this patch) has been working with mozilla to get
HTTP/SCTP into Firefox and NSPR's source repositories
(https://bugzilla.mozilla.org/show_bug.cgi?id=486199). Our hope is to do
something similar with APR and httpd. 

We'd appreciate any comments/suggestions on the patch. Thanks!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #8 from Jon Leighton <le...@cis.udel.edu> 2011-12-01 19:14:40 UTC ---
Created attachment 28015
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28015
adds support for Windows XP (requires main)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 48918] Add support for SCTP beyond opening an SCTP socket.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48918

--- Comment #4 from Jon Leighton <le...@cis.udel.edu> 2010-03-19 15:27:07 UTC ---
(In reply to comment #3)
> Extending support beyond just Mac OS X and FreeBSD might increase interest. 
> According to Wikipedia, Linux, AIX, HP-UX, and Solaris all support SCTP, and
> others; any reason not to include them?

The patch should support FreeBSD, Mac OS X, Linux, Solaris and Open Solaris,
though I haven't yet tested it on either Solaris or OpenSolaris.  If you have
trouble getting the patch to work on any of those systems I would like to know
about it.  AIX and HP-UX are more of a problem because they are proprietary and
not widely available (in the same way and Mac OS X and Windows are).  I would
be very interested in hearing from anyone that has access to either AIX or
HP-UX and is willing to test out the patch.  I'm guessing you concluded that
the patch only supported FreeBSD and Mac OS X because my modifications to
configure.in explicity check for those two OSes.  The OS check is there because
only the FreeBSD and Mac OS X implementations of SCTP currently support the
SCTP_USE_SCTP_RCVINFO socket option.

- Jon

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org