Giter Club home page Giter Club logo

dropbear's People

Contributors

armcc avatar bluelightning avatar camvanng avatar chocobo1 avatar cpatulea avatar dgutson avatar fedor-brunner avatar fperrad avatar glensc avatar gportay avatar houseofkodai avatar iquaba avatar jk-ozlabs avatar kingosticks avatar ldir-edb0 avatar likema avatar loganaden avatar meeusr avatar mfwitten avatar mkj avatar nshopik avatar stellarpower avatar stevenhoneyman avatar thdot avatar vapier avatar yousong avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

dropbear's Issues

Static linking dependencies removal

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.

Support paths with spaces.

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.

Check valgrind

Note that this requires to recompile with a specific #define.
Do this as the last task of the milestone.

Fine-grained control of request types

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).

Configure MAX_UNAUTH_*

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).

Synchronous 1-time listening

Turn the ONLY child fork synchronous by waiting for its process termination (a la waitpid() ) but with a timeout.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.