А я походу Сирию от интернета отрубил ;-)

На mova.org довольно давно работал XMPP сервер со свободной регистрацией. Недавно полез посмотреть, как он живёт, и обнаружил десять тысяч каких-то мутных пользователей , в ростере у них отсылки на syria talk, в оффлайн-сообщениях — фразочки разные по-арабски. Я их от греха подальше прибил, а теперь вот сижу и думаю — может, надо было разобраться сперва, а вдруг это была живая сеть, а не спамеры. А может, вся Сирия теперь корчится в огне тоталитаризма, потеряв связь… Лопухнулся, короче.

How to block Tor exit nodes from accessing your website

Internet trolls are using Tor nowadays to avoid bans by IP. However, banning Tor exit nodes is just slightly more complex. The Tor Project provides a regularly updated list of exit nodes that can access your IP here. As there may be many hundreds or even thousands of nodes, adding them to iptables can hurt your server's network performance. Enter ipset, a user-space hash table for iptables:

# create a new set for individual IP addresses
ipset -N tor iphash
# get a list of Tor exit nodes that can access $YOUR_IP, skip the comments and read line by line
wget -q https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=$YOUR_IP -O -|sed '/^#/d' |while read IP
  # add each IP address to the new set, silencing the warnings for IPs that have already been added
  ipset -q -A tor $IP
# filter our new set in iptables
iptables -A INPUT -m set --match-set tor src -j DROP

Подписался на Spotify Premium по наводке, заплатил 10 евро…

И выдержал ровно сутки. Половины музыки, которую я слушаю, у них нет. При регистрации через фейсбук linux-клиент Spotify уведомляет (sic!) что будет анонсировать музыку, которую я слушаю, в фейсбучный timeline. Без спросу индексирует всё музыку на компьютере. К чёрту.

The continuation of the HTC saga

I bought an HTC Desire S smartphone in June. Since then, I sent it three times for repair to Dynafix, which is apparently the HTC Repair Center for Belgium. For the 3rd time, Dynafix replaced the mainboard for my phone, which fixed the original problem. However, I quickly noticed a new and easy to reproduce problem that I communicated to the HTC call center. I was told over the phone that I will get a replacement unit. However, after returning the original unit to th repair center, the only thing I got was a discrepancy report saying that I returned a phone with a different IMEI number than the original. Of course it was different, Dynafix replaced the mainboard, so it had to be different! I am waiting for weeks now to get the promised replacement.

Sorry state of HTC hardware and warranty support

I bought a Desire S smartphone a little more than 2 months ago, but did not have a chance to really use it, yet. It came with an elusive and odd bug. The touch screen stopped responding once in a while. This could occur any time, but seemed to happen less frequently after 5-10 minutes of active use.

The first time I sent the phone to repair, it came back with flashed ROM, but the problem stayed.

The second time I sent the phone for repair, it came back with a new touch screen, but the problem stayed.

The third time, the repair shop replaced the motherboard. The initial problem disappeared, but the phone gained a new one. Part of the screen was not reacting to touch. Or rather, every time you touched a certain area on screen to select an item, items around it were selected or nothing happened.

I filed a 4th support request today.

Overall, I took no less than an hour talking to the call center, wrote several emails and paper notes to HTC and to the repair shop, recorded a video to demonstrate the bug and uploaded it to HTC, filed two complaints online and took a good hour each time it returned from the repair shop to setting it up and find ways to reproduce the problem.