Ubuntu Pastebin

Paste from TJ at Mon, 21 Dec 2015 21:41:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# IPv6 apache issue

# ip6tables -nvL
Chain INPUT (policy DROP 1680K packets, 171M bytes)
 pkts bytes target     prot opt in     out     source               destination         
63738 6559K ACCEPT     icmpv6    *      *       ::/0                 ::/0                
 213K   77M ACCEPT     all      *      *       ::/0                 ::/0                 state RELATED,ESTABLISHED
   12  3572 ACCEPT     all      eth0   *       2a02:8011:2007::/48  ::/0                 /* Starnhill network */
   17  1360 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:80 /* HTTP */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:443 /* HTTPS */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:25 /* SMTP */
    2   170 ACCEPT     udp      eth0   *       ::/0                 ::/0                 udp dpt:53 /* DNS */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:9418 /* git */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:113 /* ident */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:53 /* DNS */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:51413 /* bit-torrent */
    0     0 ACCEPT     tcp      eth0   *       ::/0                 ::/0                 tcp dpt:587 /* SMTPS */

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 1818K packets, 179M bytes)
 pkts bytes target     prot opt in     out     source               destination


# ss -6lp '( sport = :80 or sport = :443 )'
State      Recv-Q Send-Q                                       Local Address:Port                                           Peer Address:Port   
LISTEN     0      128                             2a01:7e00:e000:151:0:1:1:2:http                                                     :::*        users:(("/usr/sbin/apach",15489,8),("/usr/sbin/apach",14501,8),("/usr/sbin/apach",10262,8),("/usr/sbin/apach",10257,8))
LISTEN     0      128                             2a01:7e00:e000:151:0:1:1:2:https                                                    :::*        users:(("/usr/sbin/apach",15489,9),("/usr/sbin/apach",14501,9),("/usr/sbin/apach",10262,9),("/usr/sbin/apach",10257,9))


/etc/apache2 # egrep -rn '(NameVirtualHost|2a01)' *
ports.conf:8:NameVirtualHost *:80
ports.conf:15:    # If you add NameVirtualHost *:443 here, you will also have to change
ports.conf:23:Listen [2a01:7e00:e000:0151:0:1:1:2]:80
ports.conf:24:Listen [2a01:7e00:e000:0151:0:1:1:2]:443
sites-enabled/000-default:1:NameVirtualHost 109.74.197.122:80
sites-enabled/000-default:2:NameVirtualHost 109.74.197.121:80
sites-enabled/000-default:3:NameVirtualHost 109.74.197.121:443
sites-enabled/000-default:4:NameVirtualHost 109.74.197.122:443
sites-enabled/000-default:5:NameVirtualHost [2a01:7e00:e000:0151:0:1:1:2]:80
sites-enabled/000-default:6:NameVirtualHost [2a01:7e00:e000:0151:0:1:1:2]:443 
sites-enabled/squoo.sh.conf:1:<VirtualHost 109.74.197.121:80 [2a01:7e00:e000:0151:0:1:1:2]:80>
sites-enabled/squoo.sh.conf:68:<VirtualHost 109.74.197.121:443 [2a01:7e00:e000:0151:0:1:1:2]:443>
Download as text