RE: [squid-users] Send Ip address to authetication program

From: HHDirecto.Net <hhdirecto@dont-contact.us>
Date: Fri, 23 Feb 2007 09:38:45 -0500

>> How can I to get the ip of the client in my basic authentication
>> program (not only user an pass)?
>
> isn't external_acl_type usefull for you?

It is an external authentication program:
auth_param basic program /usr/bin/java -jar /usr/sbin/MyAuthentication.jar

>> I tried to change it in auth_basic.c file of sources, But how can I
>> obtain the char * with IP adres for send it? I think it could be in
>> auth_user_request_t struct of authenticateBasicStart
>> function, but where? and how convert it to char*)
>
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> He who laughs last thinks slowest.
Received on Fri Feb 23 2007 - 07:38:50 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST