Jump to content

Recommended Posts

Posted

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

 

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

# 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".

Posted

Парвильный 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)

 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.