[.CONF] Fail2ban and Shorewall configs that work well with sshd and keep You updated via e-mail.

Fri, 13th Feb 2015 EDIT: Now fail2ban also works with dovecot and postfix… 😉

I assume You’re using Shorewall + Fail2ban to tighten your sshd security and protect yourself from a brute-force attack. About basic Shorewall configuration and installation I wrote here. Installation of fail2ban is ridiculously simple. Install. Enable. Configure. Start.

Configuration however of the two of them together can be tricky. I’ve done it. Created backups of the .conf files and after today’s fail2ban upgrade that wiped my .conf file I’ve decided to make them public.

Here is my shorewall.conf adjusted so that it works with Fail2ban:

Here is my jail.conf edited to work with Shorewall.

Some fiddling with the jail.conf will be necessary (recipients e-mail address, ban time, sshd port etc.). Shorewall’s config is just about ready to use as it is. If You want to make it work with services other then sshd, postfix, postfix sasl and dovecot – you’re on your own. More fiddling with jail.conf (and possibly other .conf files) will be required.

I will try keeping them updated.

Current files work:

Sat Aug 1 07:52:40 IST 2015

Examples of info that fail2ban e-mails to the user:

[Fail2Ban] SSH: started on icsserver.loc

Hi,

The jail SSH has been started successfully.

Regards,

Fail2Ban

[Fail2Ban] SSH: stopped on icsserver.loc

Hi,

The jail SSH has been stopped.

Regards,

Fail2Ban

[Fail2Ban] SSH: banned ZZZ.XXX.YYY.ABC from icsserver.loc

Hi,

The IP ZZZ.XXX.YYY.ABC has just been banned by Fail2Ban after
3 attempts against SSH.

Here is more information about ZZZ.XXX.YYY.ABC:

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
# If you see inaccuracies in the results, please report at
# http://www.arin.net/public/whoisinaccuracy/index.xhtml
#

#
# The following results may also be obtained via:

[Snip]Whois info[/Snip]

Regards,

Fail2Ban

Cheers.

Andrzej

[.CONF] Syslog-ng – configured to work as a remote logging server.

Hi there.

I’ve decided to create centralized logs server for my network to gather logs from the devices like routers and so on.

The long story short. To do this You need to install and enable syslog-ng package, configure it, open firewall port, create the folder for the logs, give it the right permissions and start the syslog-ng.

su

pacman -S syslog-ng

systemctl enable syslog-ng

Created symlink from /etc/systemd/system/syslog.service to /usr/lib/systemd/system/syslog-ng.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/syslog-ng.service to /usr/lib/systemd/system/syslog-ng.service.

To configure the syslog-ng as a remote server add this bit as a last lines in the /etc/syslog-ng/syslog-ng.conf file:

source s_net { udp(); };
destination remote { file("/var/log/remote/${FULLHOST}-log"); };
log { source(s_net); destination(remote); };

Here is my entire .conf file for You to have a look at.

Then (as root) run:

mkdir -p /var/log/remote/

chown -Rf root:log /var/log/remote/

Now open firewall port if needed.

systemctl start syslog-ng

IF You did everything correctly You should now have open port 514/UDP on the interface that is facing outwards.

su -c "nmap -sU -p 514 192.168.1.50"

Starting Nmap 6.47SVN ( http://nmap.org ) at 2014-10-30 11:06 GMT
Nmap scan report for 192.168.1.50
Host is up (0.00033s latency).
PORT STATE SERVICE
514/udp open|filtered syslog

Nmap done: 1 IP address (1 host up) scanned in 14.45 seconds

Now configure Your router to use external logs (if it supports it).

Remote_Syslog_Server_Router_Config_001

Voila…

tail -f /var/log/remote/192.168.1.254-log

Oct 30 11:11:43 192.168.1.254 syslog: category:”Sec_Account” detail:”User admin login from 192.168.1.50 successful”
Oct 30 11:11:44 192.168.1.254 syslog: category:”Sec_Account” detail:”User admin login from 192.168.1.50 successful”

Cheers.

Andrzej

[SOLVED] Steam crash (core dump) and vgui errors on 64 bit Arch Linux.

Hi there.

When I tried to run Valve / Steam on my 64 bit machine I got:

Running Steam on arch 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(0_client)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
*** Error in `/home/andrzejl/.local/share/Steam/ubuntu12_32/steam’: free(): invalid pointer: 0xf7526f94 ***
======= Backtrace: =========
/usr/lib32/libc.so.6(+0x6bcd9)[0xf710fcd9]
/usr/lib32/libc.so.6(+0x71927)[0xf7115927]
/usr/lib32/libc.so.6(+0x7210d)[0xf711610d]
/usr/lib32/libX11.so.6(XFree+0x1b)[0xf740586b]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x43c69)[0xf756bc69]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x44444)[0xf756c444]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x14d56)[0xf753cd56]
/usr/lib32/libc.so.6(__libc_start_main+0xde)[0xf70bbe5e]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x18395)[0xf7540395]
======= Memory map: ========
f1eca000-f1ece000 r-xp 00000000 08:03 673617 /usr/lib32/libtxc_dxtn.so
f1ece000-f1ecf000 r–p 00003000 08:03 673617 /usr/lib32/libtxc_dxtn.so
f1ecf000-f1ed0000 rw-p 00004000 08:03 673617 /usr/lib32/libtxc_dxtn.so
f1ed0000-f1ed1000 —p 00000000 00:00 0
f1ed1000-f26d1000 rwxp 00000000 00:00 0
f26d1000-f26d2000 —p 00000000 00:00 0
f26d2000-f2ed2000 rwxp 00000000 00:00 0
f2ed2000-f2ed3000 —p 00000000 00:00 0
f2ed3000-f36d3000 rwxp 00000000 00:00 0
f36d3000-f36d4000 —p 00000000 00:00 0
f36d4000-f3ed4000 rwxp 00000000 00:00 0
f3ed4000-f3eda000 r-xp 00000000 08:03 672621 /usr/lib32/libffi.so.6.0.2
f3eda000-f3edb000 r–p 00005000 08:03 672621 /usr/lib32/libffi.so.6.0.2
f3edb000-f3edc000 rw-p 00006000 08:03 672621 /usr/lib32/libffi.so.6.0.2
f3edc000-f3ef1000 r-xp 00000000 08:03 672614 /usr/lib32/libz.so.1.2.8
f3ef1000-f3ef2000 r–p 00014000 08:03 672614 /usr/lib32/libz.so.1.2.8
f3ef2000-f3ef3000 rw-p 00015000 08:03 672614 /usr/lib32/libz.so.1.2.8
f3ef3000-f5db2000 r-xp 00000000 08:03 673046 /usr/lib32/libLLVM-3.5.so
f5db2000-f5ef2000 r–p 01ebe000 08:03 673046 /usr/lib32/libLLVM-3.5.so
f5ef2000-f5eff000 rw-p 01ffe000 08:03 673046 /usr/lib32/libLLVM-3.5.so
f5eff000-f5f0c000 rw-p 00000000 00:00 0
f6929000-f692a000 rw-p 00000000 00:00 0
f692a000-f6937000 r-xp 00000000 08:03 673008 /usr/lib32/libdrm.so.2.4.0
f6937000-f6938000 r–p 0000c000 08:03 673008 /usr/lib32/libdrm.so.2.4.0
f6938000-f6939000 rw-p 0000d000 08:03 673008 /usr/lib32/libdrm.so.2.4.0
f6939000-f693d000 r-xp 00000000 08:03 673026 /usr/lib32/libXxf86vm.so.1.0.0
f693d000-f693e000 r–p 00004000 08:03 673026 /usr/lib32/libXxf86vm.so.1.0.0
f693e000-f693f000 rw-p 00005000 08:03 673026 /usr/lib32/libXxf86vm.so.1.0.0
f693f000-f6940000 r-xp 00000000 08:03 673034 /usr/lib32/libxshmfence.so.1.0.0
f6940000-f6941000 r–p 00000000 08:03 673034 /usr/lib32/libxshmfence.so.1.0.0
f6941000-f6942000 rw-p 00001000 08:03 673034 /usr/lib32/libxshmfence.so.1.0.0
f6942000-f6948000 r-xp 00000000 08:03 672773 /usr/lib32/libxcb-sync.so.1.0.0
f6948000-f6949000 r–p 00005000 08:03 672773 /usr/lib32/libxcb-sync.so.1.0.0
f6949000-f694a000 rw-p 00006000 08:03 672773 /usr/lib32/libxcb-sync.so.1.0.0
f694a000-f694d000 r-xp 00000000 08:03 672771 /usr/lib32/libxcb-shape.so.0.0.0
f694d000-f694e000 r–p 00002000 08:03 672771 /usr/lib32/libxcb-shape.so.0.0.0
f694e000-f694f000 rw-p 00003000 08:03 672771 /usr/lib32/libxcb-shape.so.0.0.0
f694f000-f6958000 r-xp 00000000 08:03 672768 /usr/lib32/libxcb-render.so.0.0.0
f6958000-f6959000 r–p 00008000 08:03 672768 /usr/lib32/libxcb-render.so.0.0.0
f6959000-f695a000 rw-p 00009000 08:03 672768 /usr/lib32/libxcb-render.so.0.0.0
f695a000-f6961000 r-xp 00000000 08:03 672776 /usr/lib32/libxcb-xfixes.so.0.0.0
f6961000-f6962000 r–p 00006000 08:03 672776 /usr/lib32/libxcb-xfixes.so.0.0.0
f6962000-f6963000 rw-p 00007000 08:03 672776 /usr/lib32/libxcb-xfixes.so.0.0.0
f6963000-f6971000 r-xp 00000000 08:03 672766 /usr/lib32/libxcb-randr.so.0.1.0
f6971000-f6972000 r–p 0000d000 08:03 672766 /usr/lib32/libxcb-randr.so.0.1.0
f6972000-f6973000 rw-p 0000e000 08:03 672766 /usr/lib32/libxcb-randr.so.0.1.0
f6973000-f6975000 r-xp 00000000 08:03 672764 /usr/lib32/libxcb-present.so.0.0.0
f6975000-f6976000 r–p 00001000 08:03 672764 /usr/lib32/libxcb-present.so.0.0.0
f6976000-f6977000 rw-p 00002000 08:03 672764 /usr/lib32/libxcb-present.so.0.0.0
f6977000-f6979000 r-xp 00000000 08:03 672763 /usr/lib32/libxcb-dri3.so.0.0.0
f6979000-f697a000 r–p 00001000 08:03 672763 /usr/lib32/libxcb-dri3.so.0.0.0
f697a000-f697b000 rw-p 00002000 08:03 672763 /usr/lib32/libxcb-dri3.so.0.0.0
f697b000-f697f000 r-xp 00000000 08:03 672762 /usr/lib32/libxcb-dri2.so.0.0.0
f697f000-f6980000 r–p 00003000 08:03 672762 /usr/lib32/libxcb-dri2.so.0.0.0
f6980000-f6981000 rw-p 00004000 08:03 672762 /usr/lib32/libxcb-dri2.so.0.0.0
f6981000-f699a000 r-xp 00000000 08:03 672765 /usr/lib32/libxcb-glx.so.0.0.0
f699a000-f699b000 r–p 00018000 08:03 672765 /usr/lib32/libxcb-glx.so.0.0.0
f699b000-f699c000 rw-p 00019000 08:03 672765 /usr/lib32/libxcb-glx.so.0.0.0
f699c000-f699d000 r-xp 00000000 08:03 672815 /usr/lib32/libX11-xcb.so.1.0.0
f699d000-f699e000 r–p 00000000 08:03 672815 /usr/lib32/libX11-xcb.so.1.0.0
f699e000-f699f000 rw-p 00001000 08:03 672815 /usr/lib32/libX11-xcb.so.1.0.0
f699f000-f69a3000 r-xp 00000000 08:03 672824 /usr/lib32/libXfixes.so.3.1.0
f69a3000-f69a4000 r–p 00003000 08:03 672824 /usr/lib32/libXfixes.so.3.1.0
f69a4000-f69a5000 rw-p 00004000 08:03 672824 /usr/lib32/libXfixes.so.3.1.0
f69a5000-f69a7000 r-xp 00000000 08:03 673030 /usr/lib32/libXdamage.so.1.1.0
f69a7000-f69a8000 r–p 00001000 08:03 673030 /usr/lib32/libXdamage.so.1.1.0
f69a8000-f69a9000 rw-p 00002000 08:03 673030 /usr/lib32/libXdamage.so.1.1.0
f69a9000-f69bc000 r-xp 00000000 08:03 668373 /usr/lib32/libXext.so.6.4.0
f69bc000-f69bd000 r–p 00012000 08:03 668373 /usr/lib32/libXext.so.6.4.0
f69bd000-f69be000 rw-p 00013000 08:03 668373 /usr/lib32/libXext.so.6.4.0
f69be000-f69cf000 r-xp 00000000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f69cf000-f69d0000 —p 00011000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f69d0000-f69d2000 r–p 00011000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f69d2000-f69d7000 rwxp 00013000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f69d7000-f69d8000 rwxp 00000000 00:00 0
f69d8000-f69fe000 r-xp 00000000 08:03 672540 /usr/lib32/libexpat.so.1.6.0
f69fe000-f6a00000 r–p 00026000 08:03 672540 /usr/lib32/libexpat.so.1.6.0
f6a00000-f6a01000 rw-p 00028000 08:03 672540 /usr/lib32/libexpat.so.1.6.0
f6a01000-f6aa4000 r-xp 00000000 08:03 924373 /usr/lib32/mesa/libGL.so.1.2.0
f6aa4000-f6aa6000 r–p 000a2000 08:03 924373 /usr/lib32/mesa/libGL.so.1.2.0
f6aa6000-f6aab000 rwxp 000a4000 08:03 924373 /usr/lib32/mesa/libGL.so.1.2.0
f6aab000-f6ab7000 r-xp 00000000 08:03 665663 /usr/lib32/libnss_files-2.20.so
f6ab7000-f6ab8000 r–p 0000b000 08:03 665663 /usr/lib32/libnss_files-2.20.so
f6ab8000-f6ab9000 rw-p 0000c000 08:03 665663 /usr/lib32/libnss_files-2.20.so
f6ab9000-f6af0000 r-xp 00000000 08:06 392569 /home/andrzejl/.local/share/Steam/ubuntu12_32/crashhandler.so
f6af0000-f6af1000 r–p 00037000 08:06 392569 /home/andrzejl/.local/share/Steam/ubuntu12_32/crashhandler.so
f6af1000-f6af2000 rw-p 00038000 08:06 392569 /home/andrzejl/.local/share/Steam/ubuntu12_32/crashhandler.so
f6af2000-f6ecb000 rw-p 00000000 00:00 0
f6ecb000-f7054000 r–p 00000000 08:03 557696 /usr/lib/locale/locale-archive
f7054000-f7057000 rw-p 00000000 00:00 0
f7057000-f705c000 r-xp 00000000 08:03 672699 /usr/lib32/libXdmcp.so.6.0.0
f705c000-f705d000 r–p 00004000 08:03 672699 /usr/lib32/libXdmcp.so.6.0.0
f705d000-f705e000 rw-p 00005000 08:03 672699 /usr/lib32/libXdmcp.so.6.0.0
f705e000-f7060000 r-xp 00000000 08:03 672703 /usr/lib32/libXau.so.6.0.0
f7060000-f7061000 r–p 00001000 08:03 672703 /usr/lib32/libXau.so.6.0.0
f7061000-f7062000 rw-p 00002000 08:03 672703 /usr/lib32/libXau.so.6.0.0
f7062000-f7063000 rw-p 00000000 00:00 0
f7063000-f707d000 r-xp 00000000 08:03 665924 /usr/lib32/libgcc_s.so.1
f707d000-f707e000 rw-p 00019000 08:03 665924 /usr/lib32/libgcc_s.so.1
f707e000-f70a2000 r-xp 00000000 08:03 672758 /usr/lib32/libxcb.so.1.1.0
f70a2000-f70a3000 r–p 00023000 08:03 672758 /usr/lib32/libxcb.so.1.1.0
f70a3000-f70a4000 rw-p 00024000 08:03 672758 /usr/lib32/libxcb.so.1.1.0
f70a4000-f7255000 r-xp 00000000 08:03 665617 /usr/lib32/libc-2.20.so
f7255000-f7258000 r–p 001b0000 08:03 665617 /usr/lib32/libc-2.20.so
f7258000-f725a000 rw-p 001b3000 08:03 665617 /usr/lib32/libc-2.20.so
f725a000-f725c000 rw-p 00000000 00:00 0
f725c000-f7274000 r-xp 00000000 08:03 665597 /usr/lib32/libpthread-2.20.so
f7274000-f7275000 r–p 00017000 08:03 665597 /usr/lib32/libpthread-2.20.so
f7275000-f7276000 rw-p 00018000 08:03 665597 /usr/lib32/libpthread-2.20.so
f7276000-f7278000 rw-p 00000000 00:00 0
f7278000-f7361000 r-xp 00000000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7361000-f7362000 —p 000e9000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7362000-f7366000 r–p 000e9000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7366000-f7367000 rw-p 000ed000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7367000-f736f000 rw-p 00000000 00:00 0
f736f000-f7372000 r-xp 00000000 08:03 665667 /usr/lib32/libdl-2.20.so
f7372000-f7373000 r–p 00002000 08:03 665667 /usr/lib32/libdl-2.20.so
f7373000-f7374000 rw-p 00003000 08:03 665667 /usr/lib32/libdl-2.20.so
f7374000-f73bf000 r-xp 00000000 08:03 665668 /usr/lib32/libm-2.20.so
f73bf000-f73c0000 r–p 0004a000 08:03 665668 /usr/lib32/libm-2.20.so
f73c0000-f73c1000 rw-p 0004b000 08:03 665668 /usr/lib32/libm-2.20.so
f73c1000-f73c8000 r-xp 00000000 08:03 665671 /usr/lib32/librt-2.20.so
f73c8000-f73c9000 r–p 00007000 08:03 665671 /usr/lib32/librt-2.20.so
f73c9000-f73ca000 rw-p 00008000 08:03 665671 /usr/lib32/librt-2.20.so
f73ca000-f74fd000 r-xp 00000000 08:03 672814 /usr/lib32/libX11.so.6.3.0
f74fd000-f74fe000 r–p 00132000 08:03 672814 /usr/lib32/libX11.so.6.3.0
f74fe000-f7501000 rw-p 00133000 08:03 672814 /usr/lib32/libX11.so.6.3.0
f7501000-f7502000 r-xp 00000000 00:00 0 [vdso]
f7502000-f7504000 r–p 00000000 00:00 0 [vvar]
f7504000-f7525000 r-xp 00000000 08:03 665616 /usr/lib32/ld-2.20.so
f7525000-f7526000 rw-p 00000000 00:00 0
f7526000-f7527000 r–p 00021000 08:03 665616 /usr/lib32/ld-2.20.so
f7527000-f7528000 rw-p 00022000 08:03 665616 /usr/lib32/ld-2.20.so
f7528000-f7783000 r-xp 00000000 08:06 392634 /home/andrzejl/.local/share/Steam/ubuntu12_32/steam
f7783000-f778b000 r–p 0025b000 08:06 392634 /home/andrzejl/.local/share/Steam/ubuntu12_32/steam
f778b000-f7791000 rw-p 00263000 08:06 392634 /home/andrzejl/.local/share/Steam/ubuntu12_32/steam
f7791000-f77b3000 rw-p 00000000 00:00 0
f84b6000-f854a000 rw-p 00000000 00:00 0 [heap]
ffbf7000-ffc18000 rwxp 00000000 00:00 0 [stack]
ILocalize::AddFile() failed to load file “public/steambootstrapper_english.txt”.
[2014-10-08 15:14:59] Startup – updater built Aug 26 2014 15:35:42
Uploading dump (out-of-process) [proxy ”]
/tmp/dumps/assert_20141008151459_1.dmp
/home/andrzejl/.local/share/Steam/steam.sh: line 730: 17018 Aborted (core dumped) $STEAM_DEBUGGER “$STEAMROOT/$STEAMEXEPATH” “$@”
mv: cannot stat ‘/home/andrzejl/.steam/registry.vdf’: No such file or directory
Installing bootstrap /home/andrzejl/.local/share/Steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request…
Running Steam on arch 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(0_client)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
*** Error in `/home/andrzejl/.local/share/Steam/ubuntu12_32/steam’: free(): invalid pointer: 0xf74e6f94 ***
======= Backtrace: =========
/usr/lib32/libc.so.6(+0x6bcd9)[0xf70cfcd9]
/usr/lib32/libc.so.6(+0x71927)[0xf70d5927]
/usr/lib32/libc.so.6(+0x7210d)[0xf70d610d]
/usr/lib32/libX11.so.6(XFree+0x1b)[0xf73c586b]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x43c69)[0xf752bc69]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x44444)[0xf752c444]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x14d56)[0xf74fcd56]
/usr/lib32/libc.so.6(__libc_start_main+0xde)[0xf707be5e]
/home/andrzejl/.local/share/Steam/ubuntu12_32/steam(+0x18395)[0xf7500395]
======= Memory map: ========
f1e69000-f1e6d000 r-xp 00000000 08:03 673617 /usr/lib32/libtxc_dxtn.so
f1e6d000-f1e6e000 r–p 00003000 08:03 673617 /usr/lib32/libtxc_dxtn.so
f1e6e000-f1e6f000 rw-p 00004000 08:03 673617 /usr/lib32/libtxc_dxtn.so
f1e6f000-f1e70000 —p 00000000 00:00 0
f1e70000-f2670000 rwxp 00000000 00:00 0
f2670000-f2671000 —p 00000000 00:00 0
f2671000-f2e71000 rwxp 00000000 00:00 0
f2e71000-f2e72000 —p 00000000 00:00 0
f2e72000-f3672000 rwxp 00000000 00:00 0
f3672000-f3673000 —p 00000000 00:00 0
f3673000-f3e73000 rwxp 00000000 00:00 0
f3e73000-f3e79000 r-xp 00000000 08:03 672621 /usr/lib32/libffi.so.6.0.2
f3e79000-f3e7a000 r–p 00005000 08:03 672621 /usr/lib32/libffi.so.6.0.2
f3e7a000-f3e7b000 rw-p 00006000 08:03 672621 /usr/lib32/libffi.so.6.0.2
f3e7b000-f3e90000 r-xp 00000000 08:03 672614 /usr/lib32/libz.so.1.2.8
f3e90000-f3e91000 r–p 00014000 08:03 672614 /usr/lib32/libz.so.1.2.8
f3e91000-f3e92000 rw-p 00015000 08:03 672614 /usr/lib32/libz.so.1.2.8
f3e92000-f5d51000 r-xp 00000000 08:03 673046 /usr/lib32/libLLVM-3.5.so
f5d51000-f5e91000 r–p 01ebe000 08:03 673046 /usr/lib32/libLLVM-3.5.so
f5e91000-f5e9e000 rw-p 01ffe000 08:03 673046 /usr/lib32/libLLVM-3.5.so
f5e9e000-f5eab000 rw-p 00000000 00:00 0
f68c8000-f68c9000 rw-p 00000000 00:00 0
f68c9000-f68d6000 r-xp 00000000 08:03 673008 /usr/lib32/libdrm.so.2.4.0
f68d6000-f68d7000 r–p 0000c000 08:03 673008 /usr/lib32/libdrm.so.2.4.0
f68d7000-f68d8000 rw-p 0000d000 08:03 673008 /usr/lib32/libdrm.so.2.4.0
f68d8000-f68dc000 r-xp 00000000 08:03 673026 /usr/lib32/libXxf86vm.so.1.0.0
f68dc000-f68dd000 r–p 00004000 08:03 673026 /usr/lib32/libXxf86vm.so.1.0.0
f68dd000-f68de000 rw-p 00005000 08:03 673026 /usr/lib32/libXxf86vm.so.1.0.0
f68de000-f68df000 r-xp 00000000 08:03 673034 /usr/lib32/libxshmfence.so.1.0.0
f68df000-f68e0000 r–p 00000000 08:03 673034 /usr/lib32/libxshmfence.so.1.0.0
f68e0000-f68e1000 rw-p 00001000 08:03 673034 /usr/lib32/libxshmfence.so.1.0.0
f68e1000-f68e7000 r-xp 00000000 08:03 672773 /usr/lib32/libxcb-sync.so.1.0.0
f68e7000-f68e8000 r–p 00005000 08:03 672773 /usr/lib32/libxcb-sync.so.1.0.0
f68e8000-f68e9000 rw-p 00006000 08:03 672773 /usr/lib32/libxcb-sync.so.1.0.0
f68e9000-f68ec000 r-xp 00000000 08:03 672771 /usr/lib32/libxcb-shape.so.0.0.0
f68ec000-f68ed000 r–p 00002000 08:03 672771 /usr/lib32/libxcb-shape.so.0.0.0
f68ed000-f68ee000 rw-p 00003000 08:03 672771 /usr/lib32/libxcb-shape.so.0.0.0
f68ee000-f68f7000 r-xp 00000000 08:03 672768 /usr/lib32/libxcb-render.so.0.0.0
f68f7000-f68f8000 r–p 00008000 08:03 672768 /usr/lib32/libxcb-render.so.0.0.0
f68f8000-f68f9000 rw-p 00009000 08:03 672768 /usr/lib32/libxcb-render.so.0.0.0
f68f9000-f6900000 r-xp 00000000 08:03 672776 /usr/lib32/libxcb-xfixes.so.0.0.0
f6900000-f6901000 r–p 00006000 08:03 672776 /usr/lib32/libxcb-xfixes.so.0.0.0
f6901000-f6902000 rw-p 00007000 08:03 672776 /usr/lib32/libxcb-xfixes.so.0.0.0
f6902000-f6910000 r-xp 00000000 08:03 672766 /usr/lib32/libxcb-randr.so.0.1.0
f6910000-f6911000 r–p 0000d000 08:03 672766 /usr/lib32/libxcb-randr.so.0.1.0
f6911000-f6912000 rw-p 0000e000 08:03 672766 /usr/lib32/libxcb-randr.so.0.1.0
f6912000-f6914000 r-xp 00000000 08:03 672764 /usr/lib32/libxcb-present.so.0.0.0
f6914000-f6915000 r–p 00001000 08:03 672764 /usr/lib32/libxcb-present.so.0.0.0
f6915000-f6916000 rw-p 00002000 08:03 672764 /usr/lib32/libxcb-present.so.0.0.0
f6916000-f6918000 r-xp 00000000 08:03 672763 /usr/lib32/libxcb-dri3.so.0.0.0
f6918000-f6919000 r–p 00001000 08:03 672763 /usr/lib32/libxcb-dri3.so.0.0.0
f6919000-f691a000 rw-p 00002000 08:03 672763 /usr/lib32/libxcb-dri3.so.0.0.0
f691a000-f691e000 r-xp 00000000 08:03 672762 /usr/lib32/libxcb-dri2.so.0.0.0
f691e000-f691f000 r–p 00003000 08:03 672762 /usr/lib32/libxcb-dri2.so.0.0.0
f691f000-f6920000 rw-p 00004000 08:03 672762 /usr/lib32/libxcb-dri2.so.0.0.0
f6920000-f6939000 r-xp 00000000 08:03 672765 /usr/lib32/libxcb-glx.so.0.0.0
f6939000-f693a000 r–p 00018000 08:03 672765 /usr/lib32/libxcb-glx.so.0.0.0
f693a000-f693b000 rw-p 00019000 08:03 672765 /usr/lib32/libxcb-glx.so.0.0.0
f693b000-f693c000 r-xp 00000000 08:03 672815 /usr/lib32/libX11-xcb.so.1.0.0
f693c000-f693d000 r–p 00000000 08:03 672815 /usr/lib32/libX11-xcb.so.1.0.0
f693d000-f693e000 rw-p 00001000 08:03 672815 /usr/lib32/libX11-xcb.so.1.0.0
f693e000-f6942000 r-xp 00000000 08:03 672824 /usr/lib32/libXfixes.so.3.1.0
f6942000-f6943000 r–p 00003000 08:03 672824 /usr/lib32/libXfixes.so.3.1.0
f6943000-f6944000 rw-p 00004000 08:03 672824 /usr/lib32/libXfixes.so.3.1.0
f6944000-f6946000 r-xp 00000000 08:03 673030 /usr/lib32/libXdamage.so.1.1.0
f6946000-f6947000 r–p 00001000 08:03 673030 /usr/lib32/libXdamage.so.1.1.0
f6947000-f6948000 rw-p 00002000 08:03 673030 /usr/lib32/libXdamage.so.1.1.0
f6948000-f695b000 r-xp 00000000 08:03 668373 /usr/lib32/libXext.so.6.4.0
f695b000-f695c000 r–p 00012000 08:03 668373 /usr/lib32/libXext.so.6.4.0
f695c000-f695d000 rw-p 00013000 08:03 668373 /usr/lib32/libXext.so.6.4.0
f695d000-f696e000 r-xp 00000000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f696e000-f696f000 —p 00011000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f696f000-f6971000 r–p 00011000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f6971000-f6976000 rwxp 00013000 08:03 673068 /usr/lib32/libglapi.so.0.0.0
f6976000-f6977000 rwxp 00000000 00:00 0
f6977000-f699d000 r-xp 00000000 08:03 672540 /usr/lib32/libexpat.so.1.6.0
f699d000-f699f000 r–p 00026000 08:03 672540 /usr/lib32/libexpat.so.1.6.0
f699f000-f69a0000 rw-p 00028000 08:03 672540 /usr/lib32/libexpat.so.1.6.0
f69a0000-f6a43000 r-xp 00000000 08:03 924373 /usr/lib32/mesa/libGL.so.1.2.0
f6a43000-f6a45000 r–p 000a2000 08:03 924373 /usr/lib32/mesa/libGL.so.1.2.0
f6a45000-f6a4a000 rwxp 000a4000 08:03 924373 /usr/lib32/mesa/libGL.so.1.2.0
f6a4a000-f6a56000 r-xp 00000000 08:03 665663 /usr/lib32/libnss_files-2.20.so
f6a56000-f6a57000 r–p 0000b000 08:03 665663 /usr/lib32/libnss_files-2.20.so
f6a57000-f6a58000 rw-p 0000c000 08:03 665663 /usr/lib32/libnss_files-2.20.so
f6a58000-f6a79000 rw-p 00000000 00:00 0
f6a79000-f6ab0000 r-xp 00000000 08:06 392569 /home/andrzejl/.local/share/Steam/ubuntu12_32/crashhandler.so
f6ab0000-f6ab1000 r–p 00037000 08:06 392569 /home/andrzejl/.local/share/Steam/ubuntu12_32/crashhandler.so
f6ab1000-f6ab2000 rw-p 00038000 08:06 392569 /home/andrzejl/.local/share/Steam/ubuntu12_32/crashhandler.so
f6ab2000-f6e8b000 rw-p 00000000 00:00 0
f6e8b000-f7014000 r–p 00000000 08:03 557696 /usr/lib/locale/locale-archive
f7014000-f7017000 rw-p 00000000 00:00 0
f7017000-f701c000 r-xp 00000000 08:03 672699 /usr/lib32/libXdmcp.so.6.0.0
f701c000-f701d000 r–p 00004000 08:03 672699 /usr/lib32/libXdmcp.so.6.0.0
f701d000-f701e000 rw-p 00005000 08:03 672699 /usr/lib32/libXdmcp.so.6.0.0
f701e000-f7020000 r-xp 00000000 08:03 672703 /usr/lib32/libXau.so.6.0.0
f7020000-f7021000 r–p 00001000 08:03 672703 /usr/lib32/libXau.so.6.0.0
f7021000-f7022000 rw-p 00002000 08:03 672703 /usr/lib32/libXau.so.6.0.0
f7022000-f7023000 rw-p 00000000 00:00 0
f7023000-f703d000 r-xp 00000000 08:03 665924 /usr/lib32/libgcc_s.so.1
f703d000-f703e000 rw-p 00019000 08:03 665924 /usr/lib32/libgcc_s.so.1
f703e000-f7062000 r-xp 00000000 08:03 672758 /usr/lib32/libxcb.so.1.1.0
f7062000-f7063000 r–p 00023000 08:03 672758 /usr/lib32/libxcb.so.1.1.0
f7063000-f7064000 rw-p 00024000 08:03 672758 /usr/lib32/libxcb.so.1.1.0
f7064000-f7215000 r-xp 00000000 08:03 665617 /usr/lib32/libc-2.20.so
f7215000-f7218000 r–p 001b0000 08:03 665617 /usr/lib32/libc-2.20.so
f7218000-f721a000 rw-p 001b3000 08:03 665617 /usr/lib32/libc-2.20.so
f721a000-f721c000 rw-p 00000000 00:00 0
f721c000-f7234000 r-xp 00000000 08:03 665597 /usr/lib32/libpthread-2.20.so
f7234000-f7235000 r–p 00017000 08:03 665597 /usr/lib32/libpthread-2.20.so
f7235000-f7236000 rw-p 00018000 08:03 665597 /usr/lib32/libpthread-2.20.so
f7236000-f7238000 rw-p 00000000 00:00 0
f7238000-f7321000 r-xp 00000000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7321000-f7322000 —p 000e9000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7322000-f7326000 r–p 000e9000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7326000-f7327000 rw-p 000ed000 08:03 665950 /usr/lib32/libstdc++.so.6.0.20
f7327000-f732f000 rw-p 00000000 00:00 0
f732f000-f7332000 r-xp 00000000 08:03 665667 /usr/lib32/libdl-2.20.so
f7332000-f7333000 r–p 00002000 08:03 665667 /usr/lib32/libdl-2.20.so
f7333000-f7334000 rw-p 00003000 08:03 665667 /usr/lib32/libdl-2.20.so
f7334000-f737f000 r-xp 00000000 08:03 665668 /usr/lib32/libm-2.20.so
f737f000-f7380000 r–p 0004a000 08:03 665668 /usr/lib32/libm-2.20.so
f7380000-f7381000 rw-p 0004b000 08:03 665668 /usr/lib32/libm-2.20.so
f7381000-f7388000 r-xp 00000000 08:03 665671 /usr/lib32/librt-2.20.so
f7388000-f7389000 r–p 00007000 08:03 665671 /usr/lib32/librt-2.20.so
f7389000-f738a000 rw-p 00008000 08:03 665671 /usr/lib32/librt-2.20.so
f738a000-f74bd000 r-xp 00000000 08:03 672814 /usr/lib32/libX11.so.6.3.0
f74bd000-f74be000 r–p 00132000 08:03 672814 /usr/lib32/libX11.so.6.3.0
f74be000-f74c1000 rw-p 00133000 08:03 672814 /usr/lib32/libX11.so.6.3.0
f74c1000-f74c2000 r-xp 00000000 00:00 0 [vdso]
f74c2000-f74c4000 r–p 00000000 00:00 0 [vvar]
f74c4000-f74e5000 r-xp 00000000 08:03 665616 /usr/lib32/ld-2.20.so
f74e5000-f74e6000 rw-p 00000000 00:00 0
f74e6000-f74e7000 r–p 00021000 08:03 665616 /usr/lib32/ld-2.20.so
f74e7000-f74e8000 rw-p 00022000 08:03 665616 /usr/lib32/ld-2.20.so
f74e8000-f7743000 r-xp 00000000 08:06 392634 /home/andrzejl/.local/share/Steam/ubuntu12_32/steam
f7743000-f774b000 r–p 0025b000 08:06 392634 /home/andrzejl/.local/share/Steam/ubuntu12_32/steam
f774b000-f7751000 rw-p 00263000 08:06 392634 /home/andrzejl/.local/share/Steam/ubuntu12_32/steam
f7751000-f7773000 rw-p 00000000 00:00 0
f83a0000-f8414000 rw-p 00000000 00:00 0 [heap]
ff985000-ff9a5000 rwxp 00000000 00:00 0 [stack]
ff9a5000-ff9a6000 rw-p 00000000 00:00 0
ILocalize::AddFile() failed to load file “public/steambootstrapper_english.txt”.
[2014-10-08 15:14:59] Startup – updater built Aug 26 2014 15:35:42
Uploading dump (out-of-process) [proxy ”]
/tmp/dumps/crash_20141008151459_1.dmp
/home/andrzejl/.local/share/Steam/steam.sh: line 730: 17119 Aborted (core dumped) $STEAM_DEBUGGER “$STEAMROOT/$STEAMEXEPATH” “$@”
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-a090790d-517f-419a-84da-b42912141008

After a while I have figured out that I need to add US locale to my system. So I have edited (as root) the file /etc/locale.gen and unhashed the

en_US.UTF-8 UTF-8

line and re-run (also as root)

locale-gen

command.

Generating locales…
en_IE.UTF-8… done
en_US.UTF-8… done
Generation complete.

That has allowed me to move forward until I was stopped by the “unable to load vgui2” error.

/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamUI/Main.cpp (2231) : Assertion Failed: !”Fatal Error: Could not load module ‘bin/vgui2_s.dll'”
Assert( Assertion Failed: !”Fatal Error: Could not load module ‘bin/vgui2_s.dll'” ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamUI/Main.cpp:2231

Installing breakpad exception handler for appid(steam)/version(1411443970)
Error: Could not load module ‘vgui2_s.so’.

For more information visit https://support.steampowered.com/kb_article.php?ref=9205-OZVN-0660.

To fix that I needed to install openal and lib32-openal packages which are NOT in Steam dependencies for whatever the reason…

It still won’t run but at least I am 2 steps closer to a solution…

Cheers.

Andrzej

SMPlayer 14.9 is now available! Heck yeah!

Woke up today and found this in my rss feed: “SMPlayer 14.9 available for Ubuntu”.

SMPlayer was / is my favorite media player since I have installed it in I think 2008. It is still being actively developed. Bug fixes and new features are being added.

This is a maintenance release. This version provides a new fix for Youtube playback. We also improved the option to search for subtitles. There’s a new feature, requested by many users: now it’s possible to shut down the computer after playback.

I have requested the “PC shutdown after stop playing” feature back in 2010 when I was still using PCLinuxOS. Good to see that it has made its way to the project ;D.

Here is my PKGBUILD for the qt4 svn version of SMPlayer: https://andrzejl.eu:30303/pkgbuilds/smplayer-qt4-svn.tar.gz

SMPlayer 14.9

Its working great as always. Job well done rvm. Again :).

Cheers.

Andrzej

Quick and dirty VirtualBox OSE installation and configuration in ArchLinux.

Here is how I do it.

pacman -S dkms virtualbox virtualbox-guest-iso virtualbox-host-dkms

gpasswd -a yourlinuxuser vboxusers

Don’t forget to replace yourlinuxuser with your actual non-root system login.

systemctl enable dkms

systemctl start dkms

reboot

That’s it – You are done. Upon reboot dkms will compile and modprobe the VirtualBox modules and the application will be ready to use. IF the compilation of the modules fails You probably don’t have kernel headers installed that correspond with Your version of the kernel. Fix it by installing appropriate -headers package (ie. linux- linux-pae- linux-ck- linux-lts-) and reboot.

(Optional) USB devices in VirtualBox:

Start VirtualBox

Go to Help > About VirtualBox

Check the version. In my case its: 4.3.14_OSE r95030

Quick and dirty VirtualBox OSE installation and configuration in ArchLinux USB devices 001

Open the download page in the browser: http://download.virtualbox.org/virtualbox/

Search for Your version ie. 4.3.14: (http://download.virtualbox.org/virtualbox/4.3.14/)

Search for the file called Oracle VM VirtualBox Extension Pack that corresponds to Your VirtualBox version ie. Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack (http://download.virtualbox.org/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack)

Save the file to the HDD.

In VirtualBox go to File > Preferences > Extensions

If You have a previous version of extensions remove it.

Quick and dirty VirtualBox OSE installation and configuration in ArchLinux USB devices 002

If there is no extension pack installed add one. Point the wizard to the extension pack file that You’ve just downloaded.

Quick and dirty VirtualBox OSE installation and configuration in ArchLinux USB devices 003

Sometimes the wizard will ask for the root’s password but the “pop up window” with the authorization request will hide behind the main VirtualBox window. Search for the Key icon in the taskbar and click on it or ALT + TAB thru the windows until the password request window is displayed.

Another thing that You may get confused by is the license accepting part. You need to scroll all the way down in the license window before the “I agree” button gets activated.

Quick and dirty VirtualBox OSE installation and configuration in ArchLinux USB devices 004

If You did everything correctly You will be able to add USB device in Your virtual machine.

Quick and dirty VirtualBox OSE installation and configuration in ArchLinux USB devices 005

Cheers.

Andrzej