Search squid archive

RE: Send Ip address to authetication program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux