[squid-users] Problems with squidclient

From: Rost, Werner <Werner.Rost@dont-contact.us>
Date: Mon, 16 Sep 2002 14:35:17 +0200

squid/2.5.PRE11-20020828

1. Test: Multiple logins allowed
---------------------------------

../bin/squidclient -vp 8080 http://www.google.de/

works fine. Contents of the website are displayed.

2. Test: Deny multiple logins in squid.conf
-------------------------------------------

acl only1 max_user_ip -s 1
http_access deny only1
deny_info ERR_BOGE_DUP_LOGON only1

This gives the error message "Duplicate logon", the
website is not displayed.

access.log shows:

1032179001.049 0 127.0.0.1 TCP_DENIED/407 1213 GET
http://www.google.de/ - NONE/- text/html

ACL debugging in cache.log:

2002/09/16 13:42:29| aclCheck: checking 'http_access deny only1'
2002/09/16 13:42:29| aclMatchAclList: checking only1
2002/09/16 13:42:29| aclMatchAcl: checking 'acl only1 max_user_ip -s 1'
2002/09/16 13:42:29| authenticateAuthenticate: broken auth or no proxy_auth
head
er. Requesting auth header.
2002/09/16 13:42:29| aclMatchAcl: returning 0 sending authentication
challenge.
2002/09/16 13:42:29| aclMatchAclList: returning 0
2002/09/16 13:42:29| aclCheck: requiring Proxy Auth header.
2002/09/16 13:42:29| aclCheck: match found, returning 2
2002/09/16 13:42:29| aclCheckCallback: answer=2

3. Test: same as second test above, but obviously we need a username
--------------------------------------------------------------------

../bin/squidclient -vp 8080 http://www.google.de/ -u rost -w verysecret

HTTP/1.0 400 Bad Request
Server: squid/2.5.PRE11-20020828
Mime-Version: 1.0
Date: Mon, 16 Sep 2002 12:31:00 GMT
Content-Type: text/html
Content-Length: 1173
Expires: Mon, 16 Sep 2002 12:31:00 GMT
X-Squid-Error: ERR_INVALID_URL 0
X-Cache: MISS from BONN-Proxy
Proxy-Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.or
g/TR/html4/loose.dtd">
<HTML><HEAD>

access.log shows:

1032179261.645 0 127.0.0.1 NONE/400 1468 GET verysecret - NONE/-
text/html

> Mit freundlichen Grüßen / regards
> Werner Rost
>
> ---------------------------------------------------------------------
> ZF Boge GmbH
> Werner Rost
> IT
> Friesdorfer Str. 175
> D-53175 Bonn
>
>
> phone: +49/228/3825 420
> fax: +49/228/3825 398
> werner.rost@zfboge.com
>
> www.boge-vibrationcontrol.com
> ---------------------------------------------------------------------
>
>

---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!

**

Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------
Received on Mon Sep 16 2002 - 06:37:36 MDT

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