summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-02-12 22:25:14 +0000
committerFreeArtMan <dos21h@gmail.com>2017-02-12 22:25:14 +0000
commit49a0f8cab72fcf779f305634237a963cc9cbd152 (patch)
tree64de166608fbc43232ed77db04886dd5151ba054
parentbf4989f25a58a0aa9380b0e0d96ffc6e381e709c (diff)
downloadmd-content-49a0f8cab72fcf779f305634237a963cc9cbd152.tar.gz
md-content-49a0f8cab72fcf779f305634237a963cc9cbd152.zip
Fixed some descriptions for iptables notes
-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