Vsevolod Stakhov
fcaf800bd6
[Feature] Suppress duplicate warning on very large radix tries
2018-06-01 11:09:37 +01:00
Vsevolod Stakhov
3281d1d77a
[Fix] Strip spaces from map keys and values
2018-04-24 14:54:37 +01:00
Vsevolod Stakhov
fc23f700aa
[Minor] Allow to create radix tree from the pool
2018-04-23 12:41:17 +01:00
Vsevolod Stakhov
b9f51206b4
[Project] Enable fast debug lookup for some modules
2018-01-20 13:29:22 +00:00
Vsevolod Stakhov
b2b9cfa616
[Minor] Further portion of g_slice elimination
2017-10-28 15:14:33 +01:00
Vsevolod Stakhov
3bfbd8fd10
[CritFix] Fix critical memory issues with radix maps
2017-02-27 12:37:02 +00:00
Vsevolod Stakhov
e47d8db1f1
[Minor] Allow to parse and create stack based inet_addr_t
2017-02-27 12:15:57 +00:00
Vsevolod Stakhov
18b681e68a
[Fix] Fix static IP maps
2016-11-24 13:30:01 +00:00
Vsevolod Stakhov
a93fbccaea
[Fix] Fix various warnings and issues
2016-11-22 17:39:46 +00:00
Alexander Moisseev
3d9286d665
[Minor] Fix typo
2016-08-24 22:13:08 +03:00
Vsevolod Stakhov
a7b2ee81df
[Feature] Print radix duplicate keys as IP addresses
2016-08-13 11:23:12 +01:00
Vsevolod Stakhov
7238b9cfe4
[Fix] Some fixes to libmagic initialization
2016-07-14 16:52:33 +01:00
Vsevolod Stakhov
3bb4e1cd86
[Feature] Allow hostnames in IP maps
2016-06-27 18:42:04 +01:00
Vsevolod Stakhov
f24575ceec
[Fix] Fix parsing of braced IPv6 addresses
2016-06-26 11:29:05 +01:00
Vsevolod Stakhov
736880fc8b
[Feature] Allow data for all maps types
2016-03-13 21:14:42 +00:00
Vsevolod Stakhov
4ea1df99ee
[Fix] Skip invalid addresses when parsing IP lists
2016-03-09 15:55:52 +00:00
Vsevolod Stakhov
03f3ae3e31
Print more info about radix tries
2016-02-14 13:38:27 +00:00
Vsevolod Stakhov
2ba49f78f5
Add diagnostic for new radix
2016-02-13 14:32:53 +00:00
Vsevolod Stakhov
894920c51a
Migrate to lc-compressed btrie algorithm
2016-02-11 12:58:51 +00:00
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
2016-02-04 09:37:21 +00:00
Vsevolod Stakhov
dfeb726476
Constify radix tree search code
2016-01-03 17:13:24 +00:00
Vsevolod Stakhov
f3585bb8b0
Fix format issues found by static analysis
2015-11-11 18:00:43 +00:00
Vsevolod Stakhov
494df3feb5
Fix issue with the last element in the radix trie.
2015-09-23 16:12:54 +01:00
Vsevolod Stakhov
3afc4aba24
Rename main.h and main.c to rspamd.X
2015-09-22 18:17:24 +01:00
Vsevolod Stakhov
11d411e385
Allow to get memory pool for radix tree.
2015-09-03 16:02:13 +01:00
Vsevolod Stakhov
e4aa032337
Add specific logging module for radix trie.
2015-09-03 13:40:24 +01:00
Vsevolod Stakhov
0b719766a5
Fix radix tree size calculations.
2015-09-03 13:40:24 +01:00
Vsevolod Stakhov
b05c7c9edd
Add tags to rspamd_mempool.
2015-08-27 17:36:29 +01:00
Vsevolod Stakhov
0583ca87da
Do not try dereference NULL pointer.
2015-05-19 16:29:21 +01:00
Vsevolod Stakhov
2d94c35b63
Add routine to check radix trie size.
2015-05-13 14:03:46 +01:00
Vsevolod Stakhov
df902a57f9
Remove old radix code (no functional changes).
2015-05-12 09:28:25 +01:00
Vsevolod Stakhov
90fcbffa79
Use opaque inet_address.
2015-03-12 14:20:02 +00:00
Vsevolod Stakhov
fb944bf43e
Fix radix comparision for partial masks.
2015-02-19 12:35:14 +00:00
Vsevolod Stakhov
59391fdce8
Treat single IP as a single IP.
...
Issue: #106
Reported by: @citrin
2014-10-13 17:44:11 +01:00
Vsevolod Stakhov
6f8fa405cf
Rework parsing of ip lists.
2014-10-01 17:35:47 +01:00
Vsevolod Stakhov
df7c6efc18
Adopt logger for new radix.
2014-10-01 16:29:37 +01:00
Vsevolod Stakhov
6ec67947da
Rework addresses parsing.
2014-10-01 15:58:23 +01:00
Vsevolod Stakhov
a8c9abd046
Rework fuzzy storage radix.
2014-10-01 15:15:11 +01:00
Vsevolod Stakhov
9ae0493f95
Add routine to find rspamd_inet_addr in radix trie.
2014-10-01 14:55:49 +01:00
Vsevolod Stakhov
48de7ad408
Fix some issues.
2014-09-18 13:39:52 +01:00
Vsevolod Stakhov
48d2be7a71
Use memory pool for radix.
2014-09-18 13:18:05 +01:00
Vsevolod Stakhov
50f2bd8acd
Optimize radix lookup.
2014-09-17 17:37:33 +01:00
Vsevolod Stakhov
814bcc144f
Check mask first.
2014-09-17 16:22:48 +01:00
Vsevolod Stakhov
31179739be
Another case with repeating leaves.
2014-09-17 15:58:34 +01:00
Vsevolod Stakhov
543db30802
Another border case.
2014-09-17 15:50:11 +01:00
Vsevolod Stakhov
5dbd5830c4
Fix another radix case.
2014-09-17 15:24:32 +01:00
Vsevolod Stakhov
430efa5b10
More fixes to compressed radix.
2014-09-17 14:22:23 +01:00
Vsevolod Stakhov
3963f496e5
Fix some more issues in compressed radix.
2014-09-17 12:39:34 +01:00
Vsevolod Stakhov
0165d618a3
Fix radix leaf nodes insertion.
2014-09-16 18:29:02 +01:00
Vsevolod Stakhov
34b343ece7
Implement new path-compressed radix trie.
...
- The performance benefit over the old algorithm is about 10 times.
- Memory usage is significantly lower as well.
- Now radix trie can accept any IPv4/IPv6 values
2014-09-15 10:46:40 +01:00