summaryrefslogtreecommitdiffhomepage
path: root/svr-agentfwd.c
AgeCommit message (Collapse)Author
2019-03-20Support servers without multiple user support (#76)Patrick Stewart
2019-03-20fix some gcc warnings (#73)François Perrad
* tweak string size fix gcc8 warnings ``` svr-agentfwd.c: In function 'bindagent': svr-agentfwd.c:254:53: warning: '%s' directive output may be truncated writing up to 107 bytes into a region of size between 0 and 107 [-Wformat-truncation=] snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s", path, sockfile); ^~ ~~~~~~~~ svr-agentfwd.c:254:2: note: 'snprintf' output between 2 and 216 bytes into a destination of size 108 snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s", path, sockfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` * cleanup signed/unsigned comparison fix gcc8 warnings ``` scp.c: In function 'do_local_cmd': scp.c:132:17: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (i = 0; i < a->num; i++) ^ scpmisc.c: In function 'addargs': scpmisc.c:161:25: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] } else if (args->num+2 >= nalloc) ^~ scpmisc.c: In function 'replacearg': scpmisc.c:183:12: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (which >= args->num) ^~ scpmisc.c: In function 'freeargs': scpmisc.c:196:17: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (i = 0; i < args->num; i++) ^ ``` see https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/misc.h.diff?r1=1.16&r2=1.17
2018-11-14Split ChanType closehandler() and cleanup() so that dbclient doesn'tMatt Johnston
lose exit status messages
2017-08-19Pointer parameter could be declared as pointing to const (callback)Francois Perrad
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2015-02-24Some minor typo fixes, found by codespell.Thorsten Horstmann
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
2011-04-07Clean up fd on failure. Found by KlocworkMatt Johnston
--HG-- extra : convert_revision : 4b999175c8e91ee3ddf283b17525999499a12849
2011-02-28Compile fix for when both client and server agent forwarding is disabledMatt Johnston
--HG-- extra : convert_revision : 8a608f0ed5e4b491dba4bf330e560636ec7376fd
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2009-07-30Agent forwarding worksMatt Johnston
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
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-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
2005-07-18- progress towards client agent forwardingMatt Johnston
(incomplete and does not compile) --HG-- branch : agent-client extra : convert_revision : 01038174ec27245b51bd43a66c01ad930880f67b
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
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-12Merging in the changes from 0.41-0.43 main Dropbear treeMatt Johnston
--HG-- extra : convert_revision : 4c3428781bc8faf0fd7cadd7099fbd7f4ea386e7
2004-08-10just checkpointingMatt Johnston
--HG-- extra : convert_revision : fbbf404290f3fea3dfa9f6f53eba9389057e9044
2004-07-27Progressing client supportMatt Johnston
--HG-- extra : convert_revision : 48946be1cef774d1c33b0f78689962b18720c627
2004-06-03Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)Matt Johnston
--HG-- extra : convert_revision : 27e793a6395dbf5f2c0aa130d37fad2e4ef67e01
2004-06-03Mostly done with the listener changeoverMatt Johnston
--HG-- extra : convert_revision : 1a4dca8836a2a04a21fb675c718a549a8d445d25
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