#include "digitmaps/Patterns.h"
#include "os/OsStatus.h"
#include "os/OsTask.h"
#include "os/OsStunQueryAgent.h"
#include "os/OsStunDatagramSocket.h"
#include "utl/UtlString.h"
#include "utl/UtlSList.h"
#include "xmlparser/tinyxml.h"
#include "NatTraversalAgentDataTypes.h"
Classes | |
| class | NatTraversalRules |
| Class that knows how to parse the NatTraversalRules.xml file and extract its information. More... | |
| class | NatTraversalRules::StunClient |
| Class that gets used by NatTraversalRules class to resolve the public IP address through STUN whenever the nattraversalrules.xml config file calls for it. More... | |
Defines | |
| #define | XML_TAG_NAT_TRAVERSAL "nattraversal" |
| #define | XML_TAG_INFO "info" |
| #define | XML_TAG_STATE "state" |
| #define | XML_TAG_PUBLIC_ADDRESS "publicaddress" |
| #define | XML_TAG_PUBLIC_PORT "publicport" |
| #define | XML_TAG_PROXY_HOST_PORT "proxyhostport" |
| #define | XML_TAG_LOCAL_TOPOLOGY "localtopology" |
| #define | XML_TAG_IPV4SUBNET "ipV4subnet" |
| #define | XML_TAG_DNSWILDCARD "dnsWildcard" |
| #define | XML_TAG_BEHIND_NAT "behindnat" |
| #define | XML_TAG_MR_PUBLIC_ADDRESS "mediarelayexternaladdress" |
| #define | XML_TAG_MR_NATIVE_ADDRESS "mediarelaynativeaddress" |
| #define | XML_TAG_MR_XMLRPC_PORT "mediarelayxml-rpc-port" |
| #define | XML_TAG_MR_PORT_RANGE "port-range" |
| #define | XML_TAG_USE_STUN "useSTUN" |
| #define | XML_TAG_STUN_SERVER "stun-server-address" |
| #define | XML_TAG_STUN_REFRESH_INTERVAL "rediscovery-time" |
| #define | XML_TAG_AGGRESSIVENESS "relayaggressiveness" |
| #define | XML_TAG_SECURE_XMLRPC "secureXMLRPC" |
| #define | XML_VALUE_ENABLED "enabled" |
| #define | XML_VALUE_TRUE "true" |
| #define | XML_VALUE_YES "yes" |
| #define | XML_VALUE_AGGRESSIVE "Aggressive" |
| #define | XML_VALUE_CONSERVATIVE "Conservative" |
| #define | DEFAULT_MAX_MEDIA_RELAY_SESSIONS (50) |
| #define | DEFAULT_PUBLIC_PORT (5060) |
| #define | DEFAULT_MR_XMLRPC_PORT (9090) |
| #define | PORTS_PER_MEDIA_RELAY_SESSIONS (4) |
| #define | NAT_TRAVERSAL_SHARE (0.5) |
| #define XML_TAG_NAT_TRAVERSAL "nattraversal" |
| #define XML_TAG_INFO "info" |
| #define XML_TAG_STATE "state" |
| #define XML_TAG_PUBLIC_ADDRESS "publicaddress" |
| #define XML_TAG_PUBLIC_PORT "publicport" |
| #define XML_TAG_PROXY_HOST_PORT "proxyhostport" |
| #define XML_TAG_LOCAL_TOPOLOGY "localtopology" |
| #define XML_TAG_IPV4SUBNET "ipV4subnet" |
| #define XML_TAG_DNSWILDCARD "dnsWildcard" |
| #define XML_TAG_BEHIND_NAT "behindnat" |
| #define XML_TAG_MR_PUBLIC_ADDRESS "mediarelayexternaladdress" |
| #define XML_TAG_MR_NATIVE_ADDRESS "mediarelaynativeaddress" |
| #define XML_TAG_MR_XMLRPC_PORT "mediarelayxml-rpc-port" |
| #define XML_TAG_MR_PORT_RANGE "port-range" |
| #define XML_TAG_USE_STUN "useSTUN" |
| #define XML_TAG_STUN_SERVER "stun-server-address" |
| #define XML_TAG_STUN_REFRESH_INTERVAL "rediscovery-time" |
| #define XML_TAG_AGGRESSIVENESS "relayaggressiveness" |
| #define XML_TAG_SECURE_XMLRPC "secureXMLRPC" |
| #define XML_VALUE_ENABLED "enabled" |
| #define XML_VALUE_TRUE "true" |
| #define XML_VALUE_YES "yes" |
| #define XML_VALUE_AGGRESSIVE "Aggressive" |
| #define XML_VALUE_CONSERVATIVE "Conservative" |
| #define DEFAULT_MAX_MEDIA_RELAY_SESSIONS (50) |
| #define DEFAULT_PUBLIC_PORT (5060) |
| #define DEFAULT_MR_XMLRPC_PORT (9090) |
| #define PORTS_PER_MEDIA_RELAY_SESSIONS (4) |
| #define NAT_TRAVERSAL_SHARE (0.5) |