svr_getopts should either support bundling or fail if bundling is used

2015-10-13 Thread Guilhem Moulin
Hi, It's fine not to implement bundling in dropbear's option parsing function (svr-runopts.c's svr_getopts), but it should at least croak if argv[i][2] != '\0'. For instance dropbear -rdropbear.key -p127.0.0.1: -sjk should either fail, or be parsed as dropbear -r dropbear.key -p 12

/etc/motd is also printed on non-login shells if a TTY has been requested

2015-10-13 Thread Guilhem Moulin
Hi, As of 2015.68, dropbear(8) says “By default the file /etc/motd will be printed for any login shell (unless disabled at compile-time). This can also be disabled per-user by creating a file ~/.hushlogin .” But in fact /etc/motd is printed whenever a TTY has been requested, even whe