From Christopher.Hegarty at Sun.COM Mon Mar 2 01:06:44 2009 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Mon, 02 Mar 2009 09:06:44 +0000 Subject: [sctp-dev] Binaries available! In-Reply-To: <003a01c998f9$e05f2420$0501a8c0@ehallaptop> References: <49A532E2.7060905@sun.com> <003a01c998f9$e05f2420$0501a8c0@ehallaptop> Message-ID: <49ABA1A4.7000201@Sun.COM> Sorry for the delayed response, I was away from mail over the weekend. Comments inline. On 02/27/09 16:38, Evangelos Haleplidis wrote: > Greetings, > > This is perfect! It worked in an instant, and netbeans is working perfectly > with it. The simple SCTP application worked perfectly. That's great. > Is it possible to have the javadocs as a zip or jar file to be used with > netbeans? Or how can one create it? Ah, very good question/comment. I had over looked this. I added javadoc.zip [1] to the b10 javadoc. You can save this zip file and use it as the 'Platform Javadoc' with the b10 sctp binary in netbeans. When I post future builds/javadoc I will include the javadoc.zip for the appropriate build in the javadoc/bXX directory, where XX is the build number. Thanks for noticing this. -Chris. [1] http://openjdk.java.net/projects/sctp/javadoc/b10/javadoc.zip > > Regards, > Evangelos Haleplidis. > > -----Original Message----- > From: sctp-dev-bounces at openjdk.java.net > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of Christopher Hegarty > - Sun Microsystems Ireland > Sent: Wednesday, February 25, 2009 2:01 PM > To: sctp-dev at openjdk.java.net > Subject: [sctp-dev] Binaries available! > > Hi All, > > At last, we have pre-built OpenJDK SCTP binaries available. Just go to the > project [1] webpage and click on 'Binaries'. > > You may also have noticed the automatic mercurial notifications. I've > updated the sctp repositories [2] with the latest OpenJDK source, as well as > pushing in some minor API changes and some bug fixes. > > With the API and implementation changes I had to rev the javadoc. To > distinguish between versions we use a build number, you may have already > noticed this in the top right corner of the javadoc. It has moved from > b09 to b10 (build 10). This will happen from time to time as the API and > implementation evolves. The latest binaries and API javadoc will always be > in sycn. > > Please download these binaries and start writing SCTP apps. If you encounter > any problems/bugs, or have comments about the API itself please email this > alias, or me directly. > > -Chris. > > [1] http://openjdk.java.net/projects/sctp/ > [2] http://hg.openjdk.java.net/sctp/sctp > > From dennis.hjort at ericsson.com Mon Mar 9 02:40:52 2009 From: dennis.hjort at ericsson.com (Dennis Hjort) Date: Mon, 9 Mar 2009 10:40:52 +0100 Subject: [sctp-dev] SCTP over IPSec In-Reply-To: <49997501.4030505@Sun.COM> References: <20090127151050.CA252E25B@hg.openjdk.java.net><003101c99037$e7bdb3a0$0501a8c0@ehallaptop> <49997501.4030505@Sun.COM> Message-ID: Hi Evangelos ! I was wondering if you have managed to get any further with IPSEC ? Have you managed to run SCTP over IPSEC to this date or are you still working on how to run IPSEC in the first place ? With kind regards // Dennis > -----Original Message----- > From: sctp-dev-bounces at openjdk.java.net > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of > Christopher Hegarty - Sun Microsystems Ireland > Sent: den 16 februari 2009 15:15 > To: Evangelos Haleplidis > Cc: sctp-dev at openjdk.java.net > Subject: Re: [sctp-dev] SCTP over IPSec > > Hi Evangelos, > > The simple answer is YES. You should be able to use a > standard IPSec implementation and run SCTP on top of it. > > There is no direct support for IPsec in the Java API of > course. IPsec (if configured) would live above the IP layer > and below the native SCTP stack. Therefore, the Java SCTP > implementation would leverage the platforms IPsec implementation. > > There is an RFC, 3554, which I believe is an attempt to > simplify running SCTP on top of IPsec, but even without this > it should work. You will need to configure 2 * n * m Security > Associations, where one SCTP endpoint has n addresses and the > other m. An implementation of RFC 3554 would reduce this number to 2. > > I checked both reference platforms, Solaris and LKSCTP, and > both support this. > > Running a java.net.Socket over IPsec should be pretty much > the same as SCTP, only not as much SA's! But I have not tried this. > > -Chris. > > On 02/16/09 13:10, Evangelos Haleplidis wrote: > > Greetings to the list, > > > > I have one question to make. > > > > Is there support of SCTP over IPsec in java? How can one use it? > > > > Also, this is out of scope of the mailing list, but relevant to the > > question, how can you use IPsec in Java (TCP over IPsec). > > > > Regards, > > Evangelos Haleplidis. > > > > > From e_halep at yahoo.gr Mon Mar 9 14:40:53 2009 From: e_halep at yahoo.gr (Evangelos Haleplidis) Date: Mon, 9 Mar 2009 23:40:53 +0200 Subject: [sctp-dev] SCTP over IPSec In-Reply-To: References: <20090127151050.CA252E25B@hg.openjdk.java.net><003101c99037$e7bdb3a0$0501a8c0@ehallaptop><49997501.4030505@Sun.COM> Message-ID: <008501c9a0ff$ba463e00$0501a8c0@ehallaptop> Greetings Dennis, Sorry, but i have not have started working on IPsec yet. IPsec is not currently on my to implement list, but it may be in the near future, and that was the cause of my question. Regards, Evangelos Haleplidis. > -----Original Message----- > From: sctp-dev-bounces at openjdk.java.net > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of Dennis Hjort > Sent: Monday, March 09, 2009 11:41 AM > To: sctp-dev at openjdk.java.net > Subject: Re: [sctp-dev] SCTP over IPSec > > Hi Evangelos ! > > I was wondering if you have managed to get any further with > IPSEC ? Have you managed to run SCTP over IPSEC to this date > or are you still working on how to run IPSEC in the first place ? > > With kind regards > > // Dennis > > > -----Original Message----- > > From: sctp-dev-bounces at openjdk.java.net > > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of Christopher > > Hegarty - Sun Microsystems Ireland > > Sent: den 16 februari 2009 15:15 > > To: Evangelos Haleplidis > > Cc: sctp-dev at openjdk.java.net > > Subject: Re: [sctp-dev] SCTP over IPSec > > > > Hi Evangelos, > > > > The simple answer is YES. You should be able to use a > standard IPSec > > implementation and run SCTP on top of it. > > > > There is no direct support for IPsec in the Java API of > course. IPsec > > (if configured) would live above the IP layer and below the native > > SCTP stack. Therefore, the Java SCTP implementation would > leverage the > > platforms IPsec implementation. > > > > There is an RFC, 3554, which I believe is an attempt to simplify > > running SCTP on top of IPsec, but even without this it should work. > > You will need to configure 2 * n * m Security Associations, > where one > > SCTP endpoint has n addresses and the other m. An implementation of > > RFC 3554 would reduce this number to 2. > > > > I checked both reference platforms, Solaris and LKSCTP, and both > > support this. > > > > Running a java.net.Socket over IPsec should be pretty much > the same as > > SCTP, only not as much SA's! But I have not tried this. > > > > -Chris. > > > > On 02/16/09 13:10, Evangelos Haleplidis wrote: > > > Greetings to the list, > > > > > > I have one question to make. > > > > > > Is there support of SCTP over IPsec in java? How can one use it? > > > > > > Also, this is out of scope of the mailing list, but > relevant to the > > > question, how can you use IPsec in Java (TCP over IPsec). > > > > > > Regards, > > > Evangelos Haleplidis. > > > > > > > > From cowwoc at bbs.darktech.org Mon Mar 9 22:28:23 2009 From: cowwoc at bbs.darktech.org (cowwoc) Date: Tue, 10 Mar 2009 01:28:23 -0400 Subject: [sctp-dev] Windows port? Message-ID: <49B5FA77.4050501@bbs.darktech.org> This is an obvious question, but do you plan on releasing a Windows port as part of Java7? If you release binaries earlier I'd love to test them. Gili From dennis.hjort at ericsson.com Mon Mar 9 23:41:02 2009 From: dennis.hjort at ericsson.com (Dennis Hjort) Date: Tue, 10 Mar 2009 07:41:02 +0100 Subject: [sctp-dev] SCTP over IPSec In-Reply-To: <008501c9a0ff$ba463e00$0501a8c0@ehallaptop> References: <20090127151050.CA252E25B@hg.openjdk.java.net><003101c99037$e7bdb3a0$0501a8c0@ehallaptop><49997501.4030505@Sun.COM> <008501c9a0ff$ba463e00$0501a8c0@ehallaptop> Message-ID: Hi Evangelos, Okey, in that case we are "in the same boat" so to speak ! ;-) In our case, it will be in our implementation list, but not until Q3 or Q4 of this year. Perhaps we do a test before that, and if that's the case I'll try to post how we ran Ipsec ! :-) Regards, // D > -----Original Message----- > From: sctp-dev-bounces at openjdk.java.net > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of > Evangelos Haleplidis > Sent: den 9 mars 2009 22:41 > To: sctp-dev at openjdk.java.net > Subject: Re: [sctp-dev] SCTP over IPSec > > Greetings Dennis, > > Sorry, but i have not have started working on IPsec yet. > > IPsec is not currently on my to implement list, but it may be > in the near future, and that was the cause of my question. > > Regards, > Evangelos Haleplidis. > > > -----Original Message----- > > From: sctp-dev-bounces at openjdk.java.net > > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of Dennis Hjort > > Sent: Monday, March 09, 2009 11:41 AM > > To: sctp-dev at openjdk.java.net > > Subject: Re: [sctp-dev] SCTP over IPSec > > > > Hi Evangelos ! > > > > I was wondering if you have managed to get any further with IPSEC ? > > Have you managed to run SCTP over IPSEC to this date or are > you still > > working on how to run IPSEC in the first place ? > > > > With kind regards > > > > // Dennis > > > > > -----Original Message----- > > > From: sctp-dev-bounces at openjdk.java.net > > > [mailto:sctp-dev-bounces at openjdk.java.net] On Behalf Of > Christopher > > > Hegarty - Sun Microsystems Ireland > > > Sent: den 16 februari 2009 15:15 > > > To: Evangelos Haleplidis > > > Cc: sctp-dev at openjdk.java.net > > > Subject: Re: [sctp-dev] SCTP over IPSec > > > > > > Hi Evangelos, > > > > > > The simple answer is YES. You should be able to use a > > standard IPSec > > > implementation and run SCTP on top of it. > > > > > > There is no direct support for IPsec in the Java API of > > course. IPsec > > > (if configured) would live above the IP layer and below > the native > > > SCTP stack. Therefore, the Java SCTP implementation would > > leverage the > > > platforms IPsec implementation. > > > > > > There is an RFC, 3554, which I believe is an attempt to simplify > > > running SCTP on top of IPsec, but even without this it > should work. > > > You will need to configure 2 * n * m Security Associations, > > where one > > > SCTP endpoint has n addresses and the other m. An > implementation of > > > RFC 3554 would reduce this number to 2. > > > > > > I checked both reference platforms, Solaris and LKSCTP, and both > > > support this. > > > > > > Running a java.net.Socket over IPsec should be pretty much > > the same as > > > SCTP, only not as much SA's! But I have not tried this. > > > > > > -Chris. > > > > > > On 02/16/09 13:10, Evangelos Haleplidis wrote: > > > > Greetings to the list, > > > > > > > > I have one question to make. > > > > > > > > Is there support of SCTP over IPsec in java? How can one use it? > > > > > > > > Also, this is out of scope of the mailing list, but > > relevant to the > > > > question, how can you use IPsec in Java (TCP over IPsec). > > > > > > > > Regards, > > > > Evangelos Haleplidis. > > > > > > > > > > > > > > From Alan.Bateman at Sun.COM Tue Mar 10 01:26:41 2009 From: Alan.Bateman at Sun.COM (Alan Bateman) Date: Tue, 10 Mar 2009 08:26:41 +0000 Subject: [sctp-dev] Windows port? In-Reply-To: <49B5FA77.4050501@bbs.darktech.org> References: <49B5FA77.4050501@bbs.darktech.org> Message-ID: <49B62441.9020502@sun.com> cowwoc wrote: > > This is an obvious question, but do you plan on releasing a Windows > port as part of Java7? If you release binaries earlier I'd love to > test them. > > Gili Sorry, there are no plans at this time. Maybe in the future if Microsoft ship a SCTP stack or the protocol gets traction on that operating system. Platform coverage was also discussed in one of the early mails [1]. -Alan. [1] http://mail.openjdk.java.net/pipermail/sctp-dev/2008-November/000003.html From cowwoc at bbs.darktech.org Tue Mar 10 07:04:40 2009 From: cowwoc at bbs.darktech.org (cowwoc) Date: Tue, 10 Mar 2009 10:04:40 -0400 Subject: [sctp-dev] Windows port? In-Reply-To: <49B62441.9020502@sun.com> References: <49B5FA77.4050501@bbs.darktech.org> <49B62441.9020502@sun.com> Message-ID: <49B67378.2020006@bbs.darktech.org> What about the free Windows implementation found here? http://www.sctp.be/sctplib/index.htm I remember seeing other Windows implementations too. Can't you simply wrap these libraries? Gili Alan Bateman wrote: > cowwoc wrote: >> >> This is an obvious question, but do you plan on releasing a Windows >> port as part of Java7? If you release binaries earlier I'd love to >> test them. >> >> Gili > Sorry, there are no plans at this time. Maybe in the future if Microsoft > ship a SCTP stack or the protocol gets traction on that operating > system. Platform coverage was also discussed in one of the early mails [1]. > > -Alan. > > [1] > http://mail.openjdk.java.net/pipermail/sctp-dev/2008-November/000003.html From Christopher.Hegarty at Sun.COM Tue Mar 10 07:10:53 2009 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Tue, 10 Mar 2009 14:10:53 +0000 Subject: [sctp-dev] Windows port? In-Reply-To: <49B67378.2020006@bbs.darktech.org> References: <49B5FA77.4050501@bbs.darktech.org> <49B62441.9020502@sun.com> <49B67378.2020006@bbs.darktech.org> Message-ID: <49B674ED.9090106@sun.com> Ah yes, I remember coming across this implementation, although I haven't tried it. It shouldn't be very difficult to port the native SCTP code to use this implementation, provided that it supports the Sockets API Extensions for SCTP [1]. Are you interested in having a go at this? -Chris. [1] http://tools.ietf.org/html/draft-ietf-tsvwg-sctpsocket-19 cowwoc wrote: > > What about the free Windows implementation found here? > http://www.sctp.be/sctplib/index.htm > > I remember seeing other Windows implementations too. Can't you > simply wrap these libraries? > > Gili > > Alan Bateman wrote: >> cowwoc wrote: >>> >>> This is an obvious question, but do you plan on releasing a >>> Windows port as part of Java7? If you release binaries earlier I'd >>> love to test them. >>> >>> Gili >> Sorry, there are no plans at this time. Maybe in the future if >> Microsoft ship a SCTP stack or the protocol gets traction on that >> operating system. Platform coverage was also discussed in one of the >> early mails [1]. >> >> -Alan. >> >> [1] >> http://mail.openjdk.java.net/pipermail/sctp-dev/2008-November/000003.html From cowwoc at bbs.darktech.org Tue Mar 10 19:46:18 2009 From: cowwoc at bbs.darktech.org (cowwoc) Date: Tue, 10 Mar 2009 22:46:18 -0400 Subject: [sctp-dev] Windows port? In-Reply-To: <49B674ED.9090106@sun.com> References: <49B5FA77.4050501@bbs.darktech.org> <49B62441.9020502@sun.com> <49B67378.2020006@bbs.darktech.org> <49B674ED.9090106@sun.com> Message-ID: <49B725FA.2010801@bbs.darktech.org> Sorry, I can't. I'm holding down a full-time job plus two contracting gigs on the side. I'd love to be able to help but I simply don't have the capacity to do so right now :( It might be easier for someone to write the authors an email in an official capacity asking for permission to use their code under Java7 (the current license is LGPL) and in the same breath ask them your question about the Sockets API Extensions for SCTP and whether they'd be willing to work to fit this underneath your Java API. Here are the contents of their AUTHORS file: -------------------------- The main authors: Andreas Jungmaier Herbert H?lzlwimmer Michael T?xen Thomas Dreibholz Many thanks to all other contributors, such as: Gerd Bohnenstengel added new socket functions (RFC2292BIS) for Solaris8 and FreeBSD 4.2 KAME, 4.7.2001 Marc Boucher Armando Caro Janardhan Iyengar Stefan Jansen Andreas Lang Alfred Lupper added defines for solaris, 27.6.2001 Stephan Schulte Achim Weber and many others........... (if you belong here, just drop a note to ajung at exp-math.uni-essen.de) -------------------------- Gili Christopher Hegarty - Sun Microsystems Ireland wrote: > Ah yes, I remember coming across this implementation, although I haven't > tried it. > > It shouldn't be very difficult to port the native SCTP code to use this > implementation, provided that it supports the Sockets API Extensions for > SCTP [1]. Are you interested in having a go at this? > > -Chris. > > [1] http://tools.ietf.org/html/draft-ietf-tsvwg-sctpsocket-19 > > > > cowwoc wrote: >> >> What about the free Windows implementation found here? >> http://www.sctp.be/sctplib/index.htm >> >> I remember seeing other Windows implementations too. Can't you >> simply wrap these libraries? >> >> Gili >> >> Alan Bateman wrote: >>> cowwoc wrote: >>>> >>>> This is an obvious question, but do you plan on releasing a >>>> Windows port as part of Java7? If you release binaries earlier I'd >>>> love to test them. >>>> >>>> Gili >>> Sorry, there are no plans at this time. Maybe in the future if >>> Microsoft ship a SCTP stack or the protocol gets traction on that >>> operating system. Platform coverage was also discussed in one of the >>> early mails [1]. >>> >>> -Alan. >>> >>> [1] >>> http://mail.openjdk.java.net/pipermail/sctp-dev/2008-November/000003.html >>> From Christopher.Hegarty at Sun.COM Wed Mar 11 08:52:26 2009 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Wed, 11 Mar 2009 15:52:26 +0000 Subject: [sctp-dev] Windows port? In-Reply-To: <49B725FA.2010801@bbs.darktech.org> References: <49B5FA77.4050501@bbs.darktech.org> <49B62441.9020502@sun.com> <49B67378.2020006@bbs.darktech.org> <49B674ED.9090106@sun.com> <49B725FA.2010801@bbs.darktech.org> Message-ID: <49B7DE3A.3060208@Sun.COM> On 03/11/09 02:46, cowwoc wrote: > > Sorry, I can't. I'm holding down a full-time job plus two > contracting gigs on the side. I'd love to be able to help but I simply > don't have the capacity to do so right now :( > > It might be easier for someone to write the authors an email in an > official capacity asking for permission to use their code under Java7 I don't think this is even necessary, the implementation simply dynamically links a few of the sctp specific functions that are exported by the SCTPlib library file in this package. If they are using LGPL then we don't have any issue with licenses here. If I get some free time I might try porting the Java SCTP to this Windows implementation, but no promises! -Chris. > (the current license is LGPL) and in the same breath ask them your > question about the Sockets API Extensions for SCTP and whether they'd be > willing to work to fit this underneath your Java API. > > Here are the contents of their AUTHORS file: > > -------------------------- > The main authors: > > Andreas Jungmaier > Herbert H?lzlwimmer > Michael T?xen > Thomas Dreibholz > > > Many thanks to all other contributors, such as: > > Gerd Bohnenstengel added new socket functions (RFC2292BIS) > for Solaris8 and FreeBSD 4.2 KAME, 4.7.2001 > Marc Boucher > Armando Caro > Janardhan Iyengar > Stefan Jansen > Andreas Lang > Alfred Lupper added defines for solaris, 27.6.2001 > Stephan Schulte > Achim Weber > > > > and many others........... > > (if you belong here, just drop a note to ajung at exp-math.uni-essen.de) > -------------------------- > > Gili > > Christopher Hegarty - Sun Microsystems Ireland wrote: >> Ah yes, I remember coming across this implementation, although I >> haven't tried it. >> >> It shouldn't be very difficult to port the native SCTP code to use >> this implementation, provided that it supports the Sockets API >> Extensions for SCTP [1]. Are you interested in having a go at this? >> >> -Chris. >> >> [1] http://tools.ietf.org/html/draft-ietf-tsvwg-sctpsocket-19 >> >> >> >> cowwoc wrote: >>> >>> What about the free Windows implementation found here? >>> http://www.sctp.be/sctplib/index.htm >>> >>> I remember seeing other Windows implementations too. Can't you >>> simply wrap these libraries? >>> >>> Gili >>> >>> Alan Bateman wrote: >>>> cowwoc wrote: >>>>> >>>>> This is an obvious question, but do you plan on releasing a >>>>> Windows port as part of Java7? If you release binaries earlier I'd >>>>> love to test them. >>>>> >>>>> Gili >>>> Sorry, there are no plans at this time. Maybe in the future if >>>> Microsoft ship a SCTP stack or the protocol gets traction on that >>>> operating system. Platform coverage was also discussed in one of the >>>> early mails [1]. >>>> >>>> -Alan. >>>> >>>> [1] >>>> http://mail.openjdk.java.net/pipermail/sctp-dev/2008-November/000003.html >>>>