Monday, January 6, 2014

Fun with logs - Geeks


As promised, here is a small tribute to the geeks visiting the teapot!

The best query are received by me are those two. With HTCPCP protocol, url "coffee", BREW and PROPFIND methods and even a pot-designator!

In fact, I received  few comments, but the traces in the logs  attest to the visits of some purists  for the integration of HTCPCP.

So I must begin by apologizing. My implementation of HTCPCP protocol is probably not up to your expectations..

X.X.X.X - - [14/Mar/2013:15:40:12 +0000] "HTCPCP/1.0 coffee://error418.net/pot-1/ PROPFIND" 501 357 "-" "-"
X.X.X.X  - - [14/Mar/2013:15:42:00 +0000] "BREW coffee://error418.net/pot-1/ HTCPCP/1.0" 501 357 "-" "-"


There is occasionally some attempts to address the BREW method:
X.X.X.X - - [13/Mar/2013:20:19:34 +0000] "BREW / HTTP/1.1" 501 357 "-" "-"

X.X.X.X - - [06/Mar/2013:22:09:27 +0000] "BREW" 400 349 "-" "-"

X.X.X.X - - [17/Oct/2013:11:01:18 +0200] "BREW / HTTP/1.1" 501 357 "-" "-"

X.X.X.X - - [29/Jan/2013:18:28:54 +0000] "BREW / HTTP/1.0" 501 357 "-" "-"


Some uses of HTCPCP instead of HTTP
X.X.X.X - - [20/Nov/2013:17:44:33 +0100] "GET HTCPCP/1.1" 400 349 "-" "-"

X.X.X.X - - [24/Oct/2013:18:47:43 +0200] "BREW / HTCPCP/1.0" 501 357 "-" "-"

X.X.X.X - - [24/Nov/2013:21:38:15 +0100] "BREW coffee HTCPCP/1.0" 501 357 "-" "-"

X.X.X.X  - - [14/Mar/2013:15:40:54 +0000] "HTCPCP/1.0 pot-1 BREW" 501 357 "-" "-"

X.X.X.X  - - [14/Mar/2013:15:41:33 +0000] "BREW pot-1 HTCPCP/1.0" 501 357 "-" "-"


The POST method is also provided
X.X.X.X www.htcpcp.net - [02/Feb/2013:01:58:48 +0000] "POST / HTTP/1.1" 200 1371 "-" "curl/7.28.1"


Some PROPFIND requests
X.X.X.X error418.net - [17/Oct/2013:11:01:26 +0200] "PROPFIND / HTTP/1.1" 418 1370 "-" "curl/7.29.0"

X.X.X.X www.htcpcp.net - [13/Dec/2013:00:52:08 +0100] "GET /propfind HTTP/1.1" 404 345 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"

attempts cream parameter
X.X.X.X error418.net - [19/Mar/2013:18:29:03 +0000] "GET /BREW%20pot-1?cream;2 HTTP/1.1" 404 345 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22"


I would really like to tweak a nicer implementation HTCPCPI have some ideas, but unfortunately not enough time to implement them a the moment. Modifying an open source HTTP server is the track that seems to me the easiest way to be able to support non-HTTP requests, and return a 418 error as expected for BREW HTCPCP an PRODFIN METHOD.

Sunday, December 22, 2013

Changing Litecoin into money

Litecoin LogoYou may have noticed that cryptocurrencies went crazy in last weeks , with a Bitcoin to over $ 1000 .

I think it's too late to start Bitcoin mining , and even Litecoin. However I mined a few Litecoin there some time, and I wondered how exchange them now .

I looked for sites to do it, and I decided to share the adresses I tested and have worked for me.


DISCLAIMER: WITH BITCOINS EVERYTHING IS TOO FAST. A RELIABLE SITE ONE DAY MAY BANKRUPTCY NEXT DAY .

First step , mine the Litecoin :
I think it is not worth mining now given the current difficulty, but for your information , I have mined my Litecoin with the following two pool which are still active :
https://litecoinrain.org/en/: a small PPLNS pool
https://www.coinotron.com/ : a big PPS pool

Changing Litecoin into Bitcoin.
There are many exchange market. I tested and received my Bitcoin with following sites:
https://btc-e.com/:
https://vircurex.com/:

For my transfer, I didn't wanted to use the site systems to make transfers to a bank, because I do not want to give my bank details. So I transferred my bitcoins on my computer, and I tried find a Bitcoin site paying through PayPal.

Transforming Bitcoins currency :
The site I found can buy very small amounts of Bitcoins and paid them on Paypal account.
It is https://coin2pal.info/, where I sold 0.06 BTC for 41$ in November.

I do not know how much was lost in fees made ​​by each of these intermediates, but at least I got something.

Raspberry Pi power consumption - eleventh month

Power consumption is 1,6 kWh for november, without any surprise.
Total power comsuption since the begining of the year is 18,7 kWh.

I had some problems with the automatic change of IP address with my provider,Orange. But I now have a stable script that works to manage IP changes with OVH dynhost Service.

I still have some short downtime, but nothing serious, since my uptime is 99.88%.

The return to a more reliable service has enabled 1,537 users to visit the teapot in November.

crédit photo: Par Benjamin Stäudinger (Lightning #3  Uploaded by ComputerHotline) [CC-BY-2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons

Friday, November 22, 2013

Raspberry Pi power consumption - tenth month

Power consuption for october is still 1,6 kWh.
Total consumption since the beginning of the year is 17.1 kWh.

UptimeRobot working properly, but my I lost my stats.

I still have problems with my IP address, but I'm trying to find a solution using the OVH dynhost service and a script on the Raspberry Pi


With all these downtimes only 677 unique visitors went on the teapot in October.

crédit photo: By US National Oceanic and Atmospheric Administration (upload fr:Utilisateur:Cham) [Public domain], via Wikimedia Commons

Wednesday, October 9, 2013

Raspberry pi power consumption - 9 month

Sorry for the lack of interesting updates for last weeks.

My ISP migration wasn't very good. I had downtime problems and my IP adress isn't stable.

Power consumption is stable again  with 1,6 kWh for september. The total consumption since the beginning of the year was 15,5 kWh.

UptimeRobot didn't send me any error messages, i'll check for any configuration changes to do.

823 unique visitors. The impact of my downtime will be visible again in october.

crédit photo: Axel Rouvin, via Wikimedia Commons

Sunday, September 15, 2013

Changing of ISP

I planned to change my ISP again next week to switch from SFR to ORANGE. My connection will remain optical fiber. Network downtime may occurs during the change.

Wednesday, September 11, 2013

Raspberry Pi power consumption - eigth month

Power consumption stable for August with 1,6 kWh. The total consumption since the beginning of the year was 13,9 kWh.

Uptime is  now 99,88%.

1376 unique visitors. No more big buzz like last month.


crédit photo: By longhorndave (http://www.flickr.com/photos/davidw/171030064/) [CC-BY-2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons