0xfede7c8 / dropbear Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mkj/dropbear
Fork from Dropbear SSH
Home Page: https://matt.ucc.asn.au/dropbear/dropbear.html
License: Other
This project forked from mkj/dropbear
Fork from Dropbear SSH
Home Page: https://matt.ucc.asn.au/dropbear/dropbear.html
License: Other
When building a static binary, the following warnings show up:
make[1]: Leaving directory '/home/gabriel-ibarra/fp/repo/endpoint/appv2/third-party/dropbear/source/libtommath'
gcc -static -o dropbearmulti dbmulti.o atomicio.o bignum.o buffer.o circbuffer.o common-algo.o common-channel.o common-chansession.o common-kex.o common-runopts.o common-session.o compat.o crypto_desc.o curve25519-donna.o dbhelpers.o dbrandom.o dbutil.o dh_groups.o dss.o ecc.o ecdsa.o fake-rfc2553.o gendss.o genrsa.o gensignkey.o list.o listener.o loginrec.o ltc_prng.o netio.o packet.o process-packet.o progressmeter.o queue.o rsa.o scp.o scpmisc.o signkey.o sshpty.o svr-agentfwd.o svr-auth.o svr-authpam.o svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-chansession.o svr-kex.o svr-main.o svr-runopts.o svr-service.o svr-session.o svr-tcpfwd.o svr-x11fwd.o tcp-accept.o termcodes.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -lutil -lcrypt
svr-auth.o: In function `recv_msg_userauth_request':
svr-auth.c:(.text+0x441): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
svr-chansession.o: In function `execchild':
svr-chansession.c:(.text+0x70b): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
sshpty.o: In function `pty_setowner':
sshpty.c:(.text+0x2dd): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
common-session.o: In function `fill_passwd':
common-session.c:(.text+0x971): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
dbutil.o: In function `expand_homedir_path':
dbutil.c:(.text+0x9eb): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
netio.o: In function `connect_remote':
netio.c:(.text+0x12b): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
common-session.o: In function `fill_passwd':
common-session.c:(.text+0x9ca): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Check if all these functions are needed. I don't think so, except for getaddrinfo.
Don't use system's users for authentication, create or accept (through command line) dropbear-local users instead.
The following
#define DROPBEAR_SVR_PUBKEY_AUTH 0
causes both compile errors and warnings.
Fix it so PUBKEY AUTH can be disabled if needed.
It could be implemented as a new argument -signal
We don't support path with spaces.
We should analize the whole pipeline of arguments, starting from user of dropbear, until the user of the scp server and comparision of paths.
Add a command line option (or function argument) to specify the expected file name to receive.
No cygwin.
Add either a watchdog or a timer.
Note that this requires to recompile with a specific #define.
Do this as the last task of the milestone.
Please bring the applicable relevant changes from mkj@fdbdbe5
such as the missing frees, DROPBEAR_FD, etc.
First, turn the request types support picky and determine the minimum required set.
Allow them all as default options and also allow overriding as local options.
Second, determine the minimum required set (which as far as I saw would be env and exec).
currently:
#define MAX_UNAUTH_PER_IP 2
#define MAX_UNAUTH_CLIENTS 4
Check what they are, and whether they can be 0 (DANGER: they are used to dimension arrays, so beware of 0-length arrays, avoid them).
Don't expect a directory /etc/dropbear
Turn the ONLY child fork synchronous by waiting for its process termination (a la waitpid() ) but with a timeout.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.