Mailing List Archive

[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel
http://bugzilla.mindrot.org/show_bug.cgi?id=620





------- Additional Comments From dtucker@zip.com.au 2003-09-05 13:24 -------
Reminder: we need to know if we can detect this at build time so we can set
BROKEN_GETADDRINFO where necessary. Does attachment #359 detect the problem on
Solaris/x86?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=620





------- Additional Comments From jrhett@isite.net 2003-09-05 15:59 -------
It seems to think so:

% gcc -lsocket -o test test.c
% ./test
Loopback sane


Sorry for the delay



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=620





------- Additional Comments From jrhett@isite.net 2003-09-05 16:01 -------
Er, it seems to think not. Sorry.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=620





------- Additional Comments From dtucker@zip.com.au 2003-09-05 18:29 -------
Created an attachment (id=384)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=384&action=view)
Show htonl() output

Maybe the problem is in the htonl() macro? What does the attached program
give?

On Solaris/SPARC (bigendian) I get:
htonl 7f000001
ntohl 7f000001

On an Linux/i386 (little endian) I get:
htonl 100007f
ntohl 100007f

Your Solaris/x86 box should give the same results as Linux, however I suspect
it will give the same as the SPARC.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=620





------- Additional Comments From jrhett@isite.net 2003-09-05 18:39 -------
Nope, it seems to mirror Linux:

% ./test
htonl 100007f
ntohl 100007f



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=620

jrhett@isite.net changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID



------- Additional Comments From jrhett@isite.net 2003-09-06 01:21 -------
Bug is not a bug. Problem was tester, not test.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.