partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] IPv6


From: Aymeric Moizard
Subject: Re: [Partysip-dev] IPv6
Date: Tue, 8 Apr 2003 18:15:26 +0200 (CEST)

osip should support IPv6 messages. I've only tested the parser
but it should have no impact on the fsm side.

To test it, you can edit the file conf/torture_msgs and write
IPv6 messages. Then you simply execute

./test/torture_test conf/torture_msgs 0 -v -c

The above will test the first message in the file conf/torture_msgs.

Thanks for working on IPv6/partysip!
Aymeric

On 8 Apr 2003, Anthony Liu wrote:

> Thanks for your guide. I'm working on it now. The copy of source
> code was checked out this morning from cvs. Though I have not
> finished my modification. I wonder can osip support IPv6 message
> parsing? The primary difference I found when I modify kphone 3.0
> is the SIP URI format. For example, a typical SIP URI looks like:
>
> address@hidden:5060
>
> It happens all the time that the hostport part will be denoted
> in dot-quad form under IPv4:
>
> address@hidden:5060
>
> For IPv6 addresses, it somehow looks like this:
>
> address@hidden:b80:1c67:1:20c:6eff:fe00:c46]:5060
>
> or, according to the ABNF defined in RFC 3261:
>
> address@hidden:b80:1c67:1:20c:6eff:fe00:c46:192.168.1.1]:5060
>
> if both IPv4 and IPv6 addresses exist. Can osip handle these
> URIs correctly?
>
> Regards,
> Anthony Liu
>
> ?b ?g?@, 2003-04-07 20:19, Aymeric Moizard ?g?D?G
> >
> > I've been preparing IPv6 for a while now.
> > The file ppl/unix/ppldnsv6.c makes use of
> > getaddrinfo to manage transparently ipv4/ipv6
> > address.
> >
> > To use this file instead of the original one,
> > you have to compile with -DHAVE_GETADDRINFO
> >
> > CFLAGS="-DHAVE_GETADDRINFO" ./configure
> > make
> > make install
> >
> > The above should already work for IPv4.
> >
> > If you want to really use an IPv6 network (which I've never tried...), use
> > the additionnal flag "-DIPV6_SUPPORT":
> >
> > CFLAGS="-DHAVE_GETADDRINFO" ./configure
> > make
> > make install
> >
> > To make it work this way, I guess you have to change
> > some code in other places... This include calls to
> > methods like inet_addr() that appears evrywhere.
> > Some method to replace them are already in partysip
> > (like ppl_inet_ntop() that makes use of inet_ntop)
> >
> > I'll apreciate if you can make a patch for IPv6.
> > My request is that you'll have to enclose all
> > your change between:
> >
> > #ifdef IPV6_SUPPORT
> > ...
> > #else
> > ...
> > #endif
> >
> > so that it won't break anything until the patch
> > will be complete.
> >
> > You'll mainly have to work on the udp plugin
> > (in the plugin/udp directory) and in the file
> > src/sfp.c which may be already ok.
> >
> >
> > Thanks
> > Aymeric
> >
> > On 7 Apr 2003, Anthony Liu wrote:
> >
> > > I need to (have to) modfiy partysip to support IPv6.
> > > However, the document available is very limited at this time.
> > > I've read source code for a while but haven't figure out a
> > > better way to do it. Can you suggest, please?
> > >
> > > Regards,
> > > Anthony Liu
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Partysip-dev mailing list
> > > address@hidden
> > > http://mail.nongnu.org/mailman/listinfo/partysip-dev
> > >
>
>
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]