SSL_accept timeout on secondary interface

  • aFeLiOn

    aFeLiOn - 2010-11-20

    I have an alias to interface eth0 to get a static address:
    inet brd scope global eth0
    inet brd scope global secondary eth0:0

    Socket is created same as this guide:
    hints.ai_family = AF_UNSPEC;
    hints.ai_socktype = SOCK_DGRAM;
    hints.ai_flags = AI_PASSIVE;

    The server works fine if I connect to the first (dynamic) address. But SSL_accept got timeout error if a client connected to the second address ( - The server detected a new connection, but could not handshake with the client.
    Is it a firewall related problem? How can i add rules for this connection.

  • Todd Ouska

    Todd Ouska - 2010-11-22

    CyaSSL doesn't make any assumptions about the interface.  As long the packets can be sent and received, there shouldn't be a problem.  Have you tried Wireshark?


Log in to post a comment.