more smaller icons in the windows 8 alt+tab / cool switch

recently i’ve moved from win7 to win8. i tend to have dozens of applications open and the default number of programs displayed after pressing alt+tab in win8 is too low. this registry change brings the win7-alike layout and adds more columns and rows: you might want to log off and log on for all the ... Read More

openvpn point-to-point server listening both on v4 and v6

at work i have openvpn between OVH dedicated server and our datacenter. due to varying bandwidth we sometimes use udp over ipv6 and sometimes over ipv4 as an encapsulation method. whenever we did the switch we always had to reconfigure both ends of the tunnel. it turns out that with recent openvpns and kernels it’s ... Read More

squid3 no longer working after upgrade to jessie

on one of the servers i’ve just upgraded to jessie i got my squid3 bricked. i could see the process in ps, yet it did not listen on tcp/3128: restarting it did not give anything interesting in /var/log/squid3/cache.log: after a while of clueless googling i thought – maybe there’s some problem with communication over loopback. ... Read More

audit/access logs in samba

i’ve ‘convinced’ my samba running under debian wheezy/jessie to provide me access audit logs without being too verbose. here’s how.

upgrade from wordpress 4.1.x to 4.2.x broke my menu editor

i’ve done a routine upgrade of wordpress 4.1.x to 4.2 and later 4.2.1. all seemed fine until the day i wanted to manually adjust the menu structure using wp-admin > appearance > menus. each attempt of saving my menu resulted in it being wiped out completely

Taling Chan floating market, Bangkok hike

i stayed in Bangkok for 3 nights. i took one-day trip to Ayutthaya and have spent rest of the time hiking around. the longest hike i took was to Taling Chan floating market. as in many other cases it was more about the way there and back than the destination itself.

Ayutthaya

as in 2012 i’ve done a one-day trip to Ayutthaya. it was very much worth repeating and getting away from noisy Bangkok.

Chumphon, Hua Hin

on my way from Koh Tao to Bangkok i’ve stayed for one night at Chumphon and then Hua Hin. the first one was totally not-touristy, second – quite opposite; i’m glad that i decided not to rush towards Thailand’s capital and visited both.

hiking on Koh Tao

i took a ferry from Koh Samui to Koh Tao and stayed there for 2 nights. the island was quite touristy but still worth visiting. i looked at the map and thought to myself.. if there’s a route coming from the west and another one from the east – there surely must be some path ... Read More

hiking on Koh Samui

during my recent trip to Thailand i’ve spent 4 days at the Koh Samui island. i’ve stayed in the southern part – near Baan Hua Thanon – fisherman village with quite obvious Muslim influence. the choice was great – area was not very touristy and a great starting point for hikes.

Golden Hill Country Park

while visiting Hong Kong this winter my colleague and ex-flatmate from Goteborg times took me to the Kowloon Byewash Reservoir / Golden Hill Country Park.

BLKDE3815TYKH0E headaches

we’re setting up a small computer that will act as vpn end-point. we decided to try something smaller this time – BLKDE3815TYKH0E. as it turned out it’s not as well polished as one would expect from intel. my colleagues had to pull out debian wheezy usb pend-rive with the installer to be able to finish ... Read More

sip-audio-session, new libxml2

i’m using nagios to wake me up. not every day – only when there’s some outage. i have pair of nagios servers – one in Sweden, one in Poland – they cross-check one another and – for the most critical problems – send sms and make a phone call. for sms’es i’m using budgetsms.net, for ... Read More

xwiki, html macro tag and unwanted javascript

xwiki – by default – allows contributors to embed arbitrary html, including javascript. it does not take much effort to include something like: then you just need to lure your victim into visiting given wiki page while being logged – you’ll get a http request containing that person’s cookie that can be re-used to impersonate ... Read More

bridge on vlans on active-backup bonding under debian

the idea: i’d like to run kvm/lxc on debian, have guests bridged to couple of vlans and handle the network failover on the host level. network failure should be detected using arp probes not just the link [ mii ] status. after few attempts i got it working in the test environment.

useful tools for [web] malware removal

http://sitecheck.sucuri.net/ for checking if a live website is referring to some malicious js / having unwanted iframes https://www.rfxn.com/projects/linux-malware-detect/ and http://www.clamav.net/index.html and http://www.eset.com/ for scanning files for unwanted conten from the command line: