Displaying 4 results from an estimated 4 matches for "conalloc".
Did you mean:
nonalloc
2001 May 14
2
openssh-2.9p1
Hi,
1. I think you should apply the attached patch to openssh-2.9p1,
otherwise ssh-keyscan on linux boxes with glibc-2.1 will experience enormous
timeout delays.
2. Is there a program like ssh-keyscan for the Version2 (dsa and rsa) keys??
regards
Peter Breitenlohner <peb at mppmu.mpg.de>
-------------- next part --------------
diff -ur openssh-2.9p1.orig/ssh-keyscan.c
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
...hints, 0, sizeof(hints));
- hints.ai_family = family;
+ hints.ai_family = IPv4or6;
hints.ai_socktype = SOCK_STREAM;
if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)
fatal("getaddrinfo %s: %s", host, gai_strerror(gaierr));
@@ -311,7 +393,7 @@
}
static int
-conalloc(char *iname, char *oname)
+conalloc(char *iname, char *oname, int keytype)
{
int s;
char *namebase, *name, *namelist;
@@ -340,6 +422,7 @@
fdcon[s].c_data = (char *) &fdcon[s].c_plen;
fdcon[s].c_len = 4;
fdcon[s].c_off = 0;
+ fdcon[s].c_keytype = keytype;
gettimeofday(&fdcon[s]....
2012 Nov 24
0
ssh-keyscan continuity patch --
...o %s: %s", host, ssh_gai_strerror(gaierr));
+ s = -1;
+ return s;
+ }
for (ai = aitop; ai; ai = ai->ai_next) {
s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
if (s < 0) {
@@ -388,8 +413,20 @@
{
con *c = &fdcon[s];
int ret;
+ char *name;
- ret = conalloc(c->c_namelist, c->c_output_name, c->c_keytype);
+/*
+ * If "connclosed" isn't set, do the next host from c->c_namelist. Else,
+ * restore the original string in c->c_namebase and redo the current
+ * host.
+ */
+ name = c->c_namelist; /* do next in list ?? */...
2011 Feb 17
24
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213
Andreas Kotes <count-mindrot at flatline.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |count-mindrot at flatline.de
Severity|normal |major
--- Comment #6 from