[Users] Custom header field use || getting original IP from dispatcher

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Feb 23 10:20:11 CET 2006


Hello,

On 02/23/06 05:17, Rick Richardson wrote:
> I am needing to use the source IP for a few routines in my proxy server,
> but the problem is that it is being forwarded to me by a dispatcher. I
> am definitely needing the IP address. 
>
> My first inclination was to append a header field with the IP address.
> This is quite easy. However, the hard part is using that passed in IP
> address. I'm not sure what the best way would be to get that value into
> the hands of several module functions like permissions =>
> allow_trusted(), etc..
>
> Any ideas?
>   
one solution would be to do some development to introduce 
pseudo-variable support in the modules you want. But maybe you can do 
the check using only avpops module, via avp_check() and avp_db_load().

Cheers,
Daniel

> thanks,
>
> Rick
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list