- Nov 10, 2015
-
-
Michal 'vorner' Vaner authored
Don't allocate additional memory in the trie if we are over the limit.
-
Michal 'vorner' Vaner authored
After reconnecting, either ignore the config update (if the config is the same we have) or wipe out the old config first to free the memory.
-
- Oct 20, 2015
-
-
Michal 'vorner' Vaner authored
Use sanity instead of assert. The advantage is it logs in a way that is sent to the server. It may help find the crash-bug there somewhere.
-
Michal 'vorner' Vaner authored
-
- Oct 14, 2015
-
-
Michal 'vorner' Vaner authored
Do the commit at the end. There's nothing gained by commiting during the read.
-
- Oct 13, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
As the flag is very slow during the updates.
-
Michal 'vorner' Vaner authored
If the database is very slow or blocked somehow, run only one instance. There's no point in running several in a row when it unblocks. Also, such thing stresses the DB unnecessarily.
-
Michal 'vorner' Vaner authored
If it is already running, don't start another instance. Or, more exactly, terminate it right away.
-
- Oct 12, 2015
-
-
Michal 'vorner' Vaner authored
Each item of the biflows table is updated once during its life, so leave space for the updated entry there.
-
- Sep 30, 2015
-
-
Michal 'vorner' Vaner authored
Fix bug causing the fake log to send after each event.
-
- Sep 23, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
There seems to be some stack corruption. It shouldn't possibly in the signal handler, but rewrite it all the same.
-
- Sep 16, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Call gdb on self to obtain backtrace and other info and put it to logs.
-
Michal 'vorner' Vaner authored
-
- Sep 14, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
It timeouts a lot. See if increasing would help.
-
- Sep 02, 2015
-
-
Michal 'vorner' Vaner authored
Include IP addresses of some TLD DNS servers often used for malware. Tag them in the database.
-
- Sep 01, 2015
-
-
Michal 'vorner' Vaner authored
-
- Aug 31, 2015
-
-
Michal 'vorner' Vaner authored
Disconnect from DB for the time WHOIS queries are running. And try to die in case of timeout, since the whois_query seems not to be doing that.
-
- Aug 27, 2015
-
-
Michal 'vorner' Vaner authored
-
- Aug 26, 2015
-
-
Michal 'vorner' Vaner authored
-
- Aug 17, 2015
-
-
Michal 'vorner' Vaner authored
Make sure the routers that have only firewall activity aren't skipped over due to complexities in the query.
-
- Aug 14, 2015
-
-
Robin Obůrka authored
-
Robin Obůrka authored
-
- Aug 13, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Don't think you're online unless you get a confirmation from the server.
-
Michal 'vorner' Vaner authored
Use sanity() instead of several cases of assert(), die() or abort().
-
Michal 'vorner' Vaner authored
Similar to assert, but with a message and not possible to exclude from compilation. This is better for checking outputs, for example.
-
- Aug 12, 2015
-
-
Michal 'vorner' Vaner authored
Since it signals broken message by returning NULL, not by calling die directly.
-
Michal 'vorner' Vaner authored
The index is received from the server. We would be in far deeper trouble if someone could impersonate our server than to crash the client, but it should be fixed anyway.
-
- Aug 11, 2015
-
-
Michal 'vorner' Vaner authored
Don't crash, but handle it gracefully. This is, however, only testing/example code, so there was no impact on production in this bug.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- Aug 10, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-