I have an alias to interface eth0 to get a static address:
inet 10.0.0.101/24 brd 10.0.0.255 scope global eth0
inet 10.0.0.200/24 brd 10.0.0.255 scope global secondary eth0:0
Socket is created same as this guide: http://beej.us/guide/bgnet/output/html/multipage/clientserver.html#datagram
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 (10.0.0.200) - 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.
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.