aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
AgeCommit message (Collapse)Author
2017-02-12Check for directory with correct pathKarolis Petrauskas
When opening file in the ssh_sftpd, directory check should be performed on the server's file tree.
2017-02-12Fix relative path handling in sftpdKarolis Petrauskas
Relative path handling fixed to allow opening a file by a path relative to the current working directory.
2017-02-03Merge branch 'maint-18' into maintHans Nilsson
Conflicts: OTP_VERSION erts/doc/src/notes.xml erts/emulator/sys/unix/erl_unix_sys.h erts/emulator/sys/unix/sys.c erts/vsn.mk lib/crypto/c_src/crypto.c lib/crypto/doc/src/notes.xml lib/crypto/vsn.mk lib/inets/doc/src/notes.xml lib/inets/vsn.mk lib/ssh/doc/src/notes.xml lib/ssh/src/ssh.app.src lib/ssh/src/ssh_connection_handler.erl lib/ssh/vsn.mk otp_versions.table
2017-01-31ssh: optimize kex dh_gex using new crypto functionalityHans Nilsson
Conflicts: lib/ssh/src/ssh_connection_handler.erl lib/ssh/src/ssh_transport.erl
2017-01-31ssh,crypto: prepare for releaseHans Nilsson
2017-01-30ssh: optimize kex dh_gex using new crypto functionalityHans Nilsson
2017-01-25ssh: correct host key signature calculationHans Nilsson
2017-01-23ssh: ssh_dbg now reports HELLO msgs and timestampsHans Nilsson
2017-01-18ssh: Reduce info leakage on decrypt errorsHans Nilsson
Use same message when there are packet errors like too long length, MAC, decrypt or decode errors. This is regarded as good practise to prevent some attacks
2017-01-12ssh: Correct ssh_sftpd_file_api dialzyer specPhilip Cristiano
The `State` seems to have been included twice in 91acfc.
2016-12-14ssh: [test] Put tstflg values in a proplistHans Nilsson
2016-12-07Update copyright-yearErlang/OTP
2016-11-23Merge branch 'hans/ssh/max_packetsize_sftp/OTP-13857' into maintHans Nilsson
2016-11-21ssh: fix error when large client packet size and small on serverHans Nilsson
2016-11-18ssh: Add fun and fingerprint to option 'silently_accept_host'Hans Nilsson
2016-11-11ssh: Adjust inet buffers if too smallHans Nilsson
2016-11-11ssh: Change order on next_event actions in ssh_connection_handlerHans Nilsson
2016-11-10ssh: exported ssh_dbg:shrink_bin and ssh_dbg:wr_record/3 for debugging purposesHans Nilsson
2016-10-27ssh: more info about shrinked binaries in ssh_dbgHans Nilsson
2016-10-27ssh: Add a 'catch' in ssh_channel.erl to prevent double close errorsHans Nilsson
2016-10-18Merge branch 'maint-19' into maintHans Nilsson
2016-10-17ssh: fix renegotiation problemHans Nilsson
2016-10-14Merge branch 'maint-19' into maintHans Nilsson
2016-10-13ssh: Removed matching of 'ok' after send which could cause error reportsHans Nilsson
2016-10-11Merge branch 'maint-19' into maintHans Nilsson
2016-10-10Revert "ssh: Add non-blocking send" since it introduces Error ReportsHans Nilsson
This reverts commit 28baf1314b556bb592c24181f6967e1f324f44a7.
2016-10-06Merge branch 'maint-19' into maintIngela Anderton Andin
2016-10-05ssh: Prepare releaseIngela Anderton Andin
2016-10-05ssh: Handle gen_server:call/3 exits properlyIngela Anderton Andin
Handle all possible exit values that should be interpreted as {error, closed}. Failing to do so could lead to unexpected crashes for users of the ssh application.
2016-09-19Fix SSH custom REPL exit statusSvilen Ivanov
When user defined SSH shell REPL process exits with reason normal SSH channel callback module should report successful exit status to the SSH client. This provides simple way for SSH clients to check for successful completion of executed commands.
2016-09-06Merge branch 'hans/ssh/keyboard_interactive_defensics' into maintHans Nilsson
2016-09-06Merge branch 'hans/ssh/strengthen_pubkey/OTP-13847' into maintHans Nilsson
Conflicts: lib/ssh/src/ssh_auth.erl
2016-09-06Merge branch 'hans/ssh/correct_sha_ecdsa/OTP-13850' into maintHans Nilsson
2016-09-05ssh: add tstflg value one_empty to force daemon send empty ↵Hans Nilsson
ssh_msg_userauth_info_request This behavour is assumed by Codenomicon Defensics.
2016-09-02ssh: pre-verify keyHans Nilsson
Conflicts: lib/ssh/src/ssh_auth.erl
2016-09-02ssh: make ecdsa sha dependent on curveHans Nilsson
Bug fix.
2016-09-02ssh: separate clauses for first and second pk auth msgHans Nilsson
SSH sends the public key and user name twice. If we do not check the validity of that pair at the first time, Codenomicon Defensics will complain.
2016-09-01ssh: fix no detect of tcp closeHans Nilsson
2016-08-31Merge branch 'raimo/gen_statem-callback_mode/OTP-13752' into maintRaimo Niskanen
* raimo/gen_statem-callback_mode/OTP-13752: ssl: Upgrade suite testing skipped if stdlib upgrade is required Fix version numbers and dependencies Conflicts: lib/ssl/src/ssl.appup.src lib/ssl/vsn.mk
2016-08-31Merge branch 'hans/ssh/test_fixes/OTP-13854' into maintHans Nilsson
Fixes problems found by test suites as well as by Codenomicon/Defensics: - reduce max random padding to 15 bytes (Codenomicon/Defensics) - inclomplete pdu handling (Codenomicon/Defensics) - badmatch - non-blocking send fixes deadlock in ssh_connection_SUITE:interrupted_send
2016-08-31Merge branch 'hans/ssh/ensure_all_started/PR-1147/OTP-13843' into maintHans Nilsson
2016-08-29ssh: reduce random padding to 15 bytesHans Nilsson
This is to get rid of some warnings in Codenomicon/Defensics. It also speeds up the communications.
2016-08-29ssh: Add non-blocking sendHans Nilsson
This is to try to fix ssh_connection_SUITE:interrupted_send problem. On machines with small buffers (<65k) like some Windows and *BSDs, this test case could deadlock with both sides having filled tcp receice buffers but stuck in prim_inet:send. This commit fixes this.
2016-08-29ssh: fix Codenomicon/Defensics auth problem with incomplete pduHans Nilsson
Trailing pdu values being 0 or empty strings are just excluded from the pdu by Codenomicon/Defensics. This is wrong but some kind of habit "out there". This commit makes Erlang SSH accept such pdu in one place because Defensics is king of security tests ...
2016-08-25Fix version numbers and dependenciesRaimo Niskanen
2016-08-24Improve ssh:start/1,2 functionsAleksei Magusev
Use application:ensure_all_started/2 instead of hard-coding dependencies
2016-08-04ssh: sshc_sup to use worker for ssh_con_handlerLukas Larsson
2016-08-02Rewrite SSH for gen_statem M:callback_mode/0Raimo Niskanen
2016-06-29Merge branch 'hans/ssh/ssh_patches/OTP-13715' into maint-19Erlang/OTP
* hans/ssh/ssh_patches/OTP-13715: ssh: Update ssh version ssh: Remove possible hanging in TCs when server and client is on the same node ssh: added dbg keys to ssh:connection_info/2 and ssh:channel_info/3 ssh: Extend experimental ssh_dbg.erl ssh: remove 'sync sleeps'
2016-06-29ssh: Remove possible hanging in TCs when server and client is on the same nodeHans Nilsson