Main Page | Modules | Class Hierarchy | Class List | Directories | Class Members | Related Pages | Examples

TCPFilters Class Reference

Collection of PacketFilters for TCP packets. More...

#include <TCPFilters.h>

List of all members.

Static Public Attributes

static const PacketFilter
*const 
TCP_PORT_22_SSH
static const PacketFilter
*const 
TCP_PORT_22_SSH_STREAM
static const PacketFilter
*const 
TCP_PORT_80_WWW
static const PacketFilter
*const 
TCP_PORT_80_WWW_STREAM
static const PacketFilter
*const 
TCP_PORT_993_IMAPS
static const PacketFilter
*const 
TCP_PORT_993_IMAPS_STREAM


Detailed Description

Collection of PacketFilters for TCP packets.


Member Data Documentation

const PacketFilter *const TCPFilters::TCP_PORT_22_SSH [static]
 

Initial value:

 
    new CompoundPacketFilter( 
        SimplePacketFilter(
            PacketAttribute( "tcp.srcport" ),
            ConcretePacketAttributeValue<int>( 22 ),
            SimplePacketFilter::EQUAL ),
        SimplePacketFilter(
            PacketAttribute( "tcp.dstport" ),
            ConcretePacketAttributeValue<int>( 22 ),
            SimplePacketFilter::EQUAL ),
        CompoundPacketFilter::OR )

const PacketFilter *const TCPFilters::TCP_PORT_22_SSH_STREAM [static]
 

Initial value:

 
    new CompoundPacketFilter( 
        SimplePacketFilter(
            PacketAttribute( "network.proto" ),
            ConcretePacketAttributeValue<int>(6),
            SimplePacketFilter::EQUAL ),
        CompoundPacketFilter( 
            SimplePacketFilter(
                PacketAttribute( "transport.srcport" ),
                ConcretePacketAttributeValue<int>( 22 ),
                SimplePacketFilter::EQUAL ),
            SimplePacketFilter(
                PacketAttribute( "transport.dstport" ),
                ConcretePacketAttributeValue<int>( 22 ),
                SimplePacketFilter::EQUAL ),
            CompoundPacketFilter::OR ),
        CompoundPacketFilter::AND )

const PacketFilter *const TCPFilters::TCP_PORT_80_WWW [static]
 

Initial value:

    new CompoundPacketFilter( 
        SimplePacketFilter(
            PacketAttribute( "tcp.srcport" ),
            ConcretePacketAttributeValue<int>( 80 ),
            SimplePacketFilter::EQUAL ),
        SimplePacketFilter(
            PacketAttribute( "tcp.dstport" ),
            ConcretePacketAttributeValue<int>( 80 ),
            SimplePacketFilter::EQUAL ),
        CompoundPacketFilter::OR )

const PacketFilter *const TCPFilters::TCP_PORT_80_WWW_STREAM [static]
 

Initial value:

 
    new CompoundPacketFilter( 
        SimplePacketFilter(
            PacketAttribute( "network.proto" ),
            ConcretePacketAttributeValue<int>(6),
            SimplePacketFilter::EQUAL ),
        CompoundPacketFilter( 
            SimplePacketFilter(
                PacketAttribute( "transport.srcport" ),
                ConcretePacketAttributeValue<int>( 80 ),
                SimplePacketFilter::EQUAL ),
            SimplePacketFilter(
                PacketAttribute( "transport.dstport" ),
                ConcretePacketAttributeValue<int>( 80 ),
                SimplePacketFilter::EQUAL ),
            CompoundPacketFilter::OR ),
        CompoundPacketFilter::AND )

const PacketFilter *const TCPFilters::TCP_PORT_993_IMAPS [static]
 

Initial value:

    new CompoundPacketFilter( 
        SimplePacketFilter(
            PacketAttribute( "tcp.srcport" ),
            ConcretePacketAttributeValue<int>( 993 ),
            SimplePacketFilter::EQUAL ),
        SimplePacketFilter(
            PacketAttribute( "tcp.dstport" ),
            ConcretePacketAttributeValue<int>( 993 ),
            SimplePacketFilter::EQUAL ),
        CompoundPacketFilter::OR )

const PacketFilter *const TCPFilters::TCP_PORT_993_IMAPS_STREAM [static]
 

Initial value:

    new CompoundPacketFilter( 
        SimplePacketFilter(
            PacketAttribute( "network.proto" ),
            ConcretePacketAttributeValue<int>(6),
            SimplePacketFilter::EQUAL ),
        CompoundPacketFilter( 
            SimplePacketFilter(
                PacketAttribute( "transport.srcport" ),
                ConcretePacketAttributeValue<int>( 993 ),
                SimplePacketFilter::EQUAL ),
            SimplePacketFilter(
                PacketAttribute( "transport.dstport" ),
                ConcretePacketAttributeValue<int>( 993 ),
                SimplePacketFilter::EQUAL ),
            CompoundPacketFilter::OR ),
        CompoundPacketFilter::AND )


The documentation for this class was generated from the following files:
Generated on Thu Apr 5 01:02:38 2007 for ANTARES by  doxygen 1.4.2