Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kernel and machine info:
- 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
- selinux data:
- SELinux status: enabled
- SELinuxfs mount: /selinux
- Current mode: permissive
- Mode from config file: permissive
- Policy version: 24
- Policy from config file: targeted
- iptables rules:
- # Generated by iptables-save v1.4.7 on Mon Jul 7 23:33:50 2014
- *filter
- :INPUT DROP [0:0]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [0:0]
- -A INPUT -i lo -j ACCEPT
- -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
- -A INPUT -p icmp -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 1243 -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 2812 -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 4524 -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 4525 -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -p tcp -m state --state NEW -m tcp --dport 5432 -j ACCEPT
- -A INPUT -p udp -m udp --dport 53 -j ACCEPT
- -A INPUT -j REJECT --reject-with icmp-host-prohibited
- -A INPUT -i em1 -m state --state RELATED,ESTABLISHED -j ACCEPT
- -A INPUT -s 10.5.0.0/16 -j ACCEPT
- -A INPUT -j LOG
- -A INPUT -j DROP
- -A FORWARD -s 10.5.0.0/16 -j ACCEPT
- -A OUTPUT -o lo -j ACCEPT
- -A OUTPUT -s 10.5.0.0/16 -j ACCEPT
- COMMIT
- # Completed on Mon Jul 7 23:33:50 2014
- # Generated by iptables-save v1.4.7 on Mon Jul 7 23:33:50 2014
- *mangle
- :PREROUTING ACCEPT [730042:139380585]
- :INPUT ACCEPT [763945:172909747]
- :FORWARD ACCEPT [3197:394176]
- :OUTPUT ACCEPT [373816:83825967]
- :POSTROUTING ACCEPT [377013:84220143]
- :DIVERT - [0:0]
- -A PREROUTING -p tcp -m socket -j DIVERT
- -A PREROUTING -p tcp -m tcp --dport 80 -j TPROXY --on-port 4525 --on-ip 10.5.7.25 --tproxy-mark 0x1/0x1
- -A DIVERT -j MARK --set-xmark 0x1/0xffffffff
- -A DIVERT -j ACCEPT
- COMMIT
- # Completed on Mon Jul 7 23:33:50 2014
- tproxy module?:
- xt_TPROXY 9185 1
- nf_tproxy_core 1332 1 xt_TPROXY,[permanent]
- nf_defrag_ipv4 1483 3 nf_conntrack_ipv4,xt_TPROXY,xt_socket
- nf_defrag_ipv6 11182 3 xt_TPROXY,xt_socket,nf_conntrack_ipv6
- ip6_tables 19458 3 xt_TPROXY,xt_socket,ip6table_filter
- ipv6 321422 78 cnic,xt_TPROXY,xt_socket,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6
- routes are:
- 10.5.7.0/24 dev eth0 proto kernel scope link src 10.5.7.25 metric 1
- default via 10.5.7.1 dev eth0 proto static
- registered route tables:
- 255 local
- 254 main
- 253 default
- 0 unspec
- tproxy route table:
- ip policy rules:
- 0: from all lookup local
- 32766: from all lookup main
- 32767: from all lookup default
- listening TCP sockets:
- State Recv-Q Send-Q Local Address:Port Peer Address:Port
- LISTEN 0 128 :::4524 :::* users:(("squid",7018,48))
- LISTEN 0 128 :::4525 :::* users:(("squid",7018,49))
- LISTEN 0 5 :::53 :::* users:(("dnsmasq",1661,7))
- LISTEN 0 5 *:53 *:* users:(("dnsmasq",1661,5))
- LISTEN 0 128 :::22 :::* users:(("sshd",1678,4))
- LISTEN 0 128 *:22 *:* users:(("sshd",1678,3))
- 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))
- squid compilation options:
- Squid Cache: Version 3.1.10
- 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