aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd
AgeCommit message (Collapse)Author
2011-02-17Add init_per_suite and end_per_suiteLukas Larsson
2011-02-17Add ts_install_scb to suite/0Lukas Larsson
2011-02-17Update epmd tests to conform with common_test standardLukas Larsson
2011-01-11Remove special treatment of EADDRINUSEPatrik Nyblom
2011-01-11check return value of epmd server listen() callSteve Vinoski
The listen() call can fail due to a variety of conditions, so check its return value and if it fails, print a suitable debug message if appropriate and then exit. The exit values used are the same for those already used for bind() failures: 0 if the error is EADDRINUSE, 1 otherwise.
2010-10-13Update hint where to find epmd protocol spec in epmd_srv.c.Ralf Doering
With newer releases erts/emulator/internal_doc/erl_ext_dist.txt just forwards the reader to the ERTS User's Guide. Adjust the comment in epmd_srv.c to point to this location too. Signed-off-by: Ralf Doering <[email protected]>
2010-09-13Fix ei to build on vxworksBjörn-Egil Dahlberg
2010-09-01Teach testcases to survive TIME_WAIT overloadPatrik Nyblom
2010-08-31Restore null termination of input bufferPatrik Nyblom
2010-08-31Teach testcase epmd_SUITE:too_large to accept econnabortedPatrik Nyblom
2010-08-31Teach epmd_cli.c to not respond 'Killed' when killing deniedPatrik Nyblom
2010-08-31Calculate minimal packet size for ALIVE2 requests correctlyPatrik Nyblom
2010-08-31Document epmd and it's options properly and fixup help textPatrik Nyblom
2010-08-31Fix anomalies in epmd not yet reported as security issuesPatrik Nyblom
Use erts_(v)snprintf to ensure no buffer overruns in debug printouts. Disallow everything except port and name requests from remote nodes. Disallow kill command even from localhost if alive nodes exist. -relaxed_command_check when starting epmd returns the possibility to kill this epmd when nodes are alive (from localhost). Disallow stop command completely except if -relaxed_command_check is given when epmd was started. Environment variable ERL_EPMD_RELAXED_COMMAND_CHECK can be set to always get -relaxed_command_check.
2010-08-31Remove two buffer overflow vulnerabilities in EPMDPatrik Nyblom
2010-08-31Remove all support for ancient EPMD protocolPatrik Nyblom
2010-08-31Remove very old protocol from EPMDPatrik Nyblom
2010-08-04epmd: suppress startup messageMichael Santos
Running transient distributed Erlang nodes can generate a large number of informational messages to syslog. Modify epmd to log the startup message only when passed the debug switch. Reported-By: Sergey Samokhin
2010-07-07allow epmd -stop name to unregister a client from epmdSeven Du
2010-05-03Exit if an error occurs with the listening socketMichael Santos
Check errno if either select() or accept() returns an error and exit. This prevents epmd from looping and taking up 100% CPU.
2010-05-02Merge branch 'bg/remove-stray-ose-support' into devErlang/OTP
* bg/remove-stray-ose-support: configure: Remove stray OSE/Delta support Makefiles: Remove stray OSE/Delta support kernel tests: Remove stray OSE/Delta support system tests: Remove stray OSE/Delta support erl_interface tests: Remove stray OSE/Delta support epmd: Remove stray OSE/Delta support epmd: #ifdef out start_epmd() for other platforms than VxWorks emulator tests: Remove stray OSE/Delta support emulator: Remove stray OSE/Delta support emulator: Eliminate #ifdef for sys_tty_reset() test_server: Remove stray support for OSE/Delta OTP-8585 bg/remove-stray-ose-support
2010-04-30epmd: Remove stray OSE/Delta supportBjörn Gustavsson
2010-04-30epmd: #ifdef out start_epmd() for other platforms than VxWorksBjörn Gustavsson
There is no reason to define a function that is never used.
2010-03-23Fix compilation of epmd with IPv6 enabledJohn-Mark Bell
Modify IPv6 variants of SET_ADDR_LOOPBACK and SET_ADDR_ANY to use in6addr_loopback and in6addr_any.
2010-01-25Test that "extra" is handled according to specs in ALIVE2_REQ and PORT2_RESPKlas Johansson
2010-01-22Merge branch 'bg/avoid-etop-in-include' into ccase/r13b04_devErlang/OTP
* bg/avoid-etop-in-include: epmd tests: fix build of test suites on Windows system test: fix build of test suites on Windows
2010-01-20epmd tests: fix build of test suites on WindowsBjörn Gustavsson
On Windows, the ERL_TOP environment variable contains a path that only is valid for cygwin-enabled programs, such as 'make'. It is not meaningful to pass the value of $ERL_TOP in the -I option to the Erlang compiler, because the Erlang emulator does not interpret cygwin paths correctly. Therefore, -include("test_server.hrl") will fail to find test_server.hrl. Work around the problem by creating an Emakefile and let ts:run() take care of the build (ts:run() will set up the include path so that test_server.hrl can be found).
2010-01-11Merge branch 'kj/epmd-port2resp-trunc-extra' into ccase/r13b04_devErlang/OTP
* kj/epmd-port2resp-trunc-extra: Handle "extra" field according to specs in ALIVE2_REQ and PORT2_RESP. OTP-8361 EPMD now correctly handles the extra data field which can be given in the ALIVE2_REQ request and retrieved in the PORT2_RESP response. (Thanks to Klas Johansson.)
2009-12-22Handle "extra" field according to specs in ALIVE2_REQ and PORT2_RESP.Klas Johansson
Don't let the length field pollute the value of the "extra" field in ALIVE2_REQ. Extra was read, starting at the second byte of the two byte length field, which meant that it was included in the result and the last byte of the value was skipped: if "extra" is <<1, 2>>, return <<0, 2, 1, 2>> not <<0, 2, 2, 1>> Increment the offset correctly when sending PORT2_RESP, in order to make sure the "extra" field won't be truncated: if "extra" is <<>>, return <<0, 0>> not <<0>> if "extra" is <<1, 2>>, return <<0, 2, 1, 2>> not <<0, 2, 1>> Allow null characters in "extra".
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP