[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: apache2 (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. https://bugs.launchpad.net/bugs/631064 Title: connection "forbidden" on localhost after wireless connected -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
Hi, This is a default Ubuntu desktop installation, and I've registered my network via the connections icon -> "Connect to Hidden Wireless Network..." Every time the system starts it now gets auto-connected showing an animated circular icon with two dots going round. netstat -na shows the following differences for LISTEN port 80: BEFORE tcp6 0 0 :::80 :::*LISTEN AFTER tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN ip -a shows only a difference for the configured network interface (3:): BEFORE 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 00:14:c2:e2:8a:36 brd ff:ff:ff:ff:ff:ff 3: eth1: mtu 1500 qdisc pfifo_fast state DORMANT qlen 1000 link/ether 00:15:00:4a:49:ff brd ff:ff:ff:ff:ff:ff inet6 fe80::215:ff:fe4a:49ff/64 scope link valid_lft forever preferred_lft forever 4: pan0: mtu 1500 qdisc noop state DOWN link/ether 1e:9c:97:7c:cd:17 brd ff:ff:ff:ff:ff:ff AFTER 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 00:14:c2:e2:8a:36 brd ff:ff:ff:ff:ff:ff 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:15:00:4a:49:ff brd ff:ff:ff:ff:ff:ff inet 10.0.0.168/24 brd 10.0.0.255 scope global eth1 inet6 fe80::215:ff:fe4a:49ff/64 scope link valid_lft forever preferred_lft forever 4: pan0: mtu 1500 qdisc noop state DOWN link/ether 1e:9c:97:7c:cd:17 brd ff:ff:ff:ff:ff:ff -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
Thanks for checking, Gerben. Maybe this is related to bug #633981: Can you please check in the output of ip a before and after wireless is connected. Are there any inet6 addresses besides the loop-back entry "inet6 ::1/128 scope host"? Do you use network manager for connecting to the wireless? Maybe some versions of network manager delete an existing IPv6 address when it creates the wireless connection. -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
Hi, In both situations the same list is produced: BEFORE: getent hosts ::1 ::1 localhost ip6-localhost ip6-loopback getent hosts 127.0.0.1 127.0.0.1 localhost getent hosts localhost ::1 localhost ip6-localhost ip6-loopback getent hosts ip6-localhost ::1 localhost ip6-localhost ip6-loopback AFTER: getent hosts ::1 ::1 localhost ip6-localhost ip6-loopback getent hosts 127.0.0.1 127.0.0.1 localhost getent hosts localhost ::1 localhost ip6-localhost ip6-loopback getent hosts ip6-localhost ::1 localhost ip6-localhost ip6-loopback I've also altered on the hostnames used in the URL, and localhost ip6-localhost ip6-loopback all act the same as in pages fetches before wireless network got configured and access denied after. I've tried a /etc/init.d/apache restart, and this still fails for ip6-localhost ip6-loopback, both translate only into ::1 which is not connected anymore (connection refused), whereas is would at leas provide a '403 forbidden' right after the wireless network got configured. localhost succeeds, but has an extra translation first into ::1 and then 127.0.0.1 See selections for wget for localhost and ip6-localhost, (before wireless configured, after wireless configured, after apache restart): BEFORE wget http://localhost/server-info --2010-09-09 07:43:24-- http://localhost/server-info Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:80... connected. HTTP request sent, awaiting response... 200 OK wget http://ip6-localhost/server-info --2010-09-09 07:43:24-- http://ip6-localhost/server-info Resolving ip6-localhost... ::1 Connecting to ip6-localhost|::1|:80... connected. HTTP request sent, awaiting response... 200 OK AFTER (wireless configured) wget http://localhost/server-info --2010-09-09 07:44:14-- http://localhost/server-info Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2010-09-09 07:44:14 ERROR 403: Forbidden. wget http://ip6-localhost/server-info --2010-09-09 07:44:14-- http://ip6-localhost/server-info Resolving ip6-localhost... ::1 Connecting to ip6-localhost|::1|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2010-09-09 07:44:14 ERROR 403: Forbidden. APACHE RESTART wget http://localhost/server-info --2010-09-09 07:52:22-- http://localhost/server-info Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:80... failed: Connection refused. Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] wget http://ip6-localhost/server-info --2010-09-09 07:54:56-- http://ip6-localhost/server-info Resolving ip6-localhost... ::1 Connecting to ip6-localhost|::1|:80... failed: Connection refused. -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
Gerben, can you please also provide the output of the four commands getent hosts ::1 getent hosts 127.0.0.1 getent hosts localhost getent hosts ip6-localhost both before and after wireless network is configured? Thanks. -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
Hi, Here are the parts for error.log and access.log Used wget to avoid firefox'es 'offline browsing' To be seen: one time successful using wget (before wireless network configured) one time unsuccessful using wget (after '') one time unsuccessful using firefox (after '') access.log: localhost - - [08/Sep/2010:05:00:49 +0200] "GET /server-info HTTP/1.0" 200 75989 "-" "Wget/1.12 (linux-gnu)" localhost - - [08/Sep/2010:05:00:57 +0200] "GET /server-info HTTP/1.0" 403 529 "-" "Wget/1.12 (linux-gnu)" localhost - - [08/Sep/2010:05:01:17 +0200] "GET /server-info HTTP/1.1" 403 500 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8" localhost - - [08/Sep/2010:05:01:20 +0200] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8" error.log: [Wed Sep 08 05:00:57 2010] [error] [client ::1] client denied by server configuration: /var/www/server-info [Wed Sep 08 05:01:17 2010] [error] [client ::1] client denied by server configuration: /var/www/server-info [Wed Sep 08 05:01:20 2010] [error] [client ::1] File does not exist: /var/www/favicon.ico -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
Thank you for taking the time to report this bug and helping to make Ubuntu better. Could you provide apache2 access and error log files (found in /var/log/apache2) when the error occurs? ** Changed in: apache2 (Ubuntu) Importance: Undecided => Low ** Changed in: apache2 (Ubuntu) Status: New => Incomplete -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 631064] Re: connection "forbidden" on localhost after wireless connected
** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/631064/+attachment/1547321/+files/Dependencies.txt -- connection "forbidden" on localhost after wireless connected https://bugs.launchpad.net/bugs/631064 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs