|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPacketFilter
Interface to the Packet-Filter
| Method Summary | |
|---|---|
IPacketAction |
matchAction(Packet packet,
String interfaceRef,
String direction,
String hostname,
String simTime,
ILogger eventsLog)
This method receives a packet and checks in the defined packet-filter-chains if there are any rules that match. |
String |
toString()
This returns a String representation of the Packet Filter |
| Method Detail |
|---|
IPacketAction matchAction(Packet packet,
String interfaceRef,
String direction,
String hostname,
String simTime,
ILogger eventsLog)
packet - Packet that should be inspected.interfaceRef - From which interface the packet came from.direction - In which direction the packet is heading. Use @link verinec.netsim.firewall.IFirewall#IN IN, @link verinec.netsim.firewall.IFirewall#OUT OUT or @link verinec.netsim.firewall.IFirewall#FORWARD FORWARD.hostname - The hostname of the node for which the firewall is checking for.simTime - Simulation time at which the firewall is being consulted.eventsLog - The Verinec Simulator Event logger instance.
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 | ||||||||