Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@server1:/csf# perl csftest.pl
  2. Testing ip_tables/iptable_filter...OK
  3. Testing ipt_LOG...OK
  4. Testing ipt_multiport/xt_multiport...OK
  5. Testing ipt_REJECT...OK
  6. Testing ipt_state/xt_state...OK
  7. Testing ipt_limit/xt_limit...OK
  8. Testing ipt_recent...OK
  9. Testing xt_connlimit...FAILED [Error: iptables: Invalid argument. Run `dmesg' for more i
  10. nformation.] - Required for CONNLIMIT feature
  11. Testing ipt_owner/xt_owner...OK
  12. Testing iptable_nat/ipt_REDIRECT...OK
  13.  
  14. RESULT: csf will function on this server but some features will not work due to some mis
  15. sing iptables modules [1]
  16.  
  17.  
  18.  
  19. ------------------------
  20.  
  21. root@server1:/# csf -s
  22. Flushing chain `INPUT'
  23. Flushing chain `FORWARD'
  24. Flushing chain `OUTPUT'
  25. Flushing chain `INPUT'
  26. Flushing chain `FORWARD'
  27. Flushing chain `OUTPUT'
  28. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:67
  29. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:67
  30. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:67
  31. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:67
  32. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:68
  33. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:68
  34. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:68
  35. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:68
  36. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:111
  37. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:111
  38. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:111
  39. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:111
  40. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:113
  41. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:113
  42. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:113
  43. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:113
  44. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpts:135:139
  45. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpts:135:139
  46. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpts:135:139
  47. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpts:135:139
  48. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:445
  49. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:445
  50. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:445
  51. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:445
  52. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:500
  53. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:500
  54. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:500
  55. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:500
  56. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:513
  57. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:513
  58. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:513
  59. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:513
  60. DROP  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  tcp dpt:520
  61. DROP  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  udp dpt:520
  62. DROP  tcp opt    in * out *  ::/0  -> ::/0  tcp dpt:520
  63. DROP  udp opt    in * out *  ::/0  -> ::/0  udp dpt:520
  64. LOG  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  limit: avg 30/min burst 5 LOG flags
  65.  0 level 4 prefix `Firewall: *TCP_IN Blocked* '
  66. LOG  tcp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  limit: avg 30/min burst 5 LOG flags
  67.  0 level 4 prefix `Firewall: *TCP_OUT Blocked* '
  68. LOG  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  limit: avg 30/min burst 5 LOG flags
  69.  0 level 4 prefix `Firewall: *UDP_IN Blocked* '
  70. LOG  udp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  limit: avg 30/min burst 5 LOG flags
  71.  0 level 4 prefix `Firewall: *UDP_OUT Blocked* '
  72. LOG  icmp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  limit: avg 30/min burst 5 LOG flag
  73. s 0 level 4 prefix `Firewall: *ICMP_IN Blocked* '
  74. LOG  icmp opt -- in * out *  0.0.0.0/0  -> 0.0.0.0/0  limit: avg 30/min burst 5 LOG flag
  75. s 0 level 4 prefix `Firewall: *ICMP_OUT Blocked* '
  76. ip6tables: No chain/target/match by that name.
  77. LOG  tcp opt    in * out *  ::/0  -> ::/0  limit: avg 30/min burst 5 LOG flags 0 level 4
  78.  prefix `Firewall: *TCP6IN Blocked* '
  79.  
  80. Error: ip6tables command [/sbin/ip6tables -v -A LOGDROPIN -p tcp  -m limit --limit 30/m
  81. --limit-burst 5 -j LOG --log-prefix 'Firewall: *TCP6IN Blocked* '] failed, you appear to
  82.  be missing a required ip6tables module, at line 519
  83. root@server1:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement