January 19, 2016
View 2fc778f350

carrierroute: fixed possible kamctl fifo segfault

Lucian Balaceanu authored on 19/01/2016 09:09:59
July 22, 2010
View 87df492899

modules/carrierroute: In case the reply tree in a fifo dump_routes command can't be executed, release the routing data.

Marius Zbihlei authored on 22/07/2010 10:05:14
October 10, 2009
View e89cea154c

Updating license plate

oej authored on 10/10/2009 12:14:58
September 8, 2009
View cb632b338c

cr: protect against user error when backup is the same as initial host, port from r5924

Henning Westerholt authored on 08/09/2009 15:42:14
June 30, 2009
View 72b7c0f963

carrierroute: port from 1.5 branch, r5877

Henning Westerholt authored on 30/06/2009 12:14:59
View a06115db66

carrierroute: port from 1.5 branch, r5876, remove dead code (double return)

Henning Westerholt authored on 30/06/2009 12:12:28
December 4, 2008
View a103c1a10a

- fix a bunch of doxygen errors (mostly in modules, some in the core) - credits belongs to Frederick Bullik, frederick dot bullik at 1und1 dot de

Henning Westerholt authored on 04/12/2008 18:12:33
November 19, 2008
View cc0ba2f059

- add support for non-digit matching to trie utility functions - supports the old method (1 to 9), and the standard ascii set (0 - 127) - add new config variable 'match_mode' to carrierroute to configure the prefix matching mode, the default is the old behaviour - port userblacklist to new trie interface, this don't support the extended matching yet

Henning Westerholt authored on 19/11/2008 13:16:15
November 12, 2008
View 8efd99bc89

- finish refactoring of carrierroute module - replace O(n) matching logic for carrier and domain names with a efficient binary search implementation - use qsort and bsearch of glibc in most of the cases, where its possible (basically all carrier/domain searches are O(log n) now, only when dynamic strings for are used in the cfg, it needs to search the whole list) - change carrier and domain names from string to integer, to allow the lookup - instead of storing the carrier/domain name string in the memory structure, a pointer to the name is used to save space - get rid of this internal ID vs. external ID stuff, we use now only one - rename the route_tree table to carrier_name - add a new table domain_name, to hold the domain names (like route_tree tbl) - adapt tests for the new or changed functionality - extend documentation with a paragraph about the used matching logic - Credits for this work belongs to Hardy Kahl, hardy dot kahl at 1und1 dot de - fix a few errors in the postgres cr test, fix a few doxygen statements - move some parts of log messages to DBG log level - update documentation and database schemes

Henning Westerholt authored on 12/11/2008 15:53:01
November 3, 2008
View a083345f11

- use log helper from mem.h for memory allocation failure logging

Henning Westerholt authored on 03/11/2008 09:45:28
October 24, 2008
View 5e92049ede

- refactor carrierroute module (preparations for later performance improvements and some functional additions) - use core trie structure instead of the own copy of the digit trie - use a iterative approach instead of the recursive digit matching - move belonging functionality to one file, reduce dependencies between different files, change interfaces to use more appropriate structures - get rid of this API pointer to differ between config and DB mode

Henning Westerholt authored on 24/10/2008 08:28:01