summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
Commit message (Collapse)AuthorAgeFilesLines
* - (dtucker) [ssh-keyscan.c] Sync RCSIDs, missed in SSH_SSFDMAX change below.Darren Tucker2003-12-101-1/+1
|
* - (djm) OpenBSD CVS SyncDamien Miller2003-11-241-4/+2
| | | | | | | - djm@cvs.openbsd.org 2003/11/23 23:17:34 [ssh-keyscan.c] from portable - use sysconf to detect fd limit; ok markus@ (tidy diff by adding SSH_SSFDMAX macro to defines.h)
* - markus@cvs.openbsd.org 2003/09/19 11:30:39Darren Tucker2003-09-221-2/+2
| | | | | [ssh-keyscan.c] avoid fatal_cleanup, just call exit(); ok deraadt
* - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with HeimdalDamien Miller2003-08-221-1/+1
| | | | -lbroken; ok dtucker
* - deraadt@cvs.openbsd.org 2003/06/28 16:23:06Darren Tucker2003-07-031-2/+2
| | | | | | | [atomicio.c atomicio.h authfd.c clientloop.c monitor_wrap.c msg.c progressmeter.c scp.c sftp-client.c ssh-keyscan.c ssh.h sshconnect.c sshd.c] deal with typing of write vs read in atomicio
* - (djm) Remove IPv4 by default hack now that we can specify AF in configDamien Miller2003-05-181-4/+0
|
* - deraadt@cvs.openbsd.org 2003/04/26 04:29:49Damien Miller2003-05-141-2/+2
| | | | | [ssh-keyscan.c] -t in usage(); rogier@quaak.org
* - markus@cvs.openbsd.org 2003/04/14 14:17:50Damien Miller2003-05-141-2/+2
| | | | | [channels.c sshconnect.c sshd.c ssh-keyscan.c] avoid hardcoded SOCK_xx; with itojun@; should allow ssh over SCTP
* - markus@cvs.openbsd.org 2003/02/16 17:09:57Damien Miller2003-02-241-1/+3
| | | | | | [kex.c kexdh.c kexgex.c kex.h sshconnect2.c sshd.c ssh-keyscan.c] split kex into client and server code, no need to link server code into the client; ok provos@
* - (djm) Sync sys/tree.h with OpenBSD -current. Rename tree.h andDamien Miller2002-09-121-1/+1
| | | | fake-queue.h to sys-tree.h and sys-queue.h
* - (bal) Minor KNF on ssh-keyscan.cBen Lindstrom2002-07-071-0/+1
| | | | | This is really from Theo's patch. I missed it by looking at the wrong function call.
* - stevesk@cvs.openbsd.org 2002/07/06 17:47:58Ben Lindstrom2002-07-071-2/+1
| | | | | [ssh-keyscan.c] unused variable
* - deraadt@cvs.openbsd.org 2002/07/06 01:01:26Ben Lindstrom2002-07-071-20/+19
| | | | | [ssh-keyscan.c] KNF, realloc fix, and clean usage
* - stevesk@cvs.openbsd.org 2002/06/27 19:49:08Ben Lindstrom2002-07-041-3/+5
| | | | | [ssh-keyscan.c] use convtime(); ok markus@
* - markus@cvs.openbsd.org 2002/06/27 08:49:44Ben Lindstrom2002-07-041-2/+3
| | | | | [dh.c ssh-keyscan.c sshconnect.c] more checks for NULL pointers; from grendel@zeitbombe.org; ok deraadt@
* - itojun@cvs.openbsd.org 2002/06/16 21:30:58Ben Lindstrom2002-06-211-4/+4
| | | | | [ssh-keyscan.c] use TAILQ_xx macro. from lukem@netbsd. markus ok
* - (bal) Too many <sys/queue.h> issues. Remove all workarounds andBen Lindstrom2002-04-051-5/+0
| | | | using internal version only.
* - stevesk@cvs.openbsd.org 2002/03/04 18:30:23Ben Lindstrom2002-03-051-1/+6
| | | | | | [ssh-keyscan.c] handle connection close during read of protocol version string. fixes erroneous "bad greeting". ok markus@
* - markus@cvs.openbsd.org 2002/02/22 12:20:34Ben Lindstrom2002-02-261-7/+12
| | | | | [log.c log.h ssh-keyscan.c] overwrite fatal() in ssh-keyscan.c; fixes pr 2354; ok provos@
* - markus@cvs.openbsd.org 2001/12/10 20:34:31Damien Miller2001-12-211-10/+12
| | | | | [ssh-keyscan.c] check that server supports v1 for -t rsa1, report from wirth@dfki.de
* - stevesk@cvs.openbsd.org 2001/11/22 05:27:29Ben Lindstrom2001-12-061-2/+2
| | | | | [ssh-keyscan.c] don't use "\n" in fatal()
* - markus@cvs.openbsd.org 2001/11/16 12:46:13Ben Lindstrom2001-12-061-1/+3
| | | | | [ssh-keyscan.c] handle empty lines instead of dumping core; report from sha@sha-1.net
* - (djm) Fix IPv4 default in ssh-keyscan. Spotted by Dan AstoorianDamien Miller2001-11-151-0/+4
| | | | <djast@cs.toronto.edu> Fix from markus@
* - (bal) seed_init() and seed_rng() required in ssh-keyscan.cBen Lindstrom2001-10-101-0/+2
|
* - markus@cvs.openbsd.org 2001/10/09 10:12:08Damien Miller2001-10-101-5/+1
| | | | | [session.c] chdir $HOME after krb_afslog(); from bbense@networking.stanford.edu
* whitespace syncKevin Steves2001-09-201-12/+11
|
* - markus@cvs.openbsd.org 2001/08/30 22:22:32Ben Lindstrom2001-09-121-5/+5
| | | | | [ssh-keyscan.c] do not pass pointers to longjmp; fix from wayne@blorf.net
* - danh@cvs.openbsd.org 2001/08/27 22:02:13Ben Lindstrom2001-09-121-1/+3
| | | | | | [ssh-keyscan.c] fix memory fault if non-existent filename is given to the -f option ok markus@
* - markus@cvs.openbsd.org 2001/08/05 23:29:58Ben Lindstrom2001-08-061-3/+6
| | | | | [ssh-keyscan.c] make -t dsa work with commercial servers, too
* - markus@cvs.openbsd.org 2001/08/05 23:18:20Ben Lindstrom2001-08-061-86/+234
| | | | | [ssh-keyscan.1 ssh-keyscan.c] ssh 2 support; from wayned@users.sourceforge.net
* - jakob@cvs.openbsd.org 2001/08/03 10:31:30Ben Lindstrom2001-08-061-3/+7
| | | | | [ssh-add.c ssh-agent.c ssh-keyscan.c] improve usage(). ok markus@
* - itojun@cvs.openbsd.org 2001/06/23 15:12:20Ben Lindstrom2001-06-251-21/+23
| | | | | | | | | | | | | [auth1.c auth2.c auth2-chall.c authfd.c authfile.c auth-rhosts.c canohost.c channels.c cipher.c clientloop.c deattack.c dh.c hostfile.c kex.c kexdh.c kexgex.c key.c nchan.c packet.c radix.c readpass.c scp.c servconf.c serverloop.c session.c sftp.c sftp-client.c sftp-glob.c sftp-int.c sftp-server.c ssh-add.c ssh-agent.c ssh.c sshconnect1.c sshconnect2.c sshconnect.c sshd.c ssh-keygen.c ssh-keyscan.c] more strict prototypes. raise warning level in Makefile.inc. markus ok'ed TODO; cleanup headers
* - pvalchev@cvs.openbsd.org 2001/06/05 05:05:39Ben Lindstrom2001-06-091-3/+2
| | | | | [ssh-keyscan.1 ssh-keyscan.c] License clarification from David Mazieres, ok deraadt@
* - (stevesk) ssh-keyscan.c: specify "openbsd-compat/fake-queue.h"Kevin Steves2001-03-141-1/+1
|
* - deraadt@cvs.openbsd.org 2001/03/06 06:11:18Ben Lindstrom2001-03-071-2/+2
| | | | | [ssh-keyscan.c] appease gcc
* - millert@cvs.openbsd.org 2001/03/06 01:06:03Ben Lindstrom2001-03-061-5/+9
| | | | | | [ssh-keyscan.c] Don't assume we wil get the version string all in one read(). deraadt@ OK'd
* - (stevesk) OpenBSD sync:Kevin Steves2001-03-051-10/+10
| | | | | | - deraadt@cvs.openbsd.org 2001/03/05 08:37:27 [ssh-keyscan.c] skip inlining, why bother
* - millert@cvs.openbsd.org 2001/03/03 21:19:41Ben Lindstrom2001-03-051-9/+20
| | | | | | [ssh-keyscan.c] Dynamically allocate read_wait and its copies. Since maxfd is based on resource limits it is often (usually?) larger than FD_SETSIZE.
* - deraadt@cvs.openbsd.org 2001/03/03 06:53:12Ben Lindstrom2001-03-051-14/+18
| | | | | [ssh-keyscan.c] standard theo sweep
* - deraadt@cvs.openbsd.org 2001/02/21 07:37:04Ben Lindstrom2001-03-051-10/+14
| | | | | [ssh-keyscan.c] inline -> __inline__, and some indent
* - deraadt@cvs.openbsd.org 2001/02/12 22:56:09Ben Lindstrom2001-02-151-2/+5
| | | | | [clientloop.c packet.c ssh-keyscan.c] deal with EAGAIN/EINTR selects which were skipped
* - itojun@cvs.openbsd.org 2001/02/07 18:04:50Ben Lindstrom2001-02-101-4/+5
| | | | | | | | | | | | [ssh-keyscan.c] fix size_t -> int cast (use u_long). markus ok - markus@cvs.openbsd.org 2001/02/07 22:43:16 [ssh-keyscan.c] s/getline/Linebuf_getline/; from roumen.petrov@skalasoft.com - itojun@cvs.openbsd.org 2001/02/09 9:04:59 [ssh-keyscan.c] do not assume malloc() returns zero-filled region. found by malloc.conf=AJ.
* RCSID; whitespaceKevin Steves2001-02-051-3/+3
|
* - stevesk@cvs.openbsd.org 2001/02/04 08:32:27Kevin Steves2001-02-051-1/+1
| | | | | [many files; did this manually to our top-level source dir] unexpand and remove end-of-line whitespace; ok markus@
* - (bal) renamed queue.h to fake-queue.h (even if it's an OpenBSDBen Lindstrom2001-02-021-1/+1
| | | | based file) to ensure #include space does not get confused.
* Hopefully things did not get mixed around too much. It compiles underBen Lindstrom2001-01-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux and works. So that is at least a good sign. =) 20010122 - (bal) OpenBSD Resync - markus@cvs.openbsd.org 2001/01/19 12:45:26 GMT 2001 by markus [servconf.c ssh.h sshd.c] only auth-chall.c needs #ifdef SKEY - markus@cvs.openbsd.org 2001/01/19 15:55:10 GMT 2001 by markus [auth-krb4.c auth-options.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth1.c auth2.c channels.c clientloop.c dh.c dispatch.c nchan.c packet.c pathname.h readconf.c scp.c servconf.c serverloop.c session.c ssh-add.c ssh-keygen.c ssh-keyscan.c ssh.c ssh.h ssh1.h sshconnect1.c sshd.c ttymodes.c] move ssh1 definitions to ssh1.h, pathnames to pathnames.h - markus@cvs.openbsd.org 2001/01/19 16:48:14 [sshd.8] fix typo; from stevesk@ - markus@cvs.openbsd.org 2001/01/19 16:50:58 [ssh-dss.c] clear and free digest, make consistent with other code (use dlen); from stevesk@ - markus@cvs.openbsd.org 2001/01/20 15:55:20 GMT 2001 by markus [auth-options.c auth-options.h auth-rsa.c auth2.c] pass the filename to auth_parse_options() - markus@cvs.openbsd.org 2001/01/20 17:59:40 GMT 2001 [readconf.c] fix SIGSEGV from -o ""; problem noted by jehsom@togetherweb.com - stevesk@cvs.openbsd.org 2001/01/20 18:20:29 [sshconnect2.c] dh_new_group() does not return NULL. ok markus@ - markus@cvs.openbsd.org 2001/01/20 21:33:42 [ssh-add.c] do not loop forever if askpass does not exist; from andrew@pimlott.ne.mediaone.net - djm@cvs.openbsd.org 2001/01/20 23:00:56 [servconf.c] Check for NULL return from strdelim; ok markus - djm@cvs.openbsd.org 2001/01/20 23:02:07 [readconf.c] KNF; ok markus - jakob@cvs.openbsd.org 2001/01/21 9:00:33 [ssh-keygen.1] remove -R flag; ok markus@ - markus@cvs.openbsd.org 2001/01/21 19:05:40 [atomicio.c automicio.h auth-chall.c auth-krb4.c auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth.c auth.h auth1.c auth2-chall.c auth2.c authfd.c authfile.c bufaux.c bufaux.h buffer.c canahost.c canahost.h channels.c cipher.c cli.c clientloop.c clientloop.h compat.c compress.c deattack.c dh.c dispatch.c groupaccess.c hmac.c hostfile.c kex.c key.c key.h log-client.c log-server.c log.c log.h login.c login.h match.c misc.c misc.h nchan.c packet.c pty.c radix.h readconf.c readpass.c readpass.h rsa.c scp.c servconf.c serverloop.c serverloop.h session.c sftp-server.c ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c ssh-rsa.c ssh.c ssh.h sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c sshd.c tildexpand.c tildexpand.h ttysmodes.c uidswap.c xmalloc.c] split ssh.h and try to cleanup the #include mess. remove unnecessary #includes. rename util.[ch] -> misc.[ch] - (bal) renamed 'PIDDIR' to '_PATH_SSH_PIDDIR' to match OpenBSD tree - (bal) Moved #ifdef KRB4 in auth-krb4.c above the #include to resolve conflict when compiling for non-kerb install - (bal) removed the #ifdef SKEY in auth1.c to match Markus' changes on 1/19.
* NOTE: This update changes the RSA key generation. *NEW RSA KEYSBen Lindstrom2001-01-181-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NEED TO BE GENERATED* =) Refer to to entry "2001/01/16 19:20:06" for more details. 20010118 - (bal) Super Sized OpenBSD Resync - markus@cvs.openbsd.org 2001/01/11 22:14:20 GMT 2001 by markus [sshd.c] maxfd+1 - markus@cvs.openbsd.org 2001/01/13 17:59:18 [ssh-keygen.1] small ssh-keygen manpage cleanup; stevesk@pobox.com - markus@cvs.openbsd.org 2001/01/13 18:03:07 [scp.c ssh-keygen.c sshd.c] getopt() returns -1 not EOF; stevesk@pobox.com - markus@cvs.openbsd.org 2001/01/13 18:06:54 [ssh-keyscan.c] use SSH_DEFAULT_PORT; from stevesk@pobox.com - markus@cvs.openbsd.org 2001/01/13 18:12:47 [ssh-keyscan.c] free() -> xfree(); fix memory leak; from stevesk@pobox.com - markus@cvs.openbsd.org 2001/01/13 18:14:13 [ssh-add.c] typo, from stevesk@sweden.hp.com - markus@cvs.openbsd.org 2001/01/13 18:32:50 [packet.c session.c ssh.c sshconnect.c sshd.c] split out keepalive from packet_interactive (from dale@accentre.com) set IPTOS_LOWDELAY TCP_NODELAY IPTOS_THROUGHPUT for ssh2, too. - markus@cvs.openbsd.org 2001/01/13 18:36:45 [packet.c packet.h] reorder, typo - markus@cvs.openbsd.org 2001/01/13 18:38:00 [auth-options.c] fix comment - markus@cvs.openbsd.org 2001/01/13 18:43:31 [session.c] Wall - markus@cvs.openbsd.org 2001/01/13 19:14:08 [clientloop.h clientloop.c ssh.c] move callback to headerfile - markus@cvs.openbsd.org 2001/01/15 21:40:10 [ssh.c] use log() instead of stderr - markus@cvs.openbsd.org 2001/01/15 21:43:51 [dh.c] use error() not stderr! - markus@cvs.openbsd.org 2001/01/15 21:45:29 [sftp-server.c] rename must fail if newpath exists, debug off by default - markus@cvs.openbsd.org 2001/01/15 21:46:38 [sftp-server.c] readable long listing for sftp-server, ok deraadt@ - markus@cvs.openbsd.org 2001/01/16 19:20:06 [key.c ssh-rsa.c] make "ssh-rsa" key format for ssh2 confirm to the ietf-drafts; from galb@vandyke.com. note that you have to delete older ssh2-rsa keys, since they are in the wrong format, too. they must be removed from .ssh/authorized_keys2 and .ssh/known_hosts2, etc. (cd; grep -v ssh-rsa .ssh/authorized_keys2 > TMP && mv TMP .ssh/authorized_keys2) additionally, we now check that BN_num_bits(rsa->n) >= 768. - markus@cvs.openbsd.org 2001/01/16 20:54:27 [sftp-server.c] remove some statics. simpler handles; idea from nisse@lysator.liu.se - deraadt@cvs.openbsd.org 2001/01/16 23:58:08 [bufaux.c radix.c sshconnect.h sshconnect1.c] indent - (bal) Added bsd-strmode.[ch] since some non-OpenBSD platforms may be missing such feature.
* - (bal) OpenBSD SyncBen Lindstrom2001-01-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | - markus@cvs.openbsd.org 2001/01/08 22:29:05 [auth2.c compat.c compat.h servconf.c servconf.h sshd.8 sshd_config version.h] implement option 'Banner /etc/issue.net' for ssh2, move version to 2.3.1 (needed for bugcompat detection, 2.3.0 would fail if Banner is enabled). - markus@cvs.openbsd.org 2001/01/08 22:03:23 [channels.c ssh-keyscan.c] O_NDELAY -> O_NONBLOCK; thanks stevesk@pobox.com - markus@cvs.openbsd.org 2001/01/08 21:55:41 [sshconnect1.c] more cleanups and fixes from stevesk@pobox.com: 1) try_agent_authentication() for loop will overwrite key just allocated with key_new(); don't alloc 2) call ssh_close_authentication_connection() before exit try_agent_authentication() 3) free mem on bad passphrase in try_rsa_authentication() - markus@cvs.openbsd.org 2001/01/08 21:48:17 [kex.c] missing free; thanks stevesk@pobox.com
* 20001229Ben Lindstrom2000-12-281-1/+1
| | | | | | | | | | | | - (bal) Fixed spelling of 'authorized_keys' in ssh-copy-id.1 by Christian Kurz <shorty@debain.org> 20001228 - (bal) SCO patch to not include <sys/queue.h> since it's unrelated header. Patch by Tim Rice <tim@multitalents.net> - Updated TODO w/ known HP/UX issue - (bal) removed extra <netdb.h> noticed by Kevin Steves and removed the bad reference to 'NeXT including it else were' on the #ifdef version.
* This should bring NeXTStep back into the family of supported operatingBen Lindstrom2000-12-271-3/+3
| | | | | | | systems. - (bal) Fixed NeXT's lack of CPPFLAGS honoring. - (bal) ssh-keyscan.c: NeXT (and older BSDs) don't support getrlimit() w/ 'RLIMIT_NOFILE'