Commit graph

16 commits

Author SHA1 Message Date
jlam
86ec3742a6 Honor PKG_SYSCONFDIR. The default host keys for dropbear are now found in
${PKG_SYSCONFDIR}/dropbear.  Bump the PKGREVISION to 2.
2007-09-06 19:15:10 +00:00
jlam
f76b802e8d Put variable declarations at beginning of a block to work with older
compilers.
2007-09-06 16:07:51 +00:00
drochner
aaeee9c668 update to 0.50
changes:
- Add DROPBEAR_PASSWORD environment variable to specify a dbclient password
- Use /dev/urandom by default, since that's what everyone does anyway
- Exit with an exit code of 1 if dropbear can't bind to any ports
- Improve network performance and add a -W <receive_window> argument for
  adjusting the tradeoff between network performance and memory consumption
- Fix a problem where reply packets could be sent during key exchange,
  in violation of the SSH spec. This could manifest itself with connections
  being terminated after 8 hours with new TCP-forward connections being
  established
- Add -K <keepalive_time> argument, ensuring that data is transmitted
  over the connection at least every N seconds
- dropbearkey will no longer generate DSS keys of sizes other than 1024
  bits, as required by the DSS specification. (Other sizes are still
  accepted for use to provide backwards compatibility)
2007-09-05 21:08:06 +00:00
drochner
4d67262cc9 update to 0.49
change: warn strongly when a hostkey mismatch occurred
2007-03-23 20:07:02 +00:00
drochner
6989a54eea update to 0.48.1
changes:
-a security fix which was already in pkgsrc (0.46nb1)
-bugfixes
-zlib compression for dbclient
-Set "low delay" TOS bit
-client keyboard-interactive mode support
-logging improvements
-Added aes-256 cipher and sha1-96 hmac
-allow connections to listening forwarded ports from remote machines
2006-03-14 20:03:43 +00:00
joerg
48e94040e3 Prefer NAME_MAX over MAXNAMLEN. 2006-01-19 23:53:54 +00:00
reed
08f031e16d Add security patch from
http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/2005q4/000312.html

Noted by waldeck of hk2.uwaterloo.ca via pkgsrc-bugs.

Bump PKGREVISION.

Tested build on NetBSD and Linux. Tested dropbear server on NetBSD.

(This is during a freeze. Other stuff to be done later:
update to latest version. Install man pages. Mention "client" in
COMMENT and DESCR. Use CONF_FILES and sysconfdir. And maybe install the
"scp" tool also.)
2005-12-14 18:00:12 +00:00
drochner
1fc5019ca6 add a "pam" pkg option and make it work with NetBSD's openpam if enabled 2005-08-09 17:31:06 +00:00
drochner
9390555361 update to 0.46
changes:
-Update to LibTomCrypt 1.05 and LibTomMath 0.35
-bugfixes and code cleanup
2005-07-19 18:07:59 +00:00
drochner
d4ec42c6fe update to 0.45
changes:
- Makefile no longer appends 'static' to statically linked binaries
- Add optional SSH_ASKPASS support to the client
- Respect HOST_LOOKUP option
- Fix accidentally removed "return;" statement which was removed in 0.44
  (causing clients which sent an empty terminal-modes string to fail to
  connect - including pssh, ssh.com, danger hiptop). (patches
  independently from Paul Fox, David Horwitt and Sven-Ola Tuecke)
- Read "y/n" response for fingerprints from /dev/tty directly so that dbclient
  will work with scp.
2005-04-29 16:14:41 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
drochner
942ff705df update to 0.44
changes:
-IPv6 support
-client added
-bugfixes
XXX dropbear wants to use /dev/random per default now which makes it
unusable on systems w/o entropy source. I've patched it back to
/dev/urandom. There might be security concerns.
2005-01-18 17:30:59 +00:00
martti
34f8f2645b Updated dropbear to 0.43
- SECURITY: Don't try to free() uninitialised variables in DSS verification
  code. Thanks to Arne Bernin for pointing out this bug. This is possibly
  exploitable, all users with DSS and pubkey-auth compiled in are advised to
  upgrade.

- Clean up agent forwarding socket files correctly, patch from Gerrit Pape.

- Don't go into an infinite loop when portforwarding to servers which don't
  send any initial data/banner. Patch from Nikola Vladov

- Fix for network vs. host byte order in logging remote TCP ports, also
  from Gerrit Pape.

- Initialise many pointers to NULL, for general safety. Also checked cleanup
  code for mp_ints (related to security issues above).
2004-08-31 10:27:38 +00:00
drochner
b8ae38c3a0 update to 0.42
Many fixes and feature additions since 0.38. Too many to list here.
2004-06-21 18:27:47 +00:00
xtraeme
ad1ebfb279 Upgrade to 0.38. This closes PR pkg/22984 by Matt Jhonston.
Changes:

0.38 - Sat Oct 11 2003 16:28:13 +0800

o Default hostkey path changed to /etc/dropbear/dropbear_{rsa,dss}_host_key
  rather than /etc/dropbear_{rsa,dss}_host_key
o Added SMALL and MULTI text files which have info on compiling for multiple
  binaries or small binaries
o Allow for commandline definition of some options.h settings
  (without warnings)
o Be more careful handling EINTR
o More fixes for channel closing
o Added multi-binary support
o Improved logging of IPs, now get logged in all cases
o Don't chew cpu when waiting for version identification string, also
  make sure that we kick off people if they don't auth within 5 minutes.
o Various small fixes, warnings etc
o sftp support works (relies on OpenSSH sftp binary or similar)
o Added --disable-shadow option (requested by the floppyfw guys)

0.37 - Wed Sept 24 2003 19:42:12 +0800

o Various portability fixes, fixes for Solaris 9, Tru64 5.1, Mac OS X 10.2,
  AIX, BSDs
o Updated LibTomMath to 0.27 and LibTomCrypt to 0.90
o Renamed util.{c,h} to dbutil.{c,h} to avoid conflicts with system util.h
o Added some small changes so it'll work with AIX (plus Linux Affinity).
  Thanks to Shig for them.

More bugfixes, etc.
2003-10-30 23:22:32 +00:00
agc
17e0e1d5d6 Initial import of dropbear-0.36 into the NetBSD Packages Collection.
The search for a small Secure Shell server to fit on a laptop with 4
megs ram and no hard disk was fruitless, so Matt Johnston decided to
write his own, and Dropbear is the result.  It implements various
features of the SSH 2 protocol, including X11 and Authentication Agent
forwarding.  Dropbear is Open Source software, distributed under a
MIT-style license.

Features

    * A small memory footprint - Dropbear can compile to a 110kB
      statically linked binary with uClibc (and only minimal options
      selected).
    * Implements X11 forwarding, and authentication-agent forwarding
      for OpenSSH clients
    * Compatible with OpenSSH ~/.ssh/authorized_keys public key
      authentication
    * Features can easily be disabled when compiling to save space.
    * Preliminary TCP forwarding support (-L style only)
2003-08-19 15:46:44 +00:00