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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to