aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connection_handler.erl
AgeCommit message (Collapse)Author
2015-05-29ssh: Implement keyboard_interactive on server sideHans
2015-05-13ssh: option for handling the SSH_MSG_DEBUG message's printoutsHans Nilsson
A fun could be given in the options that will be called whenever the SSH_MSG_DEBUG message arrives. This enables the user to format the printout or just discard it. The default is changed to not print the message. In RFC4253 printing is a SHOULD, but our new default is to protect logs from dos attacs.
2015-04-07ssh: Change send_buf implementation from list to queueIngela Anderton Andin
A queue is the behaviour that we want, so this makes the code easier to understand and more effective.
2015-04-07ssh: Remove error reportIngela Anderton Andin
The error report was assumed to only happen if our code was wrongly implemented "internal error". However it would also occur when bad input was recived from the peer, and could hence cause extensive logging on DoS attacks.
2015-02-05Fix ssh:connect erroneus error msg at timeoutHans Nilsson
2014-12-17ssh: Improve errorhandling in ssh_connection.erlIngela Anderton Andin
If a channel is closed by the peer while using a function with call semantics in ssh_connection.erl return {error, closed}. Document that the functions can return {error, timeout | closed} and not only ssh_request_status()
2014-11-18ssh: Gracefully handle bad inputIngela Anderton Andin
2014-10-30ssh: Correct typo of renegotiate that could cause rekeying to failIngela Anderton Andin
2014-10-22ssh: remove supervisors for crashed connection workerHans Nilsson
2014-10-21ssh: simple info function (ssh_info:print/0).Hans Nilsson
2014-10-17ssh: Gracefully handle bad handshake messagesIngela Anderton Andin
2014-10-17ssh: reduce amount of printoutsHans Nilsson
2014-10-16ssh: Fix port scanner problemsHans Nilsson
2014-09-29Merge branch 'ia/ssh/version-handling-gracefull/OTP-12157' into maint-17Erlang/OTP
* ia/ssh/version-handling-gracefull/OTP-12157: ssh: Add format_status/2 so sensitive data will not be present in logs ssh: Gracefully handle incorrect versions
2014-09-25ssh: Fixed parallel_login bug that made all logins serialHans Nilsson
2014-09-24ssh: Add format_status/2 so sensitive data will not be present in logsIngela Anderton Andin
2014-09-24ssh: Gracefully handle incorrect versionsIngela Anderton Andin
Conflicts: lib/ssh/test/ssh_connection_SUITE.erl
2014-08-11ssh: negotiation_timeout bug fixedHans Nilsson
2014-04-24ssh: remove confusing info in some reportsHans Nilsson
2014-03-26ssh: added daemon option 'parallel_login', default falseHans Nilsson
2014-03-25ssh: Fix dialyzer warning for arg Data in ssh_connection_handler:send/4Hans Nilsson
2014-01-27ssh: Fix dialyzer type specs and documentationJohannes Weißl
Similar to d9ebfb8. The wrong specs were leading to dialyzer warnings like this in our application since R16B03: The pattern 'ok' can never match the type {'error',_}. The pattern {'error', {'already_started', 'ssh'}} can never match the type 'ok'. The pattern {'error', _} can never match the type {'open_error',_,string(),string()}.
2013-11-26ssh: Correct close handlingIngela Anderton Andin
Commit 68263a48bfbdac4dc219a91f06af3d535d881850 got close handling slightly wrong, channels did not get their close message. Commit 32102f1e8225dada7526c9bfee6622f9026ba4cd did not work as expected
2013-11-13ssh: Logging fun and document enhancementIngela Anderton Andin
2013-11-13ssh: Simplify handling of connection attributes (e.i. user and sockname)Ingela Anderton Andin
OTP-11296
2013-11-13ssh: Merge connection_manager and connection_handler processesIngela Anderton Andin
Also start adding dialyzer specs and removing dead code
2013-11-13ssh: Remove use of process dictionaryIngela Anderton Andin
This is step one in in making ssh process structure less complicated. As an effect I also found other simplifications/clean ups of the code that could be done.
2013-10-28ssh: Add ssh:sockname/1 incl doc and testsHans Nilsson
OTP-11345, sto575, tsk374
2013-08-21Merge branch 'lpg/openssh_zlib/OTP-11256' into maintFredrik Gustafsson
* lpg/openssh_zlib/OTP-11256: ssh: added basic connection testcase for openssh zlib Add openssh_zlib compression type to ssh_transport
2013-07-01Merge branch 'maint-r15' into maint-r16Fredrik Gustafsson
Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src lib/inets/vsn.mk lib/ssh/doc/src/notes.xml lib/ssh/src/ssh.appup.src lib/ssh/src/ssh_connection_handler.erl lib/ssh/vsn.mk
2013-06-27ssh: fixed bad match failure when disconnect msgFredrik Gustafsson
2013-06-20Add openssh_zlib compression type to ssh_transportLouis-Philippe Gauthier
http://www.openssh.org/txt/draft-miller-secsh-compression-delayed-00.txt
2013-03-08Fixed rekeying initiation and secured testcaseFredrik Gustafsson
2013-02-15Returning the actual reason why key exchange failedFredrik Gustafsson
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-18Fixed internal error on when client and server can not agree o which ↵Fredrik Gustafsson
authmethod to use
2012-12-19Merge branch 'fredrik/ssh/rekeying'Fredrik Gustafsson
* fredrik/ssh/rekeying: ssh_basic_SUITE rekey test modifications Modifications to idle_time testcase Added test for rekeying Added doc for rekey_limit option Renegotiating every hour and every gb sent, can be decreased with option {rekey_limit, integer()}
2012-12-13ssh: Document and clean up SSH behavioursIngela Anderton Andin
2012-11-23Renegotiating every hour and every gb sent, can be decreased with option ↵Fredrik Gustafsson
{rekey_limit, integer()}
2012-11-02Option to ssh:connect {pref_public_key_algs, list()} where you can give the ↵Fredrik Gustafsson
algorithms you want to use
2012-02-28Prevent client hanging. (OTP-8111)Ingela Anderton Andin
Restored supervisor tree so that error propagation will work as intended, although connection processes are set to temporary, instead of permanent with restart times set to 0, and termination of the connection subtree is initiated by a temporary process spawned by ssh_connection_managers terminate. This is done to avoid unwanted supervisor reports. Pherhaps we need some new supervisor functionality.
2012-02-20Improve check so that we will not try to read ssh packet length indicator if ↵Ingela Anderton Andin
not sure we have enough data. OTP-8380
2012-02-17Improved error handlingIngela Anderton Andin
2012-02-10Cleaned up code so that ssh_file can become a template for a documentedIngela Anderton Andin
ssh_keys behavior
2012-02-10Ssh daemon handles RSA host keysIngela Anderton Andin
Solves OTP-7677
2011-05-06An unexpected message would crash the ssh_connection_handler and close the ↵Niclas Eklund
connection. Now an error message is generated instead.
2011-04-27OTP-9232:Niclas Eklund
A memory leak has been fixed. I.e. per terminated connection the size of a pid and the length of a user name string was not cleared.
2011-04-18Fixed SSH appup, copyright headers SSH vsn and SSH release note.Niclas Eklund
2011-04-15Adds NIFs for cryptographically strong random number generation.Niclas Eklund
Also adds documentation and unit tests. Thanks to Geoff Cant.
2010-10-28Merge branch 'maint-r13' into maint-r14Niclas Eklund
Conflicts: lib/ssh/doc/src/notes.xml lib/ssh/src/ssh.appup.src lib/ssh/src/ssh_system_sup.erl lib/ssh/vsn.mk