summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
AgeCommit message (Collapse)Author
2017-05-12copy over some fuzzing code from AFL branchMatt Johnston
--HG-- branch : fuzz
2016-07-11Improve exit message formattingMatt Johnston
2016-03-16fix empty C prototypesFrancois Perrad
2016-01-05Fix print format specifierChocobo1
2015-12-15A few minor style fixesMatt Johnston
2015-12-15Moved usingsyslog from svr_runopts to runopts.Konstantin Tokarev
2015-08-03Fix problem where auth timeout wasn't checked when waiting for identMatt Johnston
2015-05-03Make sure kexfirstinitialise is called early enoughMatt Johnston
2015-02-24Some additional cleanup functionsMatt Johnston
2015-02-24Free memory before exiting. Based on patch from Thorsten Horstmann.Matt Johnston
Client side is not complete.
2014-08-19Make keepalive handling more robust, this should now match what OpenSSH doesMatt Johnston
2014-08-13Don't send SSH_MSG_UNIMPLEMENTED for keepalive responsesMatt Johnston
2014-07-09Fix auth timeout regressionMatt Johnston
2014-07-09Make -K keepalive behave like OpenSSH's ServerAliveIntervalMatt Johnston
2014-03-13Add new monotonic_now() wrapper so that timeouts are unaffected byMatt Johnston
system clock changes
2013-12-03Fix disabling DSS keyMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-05-03ecdsa is workingMatt Johnston
--HG-- branch : ecc
2013-04-09start on ecdsa keysMatt Johnston
--HG-- branch : ecc
2013-04-03merge kexguess branchMatt Johnston
2013-04-01Run the cleanup handler also when we close due to TCP connection being closedMatt Johnston
2013-03-31mergeMatt Johnston
--HG-- branch : kexguess
2013-03-31send out our kexinit packet before blocking to read the SSH version stringMatt Johnston
2013-03-30Get rid of client/server specific buf_match_algo, use singleMatt Johnston
function with a couple of if statements instead --HG-- branch : kexguess
2012-06-29Improve RNG seeding.Matt Johnston
Try to read from /dev/urandom multiple times, take input from extra sources, and use /dev/random when generating private keys
2012-05-09- Don't sent SSH_MSG_UNIMPLEMENTED if we don't have ENABLE_SVR_REMOTETCPFWDMatt Johnston
- Fix build if ENABLE_SVR_REMOTETCPFWD is disabled but ENABLE_SVR_LOCALTCPFWD is enabled
2012-04-09Rename HAVE_FORK to USE_VFORKMatt Johnston
It makes it a bit more obvious why there's a test there since HAVE_FORK is the normal case.
2012-04-08check for fork() and not __uClinux__Mike Frysinger
2011-04-07Properly fix the bug found years ago by Klocwork, refound again.Matt Johnston
--HG-- extra : convert_revision : 65b95facde07c748c56e0bfa25c801397dc16a99
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2009-09-05Move remotehost into svr_ses structure since we can't look it upMatt Johnston
once we've forked (the connection socket has been closed). Fixes inetd mode. --HG-- extra : convert_revision : 7d5d152ec84fb11a188966c1400d213c908cc511
2009-09-01Rearrange getaddrstring() etcMatt Johnston
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-07-09- For uclinux, only cleanup on exit for the main process. This avoidsMatt Johnston
trashing the state when a failing child exits. --HG-- extra : convert_revision : 5d029ce4602908c3becf0035cf2b7e62816959bc
2008-09-23propagate from branch 'au.asn.ucc.matt.dropbear.pubkey-options' (head ↵Matt Johnston
537a6ebebb46424b967ffe787f0f8560e5f447e8) to branch 'au.asn.ucc.matt.dropbear' (head 10b2f286b9886364db39dfbb4f8f46e49e345d87) --HG-- extra : convert_revision : 6fd2597077a4e2421bf45388e058d15606f6dd74
2008-09-15- Split main socket var into ses.sock_in/ses.sock_out in preparationMatt Johnston
for -J proxy_cmd option (and some prelim options for that) --HG-- extra : convert_revision : 47cdea9a7d66c553c6f5eec43b899821939d4e4c
2008-09-08* Patch from Frédéric Moulins adding options to authorized_keys.Matt Johnston
Needs review. --HG-- branch : pubkey-options extra : convert_revision : 26872f944d79ddacff1070aab32115a6d726392c
2008-01-13Make a copy of passwd fields since getpwnam()'s retval isn't safe to keepMatt Johnston
--HG-- extra : convert_revision : 295b11312e327fe6c4f33512674ea4a1a9790344
2007-08-08- Add -K keepalive flag for dropbear and dbclientMatt Johnston
- Try to reduce the frequency of select() timeouts - Add a max receive window size of 1MB --HG-- extra : convert_revision : 9aa22036cb511cddb35fbc0e09ad05acb39b64d1
2007-02-16Fix for -pedantic -ansi compilation, change // to /**/, plus some signednessMatt Johnston
and trailing-comma-in-array issues --HG-- extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
2007-02-03Fix potential null pointer dereference found by KlokworkMatt Johnston
--HG-- extra : convert_revision : ef7030b29eca0944e6fbbdcdd776aafe39197ffa
2006-02-11Only read /dev/random once when the program startsMatt Johnston
rather than for every connection, to "conserve entropy". --HG-- extra : convert_revision : 21df240b71c0af8454725dec9abb428dd4bb97a2
2004-12-23Log the IP along with auth success/fail attemptsMatt Johnston
--HG-- extra : convert_revision : 25eab43bd46e931fd4afecec49c22b9311062099
2004-12-22Rearrange preprocessor parts so that compilation with various optionsMatt Johnston
disabled works OK. --HG-- extra : convert_revision : cc92f744e34125062d052b757967e167f19d6db5
2004-08-22Fix for printing out things with inetd mode when we have DEBUG_TRACEMatt Johnston
compiled in but no -v: we don't want to print messages out since it goes to the socket (and over the wire - bad). --HG-- extra : convert_revision : f18a0cff74b01ad04543718db6aac12857851b3c
2004-08-12cleaning up the pubkey definesMatt Johnston
--HG-- extra : convert_revision : 149ce7a9a9cc5fe670994d6789b40be49895c595
2004-08-10just checkpointingMatt Johnston
--HG-- extra : convert_revision : fbbf404290f3fea3dfa9f6f53eba9389057e9044
2004-08-03Pubkey auth is mostly there for the client. Something strange withMatt Johnston
remote hostkey verification though. --HG-- extra : convert_revision : 8635abe49e499e16d44a8ee79d474dc35257e9cc
2004-07-29set the isserver flag (oops)Matt Johnston
fix password auth for the server --HG-- extra : convert_revision : 234eb604aabaef9ed0dd496ff8db8ecc212ca18c
2004-07-27Progressing client supportMatt Johnston
--HG-- extra : convert_revision : 48946be1cef774d1c33b0f78689962b18720c627