Hello,
Joachim Peeck <[EMAIL PROTECTED]> writes:
> we have encountered what we think is a bug
it is! ... and a cute one. ;-)
> This happens to all machines with two IP-Adresses for their name.
If a machine has more than one interface the first two adresses
returned from DNS are ignored due to a malformed IP list.
("x.x.x.xy.y.y.y,z.z.z.z," instead of "x.x.x.x,y.y.y.y,z.z.z.z")
> Is there a fix?
Here is a patch:
--->[schnipp]
*** ssh-2.4.0/lib/sshutil/sshnet/unix/sshunixtcp.c Tue Dec 5 17:16:08 2000
--- ssh-2.4.0.work/lib/sshutil/sshnet/unix/sshunixtcp.c Thu Jan 4 19:14:45 2001
***************
*** 936,942 ****
}
ssh_ipaddr_print(&ip, addresses + addr_ptr, addr_len - addr_ptr);
addr_ptr += strlen(addresses + addr_ptr);
! if (i > 0)
{
addresses[addr_ptr++] = ',';
addresses[addr_ptr] = '\0';
--- 936,942 ----
}
ssh_ipaddr_print(&ip, addresses + addr_ptr, addr_len - addr_ptr);
addr_ptr += strlen(addresses + addr_ptr);
! if (hp->h_addr_list[i+1])
{
addresses[addr_ptr++] = ',';
addresses[addr_ptr] = '\0';
--->[schnipp]
Sorry, but I don't have a fix for the rekeying bug. I'm still planing
to upgrade our department from 2.2 -> 2.4 but after your previous mail
I think I will wait until a fix is available.
HTH.
Greetings
Markus
--
Markus Germeier
[EMAIL PROTECTED]