Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this strange problem, I am unable to access from Ubuntu !

I have checked the /etc/hosts file, there seems to no entry related to imgur. I can access it from Windows(same connection).

I cannot ping it or traceroute it, I cannot even ping the IP of imgur. I have cleared iptables too, what could be the cause ?

i cannot access too !! I just noticed that sorry.

Running host (the same output with google's dns servers)

gowtham@gowtham-hacktohell:~$ host has address has address has address mail is handled by 5 mail is handled by 1 mail is handled by 10 mail is handled by 5 mail is handled by 10

Running tcptraceroute

gowtham@gowtham-hacktohell:~$ tcptraceroute
Selected device ppp0, address, port 44995 for outgoing packets
Tracing the path to ( on TCP port 80 (http), 30 hops max
 1  17.534 ms  17.764 ms  17.896 ms
 2  93.272 ms  26.393 ms  109.985 ms
 3 (  49.442 ms  47.180 ms  46.981 ms
 4  * * *
 5 (  70.085 ms  69.712 ms  70.361 ms
 6 (  186.862 ms  186.434 ms  185.515 ms
 7 (  181.965 ms  182.963 ms  184.682 ms
 8 (  186.152 ms  184.483 ms  182.950 ms
 9 (  191.271 ms  189.655 ms  188.606 ms
10 (  187.245 ms  186.013 ms  193.808 ms
11 (  288.412 ms  281.124 ms  281.011 ms
12 (  352.432 ms  357.071 ms  357.256 ms
13 (  391.405 ms  394.961 ms  391.812 ms
14 (  378.128 ms  381.786 ms  385.697 ms
15 (  370.938 ms  353.306 ms  351.793 ms
16  361.004 ms * 364.525 ms
17  368.187 ms  380.907 ms  375.333 ms
18  * * *
19  * * *
20  * * *

I dial the connection using PPoE.

Capturing the stream through Wireshark, I see this

Running curl

gowtham@gowtham-hacktohell:~$ curl -I
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 11 Jan 2013 12:24:01 GMT
Content-Type: text/html
Connection: keep-alive
Cache-Control: max-age=5, s-maxage=5, must-revalidate

And telnetting,

gowtham@gowtham-hacktohell:~$ telnet 80
Connected to
Escape character is '^]'.

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 11 Jan 2013 12:25:11 GMT
Content-Type: text/html
Connection: close
Cache-Control: max-age=5, s-maxage=5, must-revalidate
X-Cached: HIT

Connection closed by foreign host.
share|improve this question
I too cannot ping but, AFAICT, Ask Ubuntu relies on that site for graphics and those display just fine. – user25656 Jan 11 '13 at 11:21
The AU images do not load for me :'( imgur might have disabled icmp replies – HackToHell Jan 11 '13 at 11:22
Sorry! I can ping successfully. That, is where (at least some of) the graphics are. Did you start having this problem recently? Since you're getting through via Windows, ISP/DNS don't seem to be to blame ... – user25656 Jan 11 '13 at 11:25
Maybe a filter on your router? One that only targets the IP/MAC of your Ubuntu machine. – Kevin Jan 11 '13 at 11:34
Worth a try. You didn't specify anything about where your OSes were. Separate machines, VMs etc- will have different MACs. My flatmates often rig the router with joke filters. – Kevin Jan 11 '13 at 12:02
up vote 5 down vote accepted

This may be a MTU path discovery issue. This can lead to certain websites working incorrectly even though all others work fine. It will appear as a time out rather than connection refused. It will only show up with reasonably large transfers like whole webpages - telnet will probably not send any packets which need to be fragmented. It can affect outgoing ssh too.

The fix is to lower the MTU on your network device so that packets above a certain size are always fragmented. See for example:

In detail what happens is that when you send data over the internet it is split up into packets. The maximum size for these packets anywhere on the internet is 1460 bytes not including headers. If you send a message large than that it must be split up, or fragmented.

Now, if your message goes over certain types of internet links it must be encapsulated in another protocol. That means that the packet including headers will get wrapped inside another packet. That obviously increases the size of the packet, so if your packet is already maximum size it must be split up again. However, because this can be exploited to perform DDoS attacks, many routers won't automatically fragment packets that they didn't create. Therefore your maximum size packets won't cross these routers.

In order to avoid this problem MTU path discovery was invented. If a packet is too big for a router it will send back a message saying to send smaller packets. However, it turns out this could be exploited too, and so many routers won't do that either.

So the way to overcome this problem is to always send packets slightly smaller than the absolute maximum. That's what the MTU setting is for. The idea is to set it just small enough that any extra overhead doesn't put you over the limit. Of course you won't know how small that is so you have to find the optimal value (biggest value that still works) by experimentation.

share|improve this answer
MTU is at 1, still have the issue :C – HackToHell Jul 20 '13 at 12:46
Whoa, imgur loads !!!! It's quite slow though !! Thanks :0 – HackToHell Jul 20 '13 at 13:13
MTU at 1 is much much too low. Try 400, 800 etc. Increase until it stops working. – Alistair Buxton Jul 20 '13 at 23:15
I added some detail to the answer. MTU=1 means you send a whole packet for every byte of data transmitted. Each packet has a 8 byte header so you're losing nearly 90% of your bandwidth on packet headers this way. – Alistair Buxton Jul 20 '13 at 23:29
I have the MTU at 549 now, pretty much all the sites load now <3 – HackToHell Jul 21 '13 at 6:53

From what I have seen of your curl output, you can access it.

If you can't see it on your browser, try with another browser.

My curl output.

curl -I
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 12 Jan 2013 03:21:00 GMT
Content-Type: text/html
Connection: keep-alive
Cache-Control: max-age=5, s-maxage=5, must-revalidate
X-Cached: HIT
share|improve this answer
Most of what OP posted doesn't involve use of a browser, any browser. – user25656 Jan 12 '13 at 3:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.