[Openais] mcastport port not correctly handled

Steven Dake sdake at redhat.com
Tue Sep 23 09:35:04 PDT 2008


Fabien,

Please give me an hour to look at why/how this is different then
whitetank.  I'd like to maintain compatibility.

Thanks
-steve

On Tue, 2008-09-23 at 18:24 +0200, Fabien Thomas wrote:
> Is there a problem to commit this fix in trunk ?
> Another bonus question is why the 2nd port is not incremented related  
> to the base port ?
> 
> Fabien
> 
> > Hi
> >
> > In trunk branch, if you have mcastport:5405 in corosync.conf,
> > the listen port are 7701 and 7445.
> >
> > We got 2 bugs in trunk-branch :
> > A/ corosync is missing htons() when using mcastport.
> > B/ ports are not contiguous.
> >
> > Whitetank-branch use htons() when configuration is read : the bug B  
> > are
> > also spotted.
> >
> > The patch place htons() call in totemip_totemip_to_sockaddr_convert(),
> > and fix A and B :
> > udp4       0      0 Firewall_HA2.5405      *.*
> > udp4       0      0 Firewall_HA2.5404      *.*
> >
> > Regards,
> > Mathieu
> > <patch-totemip- 
> > htons.txt>_______________________________________________
> > Openais mailing list
> > Openais at lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/openais
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list