spread-5.0.0rc1 : Solaris setsockopt issue

Martin Schu <[email protected]> Thu, 8 Dec 2016 14:10:54 +0100
Newsgroups gmane.network.spread.user
Message-ID <CAOSQKUUEuqV9Unp7yN9NtftNn1yEWbQgX1Aa_nkukphqR-Rb6Q@mail.gmail.com>
--===============3852031718873111958==
Content-Type: multipart/alternative; boundary=001a114fd13619cee90543255eb9

--001a114fd13619cee90543255eb9
Content-Type: text/plain; charset=UTF-8

Hi John,

we are very glad to see the new version, 5.0.0 RC1, of The Spread Toolkit.
Apparently you've not only added IPv6 support but did further polishing,
e.g. improved logging and error handling.

We've tested 5.0.0rc1 in our environment and observed some problems.

In our Sun/Oracle/Solaris environment spread 5.0.0rc1 fails during startup
saying:

"DL_init_channel_gen: problem (22: Invalid argument) in setsockopt of
multicast ttl = 1; ignore on Windows"

In spread-src-5.0.0rc1:libspread-util/src/data_link.c you made some comment:

" * TODO: check on sizeof setsockopt types across platforms (i.e. -
Sun: char vs. int)"

This leads to my assumption that you are aware of that issue, aren't
you? Are you planning to fix it?

Kind regards,

Martin

Set Alarm mask to: ffffffff
2016-12-06 14:42:29 GMT Disabling Dangerous Monitor Commands!
2016-12-06 14:42:29 GMT Setting SO_REUSEADDR to auto
2016-12-06 14:42:29 GMT Hash value for this configuration is: 3310648069
2016-12-06 14:42:29 GMT Finished configuration file.
2016-12-06 14:42:29 GMT Conf_load_conf_file: using sin6_scope_id 0 for
interface 172.16.0.171
2016-12-06 14:42:29 GMT Conf_load_conf_file: My name: easy-serv-02b,
id: 176040470, addr: 172.16.0.171, port: 7982
2016-12-06 14:42:29 GMT E_init: went ok
2016-12-06 14:42:29 GMT new: creating pointer 0x39f7b0 to object type
2 named pack_head
2016-12-06 14:42:29 GMT new: creating pointer 0x385a10 to object type
50 named packet_body
2016-12-06 14:42:29 GMT new: creating pointer 0x39f800 to object type
8 named token_head
2016-12-06 14:42:29 GMT new: creating pointer 0x3a1fb0 to object type
9 named token_body
2016-12-06 14:42:29 GMT new: creating pointer 0x39f850 to object type
8 named token_head
2016-12-06 14:42:29 GMT new: creating pointer 0x385fd0 to object type
50 named packet_body
2016-12-06 14:42:29 GMT Net_signal_conf_reload: Bcast is not needed
2016-12-06 14:42:29 GMT Net_init: implicit: binding bcast recv channel
to [0.0.0.0]:7982
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM
socket of family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on
for recv IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: binding recv channel to
[0.0.0.0]:7982
2016-12-06 14:42:29 GMT DL_init_channel_gen: success; chan = 4
2016-12-06 14:42:29 GMT Net_init: implicit: binding token recv channel
to [0.0.0.0]:7983
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM
socket of family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on
for recv IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: binding recv channel to
[0.0.0.0]:7983
2016-12-06 14:42:29 GMT DL_init_channel_gen: success; chan = 5
2016-12-06 14:42:29 GMT Net_init: creating send channel bound to 172.16.0.171
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM
socket of family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on
for send IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: setting IPv4 multicast
TTL to 1 for send channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: problem (22: Invalid
argument) in setsockopt of multicast ttl = 1; ignore on Windows
Exit caused by Alarm!

--001a114fd13619cee90543255eb9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>Hi John,<br><br></div>we are very glad=
 to see the=20
new version, 5.0.0 RC1, of The Spread Toolkit.<br></div>Apparently you&#39;=
ve not only added IPv6 support but did further polishing, e.g. improved log=
ging and error handling.<br><br></div>We&#39;ve tested 5.0.0rc1 in our envi=
ronment and observed some problems.<br><br></div>In our Sun/Oracle/Solaris =
environment spread 5.0.0rc1 fails during startup saying: <br><pre class=3D"=
m_-9176636895474562299gmail-bz_comment_text" id=3D"m_-9176636895474562299gm=
ail-comment_text_5"><font size=3D"2">&quot;DL_init_channel_gen: problem (22=
: Invalid argument) in setsockopt of multicast ttl =3D 1; ignore on Windows=
&quot;</font><br><br><span style=3D"font-family:arial,helvetica,sans-serif"=
>In spread-src-5.0.0rc1:libspread-<wbr>util/src/data_link.c you made some c=
omment:<br><br>&quot; * TODO: check on sizeof setsockopt types across platf=
orms (i.e. - Sun: char vs. int)&quot;<br><br>This leads to my assumption th=
at you are aware of that issue, aren&#39;t you? Are you planning to fix it?=
<br><br></span></pre><pre class=3D"m_-9176636895474562299gmail-bz_comment_t=
ext" id=3D"m_-9176636895474562299gmail-comment_text_5"><span style=3D"font-=
family:arial,helvetica,sans-serif">Kind regards,<br><br></span></pre><pre c=
lass=3D"m_-9176636895474562299gmail-bz_comment_text" id=3D"m_-9176636895474=
562299gmail-comment_text_5"><span style=3D"font-family:arial,helvetica,sans=
-serif">Martin<br></span><br><font size=3D"2">Set Alarm mask to: ffffffff
2016-12-06 14:42:29 GMT Disabling Dangerous Monitor Commands!
2016-12-06 14:42:29 GMT Setting SO_REUSEADDR to auto
2016-12-06 14:42:29 GMT Hash value for this configuration is: 3310648069
2016-12-06 14:42:29 GMT Finished configuration file.
2016-12-06 14:42:29 GMT Conf_load_conf_file: using sin6_scope_id 0 for inte=
rface 172.16.0.171
2016-12-06 14:42:29 GMT Conf_load_conf_file: My name: easy-serv-02b, id: 17=
6040470, addr: 172.16.0.171, port: 7982
2016-12-06 14:42:29 GMT E_init: went ok
2016-12-06 14:42:29 GMT new: creating pointer 0x39f7b0 to object type 2 nam=
ed pack_head
2016-12-06 14:42:29 GMT new: creating pointer 0x385a10 to object type 50 na=
med packet_body
2016-12-06 14:42:29 GMT new: creating pointer 0x39f800 to object type 8 nam=
ed token_head
2016-12-06 14:42:29 GMT new: creating pointer 0x3a1fb0 to object type 9 nam=
ed token_body
2016-12-06 14:42:29 GMT new: creating pointer 0x39f850 to object type 8 nam=
ed token_head
2016-12-06 14:42:29 GMT new: creating pointer 0x385fd0 to object type 50 na=
med packet_body
2016-12-06 14:42:29 GMT Net_signal_conf_reload: Bcast is not needed
2016-12-06 14:42:29 GMT Net_init: implicit: binding bcast recv channel to [=
0.0.0.0]:7982
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM socket o=
f family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on for re=
cv IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: binding recv channel to [0.0.0=
.0]:7982
2016-12-06 14:42:29 GMT DL_init_channel_gen: success; chan =3D 4
2016-12-06 14:42:29 GMT Net_init: implicit: binding token recv channel to [=
0.0.0.0]:7983
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM socket o=
f family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on for re=
cv IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: binding recv channel to [0.0.0=
.0]:7983
2016-12-06 14:42:29 GMT DL_init_channel_gen: success; chan =3D 5
2016-12-06 14:42:29 GMT Net_init: creating send channel bound to 172.16.0.1=
71
2016-12-06 14:42:29 GMT DL_init_channel_gen: creating a SOCK_DGRAM socket o=
f family 2
2016-12-06 14:42:29 GMT DL_init_channel_gen: turning SO_BROADCAST on for se=
nd IPv4 channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: setting IPv4 multicast TTL to =
1 for send channel
2016-12-06 14:42:29 GMT DL_init_channel_gen: problem (22: Invalid argument)=
 in setsockopt of multicast ttl =3D 1; ignore on Windows
Exit caused by Alarm!<br><br></font></pre></div>

--001a114fd13619cee90543255eb9--


--===============3852031718873111958==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Spread-users mailing list
[email protected]
http://lists.spread.org/mailman/listinfo/spread-users

--===============3852031718873111958==--