summaryrefslogtreecommitdiff
path: root/md/writeup/using_iptables.md
diff options
context:
space:
mode:
Diffstat (limited to 'md/writeup/using_iptables.md')
-rw-r--r--md/writeup/using_iptables.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/md/writeup/using_iptables.md b/md/writeup/using_iptables.md
index a263bbb..3893b08 100644
--- a/md/writeup/using_iptables.md
+++ b/md/writeup/using_iptables.md
@@ -48,15 +48,18 @@ __General cmd flag description__
| Flag | Desc |
| --- | --- |
-| -A | Add a rule |
-| -D | Delete rule from table |
-| -F | Flush rules |
-| -L | List chain |
-| -R | Replace chain |
+| -A | Append a new rule to a chain |
+| -D | Delete a rule at some position in a chain, or the first that matches |
+| -F | Flush the rules out of a chain |
+| -L | List the rules in a chain |
+| -R | Replace a rule at some position in a chain |
| -I | Insert chain |
-| -N | Create new chain |
+| -N | Create a new chain |
| -J | Jump to target |
-| -X | Delete chain |
+| -X | Delete an empty chain |
+| -P | Change the policy for a built-in chain |
+| -Z | Zero the packet and byte counters on all rules in a chain |
+| -I | Insert a new rule at some position in a chain |
| -p | To specify protocol (here 'icmp') |
| -s | Ip addr |
| --icmp-type | For specifying type |
@@ -338,4 +341,5 @@ the system admins could be not happy with this jokes ;].
14. http://www.cyberciti.biz/tips/block-outgoing-network-access-for-a-single-user-from-my-server-using-iptables.html
15. http://www.iptables.info/en/connection-state.html
16. https://en.wikipedia.org/wiki/Transmission_Control_Protocol#Protocol_operation
-17. https://tools.ietf.org/html/rfc675 \ No newline at end of file
+17. https://tools.ietf.org/html/rfc675
+18. https://www.netfilter.org/documentation/HOWTO/packet-filtering-HOWTO-7.html \ No newline at end of file