|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFirewall
| Field Summary | |
|---|---|
static String |
FORWARD
Specifies the direction of the traffic. |
static String |
IN
Specifies the direction of the traffic. |
static String |
OUT
Specifies the direction of the traffic. |
| Method Summary | |
|---|---|
IPacketAction |
evalPacket(Packet packet,
String interfaceRef,
String direction,
Node node,
String simTime,
ILogger eventsLog)
Runs a packet through the packet-filter which determines what to do with the packet. |
String |
toString()
This returns a String representation of the Firewall |
| Field Detail |
|---|
static final String OUT
static final String IN
static final String FORWARD
| Method Detail |
|---|
IPacketAction evalPacket(Packet packet,
String interfaceRef,
String direction,
Node node,
String simTime,
ILogger eventsLog)
throws DirectionException
packet - Packet to be inspected by the packet-filter.interfaceRef - Specifies from which interface the packet came from. Here the ID-REF attribute of the ethernet-binding element is expected.direction - Specifies in which direction the packet is going. Use FORWARD, IN OUT.node - Node needed to find out in which state a tcp connection is in for stateful inspection.simTime - Simulation time for stateful inspection. Needed to determine when a connection entry timesout.eventsLog - The Verinec Simulator Event logger instance.
Action
DirectionException - Throws this Exception if the direction specifies does not exist. Use FORWARD, IN OUT.String toString()
toString in class Object
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||