isc.sensor
Class IPT_TCPBean

java.lang.Object
  extended by isc.sensor.PacketBean
      extended by isc.sensor.TCPBean
          extended by isc.sensor.IPT_TCPBean

public class IPT_TCPBean
extends TCPBean

IPtables/PCAP adapter class to convert org.savarese.vserv.tcpip byte[] packets internal TCPBean format

Author:
John Casey
  • DNA_sensor - Aug 12, 2005

  • Field Summary
    (package private)  java.lang.StringBuffer buffer
              temp
    protected static org.apache.log4j.Logger log
              log4j
    protected static java.lang.String PROP_FLOW_OUTPUT
              Property to determine whether to write out TCP packet flows
    protected static java.lang.String PROP_OUTPUTWRITERCLASS
              Property to specify the output Writer for packet flows
    protected  AppProperties props
              Properties
    protected static java.lang.Boolean writeOutputFlow
              flag to determine output
    protected static java.lang.Object writer
              The writer object
     
    Fields inherited from class isc.sensor.TCPBean
    tcpAck, tcpFlags, tcpflgACK, tcpflgFIN, tcpflgPSH, tcpflgRST, tcpflgSYN, tcpflgURG, tcpSeq
     
    Fields inherited from class isc.sensor.PacketBean
    ipbean, skey
     
    Constructor Summary
    IPT_TCPBean(IPBean obj)
              Create a new IPTables adapter for TCP packet processing
     
    Method Summary
     void setBean(TCPPacket packet)
              Convert the raw packet into a TCPBean
     void setBean(TCPPacket packet, IPBean ipbean)
              Convert the raw packet into a TCPBean
     void setFinish()
              The server is shutting down.
     
    Methods inherited from class isc.sensor.TCPBean
    reset
     
    Methods inherited from class isc.sensor.PacketBean
    setKey, setKey
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    PROP_FLOW_OUTPUT

    protected static final java.lang.String PROP_FLOW_OUTPUT
    Property to determine whether to write out TCP packet flows

    See Also:
    Constant Field Values

    PROP_OUTPUTWRITERCLASS

    protected static final java.lang.String PROP_OUTPUTWRITERCLASS
    Property to specify the output Writer for packet flows

    See Also:
    Constant Field Values

    props

    protected AppProperties props
    Properties


    writer

    protected static java.lang.Object writer
    The writer object


    writeOutputFlow

    protected static java.lang.Boolean writeOutputFlow
    flag to determine output


    log

    protected static org.apache.log4j.Logger log
    log4j


    buffer

    java.lang.StringBuffer buffer
    temp

    Constructor Detail

    IPT_TCPBean

    public IPT_TCPBean(IPBean obj)
    Create a new IPTables adapter for TCP packet processing

    Parameters:
    obj - The IPBean to initialize with
    Method Detail

    setBean

    public void setBean(TCPPacket packet)
    Convert the raw packet into a TCPBean

    Parameters:
    packet - The VSERV TCP packet

    setBean

    public void setBean(TCPPacket packet,
                        IPBean ipbean)
    Convert the raw packet into a TCPBean

    Parameters:
    packet - The VSERV TCP packet
    ipbean - The processes IPBean

    setFinish

    public void setFinish()
    The server is shutting down. Close all output handlers.