From 49a0f8cab72fcf779f305634237a963cc9cbd152 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 12 Feb 2017 22:25:14 +0000 Subject: Fixed some descriptions for iptables notes --- md/writeup/using_iptables.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'md/writeup') 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 -- cgit v1.2.3