Monday, March 25, 2013

Fiber optics connection operationnal!

My fiber optics connection is now fully operationnal since a few days. The teapot is connected and routing rules are configured. DNS redirections are activated, and with my reduced TTL, they should be diffused in all DNS servers now.

My first speed tests are good: 95 mbits/second for downloading and 10 mbits/second for uploading. The ISP contract announce an maximum speed of 100 mbits/second  for downloading and 10 mbits/second for uploading.

To compare, my last test with ADSL connexion was 10 mbits/second  for downloading and 0,8 mbits/second for uploading.

Now I need to find a way to check the uptime of this new connection.

Saturday, March 16, 2013

Changing ISP - Risk of system downtime

I planned to change my ISP next week to switch from ADSL to optical fiber. Network interruption may occurs during the change, but I'll do my best to keep my teapot up. I didn't forget the lessons of my first posts: I already planned to change the TTL of my DNS configuration.

Sunday, March 10, 2013

Fun with logs - User Agents

I started reading my logs by studying User Agents used by teapot visitors.

The User Agent is the software used for a visite on a website. Each User Agent let a specific string in the log.

I was very surprised by the diversity of browser used to visit my website. It gives a small idea of the difficulties to make a website compatible for all visitors. Here is an overview of what is see:

Internet Explorer 9 logo.png
Microsoft products
Some very old Windows are still in use. I found allmost all Internet Explorer versions since the 6 in my log. 

Windows 98 with Internet Explorer 6
"Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt\\)"

Windows 2000 wirh Internet Explorer 6 
 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"

Windows XP with Internet Explorer 7 
"(compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

Windows Server 2003 with Internet Explorer 7 
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)"

Windows Vista with Internet Explorer 8 
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30729; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET4.0C; Zune 4.7)"

Windows 7 with Internet Explorer 9 
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

Windows 8 with Internet Explorer 10 
"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)"

Opera logo
The not enough famous Opera
"Opera/9.80 (Windows NT 6.1; U; Edition NCSD0; pl) Presto/2.10.229 Version/11.61"
"Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.10"
"Opera/9.80 (Windows NT 6.2; WOW64; MRA 8.0 (build 5784)) Presto/2.12.388 Version/12.11"
"Opera/9.80 (Windows NT 6.1; Win64; x64) Presto/2.12.388 Version/12.12"
"Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.13"

and Opera mobile
"Opera/9.80 (Android 4.0.3; Linux; Opera Mobi/ADR-1301080958) Presto/2.11.355 Version/12.10"
"Opera/9.80 (J2ME/MIDP; Opera Mini/7.1.32052/28.3492; U; en) Presto/2.8.119 Version/11.10"
"Opera/9.80 (iPhone; Opera Mini/7.0.3/28.3590; U; en) Presto/2.8.119 Version/11.10"

Mozilla Firefox 3.5 logo 256.pngMozilla
from the most antic versions to the beta of the future version of Firefox

"Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/20060124 Firefox/
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20061204 Firefox/
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; et; rv: Gecko/20100401 Firefox/3.6.3"
"Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1"
"Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2"
"Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0"
"Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20100101 Firefox/8.0"
"Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
"Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0"
"Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
"Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1 conkeror/1.0pre (Debian-"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0"
"Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"

Actual stable version
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"

Experimental versions
"Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20130126 Firefox/20.0"
"Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20130203 Firefox/21.0"

The Iceweasel fork
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20120714 Iceweasel/3.5.16 (like Firefox/3.5.16)"

Google Chrome icon (2011).svg Google
Chrome on personal computers

"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1179.0 Safari/537.1"
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Ubuntu Chromium/23.0.1271.97 Chrome/23.0.1271.97 Safari/537.11"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.45 Safari/537.17"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.58 Safari/537.22"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.30 (KHTML, like Gecko) Chrome/26.0.1404.0 Safari/537.30"

the Chromium fork
"Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/10.10 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19"

Android robot.svg
Android Smartphones with differents browsers
"Mozilla/5.0 (Linux; U; Android 2.3.4; fr-fr; SonyEricssonSK17i Build/4.0.2.A.0.62) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
"Mozilla/5.0 (Linux; Android 4.0.3; Transformer TF101 Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166  Safari/535.19"
"Opera/9.80 (Android 4.0.3; Linux; Opera Mobi/ADR-1301080958) Presto/2.11.355 Version/12.10"
"Mozilla/5.0 (Linux; U; Android 4.0.3; fr-fr; A500 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"
"Mozilla/5.0 (Linux; Android 4.2.1; HTC One X Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19"
"Mozilla/5.0 (Linux; Android 4.2.1; Nexus 7 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166  Safari/535.19"
"Mozilla/5.0 (Linux; Android 4.2.1; Galaxy Nexus Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19"

Tux.svgLinux users
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0"
"Mozilla/5.0 (X11; U; Linux i686; en-GB; rv: Gecko/20100723 Fedora/3.6.7-1.fc13 Firefox/3.6.7"
"Mozilla/5.0 (X11; U; Linux i686; es-ES; rv: Gecko/20100723 Ubuntu/9.10 (karmic) Firefox/3.6.8"
"Mozilla/5.0 (X11; U; Linux i686; pl; rv: Gecko/20060914 Firefox/ (Swiftfox)"

Apple logo black.svgApple systems
Mac computers
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/20100101 Firefox/19.0

"Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) "Mozilla/5.0 (iPhone3,1; iPhone; U; CPU OS 6_0_1 like Mac OS X; en_US) (KHTML, like Gecko) Mobile/N90AP (gzip)"

Nearly mobile
"Mozilla/5.0 (iPad; CPU OS 6_0_2 like Mac OS X; en-us) AppleWebKit/536.26 (KHTML, like Gecko) CriOS/23.0.1271.100 Mobile/10A550 Safari/8536.25"U

Next time I'll share with you some more interesting traces from my logs: Hackers scripts traces!

Saturday, March 2, 2013

Raspberry Pi power consumption - Two month after

February as ended, it's time to check the power consumption of the Raspberry Pi:

March 2, the total power consumption since the beginning of the year is 3,5 kWh. The confirms January measure.

crédit photo: By Stephane8888 (Own work) [CC-BY-SA-3.0 (], via Wikimedia Commons