<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/erts/epmd/src, branch bjorn/contributing</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'binarin/erts/fix-epmd-systemd-notifications/PR-999/OTP-13493'</title>
<updated>2016-04-14T16:09:37+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2016-04-14T16:09:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=43da27568b55d664ef8abc9b125e54ec8674603e'/>
<id>43da27568b55d664ef8abc9b125e54ec8674603e</id>
<content type='text'>
* binarin/erts/fix-epmd-systemd-notifications/PR-999/OTP-13493:
  Don't send unasked for systemd notifications
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* binarin/erts/fix-epmd-systemd-notifications/PR-999/OTP-13493:
  Don't send unasked for systemd notifications
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'henrik/update-copyrightyear'</title>
<updated>2016-04-13T07:53:56+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2016-04-13T07:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=08ab8c8534ecabb2797165f5508a8c42d4dae926'/>
<id>08ab8c8534ecabb2797165f5508a8c42d4dae926</id>
<content type='text'>
* henrik/update-copyrightyear:
  update copyright-year
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* henrik/update-copyrightyear:
  update copyright-year
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'patch-2' of https://github.com/michaelklishin/otp</title>
<updated>2016-04-12T12:34:29+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2016-04-12T12:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5b31b2196bbb13ba650207f4ef94b2e1fa8f6121'/>
<id>5b31b2196bbb13ba650207f4ef94b2e1fa8f6121</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Typos correction, minor wording change</title>
<updated>2016-04-10T01:52:52+00:00</updated>
<author>
<name>Michael Klishin</name>
<email>michael@novemberain.com</email>
</author>
<published>2016-04-10T01:52:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=415dc5b637624b8f3dc08fcf881e941a555f93da'/>
<id>415dc5b637624b8f3dc08fcf881e941a555f93da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't send unasked for systemd notifications</title>
<updated>2016-03-29T17:30:22+00:00</updated>
<author>
<name>Alexey Lebedeff</name>
<email>alebedev@mirantis.com</email>
</author>
<published>2016-03-29T17:30:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=16b921ad1c847ba0754adc10d2d45b17973dcd19'/>
<id>16b921ad1c847ba0754adc10d2d45b17973dcd19</id>
<content type='text'>
Suppose we have some erlang system that uses systemd unit with
Type=notify - so this should send startup confirmation itself. But if
systemd-enabled epmd will be started as a first step of that system
startup, empd startup confirmation will be misinterpeted by systemd. And
our erlang service will be considered 'ready' to early. Also this will
interefere with systemd MAINPID detection: systemd will be monitoring
`epmd` process instead of `beam` one.

For example, rabbitmq works around this issue by starting epmd using
separate short-lived beam process, with NOTIFY_SOCKET environment
variable reset - only in this way we could be sure that epmd will not
interfere with rabbit startup sequence.

This patch disables indiscriminate confirmation sending, and does it
only when it was explicitly asked to do so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suppose we have some erlang system that uses systemd unit with
Type=notify - so this should send startup confirmation itself. But if
systemd-enabled epmd will be started as a first step of that system
startup, empd startup confirmation will be misinterpeted by systemd. And
our erlang service will be considered 'ready' to early. Also this will
interefere with systemd MAINPID detection: systemd will be monitoring
`epmd` process instead of `beam` one.

For example, rabbitmq works around this issue by starting epmd using
separate short-lived beam process, with NOTIFY_SOCKET environment
variable reset - only in this way we could be sure that epmd will not
interfere with rabbit startup sequence.

This patch disables indiscriminate confirmation sending, and does it
only when it was explicitly asked to do so.
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyright-year</title>
<updated>2016-03-15T14:19:56+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2016-03-15T14:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6664eed554974336909d3ffe03f20349cc4c38fd'/>
<id>6664eed554974336909d3ffe03f20349cc4c38fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2016-03-02T14:53:38+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2016-03-02T14:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0c330d97894b214bd78ec6a2afd207a7c20c5140'/>
<id>0c330d97894b214bd78ec6a2afd207a7c20c5140</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Skips any sockets with unsupported protocols.</title>
<updated>2016-03-02T14:28:58+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2016-03-01T14:19:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b1e4836bcfbfdec0504219ed490c5f53860d8106'/>
<id>b1e4836bcfbfdec0504219ed490c5f53860d8106</id>
<content type='text'>
Patch from end of PR 864
Fixes problem reported in the PR by jeckersb

In this error case, a negative file descriptor is now saved at
listensock[i], which leads to a buffer overflow later on at
https://github.com/msantos/otp/blob/epmd-IPv6-node-reg2/erts/epmd/src/epmd_srv.c#L498
when calling FD_ISSET(listensock[i],&amp;read_mask).

To reproduce this:

    Completely disable IPv6 with ipv6.disable=1 on the kernel command line
    Build with fortified code (RHEL/CentOS default): CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch from end of PR 864
Fixes problem reported in the PR by jeckersb

In this error case, a negative file descriptor is now saved at
listensock[i], which leads to a buffer overflow later on at
https://github.com/msantos/otp/blob/epmd-IPv6-node-reg2/erts/epmd/src/epmd_srv.c#L498
when calling FD_ISSET(listensock[i],&amp;read_mask).

To reproduce this:

    Completely disable IPv6 with ipv6.disable=1 on the kernel command line
    Build with fortified code (RHEL/CentOS default): CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing'
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2016-03-01T13:11:28+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2016-03-01T13:11:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=aa74dd15c39d6b859456aafd78d435763436725d'/>
<id>aa74dd15c39d6b859456aafd78d435763436725d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>epmd: support IPv6 node registration</title>
<updated>2016-02-10T21:57:13+00:00</updated>
<author>
<name>Michael Santos</name>
<email>michael.santos@gmail.com</email>
</author>
<published>2015-10-18T20:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=40695d080b0dc0665b01803768ffc74ed2eca207'/>
<id>40695d080b0dc0665b01803768ffc74ed2eca207</id>
<content type='text'>
Allow IPv6 nodes to register with and query epmd. On systems with
IPv6 support:

* epmd listens on both the IPv4 and IPv6 ANY or loopback sockets

* the epmd cli client connects to epmd over the IPv6 loopback

* distributed nodes started with "-proto_dist inet6_tcp" will register
  with epmd over IPv6

To work on IPv6 capable systems that have IPv6 support disabled,
epmd ignores errors opening the socket if the protocol is not
supported. Similarly, the epmd client will fall back to IPv4 if the IPv6
socket is not available.

Update the minimum supported version of Windows to Windows Vista to
support IPv6.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow IPv6 nodes to register with and query epmd. On systems with
IPv6 support:

* epmd listens on both the IPv4 and IPv6 ANY or loopback sockets

* the epmd cli client connects to epmd over the IPv6 loopback

* distributed nodes started with "-proto_dist inet6_tcp" will register
  with epmd over IPv6

To work on IPv6 capable systems that have IPv6 support disabled,
epmd ignores errors opening the socket if the protocol is not
supported. Similarly, the epmd client will fall back to IPv4 if the IPv6
socket is not available.

Update the minimum supported version of Windows to Windows Vista to
support IPv6.
</pre>
</div>
</content>
</entry>
</feed>
