isc.sensor
Class IPT_UDPBean

java.lang.Object
  extended by isc.sensor.PacketBean
      extended by isc.sensor.UDPBean
          extended by isc.sensor.IPT_UDPBean

public class IPT_UDPBean
extends UDPBean

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

Author:
John Casey
Project: DNA_sensor - Aug 12, 2005

Field Summary
protected static org.apache.log4j.Logger log
          log4j
protected static java.lang.String PROP_FLOW_OUTPUT
          Property to determine whether to write out UDP 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.PacketBean
ipbean, skey
 
Constructor Summary
IPT_UDPBean(IPBean obj)
          Create a new IPTables adapter for UDP packet processing
 
Method Summary
 void setBean(UDPPacket packet)
          Convert the raw packet into a UDPBean
 void setBean(UDPPacket packet, IPBean ipbean)
          Convert the raw packet into a UDPBean
 void setFinish()
          The server is shutting down.
 
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 UDP 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

Constructor Detail

IPT_UDPBean

public IPT_UDPBean(IPBean obj)
Create a new IPTables adapter for UDP packet processing

Parameters:
obj - The IPBean to initialize with
Method Detail

setBean

public void setBean(UDPPacket packet)
Convert the raw packet into a UDPBean

Parameters:
packet - The VSERV UDP packet

setBean

public void setBean(UDPPacket packet,
                    IPBean ipbean)
Convert the raw packet into a UDPBean

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

setFinish

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