http://bugzilla.mindrot.org/show_bug.cgi?id=659 Summary: sshd failure on IRIX Product: Portable OpenSSH Version: 3.7.1p1 Platform: MIPS OS/Version: IRIX Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: bugzilla-openssh at thewrittenword.com IRIX now requires the following defines: BROKEN_GETADDRINFO SETEUID_BREAKS_SETUID BROKEN_SETREUID BROKEN_SETREGID The BROKEN_GETADDRINFO definition should probably be tested for as it has been reported on the mailing list that 6.5.20+ might not need it. However, if it is defined, the openbsd-compat gai_strerror() function is used and its prototype conflicts with the definition on IRIX (const char * vs char *). Patch attached to fix this. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From bugzilla-openssh at thewrittenword.com 2003-09-18 03:03 ------- Created an attachment (id=414) --> (http://bugzilla.mindrot.org/attachment.cgi?id=414&action=view) Fix sshd on 3.7.1p1, gai_strerror prototype mismatch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 barryn at pobox.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barryn at pobox.com ------- Additional Comments From barryn at pobox.com 2003-09-18 03:47 ------- AFAICT BROKEN_GETADDRINFO is not needed on IRIX 6.5.17 either. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From barryn at pobox.com 2003-09-18 04:26 ------- BTW, for anyone else like me who is/was wondering if any of the other (than BROKEN_GETADDRINFO) three options can be left out, no, they all seem to be required as far as I can tell. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Al.Smith at gold.net ------- Additional Comments From dtucker at zip.com.au 2003-09-18 19:01 ------- *** Bug 677 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From dtucker at zip.com.au 2003-09-19 22:53 ------- Patch #414 looks pretty good, but I have one question: is BROKEN_GETADDRINFO appropriate for all IRIXes? It'll disable IPv6 support. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From bugzilla-openssh at thewrittenword.com 2003-09-20 00:11 ------- According to the mailing list, BROKEN_GETADDRINFO isn't required on all IRIX systems. How about we leave it out for now. I'll try to come up with an automated test for a broken getaddrinfo. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d.guy at free.fr ------- Additional Comments From dtucker at zip.com.au 2003-09-20 12:02 ------- *** Bug 691 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From dtucker at zip.com.au 2003-09-22 12:11 ------- Patch applied to HEAD and the 3.7 branch, with the exception of the BROKEN_GETADDRINFO part. Please update this bug when you have a working test. Can someone confirm whether or not those defines are required for IRIX 5? It's not included in the patch. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From Al.Smith at gold.net 2003-09-22 17:42 ------- I just wanted to note that patch 414 does not address the issue that was reported in bugs 677 and 691. Given the situation that the 3.7 releases correct a security issue, it would be nice if us folks running IRIX were able to upgrade from 3.6.1p2. 677 and 691 are arguably duplicates of each other, but, in my humble opinion, neither are duplicates of 659. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From Al.Smith at gold.net 2003-09-22 18:24 ------- ...or at least it doesn't address the issue, until the realisation dawns that a patched configure.ac has no effect whatsoever on re-running ./configure && make, unless the changes introduced by the patch to configure.ac have been applied by some means to 'configure' itself. This was not obvious, but has now been filed away as an insight into the autoconfig stuff. Anyway, please disregard my earlier statement. :) Everything is now working as it should. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |penalva at cines.fr ------- Additional Comments From dtucker at zip.com.au 2003-09-22 22:46 ------- *** Bug 699 has been marked as a duplicate of this bug. *** ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From penalva at cines.fr 2003-09-25 18:09 ------- No good news for the daily snapshot (25/09/2003). There's still the problem on Irix (6.5.18f). We can connect on root account, but when it's another uid, it stop after the password and remains unavailable. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From dtucker at zip.com.au 2003-09-25 19:12 ------- Please attach a server-side debug (eg sshd -ddd -p 2022) for your IRIX 6.5.18f box. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From Luc.Lalonde at polymtl.ca 2003-09-26 02:19 ------- Created an attachment (id=466) --> (http://bugzilla.mindrot.org/attachment.cgi?id=466&action=view) Debug messages (Irix 6.5.21) Server-side debug messages for Irix-6.5.21 running openssh-SNAP-20030924.tar.gz ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From Luc.Lalonde at polymtl.ca 2003-09-26 02:19 ------- Created an attachment (id=467) --> (http://bugzilla.mindrot.org/attachment.cgi?id=467&action=view) Debug messages (Irix 6.5.21) Client-side debug messages for Irix-6.5.21 running openssh-SNAP-20030924.tar.gz ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=659 ------- Additional Comments From dtucker at zip.com.au 2003-10-07 20:59 ------- Luc, do you see the same problem without X forwarding? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Apparently Analagous Threads
- [Bug 699] server broke connection without message
- problems with 3.7.1p1 on IRIX (again)
- Use the OpenSSH 3.6 uidswap.c for building 3.7 under IRIX
- [Bug 585] sshd core dumping on IRIX 6.5.18 with VerifyReverseMapping enabled
- [Bug 650] fix for build problem on IRIX 6.5