Matt Johnston
|
38c9408cf8
|
avoid leak of ecdh public key
|
2018-03-08 23:51:33 +08:00 |
|
Matt Johnston
|
c658b275fd
|
- #if not #ifdef for DROPBEAR_FUZZ
- fix some unused variables
--HG--
branch : fuzz
|
2018-02-28 21:40:08 +08:00 |
|
Matt Johnston
|
7e8094d53a
|
merge from main
--HG--
branch : fuzz
|
2018-02-17 19:29:51 +08:00 |
|
Matt Johnston
|
89bdf3b0b9
|
add fuzzer-preauth_nomaths
--HG--
branch : fuzz
|
2018-01-23 23:05:47 +08:00 |
|
Francois Perrad
|
89e64c631e
|
Pointer parameter could be declared as pointing to const
|
2017-08-19 17:16:13 +02:00 |
|
Matt Johnston
|
88ce30beb6
|
merge from main
--HG--
branch : fuzz
|
2017-06-14 23:31:42 +08:00 |
|
Francois Perrad
|
9dcb04a1e0
|
fix DEBUG_* condition
|
2017-06-01 19:10:37 +02:00 |
|
Matt Johnston
|
114438e669
|
zlib can use m_malloc/m_free too
--HG--
branch : fuzz
|
2017-05-22 22:09:26 +08:00 |
|
Matt Johnston
|
c169423051
|
glaring wrapfd problems fixed
--HG--
branch : fuzz
|
2017-05-20 22:47:19 +08:00 |
|
Matt Johnston
|
fdc6f32392
|
closer to working
--HG--
branch : fuzz
|
2017-05-20 13:23:16 +08:00 |
|
Matt Johnston
|
4dae8edb76
|
merge main to fuzz
--HG--
branch : fuzz
|
2017-05-18 23:45:10 +08:00 |
|
Matt Johnston
|
9f24cdf74c
|
copy over some fuzzing code from AFL branch
--HG--
branch : fuzz
|
2017-05-12 23:14:54 +08:00 |
|
Matt Johnston
|
32a28d0d9c
|
Convert #ifdef to #if, other build changes
|
2016-05-04 15:33:40 +02:00 |
|
Francois Perrad
|
3e20c442de
|
fix empty C prototypes
|
2016-03-16 22:41:20 +08:00 |
|
Matt Johnston
|
645b254173
|
Merge branch '20151231_indent' of https://github.com/fperrad/dropbear into fperrad-20151231_indent
|
2016-03-15 21:41:06 +08:00 |
|
Matt Johnston
|
09e83ad742
|
Move dh group constants to a separate file
|
2016-01-14 21:54:58 +08:00 |
|
Francois Perrad
|
9bda22e702
|
more hard tab
|
2016-01-01 15:02:09 +01:00 |
|
Matt Johnston
|
2293e3d105
|
check for zero K value from curve25519
|
2015-11-25 22:15:59 +08:00 |
|
Matt Johnston
|
839e023ed8
|
check ecc key return, fix null pointer crash
|
2015-06-23 21:48:13 +08:00 |
|
Matt Johnston
|
1a4db21fe4
|
buf_getstring and buf_putstring now use non-unsigned char*
|
2015-06-04 23:08:50 +08:00 |
|
Gaël PORTAY
|
947d2697cf
|
Turn sshsession's remoteident attribute into char *
|
2015-05-05 20:39:14 +02:00 |
|
Gaël PORTAY
|
224b16b247
|
Fix pointer differ in signess warnings [-Werror=pointer-sign]
|
2015-05-05 20:39:13 +02:00 |
|
Matt Johnston
|
579463933b
|
A bit of a bodge to avoid memcpy if zlib is disabled
--HG--
branch : nocircbuffer
|
2015-03-01 00:57:21 +08:00 |
|
Matt Johnston
|
c44a78a2e6
|
Tighten validation of DH values. Odds of x==0 being generated are
improbable, roughly 2**-1023
Regression in 0.49
|
2015-02-10 21:46:19 +08:00 |
|
Matt Johnston
|
a7a79d569a
|
Disable non-delayed zlib for server
|
2015-01-28 21:38:27 +08:00 |
|
Matt Johnston
|
b24984deb3
|
clear hash state memory after use
|
2015-01-04 23:10:59 +08:00 |
|
Matt Johnston
|
e767bbb41f
|
Add new monotonic_now() wrapper so that timeouts are unaffected by
system clock changes
|
2014-03-13 23:50:09 +08:00 |
|
Matt Johnston
|
12e7d570a2
|
Make some debug info conditional
|
2014-02-24 20:53:32 +08:00 |
|
Matt Johnston
|
55a0c5068f
|
requirenext doesn't need two values
|
2014-01-23 22:25:52 +08:00 |
|
Matt Johnston
|
8128b15e41
|
Fix failing rekeying when we receive a still-in-flight packet
|
2014-01-23 21:56:35 +08:00 |
|
Matt Johnston
|
61cecbb337
|
DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default
|
2014-01-17 21:39:27 +08:00 |
|
Matt Johnston
|
cbe63bbabe
|
rename random.h to dbrandom.h since some OSes have a system random.h
--HG--
rename : random.c => dbrandom.c
rename : random.h => dbrandom.h
|
2013-11-14 22:05:47 +08:00 |
|
Matt Johnston
|
de1deaf0bd
|
use oldstyle comments
|
2013-11-14 22:03:30 +08:00 |
|
Matt Johnston
|
a65f84db38
|
- Some fixes for old compilers like tru64 v4 from Daniel Richard G.
- Don't warn about blocking random device for prngd
|
2013-11-14 21:36:45 +08:00 |
|
Matt Johnston
|
e60a84d0ed
|
Various cleanups and fixes for warnings
--HG--
branch : ecc
|
2013-11-12 23:02:32 +08:00 |
|
Matt Johnston
|
0162c116da
|
curve25519
--HG--
branch : ecc
|
2013-11-08 23:11:43 +08:00 |
|
Matt Johnston
|
d9e790e7dc
|
Add m_mp_alloc_init_multi() helper
--HG--
branch : ecc
|
2013-05-23 22:18:16 +08:00 |
|
Matt Johnston
|
04518e9e80
|
merge in HEAD
--HG--
branch : ecc
|
2013-05-21 12:09:35 +08:00 |
|
Matt Johnston
|
154a65fc31
|
Fix build when zlib is disabled, from
http://freetz.org/browser/trunk/make/dropbear/patches/350-no_zlib_fix.patch
|
2013-04-16 22:16:32 +08:00 |
|
Matt Johnston
|
ef151888fb
|
requirenext fixup for firstkexfollows
|
2013-04-14 23:16:16 +08:00 |
|
Matt Johnston
|
5c87c6a435
|
A bit of work on ecdsa for host/auth keys
--HG--
branch : ecc
|
2013-04-14 00:50:03 +08:00 |
|
Matt Johnston
|
adeb372a66
|
Fix zlib for split newkeys
|
2013-04-11 23:03:58 +08:00 |
|
Matt Johnston
|
7f091e7019
|
start on ecdsa keys
--HG--
branch : ecc
|
2013-04-09 00:36:04 +08:00 |
|
Matt Johnston
|
4f07805d0a
|
- Rename buf_put_ecc_pubkey_string() to buf_put_ecc_raw_pubkey_string()
- Reindent ecc.c properly
--HG--
branch : ecc
|
2013-04-08 23:56:31 +08:00 |
|
Matt Johnston
|
48c83aa9d0
|
ecdh works against OpenSSH
--HG--
branch : ecc
|
2013-04-08 23:12:20 +08:00 |
|
Matt Johnston
|
c797c1750c
|
- Fix various hardcoded uses of SHA1
- rename curves to nistp256 etc
- fix svr-auth.c TRACE problem
--HG--
branch : ecc
|
2013-04-08 00:10:57 +08:00 |
|
Matt Johnston
|
c6bdc810ab
|
ecc kind of works, needs fixing/testing
--HG--
branch : ecc
|
2013-04-07 01:36:42 +08:00 |
|
Matt Johnston
|
7f42096d0f
|
Take transmit and receive keys into use separately
|
2013-04-04 00:18:50 +08:00 |
|
Matt Johnston
|
cbd3d5e3a5
|
Put some #ifdef options around first-follows options in case they
need to be disabled
--HG--
branch : kexguess
|
2013-04-03 00:43:31 +08:00 |
|
Matt Johnston
|
9c7485331a
|
Get rid of client/server specific buf_match_algo, use single
function with a couple of if statements instead
--HG--
branch : kexguess
|
2013-03-30 23:55:05 +08:00 |
|