Eric Bénard
22037d5fba
configure: add a variable to allow openpty check to be cached
...
Signed-off-by: Dengke Du <dengke.du@windriver.com>
2017-07-11 03:20:08 -04:00
Matt Johnston
785459d31b
document --enable-static in place of STATIC=1
2017-06-27 22:42:32 +08:00
Matt Johnston
a9a3746d09
add --enable-static configure argument. disable conflicting harden flags
2017-06-27 22:37:46 +08:00
Matt Johnston
74ace058a6
Use MAX_AUTH_TRIES rather than DEFAULT_AUTH_TRIES, don't limit argument range
2017-06-27 22:20:38 +08:00
Matt Johnston
96382d52ab
improve configure --help alignment
2017-06-27 22:18:18 +08:00
Matt Johnston
ddbc8113a9
Merge pull request #47 from kdarbyshirebryant/mastermaxauth
...
dropbear server: support -T max auth tries
2017-06-25 23:37:44 +08:00
Matt Johnston
65115b9159
Merge pull request #45 from bengardner/DROPBEAR_LISTEN_BACKLOG
...
sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
2017-06-25 23:22:11 +08:00
Kevin Darbyshire-Bryant
e255101299
dropbear server: support -T max auth tries
...
Add support for '-T n' for a run-time specification for maximum number
of authentication attempts where 'n' is between 1 and compile time
option MAX_AUTH_TRIES.
A default number of tries can be specified at compile time using
'DEFAULT_AUTH_TRIES' which itself defaults to MAX_AUTH_TRIES for
backwards compatibility.
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-06-25 11:53:58 +01:00
Matt Johnston
a94338dc67
add configuration option for default RSA size.
...
print key size with dropbearkey
2017-06-24 23:32:25 +08:00
Matt Johnston
364fb6019c
Update to libtommath v1.0
2017-06-24 22:37:14 +08:00
Matt Johnston
a79b61517b
update to libtomcrypt 1.17 (with Dropbear changes)
2017-06-24 17:50:50 +08:00
Matt Johnston
99361f54ca
Update curve25519-donna to f7837adf95a2c2dcc36233cb02a1fb34081c0c4a
2017-06-24 11:53:32 +08:00
Matt Johnston
82c06dd76b
document changed default RSA key size back in 2013.61test
2017-06-24 11:00:16 +08:00
Matt Johnston
57690891ce
test dss key parameter lengths exactly
2017-06-24 10:32:33 +08:00
Matt Johnston
5896a4941d
test for -pie linker flag as well, for Linux
2017-06-24 01:01:11 +08:00
Matt Johnston
521e63529c
set hardened compiler/linker flags by default
2017-06-24 00:42:20 +08:00
Matt Johnston
24b446705b
test for linux/pkt-sched.h rather than SO_PRIORITY
2017-06-23 23:36:33 +08:00
Matt Johnston
3c5ed47804
set PAM_RHOST
2017-06-23 23:21:20 +08:00
Ben Gardner
44f36d57e6
sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
...
This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to
force the value.
2017-06-05 08:40:48 -05:00
Matt Johnston
7ab8f61974
Merge pull request #38 from armcc/master
...
Fix libtomcrypt/libtommath linking order
2017-06-03 09:45:55 +08:00
Matt Johnston
4bba3268d5
Merge pull request #40 from fperrad/20161119_lint
...
more lintings
2017-06-03 09:41:09 +08:00
Francois Perrad
5f76e4c1ed
when pointer, use NULL instead of 0
2017-06-02 18:14:31 +02:00
Matt Johnston
92c4f20089
Set configure #defines to 1. Escape some strings for m4
2017-06-02 23:35:30 +08:00
Matt Johnston
acfd372808
Merge pull request #37 from shauser88/configure-fixes
...
Fix configure options using AC_ARG_ENABLE
2017-06-02 23:21:31 +08:00
Matt Johnston
6054483dc7
Merge pull request #39 from fperrad/20161118_lint
...
fix indentation
2017-06-02 23:10:48 +08:00
Matt Johnston
25931bc1e6
Merge pull request #34 from bengardner/gitignore
...
Add .gitignore file
2017-06-02 23:02:34 +08:00
Matt Johnston
9250c58013
Merge pull request #33 from bengardner/termcodes
...
termcodes: make VEOL2, VWERASE, VLNEXT, ECHOCTL, and ECHOKE optional
2017-06-02 23:01:54 +08:00
Matt Johnston
4f226ab36a
Merge pull request #32 from bengardner/ERR_label
...
Change label name _ERR to LBL_ERR
2017-06-02 23:00:05 +08:00
Matt Johnston
33e28fb96b
Merge pull request #31 from bengardner/PATH_DEVNULL
...
Use DROPBEAR_PATH_DEVNULL instead of undefined _PATH_DEVNULL
2017-06-02 22:57:09 +08:00
Francois Perrad
206b9cea0d
rename hidden variable
...
in function tcp_acceptor()
struct sockaddr_storage addr;
char* addr = NULL;
2017-06-01 19:15:07 +02:00
Francois Perrad
9dcb04a1e0
fix DEBUG_* condition
2017-06-01 19:10:37 +02:00
Francois Perrad
08543d0c76
use #ifdef DROPBEAR_PRNGD_SOCKET instead of #if
2017-06-01 19:10:37 +02:00
Francois Perrad
6c43be767c
fix indentation
2017-06-01 16:39:26 +02:00
Matt Johnston
924b8469cb
fix null pointer crash
2017-05-26 00:19:53 +08:00
Matt Johnston
0ab0687a3a
Fix null pointer dereference found by libfuzzer
2017-05-21 18:53:09 +08:00
Matt Johnston
72f85ad90f
limit input size
2017-05-25 22:21:23 +08:00
Matt Johnston
fb4e07f7a8
don't exit encountering short lines
2017-05-25 00:10:18 +08:00
Matt Johnston
6e0b539e9c
split out checkpubkey_line() separately
2017-05-23 22:29:21 +08:00
Matt Johnston
83b2c899f5
increase min DSS and RSA lengths
2017-06-16 22:35:32 +08:00
Matt Johnston
eb7ca20379
check p and q lengths
2017-06-16 22:35:18 +08:00
Matt Johnston
af2caaab72
Compile with -fno-strict-overflow if possible.
...
Needed for curve25519-donna https://github.com/agl/curve25519-donna/issues/31
2017-06-23 21:31:25 +08:00
Matt Johnston
169f41a43c
fix missing arglist NULL terminator
2017-06-15 08:00:07 +08:00
Matt Johnston
d260d5148e
improve value range validation
2017-06-14 23:31:15 +08:00
Matt Johnston
c38927da47
add m_mp_free_multi, be more careful freeing when failing to load keys
2017-05-26 21:08:43 +08:00
Matt Johnston
ea984cfb95
add cve and patch link
2017-05-20 10:27:29 +08:00
Matt Johnston
f7d38a1b9c
merge main
2017-05-18 23:00:12 +08:00
Matt Johnston
45b27b0194
merge 2017.75
2017-05-18 22:59:38 +08:00
Matt Johnston
2a921c2c25
Added signature for changeset 5c9207ceedae
2017-05-18 22:58:18 +08:00
Matt Johnston
4c759cde1f
Added tag DROPBEAR_2017.75 for changeset c31276613181
2017-05-18 22:58:14 +08:00
Matt Johnston
c3984c89f7
fix changelog for atomic dropbearkey
2017-05-18 21:31:13 +08:00