Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid - Auth für IP Range deaktivieren? [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1365

PostPosted: Sat Oct 07, 2006 8:17 pm    Post subject: Squid - Auth für IP Range deaktivieren? [Solved] Reply with quote

Hallo!
Vorweg: Mein jetziges Squid rennt ohne Probleme. Jeder User mit sich per HTTP Auth anmelden ...
Jedoch will ich nun diesen Auth für eien spezielle IP Range deaktivieren ...

Wie mache ich das?

Code:
BlackBox squid # cat squid.conf
#####
#BlackBox Squid Proxy
#####

# Squid Port
http_port 3128
https_port 3129 cert=/etc/squid/ssl/geode-blackbox.de.crt key=/etc/squid/ssl/geode-blackbox.de.key

# Squid Cache
cache_mem 32 MB
cache_dir ufs /var/cache/squid 100 16 256

# Squid Logs
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

# Squid PID
pid_filename /var/run/squid.pid

# Squid User
cache_effective_user squid
cache_effective_group squid

# Sonstiges
ftp_user Squid@geode-blackbox.de
ftp_passive off
cache_mgr ConiKost@geode-blackbox.de

# ACL Auth setzen
acl all src 0.0.0.0/0.0.0.0
acl LAN src 192.0.0.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl FTP proto FTP
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

# User Auth
auth_param basic program /usr/lib/squid/ncsa_auth /etc/.htpasswd
auth_param basic children 5
auth_param basic realm BlackBox Squid Proxy
auth_param basic credentialsttl 24 hours
acl auth proxy_auth REQUIRED
acl conikost proxy_auth "/etc/squid/users"

# ACL Auth aktivieren
http_access allow auth
#always_direct allow FTP
http_access deny all


Last edited by ConiKost on Sat Oct 07, 2006 10:14 pm; edited 3 times in total
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1365

PostPosted: Sat Oct 07, 2006 9:22 pm    Post subject: Reply with quote

http_access allow LAN

hat geholfen!
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1365

PostPosted: Sat Oct 07, 2006 9:31 pm    Post subject: Reply with quote

Oke hat nicht geholfen *grml* :(

EDIT


Habs nun doch raus!

Das http_access allow LAN MUSS vor http_access allow auth stehen!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum