[PATCH] wildcard host keys

2006-09-14 Thread Jamie Lokier
I'm using dropbear on an embedded device that has to connect to a server at an IP address that isn't known in advance, but is verifiable with a host key. So I added the ability to use * in the known_hosts file to match any hostname/IP. This is better than disabling host key checking altogether,

Re: [PATCH] dropbear-051: uClinux vfork

2008-09-20 Thread Jamie Lokier
Farrell Aultman wrote: Between dropbear-047 and dropbear-051 changes were made that accounted for the fact that uClinux needs to use vfork instead of fork. However, fork was not replaced with vfork in all places. I moved the conditional preproccessor check for uClinux into the includes.h

Re: Configure dropbear to be fast/insecure? (need a Microblaze speed-up!)

2008-11-06 Thread Jamie Lokier
Mike Frysinger wrote: if it's all private / development, why dont you just use telnet w/out login ? Maybe because ssh command file file2 works while it doesn't work with telnet? ssh is a much more convenient and reliable interface. -- Jamie

Re: Single-address space, no processes?

2016-01-07 Thread Jamie Lokier
Matt Johnston wrote: > It mightn't be necessary to pass pointers around everywhere if > ses/svr_ses/cli_ses could be thread-local pointer variables - how widely > supported is thread-local storage? If you can get a "current thread id" or set one "thread-local value", you can make thread-local

Re: bug: stdio pipe is root owned so reopening it fails

2020-05-01 Thread Jamie Lokier
Hi Matt, Matt Johnston wrote: > Not really sure of a good workaround. You can fchmod() or fchown() the pipe descriptor, with fchown() being more secure. # echo hello | (ls -lL /proc/self/fd/0; sudo -u nobody cat /proc/self/fd/0) prw--- 1 root root 0 May 1 17:06 /proc/self/fd/0

Re: OpenWRT Dropbear v2020.80: Exit before auth: No matching algo kex

2020-10-23 Thread Jamie Lokier
Walter Harms wrote: > This is caused by changes in ssh_config. You can try: > ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 USER@TARGET > > or persistent in ssh_config > KexAlgorithms=+diffie-hellman-group1-sha1 > > your mileage may vary etc. > > re, > wh Thanks! This advice has shown