Advertisement
Guest User

Untitled

a guest
Jul 6th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. [root@splunk-index ~]# salt-call pkg.list_pkgs | grep splunk
  2. [INFO ] Executing command 'iptables --help' in directory '/root'
  3. [INFO ] output: iptables v1.4.7
  4.  
  5. Usage: iptables -[AD] chain rule-specification [options]
  6. iptables -I chain [rulenum] rule-specification [options]
  7. iptables -R chain rulenum rule-specification [options]
  8. iptables -D chain rulenum [options]
  9. iptables -[LS] [chain [rulenum]] [options]
  10. iptables -[FZ] [chain] [options]
  11. iptables -[NX] chain
  12. iptables -E old-chain-name new-chain-name
  13. iptables -P chain target [options]
  14. iptables -h (print this help information)
  15.  
  16. Commands:
  17. Either long or short options are allowed.
  18. --append -A chain Append to chain
  19. --delete -D chain Delete matching rule from chain
  20. --delete -D chain rulenum
  21. Delete rule rulenum (1 = first) from chain
  22. --insert -I chain [rulenum]
  23. Insert in chain as rulenum (default 1=first)
  24. --replace -R chain rulenum
  25. Replace rule rulenum (1 = first) in chain
  26. --list -L [chain [rulenum]]
  27. List the rules in a chain or all chains
  28. --list-rules -S [chain [rulenum]]
  29. Print the rules in a chain or all chains
  30. --flush -F [chain] Delete all rules in chain or all chains
  31. --zero -Z [chain [rulenum]]
  32. Zero counters in chain or all chains
  33. --new -N chain Create a new user-defined chain
  34. --delete-chain
  35. -X [chain] Delete a user-defined chain
  36. --policy -P chain target
  37. Change policy on chain to target
  38. --rename-chain
  39. -E old-chain new-chain
  40. Change chain name, (moving any references)
  41. Options:
  42. [!] --proto -p proto protocol: by number or name, eg. `tcp'
  43. [!] --source -s address[/mask][...]
  44. source specification
  45. [!] --destination -d address[/mask][...]
  46. destination specification
  47. [!] --in-interface -i input name[+]
  48. network interface name ([+] for wildcard)
  49. --jump -j target
  50. target for rule (may load target extension)
  51. --goto -g chain
  52. jump to chain with no return
  53. --match -m match
  54. extended match (may load extension)
  55. --numeric -n numeric output of addresses and ports
  56. [!] --out-interface -o output name[+]
  57. network interface name ([+] for wildcard)
  58. --table -t table table to manipulate (default: `filter')
  59. --verbose -v verbose mode
  60. --line-numbers print line numbers when listing
  61. --exact -x expand numbers (display exact values)
  62. [!] --fragment -f match second or further fragments only
  63. --modprobe=<command> try to insert modules using this command
  64. --set-counters PKTS BYTES set the counter during insert/append
  65. [!] --version -V print package version.
  66. [INFO ] Executing command 'repoquery --queryformat="%{NAME}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-%{REPOID}" --all --pkgnarrow=installed' in directory '/root'
  67. splunk:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement