summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
AgeCommit message (Collapse)Author
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
2004-07-26snapshot of stuffMatt Johnston
--HG-- extra : convert_revision : 2903853ba24669d01547710986ad531357602633
2004-07-20switching to global varsMatt Johnston
--HG-- extra : convert_revision : 800073097767c2ac153ab834cbcf0121cb765118
2004-06-23merge of abac2150ee4f4031a98016241fbd136d24fed127Matt Johnston
and ffa047425729e478a5b49b1ab0f8ec71c08a1421 --HG-- extra : convert_revision : e9b7d4eda64d70aff736f48cc8dea680b153139b
2004-06-22- Port restriction code back inMatt Johnston
- Remove bad strerror() logging --HG-- extra : convert_revision : 8ad0c90d041d667876641822a5d870e2e73059c6
2004-06-07Don't bother printing errno in exit messages (the code wasn't valid anyway)Matt Johnston
--HG-- extra : convert_revision : 84b4b2b17c096faebd10975a08e91954e2014d82
2004-06-03- Reworked non-channel fd handling to listener.cMatt Johnston
- More channel cleaning up --HG-- extra : convert_revision : 385ec76d0304b93e277d1cc193383db5fd773703
2004-06-02Chantype handling is sortedMatt Johnston
--HG-- extra : convert_revision : 807efead6ecf690f147fd8145aa9d78ff894cdb2
2004-06-01Sorted out the first channel init issues.Matt Johnston
--HG-- extra : convert_revision : 67676f36b78efac878c11943d78a5de827498d05
2004-06-01syntactical fixups - it compiles, but channel handling code requires fixing.Matt Johnston
--HG-- extra : convert_revision : 6f8be81d5486f3499fde596d8e86df2630b24442
2004-06-01Makefile.in contains updated files requiredMatt Johnston
--HG-- extra : convert_revision : cc8a8c49dc70e632c352853a39801089b08149be