RejectTarget¶
- class RejectTarget(reject_with: Optional[str] = None)[source]¶
This class provides access to the
REJECTtarget- Parameters:
reject_with – optional
ICMPmessage type (see iptables(8) REJECT target)
- get_target_name() str¶
Returns the target name
- is_terminating() bool¶
Returns
Trueif this is a terminating target