SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Re: sctp_bindx()


Chronological Thread 
  • From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
  • To: "Gurpreet Virdi" <gurpreetvirdi AT hotmail.com>
  • Cc: <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] Re: sctp_bindx()
  • Date: Sat Jun 12 13:22:01 2004
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University Duisburg-Essen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Gurpreet,

we have implemented the AddIP extension in the sctplib
developer version, which is sctplib-1.1.6 -- also see
http://freshmeat.net/projects/sctplib/?branch_id=45192
for reference.

This version should work together with the latest release
of the socketapi-library.

Then, if you are on a linux system, and have the netlink
routing messages enabled (I haven't tested that yet on
2.6. kernels): try establishing an association between
a client and a server, for both of which you choose
INADDR_ANY as local addresss.

If you add an interface to one of the instances (e.g.
by calling "ifconfig eth1 W.X.Y.Z netmask 255.255.255.0
broadcast W.X.Y.255 up" - or something similar), you should
be able to trace ASCONF chunks.

Please note that this has been somehwat tested, but is
still an experimental implementation.

Please let me know whether that worked (or not).

Best regards,
Andreas



On Samstag, 12. Juni 2004 09:35, Gurpreet Virdi wrote:
> Hi,
>
> Thanks for your reply. I did try using sctp_bindx with the socketapi
> programs. So I just modiefied the idexample1to1.c in the socket_programs
> folder and tried using sctp_bindx to bind an address but i got the error...
>
> NO IMPLEMENTATION:sctp_addIP
>
> I was just wondering what was going wrong. I compiled the program by using
> the standard makefile given in the socket_programs folder of
> socketapi-1.3.1.
>
> Also I am not sure if sctp_bindx sends ASCONF Chunks. I was wondering if
> there were any API or sample programs that sent ASCONF and ASCONF_ACK
> chunks??The present kernel version of my machine is 2.4.20.
>
> Thanks,
> Gurpreet
>
>
>
>
> ----- Original Message -----
> From: "Michael Tuexen"
> <Michael.Tuexen AT micmac.franken.de>
> To: "Gurpreet Virdi"
> <gurpreetvirdi AT hotmail.com>
> Cc:
> <discussion AT sctp.de>
> Sent: Friday, June 11, 2004 1:17 PM
> Subject: [SCTP-Discussion] Re: sctp_bindx()
>
>
> Hi Gurpreet,
>
> see my comments below.
>
> Best regards
> Michael
>
> On Jun 11, 2004, at 8:56 PM, Gurpreet Virdi wrote:
> > Hi,
> >
> > I am trying dynamic address extension. I was just wondering if
> > sctp_bindx works with the normal sctplibrary-1.0.1 (sctp daemon
> > implementation) or does it only work with lksctp which will require
> > kernerl upgradation?
>
> Please note that the sctplib and LKSCTP are two completely different
> implementations.
> As far as I know does LKSCTP support the sctp_bindx call.
> The socketapilib does also support the sctp_bindx call, but the daemon
> version is pretty
> old and currently not supported.
>
> > If it does work with lksctp is there any way that it can work with the
> > normal sctp daemon implementation? or would that require me creating a
> > whole bunch of functions and ultimately not using sctp_bindx?
>
> Please chose one implementation: LKSCTP or sctplib.
>
> > In the draft for Sockets API Extensions for SCTP, I tried the example
> > given at the bottom of the draft using TCP type API, but it gives a
> > whole bunch of errors of not being able to recongnize
> > SCTP_ASSOC_CHANGE etc.I was wondering any extra librariers to be
> > included besides the ones included in the current version of sample
> > programs in the sctplibrary like echo_server.c. I am compiling this
> > program wih the standard makefile given in the sctplib-1.0.1.
>
> The socketapilib includes these examples and they work. Please so the
> socket_programs
> directory in the socketapilib.
>
> > Thanks,
> > gurpreet
>
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion

- --
Dipl.-Ing. Andreas Jungmaier
Computer Networking Technology Group
University of Duisburg-Essen
http://www.exp-math.uni-essen.de/~ajung
PGP Key-ID: D382 4AC0

PGP Key-Fingerprint: 228C 7C2C 3381 2DD4 9998 2812 5C0B 0B04 D382 4AC0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAyuZ8XAsLBNOCSsARArpeAJwKwcI7S0NCF4/zQPPB8CQueLY+iQCfSzqh
BHfOEWgcEkG9UIz5uWhEaBg=
=omDr
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page