April 30, 2008
View 145d6ad0f9

- if ipv6 support is disabled (-DUSE_IPV6 not defined), don't even try to use AF_INET6 (might not be defined if the underlying OS doesn't support ipv6), or str2ip6

Andrei Pelinescu-Onciul authored on 30/04/2008 19:50:04
February 11, 2008
View 7905e2d6ed

- use_dns_cache can be enabled/disabled runtime - dns_cache_init is introduced: if set to 0, the dns cache is not initialized, and cannot be enabled later (default is 1) - dst_blacklist_init is introduced: if set to 0, the dst blacklist is not initialized (similar to dns_cache_init) (default is 1)

Miklos Tirpak authored on 11/02/2008 17:11:59
December 13, 2007
View a4d17f8262

Destination blacklist parameters have been updated to the config framework, the following variables are changeable runtime:

Miklos Tirpak authored on 13/12/2007 15:29:55
October 18, 2007
View c2b672e7f3

- removed bkl_hit_cnt stat from dst_blacklist_add_to function

Vladimir Marek authored on 18/10/2007 12:43:03
October 10, 2007
View 19aed17b4c

- don't include expired entries in IP blacklist view command

Vladimir Marek authored on 10/10/2007 10:56:41
October 9, 2007
View be7a883c54

- fix: when dns or blacklist are disabled, reply with an error from the corresponding rpc function (way better then crashing)

Andrei Pelinescu-Onciul authored on 09/10/2007 20:35:50
View 16d4e07948

- coding style (mainly identations) & some comments / spelling

Andrei Pelinescu-Onciul authored on 09/10/2007 19:56:08
September 14, 2007
View 8779733eef

expires value is missing in the output of dst blacklist view rpc command

Miklos Tirpak authored on 14/09/2007 14:50:41
September 6, 2007
View 4c52255abc

Replaced rpc->struct_add by rpc->printf for view functions. If the cache/blacklist contained many entries then SER had problem with number of chunks. The solution with printf is working for 8000 entries in the blacklist without any problem.

Vladimir Marek authored on 06/09/2007 15:11:09
September 4, 2007
View 7fc57c4285

- fixed bug in list handling (del)

Andrei Pelinescu-Onciul authored on 04/09/2007 10:01:27
August 18, 2007
View f07543c3c3

FIX - if hooks are defined then increment hit counter only when a destination is added into blacklist

Vladimir Marek authored on 18/08/2007 19:40:59
July 31, 2007
View 5744b6f8e6

- dst blacklist measurements added

Gergely Kovacs authored on 31/07/2007 13:27:55
July 30, 2007
View 5bd736c7b9

- added support for deleting an entry from the blacklist (dst_blacklist_del()) - added support for adding an entry to the blacklist with a specific timeout (dst_blacklist_add_to()) - fixed missing hash stats for _dst_blacklist_lst_find - added a special flag for 503 replies

Andrei Pelinescu-Onciul authored on 30/07/2007 19:42:03
July 26, 2007
View 7a64325cf2

dst blacklist callbacks are extended with the sip msg parameter.

Miklos Tirpak authored on 26/07/2007 11:52:22
View dfcbd08b0c

New RPC commands to manipulate the destination blacklist:

Miklos Tirpak authored on 26/07/2007 11:42:53