TAO_SSLIOP
2.1.5
|
SSLIOP-specific accept strategy that builds on the TAO_Accept_Strategy implementation. More...
#include <SSLIOP_Accept_Strategy.h>
Private Attributes | |
const ACE_Time_Value | timeout_ |
The accept() timeout. | |
Additional Inherited Members | |
Public Types inherited from TAO_Accept_Strategy< TAO::SSLIOP::Connection_Handler, ACE_SSL_SOCK_Acceptor > | |
typedef ACE_PEER_ACCEPTOR_ADDR | addr_type |
typedef ACE_PEER_ACCEPTOR | acceptor_type |
typedef SVC_HANDLER | handler_type |
typedef SVC_HANDLER::stream_type | stream_type |
Public Attributes inherited from TAO_Accept_Strategy< TAO::SSLIOP::Connection_Handler, ACE_SSL_SOCK_Acceptor > | |
ACE_ALLOC_HOOK_DECLARE | |
Protected Types inherited from TAO_Accept_Strategy< TAO::SSLIOP::Connection_Handler, ACE_SSL_SOCK_Acceptor > | |
typedef ACE_Accept_Strategy < SVC_HANDLER, ACE_PEER_ACCEPTOR_2 > | ACCEPT_STRATEGY_BASE |
Protected Attributes inherited from TAO_Accept_Strategy< TAO::SSLIOP::Connection_Handler, ACE_SSL_SOCK_Acceptor > | |
TAO_ORB_Core * | orb_core_ |
ACE_PEER_ACCEPTOR | peer_acceptor_ |
ACE_Reactor * | reactor_ |
bool | reuse_addr_ |
ACE_PEER_ACCEPTOR_ADDR | peer_acceptor_addr_ |
SSLIOP-specific accept strategy that builds on the TAO_Accept_Strategy implementation.
This accept strategy builds on on the TAO_Accept_Strategy implementation. It sub-classes that class, and overrides the accept_svc_handler() method so that a timeout value may be passed to the underlying peer acceptor. This is necessary to defend against a simple Denial-of-Service attack.
TAO::SSLIOP::Accept_Strategy::Accept_Strategy | ( | TAO_ORB_Core * | orb_core, |
const ACE_Time_Value & | timeout | ||
) |
Constructor.
|
virtual |
Overridden method that forces a passive connection timeout value to be passed to the underlying acceptor.
|
private |
The accept() timeout.
This timeout includes the overall time to complete the SSL handshake. This includes both the TCP handshake and the SSL handshake.