Advertisement
Guest User

Untitled

a guest
Jul 7th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 KB | None | 0 0
  1. kernel and machine info:
  2. Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
  3. selinux data:
  4. SELinux status: enabled
  5. SELinuxfs mount: /selinux
  6. Current mode: permissive
  7. Mode from config file: permissive
  8. Policy version: 24
  9. Policy from config file: targeted
  10. iptables rules:
  11. # Generated by iptables-save v1.4.7 on Mon Jul 7 23:33:50 2014
  12. *filter
  13. :INPUT DROP [0:0]
  14. :FORWARD ACCEPT [0:0]
  15. :OUTPUT ACCEPT [0:0]
  16. -A INPUT -i lo -j ACCEPT
  17. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  18. -A INPUT -p icmp -j ACCEPT
  19. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
  20. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
  21. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 1243 -j ACCEPT
  22. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 2812 -j ACCEPT
  23. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 4524 -j ACCEPT
  24. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 4525 -j ACCEPT
  25. -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 5432 -j ACCEPT
  26. -A INPUT -p udp -m udp --dport 53 -j ACCEPT
  27. -A INPUT -j REJECT --reject-with icmp-host-prohibited
  28. -A INPUT -i em1 -m state --state RELATED,ESTABLISHED -j ACCEPT
  29. -A INPUT -s 10.5.0.0/16 -j ACCEPT
  30. -A INPUT -j LOG
  31. -A INPUT -j DROP
  32. -A FORWARD -s 10.5.0.0/16 -j ACCEPT
  33. -A OUTPUT -o lo -j ACCEPT
  34. -A OUTPUT -s 10.5.0.0/16 -j ACCEPT
  35. COMMIT
  36. # Completed on Mon Jul 7 23:33:50 2014
  37. # Generated by iptables-save v1.4.7 on Mon Jul 7 23:33:50 2014
  38. *mangle
  39. :PREROUTING ACCEPT [730042:139380585]
  40. :INPUT ACCEPT [763945:172909747]
  41. :FORWARD ACCEPT [3197:394176]
  42. :OUTPUT ACCEPT [373816:83825967]
  43. :POSTROUTING ACCEPT [377013:84220143]
  44. :DIVERT - [0:0]
  45. -A PREROUTING -p tcp -m socket -j DIVERT
  46. -A PREROUTING -p tcp -m tcp --dport 80 -j TPROXY --on-port 4525 --on-ip 10.5.7.25 --tproxy-mark 0x1/0x1
  47. -A DIVERT -j MARK --set-xmark 0x1/0xffffffff
  48. -A DIVERT -j ACCEPT
  49. COMMIT
  50. # Completed on Mon Jul 7 23:33:50 2014
  51. tproxy module?:
  52. xt_TPROXY 9185 1
  53. nf_tproxy_core 1332 1 xt_TPROXY,[permanent]
  54. nf_defrag_ipv4 1483 3 nf_conntrack_ipv4,xt_TPROXY,xt_socket
  55. nf_defrag_ipv6 11182 3 xt_TPROXY,xt_socket,nf_conntrack_ipv6
  56. ip6_tables 19458 3 xt_TPROXY,xt_socket,ip6table_filter
  57. ipv6 321422 78 cnic,xt_TPROXY,xt_socket,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6
  58. routes are:
  59. 10.5.7.0/24 dev eth0 proto kernel scope link src 10.5.7.25 metric 1
  60. default via 10.5.7.1 dev eth0 proto static
  61. registered route tables:
  62. 255 local
  63. 254 main
  64. 253 default
  65. 0 unspec
  66. tproxy route table:
  67. ip policy rules:
  68. 0: from all lookup local
  69. 32766: from all lookup main
  70. 32767: from all lookup default
  71. listening TCP sockets:
  72. State Recv-Q Send-Q Local Address:Port Peer Address:Port
  73. LISTEN 0 128 :::4524 :::* users:(("squid",7018,48))
  74. LISTEN 0 128 :::4525 :::* users:(("squid",7018,49))
  75. LISTEN 0 5 :::53 :::* users:(("dnsmasq",1661,7))
  76. LISTEN 0 5 *:53 *:* users:(("dnsmasq",1661,5))
  77. LISTEN 0 128 :::22 :::* users:(("sshd",1678,4))
  78. LISTEN 0 128 *:22 *:* users:(("sshd",1678,3))
  79. LISTEN 0 128 :::5432 :::* users:(("httpd",1764,4),("httpd",8406,4),("httpd",8407,4),("httpd",8408,4),("httpd",8409,4),("httpd",8410,4),("httpd",8411,4),("httpd",8412,4),("httpd",8413,4))
  80.  
  81. squid compilation options:
  82. Squid Cache: Version 3.1.10
  83. configure options: '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-internal-dns' '--disable-strict-error-checking' '--exec_prefix=/usr' '--libexecdir=/usr/lib64/squid' '--localstatedir=/var' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid' '--with-logdir=$(localstatedir)/log/squid' '--with-pidfile=$(localstatedir)/run/squid.pid' '--disable-dependency-tracking' '--enable-arp-acl' '--enable-follow-x-forwarded-for' '--enable-auth=basic,digest,ntlm,negotiate' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,DB,POP3,squid_radius_auth' '--enable-ntlm-auth-helpers=smb_lm,no_check,fakeauth' '--enable-digest-auth-helpers=password,ldap,eDirectory' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group' '--enable-cache-digests' '--enable-cachemgr-hostname=localhost' '--enable-delay-pools' '--enable-epoll' '--enable-icap-client' '--enable-ident-lookups' '--enable-linux-netfilter' '--enable-referer-log' '--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-ssl' '--enable-storeio=aufs,diskd,ufs' '--enable-useragent-log' '--enable-wccpv2' '--enable-esi' '--with-aio' '--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl' '--with-openssl' '--with-pthreads' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie' 'LDFLAGS=-pie' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie' --with-squid=/builddir/build/BUILD/squid-3.1.10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement