From Jenkins to Teamcity

Earlier I told that my Jenkins was hacked. Not sure how, but it's current Docker image is definitely vulnerable.

So I moved to TeamCity, it looked great to me since 2014 when I was working at Yandex as Linux SA.

Running server (UI and project manage data) container:

# Path to …
more ...

InfluxDB can't rename database

I got InfluxDB with a year of statistical data about how my server's lifetime goes.

For historical reasons I was using UDP protocol to store data, so there was no authorization above it. After all, it was local data transport inside my PAN. So, DB was named "udp".

Now I …

more ...

RAID levels

There was a time I was working about a month or two in a small IT company VIST SPb. During those time I wrote an article about RAID array levels. Now let me repeat it here in english just to refresh this knowledge.

So, RAID is acronym for "redundant array …

more ...

Ubuntu LTS: Use latest kernel

I was using Ubuntu 16.04 LTS with it's default 4.4 kernel and would like to test BBR congestion algorithm which available since 4.10 only.

Solution is very simple due to LTSEnablementStack/HWE feature. Can't say why, but this feature wasn't enabled at target host, probably it was …

more ...

My Jenkins was hacked

The story is about infecting poor Atom-based gateway host with mining software through Jenkins web UI.

Couple of days ago I noticed strange noise from my home gateway fans. The reason was all the 8 cores were 100% loaded with processes named irq and irqbalanc1.

First, I just checked the …

more ...



MissionBread

Couple of days ago I finished a simple game. It was inspired by MissionRed reaction-training game, implemented in Flash.

[ GitHub ] [ latest executable ]

preview

MissionRed was the first reaction game I used to keep my e-sports form up.

Currently I was able to found it available here, but this is not the …

more ...

Raspberry PI button

I managed to attach a button to simple Raspberry PI case and here's the script to read it's state and execute some other script when its pressed.

There also could be python alternatives, but I tried couple of ways and found bash one most simple and useful. However, you gonna …

more ...

Deploy of deb repository with reprepro

This article represents instruction on setup debian repository with reprepro. Very basic, but still useful.

Host setup:

# as 'root' user

apt-get update
apt-get install dpkg-sig reprepro nginx

vim /etc/nginx/sites-available/repo.conf # see contents below

ln -s /etc/nginx/sites-available/repo.conf /etc/nginx/sites-enabled/repo.conf
nginx -t …
more ...

Dig: reply from unexpected source

Вчера пытался dig-ать некоторые имена с локального DNS и получал странный ответ:

$ dig domain.local.tld @10.0.20.1
;; reply from unexpected source: 10.0.0.1#53, expected 10.0.20.1#53

Чтобы пояснить решение, надо сначала пояснить условия, в которых эта ошибка была выбита:

(inet) --- router …
more ...

Broken cyrillic names under Linux

Кажется, что-то из этого я применял в бытность работы саппортом в хвостинге.

Если имя файла выглядит, как последовательность знаков вопроса - может помочь утилита convmv:

convmv -f cp1251 -t koi8 -r ./
convmv -f cp1251 -t koi8 -r ./ --notest

Первый прогон тестовый, покажет, что будет изменено, далее применяем правки с флагом --notest …

more ...


How to restore permissions on Debian system

This gonna be a simple recipe on file permissions restore in Debian system. I was using same recipe while working at FastVPS as Tech Support. It's very useful after occasional chown -Rf user: / or chmod -Rf 777 /. Both occurs frequently than you could think.

First way: Donor system

Save packages …

more ...

Как предатель Ники Хант убил матч с Донкастером

И вот мне 24, я дорос до понимания всей феерии игры в симуляторы футбольного менеджера.

Матч Донкастер - Аккрингтон, второй официальный матч для меня, кубковая игра, первый был в лиге и завершился "сухой" ничьей. Противник является фаворитом, а в череде товарищеских матчей два основных хавбека получают легкие травмы и пропускают этот …

more ...