Retail products


Traffic interception SDK

Control every TCP/IP network connection

  • Route connections via proxy
  • Redirect connections and modify the data
  • Block connections and applications
SSL interception SDK

View SSL in plaintext and modify it

  • View the SSL stream decrypted in plaintext
  • Redirect SSL connection and modify decrypted data
  • Browser shows "SSL lock" without warnings

Documentation


SpoofSocket.h File Reference

#include "SpoofBase.h"

Include dependency graph for SpoofSocket.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

struct  _PseudoHeader
struct  _IpHeader
class  CIPOptions
struct  CIPOptions::CIPOptions::_IPOption
struct  CIPOptions::CIPOptions::_Routing
class  CSpoofSocket

Defines

#define AFX_SPOOFSOCKET_H__5BAEA068_961A_4652_8BBD_90B78F6FBB09__INCLUDED_
#define PseudoHeaderLength   sizeof(PseudoHeader)
#define IPOption_COPY   128
#define IPOption_DONT_COPY   0
#define IPOption_CONTROL   0
#define IPOption_RESERVED   2
#define IPOption_DEBUGGING   64
#define IPOption_RESERVED2   6
#define IPOption_END_OPTION   0
#define IPOption_NO_OPERATION   1
#define IPOption_SECURITY   2
#define IPOption_LOOSE_ROUTING   3
#define IPOption_STRICT_ROUTING   9
#define IPOption_RECORD_ROUTE   7
#define IPOption_STREAM   8
#define IPOption_TIMESTAMP   4
#define IPOption_SECURITY_LENGTH   11
#define IPOption_SECURITY_UNCLASSIFIED   0
#define IPOption_SECURITY_CONFIDENTIAL   0x1111000100110101b
#define IPOption_SECURITY_EFTO   0x0111100010011010b
#define IPOption_SECURITY_MMMM   0x1011110001001101b
#define IPOption_SECURITY_PROG   0x0101111000100110b
#define IPOption_SECURITY_RESTRICTED   0x1010111100010011b
#define IPOption_SECURITY_SECRET   0x1101011110001000b
#define IPOption_SECURITY_TOPSECRET   0x0110101111000101b
#define IPOption_SECURITY_RESERVED1   0x0011010111100010b
#define IPOption_SECURITY_RESERVED2   0x1001101011110001b
#define IPOption_SECURITY_RESERVED3   0x0100110101111000b
#define IPOption_SECURITY_RESERVED4   0x0010010010111101b
#define IPOption_SECURITY_RESERVED5   0x0001001101011110b
#define IPOption_SECURITY_RESERVED6   0x1000100110101111b
#define IPOption_SECURITY_RESERVED7   0x1100010011010110b
#define IPOption_SECURITY_RESERVED8   0x1110001001101011b
#define IPOption_STREAM_LENGTH   4
#define IPOption_STRICT_ROUTING_LENGTH   3
#define IPOption_STRICT_ROUTING_POINTER   4
#define IPOption_TIMESTAMP_LENGTH   5
#define IPOption_TIMESTAMP_ONLY   0
#define IPOption_TIMESTAMP_EACH   1
#define IPOption_TIMESTAMP_PRE   2
#define IPOption_TIMESTAMP_SIZE   8
#define IpHeaderLength   sizeof(IpHeader)
#define IpVersion   4
#define IpService_NETWORK_CONTROL   111
#define IpService_INTERNETWORK_CONTROL   110
#define IpService_CRITIC_ECP   101
#define IpService_FLASH_OVERIDE   100
#define IpService_FLASH   011
#define IpService_IMMEDIATE   010
#define IpService_PRIORITY   001
#define IpService_ROUTINE   0
#define IpFragFlag_MAY_FRAG   0x0000
#define IpFragFlag_MORE_FRAG   0x2000
#define IpFragFlag_LAST_FRAG   0x0000
#define IpFragFlag_DONT_FRAG   0x4000
#define IpProtocol_ICMP   1
#define IpProtocol_TCP   6
#define IpProtocol_UDP   17
#define IP_DEF_TTL   128
#define IPOption_WRAPSIZE   4
#define IPOption_SIZE   40
#define IPOption_MAX_ROUTES   10
#define SIO_RCVALL   0x98000001

Typedefs

typedef
KOMODIA_NAMESPACE_START struct
_PseudoHeader 
PseudoHeader
typedef PseudoHeader FAR * LPPseudoHeader
typedef struct _IpHeader IpHeader
typedef IpHeader FAR * LPIpHeader
typedef unsigned long IP

Define Documentation

#define AFX_SPOOFSOCKET_H__5BAEA068_961A_4652_8BBD_90B78F6FBB09__INCLUDED_

Definition at line 37 of file SpoofSocket.h.

#define IP_DEF_TTL   128

Definition at line 348 of file SpoofSocket.h.

#define IpFragFlag_DONT_FRAG   0x4000

Definition at line 341 of file SpoofSocket.h.

#define IpFragFlag_LAST_FRAG   0x0000

Definition at line 340 of file SpoofSocket.h.

#define IpFragFlag_MAY_FRAG   0x0000

Definition at line 338 of file SpoofSocket.h.

#define IpFragFlag_MORE_FRAG   0x2000

Definition at line 339 of file SpoofSocket.h.

#define IpHeaderLength   sizeof(IpHeader)

Definition at line 321 of file SpoofSocket.h.

#define IPOption_CONTROL   0

Definition at line 73 of file SpoofSocket.h.

#define IPOption_COPY   128

Definition at line 69 of file SpoofSocket.h.

#define IPOption_DEBUGGING   64

Definition at line 75 of file SpoofSocket.h.

#define IPOption_DONT_COPY   0

Definition at line 70 of file SpoofSocket.h.

#define IPOption_END_OPTION   0

Definition at line 109 of file SpoofSocket.h.

#define IPOption_LOOSE_ROUTING   3

Definition at line 112 of file SpoofSocket.h.

#define IPOption_MAX_ROUTES   10

Definition at line 353 of file SpoofSocket.h.

#define IPOption_NO_OPERATION   1

Definition at line 110 of file SpoofSocket.h.

#define IPOption_RECORD_ROUTE   7

Definition at line 114 of file SpoofSocket.h.

#define IPOption_RESERVED   2

Definition at line 74 of file SpoofSocket.h.

#define IPOption_RESERVED2   6

Definition at line 76 of file SpoofSocket.h.

#define IPOption_SECURITY   2

Definition at line 111 of file SpoofSocket.h.

#define IPOption_SECURITY_CONFIDENTIAL   0x1111000100110101b

Definition at line 146 of file SpoofSocket.h.

#define IPOption_SECURITY_EFTO   0x0111100010011010b

Definition at line 147 of file SpoofSocket.h.

#define IPOption_SECURITY_LENGTH   11

Definition at line 143 of file SpoofSocket.h.

#define IPOption_SECURITY_MMMM   0x1011110001001101b

Definition at line 148 of file SpoofSocket.h.

#define IPOption_SECURITY_PROG   0x0101111000100110b

Definition at line 149 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED1   0x0011010111100010b

Definition at line 153 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED2   0x1001101011110001b

Definition at line 154 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED3   0x0100110101111000b

Definition at line 155 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED4   0x0010010010111101b

Definition at line 156 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED5   0x0001001101011110b

Definition at line 157 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED6   0x1000100110101111b

Definition at line 158 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED7   0x1100010011010110b

Definition at line 159 of file SpoofSocket.h.

#define IPOption_SECURITY_RESERVED8   0x1110001001101011b

Definition at line 160 of file SpoofSocket.h.

#define IPOption_SECURITY_RESTRICTED   0x1010111100010011b

Definition at line 150 of file SpoofSocket.h.

#define IPOption_SECURITY_SECRET   0x1101011110001000b

Definition at line 151 of file SpoofSocket.h.

#define IPOption_SECURITY_TOPSECRET   0x0110101111000101b

Definition at line 152 of file SpoofSocket.h.

#define IPOption_SECURITY_UNCLASSIFIED   0

Definition at line 145 of file SpoofSocket.h.

#define IPOption_SIZE   40

Definition at line 351 of file SpoofSocket.h.

#define IPOption_STREAM   8

Definition at line 115 of file SpoofSocket.h.

#define IPOption_STREAM_LENGTH   4

Definition at line 170 of file SpoofSocket.h.

#define IPOption_STRICT_ROUTING   9

Definition at line 113 of file SpoofSocket.h.

#define IPOption_STRICT_ROUTING_LENGTH   3

Definition at line 262 of file SpoofSocket.h.

#define IPOption_STRICT_ROUTING_POINTER   4

Definition at line 263 of file SpoofSocket.h.

#define IPOption_TIMESTAMP   4

Definition at line 116 of file SpoofSocket.h.

#define IPOption_TIMESTAMP_EACH   1

Definition at line 297 of file SpoofSocket.h.

#define IPOption_TIMESTAMP_LENGTH   5

Definition at line 294 of file SpoofSocket.h.

#define IPOption_TIMESTAMP_ONLY   0

Definition at line 296 of file SpoofSocket.h.

#define IPOption_TIMESTAMP_PRE   2

Definition at line 298 of file SpoofSocket.h.

#define IPOption_TIMESTAMP_SIZE   8

Definition at line 300 of file SpoofSocket.h.

#define IPOption_WRAPSIZE   4

Definition at line 350 of file SpoofSocket.h.

#define IpProtocol_ICMP   1

Definition at line 344 of file SpoofSocket.h.

#define IpProtocol_TCP   6

Definition at line 345 of file SpoofSocket.h.

#define IpProtocol_UDP   17

Definition at line 346 of file SpoofSocket.h.

#define IpService_CRITIC_ECP   101

Definition at line 330 of file SpoofSocket.h.

#define IpService_FLASH   011

Definition at line 332 of file SpoofSocket.h.

#define IpService_FLASH_OVERIDE   100

Definition at line 331 of file SpoofSocket.h.

#define IpService_IMMEDIATE   010

Definition at line 333 of file SpoofSocket.h.

#define IpService_INTERNETWORK_CONTROL   110

Definition at line 329 of file SpoofSocket.h.

#define IpService_NETWORK_CONTROL   111

Definition at line 328 of file SpoofSocket.h.

#define IpService_PRIORITY   001

Definition at line 334 of file SpoofSocket.h.

#define IpService_ROUTINE   0

Definition at line 335 of file SpoofSocket.h.

#define IpVersion   4

Definition at line 325 of file SpoofSocket.h.

#define PseudoHeaderLength   sizeof(PseudoHeader)

Definition at line 66 of file SpoofSocket.h.

#define SIO_RCVALL   0x98000001

Definition at line 435 of file SpoofSocket.h.


Typedef Documentation

typedef unsigned long IP

Definition at line 438 of file SpoofSocket.h.

typedef struct _IpHeader IpHeader

typedef IpHeader FAR* LPIpHeader

Definition at line 319 of file SpoofSocket.h.

Definition at line 64 of file SpoofSocket.h.

typedef KOMODIA_NAMESPACE_START struct _PseudoHeader PseudoHeader