Class Action
java.lang.Object
org.eblocker.server.common.network.unix.firewall.Action
- Direct Known Subclasses:
ActionDestinationNat,ActionMark,ActionRedirect,ActionReject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Actionaccept()static Actiondrop()booleaninthashCode()static ActionjumpToChain(String chain) static Actionmark(int value) static Actionprotected booleanprotocolAllowed(Protocol protocol) Some actions require a specific protocolstatic ActionredirectTo(int targetPort) static ActionredirectTo(String targetIp, int targetPort) static Actionreject()static Actionstatic ActiontoString()
-
Constructor Details
-
Action
-
-
Method Details
-
returnFromChain
-
masquerade
-
drop
-
accept
-
reject
-
rejectWithTcpReset
-
jumpToChain
-
redirectTo
-
redirectTo
-
mark
-
protocolAllowed
Some actions require a specific protocol- Parameters:
protocol-- Returns:
-
toString
-
equals
-
hashCode
public int hashCode()
-