HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1142 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1142.


Report 1142 Actions


    Problem Report Number 1142
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0344
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Sockets (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.1
    Test Identification sockets/connect 15
    Problem Summary PG4U.00127 This IR claims that EHOSTUNREACH should be allowed.
    Problem Text
    The reason it returns EHOSTUNREACH is that the host receives IMCP
    messages from a router that tells the host the destination is host
    unreachable. According to RFC 1812, a router should only return
    network unreachable if it has no routes at all in its table, including
    a default.
    This test, at the very least, should accept either E{NET,HOST}UNREACH.
    Test Output

    TEST PURPOSE #15
    If the implementation supports a communications domain
    and a connection-oriented socket type:
    ENETUNREACH in errno and return -1 on a call to int
    connect(int socket, const struct sockaddr *address,
    size_t address_len) when no route to the network is
    present.
    PREP: Create test sockaddr_in: address = 150.166.40.34, port = 2409
    PREP: Change address to configuration parameter VSU_ADDRESS_INVALID
    TEST: AF_INET SOCK_STREAM
    PREP: Create socket
    TEST: Call connect with unreachable address
    TEST: Return value
    TEST: errno value
    ERROR: connect call failed incorrectly, errno was 148(EHOSTUNREACH - Destination host cannot be reached) should have been ENETUNREACH
    15 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    In the VSU User's Guide, Appendix B.1, the section describing the
    VSU_ADDRESS_INVALID configuration variable states:

    A host address on a network which must be unreachable from the
    platform under test. It may be necessary to disable default routing
    on the platform to meet this condition.

    We believe the IUT may be configured with a default route, which often
    causes EHOSTUNREACH instead of ENETUNREACH errors.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority