Squid und ftp

Post Reply
Message
Author
Guest

Squid und ftp

#1 Post by Guest »

Meine Umgebung: Suse Linux 9.1, pure-ftp 1.0.18, squid 2.5

Ich habe folgendes Problem. Wenn ich Dateien über FTP und den PROXY squid kopiere, dann verlieren die meisten Dateien ihre restlichen Bytes. Die kopierten Dateien sind um ein paar Bytes kleiner als die Quelldateien. :cry:

Kann mir da vielleicht jemand helfen, was ich das noch einstellen kann, damit die Dateien richtig rüber kommen?

Hier die squid.conf:

# squid.conf
#
# NETWORK OPTIONS

http_port 3128
htcp_port 0

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \? \.asp
no_cache deny QUERY
# Anmerkung: In dieser Datei werden die Adressen / Dateien
# hinterlegt, die direkt ausgeführt werden sollen
# acl blacklist url_regex -i "/etc/squid/bllst.txt"
# no_cache deny blacklist

# OPTIONS WHICH AFFECT THE CACHE SIZE

cache_mem 32 MB
maximum_object_size 16384 KB

# LOGFILE PATHNAMES AND CACHE DIRECTORIES

cache_dir ufs /var/cache/squid 2048 32 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS

ftp_user ftp@qslinux1.de

# OPTIONS FOR TUNING THE CACHE

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4660

# TIMEOUTS

# ACCESS CONTROLS

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 81 82 83 # its
acl Safe_ports port 21 # ftp
ac Safe_ports port 20 # ftp data
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl PURGE method PURGE
http_access allow manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow PURGE
http_access allow all
icp_access allow all

# ADMINISTRATIVE PARAMETERS

cache_mgr root

# OPTIONS FOR THE CACHE REGISTRATION SERVICE

# HTTPD-ACCELERATOR OPTIONS

# MISCELLANEOUS

CheersMichael

#2 Post by CheersMichael »

Squid ist ein HTTP-Proxy

Du brauchst sowas hier

http://www.suse.de/en/whitepapers/proxy_suite/

siehe auch hier

http://www.squid-cache.org/mail-archive ... /0381.html

Cheers

Michael

Post Reply