summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
AgeCommit message (Collapse)Author
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
2012-02-21- MergeMatt Johnston
2012-02-21- Burn buffers to 0x00 insteadMatt Johnston
2011-12-04- We don't need to test for NULL before free()Matt Johnston
2011-11-10Put better #if guards around IPv6 socket options for IPV6_TCLASS andMatt Johnston
IPV6_V6ONLY. From Gustavo Zacarias.
2011-10-26Set IPTOS_LOWDELAY for IPv6 tooMatt Johnston
--HG-- extra : convert_revision : bebc84493fc5f4ca914ae8828e6db7204c086ac2
2011-10-20Try bind IPV6_V6ONLYMatt Johnston
--HG-- extra : convert_revision : cfe965c1503984cafaa98b684269db99bec310eb
2011-04-07Fix FD leak if connect() fails, found by KlocworkMatt Johnston
--HG-- extra : convert_revision : 4f7dec450bb69aee8d7789b8ab10311b1d1655bb
2011-04-07Add noreturn and format attribute hints for some functions.Matt Johnston
--HG-- extra : convert_revision : 6cc8735d01f0360b918edc26be05681725c0022a
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2009-09-01Rearrange getaddrstring() etcMatt Johnston
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-07-01Talking to the agent works now. Can't interpret the pubkeys.Matt Johnston
--HG-- branch : agent-client extra : convert_revision : 357373f28e889108178b8627480fd24bc26dcbd7
2009-07-01Make it compile, update for changes in channel structure.Matt Johnston
--HG-- branch : agent-client extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
2008-09-23propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
4fb35083f0f46ea667e7043e7d4314aecd3df46c) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee) --HG-- branch : agent-client extra : convert_revision : 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2
2008-09-22Replace calls to strtoul() with a helper m_str_to_uint()Matt Johnston
--HG-- extra : convert_revision : 1f8643c5ba7fe789c120b503c396281ac45f9730
2008-09-18- Improve DNS failure message to include lookup hostMatt Johnston
--HG-- extra : convert_revision : c0555e457f4da6b618b87f2cf4bf5c4c4d0f9e28
2008-09-17Don't capture stderr from spawned processes in proxycommand modeMatt Johnston
--HG-- extra : convert_revision : 636506b73e973b004cc058b07e6f36a25ff902f8
2008-09-15- Add run_shell_command() function to run a "sh -c" command, handlingMatt Johnston
lots of the work that exechild did (and can be shared by client -J option) --HG-- extra : convert_revision : a15dfd8017af8212b3b227f18ce2539dd471f7f6
2008-09-15- Generalise spawn_command functionMatt Johnston
--HG-- extra : convert_revision : 9927a5fe084c8053c747a40515f0213141ef8139
2007-08-16propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
8a7db1e2fdc5636abb338adb636babc32f465739) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d) --HG-- branch : agent-client extra : convert_revision : 78d02301ae8310efa2639f15da0ea62dea110e4b
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-12Disable core dumpsMatt Johnston
--HG-- extra : convert_revision : ba8ebf724630561c6b9285247be7574a33853a17
2007-02-04merge of 'b1dd3b94e60a07a176dba2b035ac79968595990a'Matt Johnston
and 'bcb33fce2fad01a7626598209d43af3571bd86f0' --HG-- extra : convert_revision : 691c56da3db2685f58ea53540a73c1b79e7df9cd
2007-02-03Fix failure-handling in dropbear_listen() when errstring is unsetMatt Johnston
(this codepath isn't used) --HG-- extra : convert_revision : d29f3665a91c4bf71a2d8bd99b33348a0317e605
2006-09-11Forgot variable declaration.Matt Johnston
--HG-- extra : convert_revision : 08a0ab6d3e7efefaa07f3d428e9fe8a503f670ac
2006-08-20Handle failure reading a file (such as a key file)Matt Johnston
--HG-- extra : convert_revision : 3219ab5642c86615c6ffb30eb93f573a73415d2f
2006-06-12Another stab at getting ss_family happy on older glibcMatt Johnston
--HG-- extra : convert_revision : 7a1e9b08a576d794c28275e1bf54cb603372a4a6
2006-03-21propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
0501e6f661b5415eb76f3b312d183c3adfbfb712) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 01038174ec27245b51bd43a66c01ad930880f67b) --HG-- branch : agent-client extra : convert_revision : 12b2f59db65e7339d340e95ac67d6d9ddb193c2b
2006-03-08* Per-IP connection unauthed connection limitsMatt Johnston
* m_close() exits fatally on failure * other cleanups --HG-- extra : convert_revision : bed6155e95a293c9fce7e889d283b5958f3035dc
2005-12-04 * add -g (dbclient) and -a (dropbear) options for allowing non-localMatt Johnston
hosts to connect to forwarded ports. Rearranged various some of the tcp listening code. * changed to /* */ style brackets in svr-authpam.c --HG-- extra : convert_revision : c1e04e648867db464fe9818c4910e4320cd50c32
2005-09-21- new function to set "low delay" for a packet, set the ip TOS bitMatt Johnston
(can help significantly over some links) --HG-- extra : convert_revision : 685c1004b66533aebbd45810533de698a786a4ea
2005-09-05merge of da30137eaac417f50a323f9ddd29999ec21261e0Matt Johnston
and fb45ddf51e20f0ff007eb8abc737de3c024f45cc --HG-- extra : convert_revision : 2b620b0819e95e4181aa50b645a94e3a7f4d4840
2005-09-05* use own assertions which should get logged properlyMatt Johnston
--HG-- extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
2005-09-05add a missing freeaddrinfo()Matt Johnston
--HG-- extra : convert_revision : 861515d7429c76542803c49a1fc972cba6a760b4
2005-07-18- progress towards client agent forwardingMatt Johnston
(incomplete and does not compile) --HG-- branch : agent-client extra : convert_revision : 01038174ec27245b51bd43a66c01ad930880f67b
2005-05-10* add a "label" argument to printhex()Matt Johnston
* make some vars static in random.c --HG-- extra : convert_revision : ef941a918e42e8af23b132946f44e6836a327e71
2005-02-28* add SSH_ASKPASS support (based on patch from Paul WhittakerMatt Johnston
* don't exit if setnonblocking() fails with "not supported by device" (allows redirection from /dev/null) --HG-- extra : convert_revision : 02fb18acdb680a868b2bfbd6452b2ccdb4cdde99
2005-02-28* respect DO_HOST_LOOKUP config optionMatt Johnston
--HG-- extra : convert_revision : ab193dd162b03bdd935759fa667ff394a5e29734
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2005-01-020.44 release changesMatt Johnston
--HG-- extra : convert_revision : 47d6b5589a4eaf707ed1c3685d9ef49306af18d8
2005-01-02Fix so that getnameinfo() is passed the address-specific structure size. ThisMatt Johnston
lets it work on Solaris (and probably other platforms) --HG-- extra : convert_revision : b486b773f163af8462b0ef6565ac4285a54708eb
2004-12-20Cleaning out various dead wood found with -dead_stripMatt Johnston
bignum.c: mptobytes now resides in dss.c loginrec.c: remove lastlog code since it isn't used. dbutil.c: removed obselete usingsyslog variable channel.h: client channel type only defined for client compile common-algo.c: s/rijndael/aes/ --HG-- extra : convert_revision : 411ea4e70506ecb0202376f94bcf2d330603d042
2004-09-14calloc memory rather than mallocing it - can't hurt too much, and isMatt Johnston
probably a bit safer --HG-- extra : convert_revision : bbd2edbb1410ea8fd7bee089f60154f76d2a0ab7
2004-09-02Read the last line of a file without a finishing '\n' correctlyMatt Johnston
--HG-- branch : private-rez extra : convert_revision : f64591461a40d54a2bd2e12493253ec76eab1ff2
2004-08-27merge of 50be59810e462f9f44f55e421227d6aa0b31982bMatt Johnston
and 69b007796063cb5f042be7cca2d479e90db869c3 --HG-- extra : convert_revision : 5d0dfaa8c0ee6c728a3b4f0f0855199ba729db83
2004-08-26- added circular buffering for channelsMatt Johnston
- added stderr support for the client - cleaned up a bunch of "unused" warnings, duplicated header definitions - added exit-status support for the client --HG-- extra : convert_revision : 5bdf806d8b440c87f7235414662f4189195618f4
2004-08-24Nasty.Matt Johnston
--HG-- extra : convert_revision : e1229cd01c3007206d2937ea390ad4966c289a5a
2004-08-18DEBUG_TRACE now only triggers with -v on the cmdlineMatt Johnston
--HG-- extra : convert_revision : 91ef4ca657cd116dba148a50a90c8bcc5d206d4b
2004-08-14Dropbearkey can now print out pubkey portionsMatt Johnston
--HG-- extra : convert_revision : 2d897b12ba8710efe0b042b36b1fd31b2469eb15