LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-10-2003, 04:35 AM   #1
Zingaro2002
Member
 
Registered: Feb 2002
Location: Italy
Distribution: Fedora Core 1, Red Hat 8, Red Hat 9, Knoppix 3.3 (debian sarge)
Posts: 97

Rep: Reputation: 15
Squid and FTP servers - very strange and urgent problem


Hi guys!

I configured Squid 2.5 stable3 on a Debian-Knoppix machine.
It works good apparently...

When my users access any FTP server, using Internet Explorer, they can see the list of files and directories but they can only download files (only 1 per time) , they CANNOT download directories, they can upload nothing and they CANNOT rename nor delete anything.

If they don't use the proxy server they CAN do all theese things (with the same Internet Explorer and with the same FTP servers).
So it's just a problem of Squid configuration.

Who can help me?

Please, it's really urgent!

Thanks anyway.
 
Old 11-10-2003, 04:37 AM   #2
Zingaro2002
Member
 
Registered: Feb 2002
Location: Italy
Distribution: Fedora Core 1, Red Hat 8, Red Hat 9, Knoppix 3.3 (debian sarge)
Posts: 97

Original Poster
Rep: Reputation: 15
I show you some parts of my squid.conf (hoping it can help)

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
# ftp_user Squid@
# ftp_user anonymous
# ftp_user test@

ftp_list_width 64

ftp_passive off

ftp_sanitycheck off

...

#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl FTP proto FTP
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 631 # cups
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

....

#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Only allow purge requests from localhost
http_access allow purge localhost
http_access deny purge
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
http_access allow localhost

acl our_network1 src 192.168.0.1/255.255.255.0
acl Siti dstdom_regex "/etc/Siti_consentiti.txt"
acl ServerEffeTiPi dstdom_regex "/etc/ServerFTP_consentiti.txt"

http_access allow our_network1 Siti
http_access allow FTP our_network1

acl ftpaccess src 192.168.9.12 192.168.0.54

acl our_network2 src 192.168.9.12

http_access allow FTP ftpaccess
http_access deny FTP

http_access allow our_network2 Siti

# And finally deny all other access to this proxy
http_access deny all



I'm waiting for your suggestions...

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very Strange FTP script problem ??? lionking_x Linux - Newbie 1 08-15-2005 04:53 AM
strange ftp problem nix_crazy Linux - Networking 5 04-12-2005 08:36 PM
Strange problem with apt-get FTP TheOneKEA Debian 2 12-01-2004 08:32 AM
Strange problem while installing via ftp Pauluso Linux - Networking 1 10-18-2004 09:30 AM
Squid ftp problem kelper Linux - Software 1 06-20-2003 03:47 AM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration