LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-13-2010, 01:16 AM   #1
ganfun
Member
 
Registered: Apr 2010
Location: Mumbai, India
Distribution: Ubuntu Server 9.10
Posts: 38

Rep: Reputation: 15
unable to connect to FTP using squid


i am unable to connect to FTP server using squid

here is my config

Quote:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 198.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443 21 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl bad url_regex "/etc/squid/squid-block.acl"
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports
acl ftp_ports src 21
http_access allow localhost
http_access deny bad
http_access allow all
icp_access allow localnet
icp_access deny all
http_port 198.168.0.13:3128 transparent
http_port 127.0.0.1:3128 transparent
htcp_port 4827
hierarchy_stoplist cgi-bin ?
cache_mem 0 MB
cache_dir ufs /var/spool/squid 8 16 256
access_log /var/log/squid/access.log squid
ftp_user Squid@domain1.com
ftp_passive off
acl ftpusers src 0.0.0.0/0.0.0.0
http_access allow ftpusers ftp_ports
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
acl FTP proto FTP
always_direct allow FTP
check_hostnames off
hosts_file /etc/hosts
visible_hostname minfolin

icp_port 3130

always_direct allow all

forwarded_for off
coredump_dir /var/spool/squid
I get msg windows cannot access the FTP folder operation timed out can anyone help me
 
Old 05-13-2010, 06:42 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Not really, since you don't provide details. What version/distro of Linux? Version of Squid? Can you access the FTP site from other machines, NOT through the Squid server??
 
Old 05-14-2010, 12:41 AM   #3
ganfun
Member
 
Registered: Apr 2010
Location: Mumbai, India
Distribution: Ubuntu Server 9.10
Posts: 38

Original Poster
Rep: Reputation: 15
squid ftp proble,

I am using Ubuntu Karnic 9.10 dis

I am able to connect directly with the squid but not through
 
Old 05-14-2010, 10:33 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by ganfun View Post
I am using Ubuntu Karnic 9.10 dis

I am able to connect directly with the squid but not through
Can't understand this. "Connect directly with the squid but not through"?? What do you mean?

Questions, from my previous post, and more.
- Version of Squid?
- Can you access the FTP site from other machines (Windows, other Linux boxes, etc.)
- Can you access the site if you don't go through the Squid server??
- Can you access ANY FTP sites, or just not one?
 
  


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
Unable to connect to internet through a squid proxy client on Fedora 10 vikram_cvk Linux - Networking 1 03-26-2009 09:29 PM
Urgent!! unable to Connect Windows live Messenger through Squid Proxy farrukhndm Linux - Server 0 11-29-2008 03:45 AM
Unable to connect with telnet, ssh, ftp, etc... djlerman Linux - Server 1 09-05-2007 03:13 PM
unable to connect local server in squid kumarkumar009 Linux - Networking 0 08-26-2006 12:43 AM
squid problem pcs unable to connect to net woods Linux - Networking 1 11-18-2004 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration