Jump to content
Калькуляторы

radius proxy rlm_caching

У кого-то вышло сделать кеширующий прокси радиус? (знаю, что хочу странного).

 

модуль скомпилился.. но несмотря на то что он как бы есть...

# strace   radiusd  -XXXX  2>&1| grep cach
open("/etc/ld.so.cache", O_RDONLY)      = 3
stat64("/etc/raddb/modules/caching", {st_mode=S_IFREG|0640, st_size=1336, ...}) = 0
write(1, "Sun Feb  7 20:53:44 2010 : Debug"..., 90Sun Feb  7 20:53:44 2010 : Debug: including configuration file /etc/raddb/modules/caching
stat64("/etc/raddb/modules/caching", {st_mode=S_IFREG|0640, st_size=1336, ...}) = 0
open("/etc/raddb/modules/caching", O_RDONLY|O_LARGEFILE) = 5
open("/etc/ld.so.cache", O_RDONLY)      = 3
write(1, "Sun Feb  7 20:53:44 2010 : Debug"..., 46Sun Feb  7 20:53:44 2010 : Debug:     cache {
open("/usr/lib/freeradius/rlm_caching.la", O_RDONLY) = 3
read(3, "# rlm_caching.la - a libtool lib"..., 4096) = 1006
open("/usr/lib/freeradius/rlm_caching-2.1.7.so", O_RDONLY) = 3
open("/usr/lib/freeradius/rlm_caching-2.1.7.so", O_RDONLY) = 3
access("/usr/lib/freeradius/rlm_caching.so", R_OK) = 0
open("/usr/lib/freeradius/rlm_caching.so", O_RDONLY) = 3
write(1, "Sun Feb  7 20:53:44 2010 : Error"..., 122Sun Feb  7 20:53:44 2010 : Error: /etc/raddb/modules/caching[44]: Failed to link to module 'rlm_caching': file not found
write(1, "Sun Feb  7 20:53:44 2010 : Error"..., 105Sun Feb  7 20:53:44 2010 : Error: /etc/raddb/sites-enabled/default[11]: Failed to find module "caching".

Share this post


Link to post
Share on other sites

Парвильный Makefile для этого модуля такой

TARGET      = rlm_caching
SRCS        = rlm_caching.c
HEADERS     =
RLM_LIBS    = -lgdbm
RLM_INSTALL =
RLM_CFLAGS  =  -I/usr/include

include ../rules.mak

$(LT_OBJS): $(HEADERS)

 

Но полезность его оказалась сомнительной =)

Share this post


Link to post
Share on other sites

кто мог подумать, что MS-CHAP нельзя кешиовать =)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this