- Feb 18, 2016
-
-
Michal 'vorner' Vaner authored
This way we may have an idea how long each action takes and why some of them take half a day.
-
- Feb 17, 2016
-
-
Michal 'vorner' Vaner authored
The set of columns is little bit different.
-
- Feb 16, 2016
-
-
Michal 'vorner' Vaner authored
-
- Feb 01, 2016
-
-
Michal 'vorner' Vaner authored
Make sure the client string is in lower-case before looking that up in a dictionary.
-
- Jan 28, 2016
-
-
Michal 'vorner' Vaner authored
With SELECT *, it is impossible to drop columns (needed during migration to new data types).
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Don't rollback the database when we don't use transactions (they are useless here, with single select being done to refresh again and again). Also, don't recycle the cursor, clean it up (it is reportedly better for the DB).
-
- Jan 25, 2016
-
-
Michal 'vorner' Vaner authored
So the main thread can still answer queries and not get blocked.
-
Michal 'vorner' Vaner authored
Refresh the data from DB every 15 minutes. If it fails, try again next time.
-
Michal 'vorner' Vaner authored
So we don't access the DB all the time.
-
Michal 'vorner' Vaner authored
The ssh honeypot now provides local IP addresses. Use them in the export.
-
- Jan 22, 2016
-
-
Michal 'vorner' Vaner authored
Some data come from attacker. And not all attackers know that passwords should be in UTF8, so accept everything simply as raw data.
-
- Jan 20, 2016
-
-
Michal 'vorner' Vaner authored
Allow changing the size of an IPset. The infrastructure should be able to handle it now.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Don't include the addresses excluded from analysis into the export. Also, reuse some code from the builders of address lists.
-
Michal 'vorner' Vaner authored
• Simplify the rules for inclusion in the blacklist. Count score for each client, leave out the low-score clients (hardcoded for 100 now, adjusting the scores for events to match that) and sum them together across each attacker IP. These are compared to limits. • Split the computation of this into several views, to improve readability and understandability (this way it looks more procedural, as the views can be understood to be done one by one). • Include the ssh honeypot as one of the sources.
-
- Jan 18, 2016
-
-
Michal 'vorner' Vaner authored
Ensure the inet→text conversion in build_fwup_sets.pl doesn't produce /32 at the end, as ucollect master doesn't handle that.
-
- Jan 15, 2016
-
-
Michal 'vorner' Vaner authored
Don't try to create the IPset if it already exists. It may be of wrong size (which will be fixed on the refill). Also, recreate IPsets if they are missing on refill (may be caused by a queue breakage during setup) and handle leftover temporary sets.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- Jan 06, 2016
-
-
Michal 'vorner' Vaner authored
Use sanity instead of assert in the fake plugin
-
- Jan 04, 2016
-
-
Michal 'vorner' Vaner authored
Use a class variable where appropriate instead of overriding it in each object.
-
- Dec 18, 2015
-
-
Michal 'vorner' Vaner authored
Keep the attackers that drop out of the fake logs still blocked if they get caught on the firewall. Do so by scanning the firewall logs for addresses we would like to delete from the filter.
-
- Dec 17, 2015
-
-
Michal 'vorner' Vaner authored
Sanity reports an error to logs, which may help us debug some of the problems and crashes. Also, fix result check at getsockname.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
So we generate logout before the new login.
-
- Dec 16, 2015
-
-
Michal 'vorner' Vaner authored
Recover from broken DB connection even if it happens in the __connection.cursor()
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- Dec 15, 2015
-
-
Michal 'vorner' Vaner authored
-
- Dec 10, 2015
-
-
Michal 'vorner' Vaner authored
Newer uci mandates flags are before commands. Older one doesn't mind either way.
-
- Dec 09, 2015
-
-
Michal 'vorner' Vaner authored
In case ipset terminates with error, wait with closing the output until EOF comes. Closing it right away may cause losing error messages.
-
- Dec 07, 2015
-
-
Michal 'vorner' Vaner authored
-
- Dec 04, 2015
-
-
Michal 'vorner' Vaner authored
-
- Dec 03, 2015
-
-
Michal 'vorner' Vaner authored
When the set size needs to be updated, warn about it, as the firewall definitions need to be updated.
-
Michal 'vorner' Vaner authored
The firewall rules use names ending with _X, the plain ones are the temporary sets.
-
- Dec 02, 2015
-
-
Michal 'vorner' Vaner authored
These are filled with bare IP addresses for now. We need them for the same purpose we had net:ip ones, but there needs to be interoperability with firewall scripts and these use hash:net.
-
Michal 'vorner' Vaner authored
-