summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove SO_LINGERHEADmastermainMatt Johnston2023-05-011-4/+0
| | | | | | | | | | | | | It could cause channels to take up to 5 seconds to close(), which would block the entire process. On busy TCP forwarding sessions this would result in channels seeming stuck and new connections not being accepted. We don't need to monitor for flushing failures since we can't report errors, so SO_LINGER wasn't useful. Thanks to GektorUA for reporting and testing Fixes #230
* Fixed broken links.TJ Kolev2023-04-261-4/+4
| | | | tjk :)
* Bump github ubuntu version, 18.04 has gone awayMatt Johnston2023-04-201-1/+1
|
* Perhaps fix the default_options_guard.hMatt Johnston2023-04-191-2/+2
|
* Try to debug the debug_options_guard.h failureMatt Johnston2023-04-192-4/+4
|
* Fix out-of-tree buildsMatt Johnston2023-04-193-3/+6
| | | | Broke in the src directory move
* Add test for out of tree buildsMatt Johnston2023-04-191-0/+22
| | | | Currently fails.
* Fix README URL for mailing list archivesMatt Johnston2023-04-191-1/+2
|
* Delete mercurial filesMatt Johnston2023-03-063-100/+0
|
* Fix out of tree buildsMatt Johnston2023-03-064-5/+5
|
* Merge branch 'build/folder-reorg' of github.com:tjkolev/dropbearMatt Johnston2023-03-06161-415/+375
|\
| * Additional output to verify things for the fuzzy build. tjk :/TJ Kolev2023-02-041-0/+2
| |
| * Fuzzy FixingTJ Kolev2023-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | Was able to reproduce the pipeline's fuzzing build error: ``` ./src/options.h:20:10: fatal error: 'default_options_guard.h' file not found ``` The fix for my local environment was to rearange the order of dependencies. Then default_options_guard.h get generated before it's needed. tjk :)
| * More fixes.TJ Kolev2023-02-041-4/+4
| | | | | | | | | | | | | | | | * Forgot to recover the location (./) of localoptions.h. So whatever the test pipeline emits in that file goes unnoticed. * make fuzzstandalone works on my machine. tjk :)
| * Last attempt with these tests for today. tjk :(TJ Kolev2023-02-032-2/+0
| |
| * Dropbear SSH testTJ Kolev2023-02-032-3/+8
| | | | | | | | | | | | | | | | | | | | | | On my local machine the dbclient is timing out unable to connect to the spawned dropbear service. It is waiting for me to provide password. Even if I do so it doesn't like it. Must be missing something. What I found out is invalid -p value when launching dropbear service. It passes an IP address in place of a port. tjk :)
| * Fixing manpages install.TJ Kolev2023-02-036-4/+10
| | | | | | | | | | | | | | | | | | Yet another fix to my file reorg. And while at it move the manuals under ther own folder - /manpages. Added a note about installing into a temporary folder to testing purposes. tjk :)
| * Dropbear SSH File ReorgTJ Kolev2023-02-036-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The GitHub pipeline is based on the build.yml setup, which previously escaped me. That script relies on default_options.h to be at top of the repo, as it uses it to generate its own localoptions.h for various test sceanrios. * default_options.h moved back to the top. * config.h is also generated in the top folder. * localoptions.h also stays at the top folder. * Readjusted (reverted) the affected Makefile.in-s. * Added notes about the generated file dependencies. * Adjusted references to above files in the .md docs. tjk :)
| * Dropbear folder refactoringTJ Kolev2023-02-021-13/+13
| | | | | | | | | | | | | | | | * Fixed the build target for default_options_guard.h. Previous runs missed it. I guess I didn't clean it up properly. * Fixed the build for the MULTI=1 case. tjk :)
| * Adding .md extension to the Markdown files. tjk :)TJ Kolev2023-02-024-0/+0
| |
| * Dropbear - Markdown documentation filesTJ Kolev2023-02-026-253/+176
| | | | | | | | | | | | | | | | | | | | | | | | Converted some regular text file into Markdown format. Better rendering on github, and still very much readable by humans in a text editor. Fixed links. Tried to use consistent formatting throughout. Didn't add a .md extension, so they can be diff-ed. Otherwise git thinks they are new files altogether. Will add the extension on the next commit. tjk :)
| * Dropbear SSH - file structure reorgTJ Kolev2023-02-02146-36/+49
| | | | | | | | | | | | | | | | | | | | | | Separating source and binaries. * Dropbear source files (.c, .h) were moved under a new ./src folder. * Object binaries get generated into the ./obj folder. This helps to keep less cluttered project. tjk :)
* | Use write() rather than fprintf() in segv handlerMatt Johnston2023-02-121-2/+6
| | | | | | | | fprintf isn't guaranteed safe (though hasn't had any problems reported).
* | Disable rsa signatures when no rsa hostkeyMatt Johnston2023-02-121-10/+11
|/ | | | | | | | | | | Otherwise Dropbear will offer RSA as a hostkey signature option, but the session will exit with an assertion or NULL pointer dereference once that algorithm is negotiated. This likely regressed in 2020.79 when signature vs key type enums were split, for rsa-sha256. Fixes #219 on github
* Fix CI for dbclient/dropbear onlyMatt Johnston2023-01-041-2/+2
|
* Fix building only client or serverMatt Johnston2023-01-041-0/+8
| | | | | | Regressed when -Wundef was added Fixes #210
* Add test building only dropbear or dbclientMatt Johnston2023-01-041-1/+10
| | | | Expected to fail, fix pending
* Merge remote-tracking branch 'refs/remotes/origin/master'Matt Johnston2023-01-0310-11/+13
|\
| * Merge pull request #206 from fperrad/20221222_lintMatt Johnston2022-12-229-10/+10
| |\ | | | | | | some linting
| | * const parameter mp_intFrancois Perrad2022-12-229-10/+10
| |/
| * Merge pull request #201 from mkj/test-pty-gidMatt Johnston2022-12-121-1/+3
| |\ | | | | | | Allow users's own gid in pty permission check
| | * Allow users's own gid in pty permission checkMatt Johnston2022-12-071-1/+3
| |/ | | | | | | | | This allows non-root Dropbear to work even without devpts gid=5 mount option on Linux.
* | Add missing break in switchMatt Johnston2023-01-031-0/+1
|/ | | | | Has no effect on execution, the fallthrough does nothing Closes #208
* Fix so DROPBEAR_DSS is only forced for fuzzingMatt Johnston2022-12-061-0/+2
| | | | | Regression from 787391ea3b5af2acf5e3c83372510f0c79477ad7, was missing fuzzing conditional
* Fix y2038 issues with time_t conversionMatt Johnston2022-12-016-22/+35
| | | | | | | | | | | | | | These changes were identified by building with and without -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 on 32-bit arm, logging warnings to files. -Wconversion was added to CFLAGS in both builds. Then a "diff -I Wconversion log1 log2" shows new warnings that appear with the 64-bit time_t. There are a few false positives that have been fixed for quietness. struct logininfo and struct wtmp are still problematic, those will need to be handled by libc.
* Another attempt to make CI workMatt Johnston2022-11-281-7/+8
|
* CI: don't run dropbearkey for disabled typesMatt Johnston2022-11-281-0/+7
|
* Actually disable werror, and more --disable flagsMatt Johnston2022-11-281-2/+1
|
* No werror for options disabled CIMatt Johnston2022-11-281-0/+2
|
* Add CI for disabled optionsMatt Johnston2022-11-281-0/+34
|
* Add #if DROPBEAR_RSA guardsMatt Johnston2022-11-283-5/+10
| | | | | Fixes building with DROPBEAR_RSA disabled. Closes #197
* Update config.guess and config.subDROPBEAR_2022.83Matt Johnston2022-11-142-17/+54
| | | | | | Updated to 2022-09-17 with wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
* Fix typo for LTM_CFLAGSMatt Johnston2022-11-141-1/+1
|
* Update version to 2022.83, finish CHANGESMatt Johnston2022-11-143-19/+26
|
* Add a single DROPBEAR_SK_KEYS config optionMatt Johnston2022-11-113-3/+14
| | | | Replaces DROPBEAR_SK_ECDSA and DROPBEAR_SK_ED25519
* Better docs for DisableTrivialAuthMatt Johnston2022-11-112-6/+27
|
* Fix test for !DROPBEAR_DSSMatt Johnston2022-11-101-1/+1
| | | | Fixes: 0e70732 ("Use faster primality testing in libtomcrypt")
* Add draft CHANGESMatt Johnston2022-11-101-0/+101
|
* Add LTM_CFLAGS configure argumentMatt Johnston2022-11-104-0/+38
|
* Remove hmac-md5 entirelyMatt Johnston2022-11-105-22/+1
|