aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2015-11-06Make sure priv_dir names don't cause name clashesPeter Andersson
2015-11-06add a soft upgrade instruction to the snmp appupZandra
2015-11-06Merge branch 'hans/ssh/pwdfun/OTP-13055' into maintHans Nilsson
* hans/ssh/pwdfun/OTP-13055: ssh: changes after doc review ssh: Document pwdfun ssh: make corrections of keyboard-interactive client ssh: enable users to give option keyboard_interact_fun ssh: pwdfun/4 and simple tests Conflicts: lib/ssh/doc/src/ssh.xml
2015-11-06Merge branch 'hans/ssh/random_modulus/OTP-13054' into maintHans Nilsson
* hans/ssh/random_modulus/OTP-13054: ssh: correct a bad doc xref public_key: renamed priv/ssh_moduli -> priv/moduli ssh, public_key: updates after doc review ssh: changes after doc review ssh: extend 'dh_gex_limits' to server side ssh: option dh_gex_groups with tag ssh_moduli_file ssh, public_key: random selection of diffie-hellman moduli
2015-11-06Recommend against using crypto:rand_bytesDavid Whitlock
2015-11-05ssh: correct a bad doc xrefHans Nilsson
2015-11-05public_key: renamed priv/ssh_moduli -> priv/moduliHans Nilsson
2015-11-05ssh, public_key: updates after doc reviewHans Nilsson
2015-11-05Fix spelling of ssh 'subsystem'Ben Tyler
This commit does not change any behaviour, since the spelling was internally consistent.
2015-11-05Merge branch 'weiss/case-insensitive-lookups' into maintHenrik Nord
* weiss/case-insensitive-lookups: inet_res: Make host name lookups case-insensitive OTP-13083
2015-11-04Fix typos and grammarDerek Brown
2015-11-04[erl_docgen] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[dialyzer] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[hipe] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[test_server] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[tools] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[stdlib] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[kernel] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04ssh: changes after doc reviewHans Nilsson
2015-11-04ssh: extend 'dh_gex_limits' to server sideHans Nilsson
OTP-13066
2015-11-04ssh: option dh_gex_groups with tag ssh_moduli_fileHans Nilsson
Makes this existing option also accept a file in openssh format OTP-13052
2015-11-04ssh, public_key: random selection of diffie-hellman moduliHans Nilsson
Also tool (public_key:gen_moduli_hrl) to convert an openssh moduli file to erlang format.
2015-11-04ssh: changes after doc reviewHans Nilsson
2015-11-04ssh: Document pwdfunHans Nilsson
2015-11-04ssh: make corrections of keyboard-interactive clientHans Nilsson
* Newlines should be added after Name and Instructions field according to rfc4256. * There was an error in the argument list of the last clause of ssh_auth:keyboard_interact_get_responses/9 * Correct client kb-interactive behaviour at auth failure
2015-11-04ssh: enable users to give option keyboard_interact_funHans Nilsson
It is on purpose not documented. It needs more thinking before being finalized.
2015-11-04ssh: pwdfun/4 and simple testsHans Nilsson
Also solves OTP-13053
2015-11-04OtpInputStream: external fun terms in read_any()Sergey Savenko
Term tag matching switch statement was missing external fun tag.
2015-11-04Merge branch 'hans/ssh/bad_lengths_tests/OTP-12792' into maintHans Nilsson
2015-11-03Fix spelling error in "characters_to_list"Gary Coulbourne
2015-11-02ssh: Make tests for bad packet_len and field lengths inside packetsHans Nilsson
Includes a ssh_transport:pack/3 function for generating invalid packets
2015-11-02Merge branch 'lukas/runtime_tools/dbg_stop_docs/OTP-13078' into maintLukas Larsson
* lukas/runtime_tools/dbg_stop_docs/OTP-13078: runtime_tools: Explain that dbg:stop only clears local trace patterns
2015-11-02runtime_tools: Explain that dbg:stop only clears local trace patternsLukas Larsson
2015-10-30Merge branch 'bjorn/stdlib/beam_lib-doc/OTP-13063' into maintBjörn Gustavsson
* bjorn/stdlib/beam_lib-doc/OTP-13063: beam_lib: Document all_chunks/1 and build_module/1
2015-10-29ssh: Adjust the test ssh_renegotiate_SUITE:rekey_limitHans Nilsson
- Remove random length padding to make the data volume deterministic - Increase data volume limit for re-keying because the kexinit message has grown
2015-10-29ssh: fix spelling error pulic -> publicHans Nilsson
2015-10-28TLS distribution: wait for code serverMagnus Henoch
As described in the comments in the patch, doing a TLS handshake requires the crypto module to be loaded. The crypto module needs the code server to find its NIF library. However, there is a time window between opening the listening ports for distribution and starting the code server, and if we get an incoming connection in that time window, the node would believe that it's alive, but it wouldn't actually accept any more connections.
2015-10-28Report bad options for TLS distribution connectionsMagnus Henoch
If ssl:ssl_accept/2 returns an error related to options, it's most likely something we want to log. In particular, if the specified certificate file doesn't exist, this is where the error ends up, so we shouldn't just throw the error away.
2015-10-28Avoid crash for SSL connections with nonexistent keyfileMagnus Henoch
Starting an SSL connection with a nonexistent keyfile will obviously return an error: > ssl:connect("www.google.com", 443, [{keyfile, "nonexistent"}]). {error,{options,{keyfile,"nonexistent",{error,enoent}}}} But it also generates an error report with the following backtrace: ** Reason for termination = ** {badarg,[{ets,select_delete, [undefined,[{{{undefined,'_','_'},'_'},[],[true]}]], []}, {ets,match_delete,2,[{file,"ets.erl"},{line,700}]}, {ssl_pkix_db,remove_certs,2,[{file,"ssl_pkix_db.erl"},{line,243}]}, {ssl_connection,terminate,3, [{file,"ssl_connection.erl"},{line,941}]}, {tls_connection,terminate,3, [{file,"tls_connection.erl"},{line,335}]}, {gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,610}]}, {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,532}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]} This happens because the ssl_connection process receives its cert_db while handling the {start, Timeout} message, but if the handshake fails, the cert_db will never be inserted into the state data, and the terminate function will use 'undefined' as an ETS table name. Avoid this by checking for 'undefined' in the handle_trusted_certs_db function.
2015-10-28Merge branch 'hans/ssh/handle_bad_service_names/OTP-12791' into maintHans Nilsson
* hans/ssh/handle_bad_service_names/OTP-12791: ssh: testcases for bad service names
2015-10-28ssh: testcases for bad service namesHans Nilsson
2015-10-27Teach Dialyzer call to funs `M:F/A` (literal M, F, A)Luca Favatella
2015-10-27inets: fix {self, once} for not streamed requestKirilll Zaborsky
httpc should work properly if streaming option {self, once} is chosen and the corresponding response does not get streamed.
2015-10-27inets: send correct nonstreamed response with streamingKirilll Zaborsky
httpc_handler should respond with correct and complete responses seeing non-streamed status codes i.e. codes other than 200 or 206.
2015-10-27Merge branch 'scrapinghub/http_uri_scheme_validation' into maintHenrik Nord
* scrapinghub/http_uri_scheme_validation: inets: scheme validation fun for http_uri OTP-13071
2015-10-27Merge branch 'schlagert/remove_xmerl_xsd_builtin_definitions' into maintHenrik Nord
* schlagert/remove_xmerl_xsd_builtin_definitions: Remove built-in definition of xml.xsd from xmerl OTP-13070
2015-10-27Merge branch 'scrapinghub/obs_folded_headers' into maintHenrik Nord
* scrapinghub/obs_folded_headers: inets: fix suppport of HTTP headers with obs-fold OTP-13069
2015-10-27Merge branch 'lucafavatella/dialyzer-fun-literal-arity' into maintHenrik Nord
* lucafavatella/dialyzer-fun-literal-arity: Teach Dialyzer arity of funs with literal arity OTP-13068
2015-10-27Merge branch 'dgud/observer/cdv-ets-owner/OTP-13030' into maintDan Gudmundsson
* dgud/observer/cdv-ets-owner/OTP-13030: cdv: Fix crashdump ets table type observer: Show ets owner pid in crashdump viewers ets popup window
2015-10-27cdv: Fix crashdump ets table typeDan Gudmundsson
The type was set in the wrong datastructure.