If syslog starts complaining about neighbor table overflow then some limits need to be increased. Current values: grep . /proc/sys/net/ipv6/neigh/default/gc_thresh* /proc/sys/net/ipv6/neigh/default/gc_thresh1:128 /proc/sys/net/ipv6/neigh/default/gc_thresh2:512 /proc/sys/net/ipv6/neigh/default/gc_thresh3:1024 Add to sysctl.conf net.ipv6.neigh.default.gc_thresh1 = 512 net.ipv6.neigh.default.gc_thresh2 = 2048 net.ipv6.neigh.default.gc_thresh3 = 4096 Reload sysctl parameters sysctl -p
How I fixed my google contacts phone numbers
With this handy thing: http://splitbrain.github.com/googlephonefix/ It connects to Google Accounts and adds a default prefix to the phone numbers which don’t have one yet. Very handy if you moved abroad and you don’t want to add that damn country prefix by hand. Privacy wise it’s fine, opensource and it runs only in the browser.
Running Traffic over SSH easy peasy
Last week I was stuck in a hotel located in the middle of a forest with crappy GPRS signal so my mobile internet wasn’t any good. On top of this the ‘free’ wifi at the hotel provided only web traffic connectivity ( ports 80 and 443). Sure, a smart guy would run a VPN over [...]
Bash and Template Files
Last week I had to migrate my dns server and to do stuff properly I also added a couple of slave DNS servers just to make sure. Problem: ~15 domain names that need to be added to a fresh bind installation. The zone files didn’t change too much so that was fine, sed helped me [...]
Yakuake
I’m going to start a series of blog posts about linux apps that I can’t live without. After a fresh system install these are the first installed. The more and more I use Linux the more I find myself stuck into some console. While the default terminal app shipped with Gnome is just fine for [...]
Hardware Keylogger Detection
Intro Keyloggers are nifty things used to grab keyboard input for later analysis and use. The most common type of keylogger is the software keylogger as it is just some program that records key presses. Running it usually requires administrator privileges and this limits the attack surface as one must first gain this type of [...]
Parsing XML data using bash and standard Unix tools
Parsing XML can be a tedious and unpleasant job if you insist on using just standard Unix tools like sed, awk, cut, grep and so on. One might say that it’s better to use python/perl/ruby/other language that ships with a full blown XML parser and use the standard Unix utilites for what they were meant [...]
Internet Exchange Points
The largest Romanian IXP is Interlan . Funny enough, Interlan is a response of the smaller ISPs to the other big Romanian IXP, Ronix. Because 3 years ago joining Ronix was a complicated affair, a few small companies decided to take matters into their own hands. Currently, Interlan has 3 times more traffic than Ronix.
Joining pdf files
Combining multiple pdfs into a single file can be handy for putting together one big final report or for submitting a single print job instead of multiple smaller ones. Joining pdfs in a Debian based Linux distribution can be easily done by using the pdfjoin utility. It is provided by the pdfjam package. One only [...]
Choosing random entries from a group
In the past two weeks we had a lottery-type thing on RGC.ro (Romanian Guitarist Community). Proguitar, the official importer of Fender products in Romania, wanted to give-away a custom made Fender Stratocaster electric guitar. To register, the community users had to fill out a form and choose from a series of custom options for the [...]