[5295629.397667] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5295632.397621] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5295695.401578] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5295697.401704] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5295762.405584] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5295763.405672] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5295827.409421] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5295828.409475] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5295891.413175] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5295892.413244] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5295957.417238] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5295958.417222] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296019.421239] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun0
[5296021.421461] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296022.421032] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296037.421941] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun0
[5296086.424835] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296086.425506] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296150.428703] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296151.428707] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296214.432342] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296216.432417] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296280.436495] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296280.437737] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296408.443693] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5296410.444089] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296677.460567] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun0
[5296679.460401] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun0
[5297073.484089] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun0
[5303950.892631] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5304016.896475] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5304080.900445] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5304144.904197] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5304208.907984] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5304273.911929] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5304338.917332] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5305487.878870] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5305585.360395] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5305609.174829] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5306267.030679] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5306267.030700] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5306267.030737] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5306350.035701] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5306356.035917] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5311925.366478] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5311990.370358] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312054.374231] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312121.378024] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312186.381923] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312253.385986] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312320.389935] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312384.393791] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5312462.398435] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5312495.400431] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5313547.463161] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5313548.463244] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5313549.463272] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5313613.467197] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5313765.476231] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5313768.476437] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5313768.476460] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5313831.480047] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5313838.482035] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5313898.484152] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5313903.484481] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5313903.484504] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5313962.488045] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314017.491017] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314018.491198] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314019.491211] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5314020.491309] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5314081.495078] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314145.498958] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314147.499048] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5314152.499377] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314152.499400] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314152.499522] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5314155.499559] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5314314.508956] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314375.512694] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314379.512922] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5314379.512946] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5314383.513131] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314435.516249] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314435.516272] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314436.516222] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5314437.516223] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5314499.520189] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314503.520314] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314554.523268] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314554.523288] IPv4: martian source 29.250.35.251 from 192.168.1.3, on dev tun2
[5314557.523310] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5314557.523330] IPv4: martian source 185.121.25.242 from 192.168.1.3, on dev tun2
[5314621.527322] IPv4: martian source 85.199.214.102 from 192.168.1.3, on dev tun2
[5314623.527383] IPv4: martian source 213.138.110.176 from 192.168.1.3, on dev tun2
[5325641.940801] x_tables: ip_tables: DNAT target: used from hooks POSTROUTING, but only usable from PREROUTING/OUTPUT
[5326136.225642] x_tables: ip_tables: DNAT target: only valid in nat table, not filter
[5326269.186266] x_tables: ip_tables: DNAT target: used from hooks POSTROUTING, but only usable from PREROUTING/OUTPUT
[5327086.000591] x_tables: ip_tables: MASQUERADE target: used from hooks OUTPUT, but only usable from POSTROUTING
[5394062.928229] TCP: request_sock_TCP: Possible SYN flooding on port 3128. Sending cookies. Check SNMP counters.

RANDOM FORTUNE:

"A radioactive cat has eighteen half-lives."

Setting up CCache

Compiling can be a bit of a slog, and if you find yourself compiling the same code with little or no changes, or perhaps re-running a SlackBuild that failed on some trivial part, then ccache is probably for you.

What it does

Like the name suggests, ccache caches compiled C and C++ code and the next time those parts are needed it copies them back into place, so that that part doesn't have to be recompiled from scratch again. This can be an immense time-saver, but of course the extra speed comes at the expense of the extra HDD space needed for the cache.

The cache is located in ~/.ccache for each user that uses it. Therefore, for SlackBuilds, since they tend to be run by root it will be /root/.ccache. The size of the cache can be set using 'ccache -M', while -s will tell you some statistics. Note that the commands must be given by the user using it. I like a lot of cache - my studioware chroot has 12G of max cache, with 11G used at the current time.

Setting it up

Setting up ccache is very simple. We just need to symlink our C compilers to it. As root:

cd /usr/local/bin
ln -s /usr/bin/ccache cc
ln -s /usr/bin/ccache c++
ln -s /usr/bin/ccache gcc
ln -s /usr/bin/ccache g++

Why /usr/local/bin? Because that is by default in our $PATH before /usr/bin, so that calls to the compilers will find our symlinks first.

That's pretty much it. Now sit back and forget about it, but keep a watch on the size of the cache used from time to time.

Caveat

Some code will from time to time not compile with ccache enabled. To turn it off temporarily, use 'CCACHE_DISABLE=1 make', or for whatever the compiler command you are using is. It rarely happens that code fails to build with it, but it can happen. See 'man ccache' for more options and environmental variables.