February 10, 2012
View 1aedf95f1a

lib/kcore: cleaned up unused code

Daniel-Constantin Mierla authored on 10/02/2012 12:42:59
December 23, 2011
View 7d4536e28c

permissions(k): support for ipv6 in address-related functions

Daniel-Constantin Mierla authored on 23/12/2011 08:35:02
March 8, 2011
View bbb082d582

modules_k/permissions: allow_trusted(): Make the multiple matches feature configurable, defaulting to single match.

Alex Hermann authored on 08/03/2011 10:59:01
March 7, 2011
View b93c81421f

modules_k/permissions: allow_trusted(): Return number of matched entries.

Alex Hermann authored on 07/03/2011 13:36:27
March 4, 2011
View b6525fad3d

modules_k/permisisons: allow_trusted(): Add tags from all matching entries to the peer_tag_avp instead of just the first match.

Alex Hermann authored on 04/03/2011 16:22:20
March 28, 2010
View 71a58b4718

permissions(k): print tag in MI commands output

Daniel-Constantin Mierla authored on 28/03/2010 19:02:04
March 27, 2010
View cd93b6afcc

permissions(k): tag support for allow_address

Daniel-Constantin Mierla authored on 27/03/2010 22:26:24
March 4, 2010
View f5a29762b6

* modules_k/permissions: subnet matching fix (credits to anonymous)

Juha Heinanen authored on 04/03/2010 07:09:22
March 11, 2009
View 96da337a6b

* Improved allow_trusted() documentation and comment in code.

Juha Heinanen authored on 11/03/2009 08:45:08
March 3, 2009
View f22996498b

Update module to use hash_func.h from libkcore

Jan Janak authored on 03/03/2009 17:23:09
July 28, 2008
View 27642a08ce

- change name in copyright headers

Henning Westerholt authored on 28/07/2008 15:39:28
June 30, 2008
View 0ead7ab31b

- Fix problem in the allow_address() and allow_source_address() functions, they worked properly only with /0, /8, /16, /24, /32 netmasks so far. Related to bug #1888101, reported from Giovanni Coriasco - add a small testcase for the permission module

Henning Westerholt authored on 30/06/2008 10:44:43
May 7, 2008
View 5733379fb1

* Added two optional pseudo variable arguments to allow_trusted function that, if present, are used instead of request's source address and transport protocol.

Juha Heinanen authored on 07/05/2008 09:34:34
January 22, 2008
View e2cf634310

- port database interface (almost) complete from 'const char*' to 'str' for more safety (e.g. not null terminated strings) and performance (save strlen calls in core and library code) - adapt existing modules to use the new interface - change bind_dbmod and use_table function to the naming scheme of the other functions of the API - port existing module to use 'str' values for database related parameters - if modules uses already 'str' functions internally, remove the unnecessary temporary variables - make functions and parameter that needs only locally be used static - introduce new column variables needed for the keys for modules that don't have them already, this could be used to make them configurable later on - add 'const' to more db related functions - fix postgres driver, async queries must be finished, otherwise the next one will not complete - smaller whitespace and formatting changes and cleanups all over the place - reviewed and tested with testcases, but probably not error free because of the change size

Henning Westerholt authored on 22/01/2008 13:55:43
December 14, 2007
View ef45c992bd

* Introduced allow_source_address_group() function which checks if source address/port is found in cached address or subnet table in any group. If yes, returns that group.

Juha Heinanen authored on 14/12/2007 16:47:23