Ik zit momenteel met het probleem dat FTP uploads welke door m'n squid proxy lopen corrupted raken. De transfer start goed en lijkt ook goed te verlopen, echter ongeacht het bestand of client, het bestand raakt corrupted.
De Proxy draait IPCop 1.4.2.
De rode en groene interface draaien beide 100Mb/FD, de interface op de swith is ditto ingesteld.
Zelfs met een minimale squid.conf blijft de corruptie.
Ik heb me al helemaal suf gegoogled..
Mijn Squid.conf ziet er als volgt uit:
De Proxy draait IPCop 1.4.2.
De rode en groene interface draaien beide 100Mb/FD, de interface op de swith is ditto ingesteld.
Zelfs met een minimale squid.conf blijft de corruptie.
Ik heb me al helemaal suf gegoogled..
Mijn Squid.conf ziet er als volgt uit:
| shutdown_lifetime 5 seconds icp_port 0 http_port 192.168.2.80:8080 acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_effective_user squid cache_effective_group squid pid_filename /var/run/squid.pid cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log none log_mime_hdrs off forwarded_for off acl all src 0.0.0.0/0.0.0.0 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 21 # ftp 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 Safe_ports port 800 # Squids port (for icons) acl CONNECT method CONNECT acl FTP proto FTP acl IPCop_http port 81 acl IPCop_https port 445 acl IPCop_ips dst 192.168.2.80 acl IPCop_networks src 192.168.2.0/255.255.255.0 ##Access to squid: #local machine, no restriction http_access allow localhost http_access allow all # allow direct ftp, all other redirect to parent always_direct allow FTP always_direct deny all #GUI admin if local machine connects http_access allow IPCop_ips IPCop_networks IPCop_http http_access allow CONNECT IPCop_ips IPCop_networks IPCop_https #Deny not web services #http_access deny !Safe_ports #http_access deny CONNECT !SSL_ports #Finally allow IPCop_networks clients #http_access allow IPCop_networks #http_access deny all maximum_object_size 4096 KB minimum_object_size 0 KB cache_mem 4096 KB cache_dir aufs /var/log/cache 100 16 256 request_body_max_size 0 KB reply_body_max_size 0 allow all visible_hostname proxy.domain.local httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on |