Re: [squid-users] acl ident_regex

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 25 Jul 2003 18:04:34 +0200

fre 2003-07-25 klockan 17.31 skrev Chris Wilcox:
> Hello again all,
>
> Been having yet another read through the ACL types I can use within squid.
> Does ident_regex allow pattern matching on the entire string returned from
> an ident lookup?

Only the user identity part, not the OS part or port numbers.

> eg if I have an altered version of an identd server running
> on a client PC, and this returns (amongst other things) username and client
> PC hostname, would it be possible for ident_regex to look for a certain
> hostname within the returned ident string?

Only if this returns the hostname as part of the username field in the
ident reply.

If you want to return the information in any other field then Squid
needs to be modified to read this other field.

As said in previous reply the standard ident protocol does not have a
hostname field (RFC1413). If you wish to introduce such field in the
protocol all clients using your ident server needs to be modified to
understand the new field.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri Jul 25 2003 - 10:04:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:17 MST