LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-02-2008, 11:48 PM   #1
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Rep: Reputation: 0
FTP/Outlook related problem


OK..Thanks for reply....Another thing is that , from squid system I m able to login remote ftp server (I m not telling about browser based ftp websites; like ftp://ftp.abcd.com)and get mails through pop client . In linux I m using Evolution pop mail....But from other client ssytem those are connected with my squid server, they are not able to do this kind of activity . Only browse google etc. Even I use IPTABLEs to allow all source-all destination for FTP . Even put it in squid ACL as safeport.....Any suggestion.Pls tell.
 
Old 07-03-2008, 12:04 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by santanu.santanu View Post
OK..Thanks for reply....Another thing is that , from squid system I m able to login remote ftp server (I m not telling about browser based ftp websites; like ftp://ftp.abcd.com)and get mails through pop client . In linux I m using Evolution pop mail....But from other client ssytem those are connected with my squid server, they are not able to do this kind of activity . Only browse google etc. Even I use IPTABLEs to allow all source-all destination for FTP . Even put it in squid ACL as safeport.....Any suggestion.Pls tell.
If I understand your post correctly, you are saying that your clients are having problems accessing FTP servers. If that is indeed what you are saying, then that is a completely separate issue and does not belong in this thread.

Last edited by win32sux; 07-03-2008 at 12:05 AM.
 
Old 07-03-2008, 12:09 AM   #3
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
Yes you are right. Actually if I manually block required sites through squid it may be possible . But now I m seeing that users are unable to get mails through outlook or not able to login remote FTP server (not browser based ftp sites). Pls..Pls. help me out .

Its possible from local squid system...but not other client XP system who are connected with my squid system.

Last edited by santanu.santanu; 07-03-2008 at 12:11 AM.
 
Old 07-03-2008, 12:12 AM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Focus, Focus, F O C U S !

Focus on one problem at a time; it is way too challenging to follow what immediate, single problem you are trying to resolve.
 
Old 07-03-2008, 12:21 AM   #5
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
But pls, tell me the way how to solve the FTP / Outlook related problem. This is a serious issue for me . Pls.don't take me other way . Actually I m focusing on this issue . And I m not getting proper suggestions from others . Pls help.....After solving the issue we can talk on previous matter......But pls tell me any way ; may be IPTABLES / Squid ACL .
 
Old 07-03-2008, 12:23 AM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
You misunderstand.

Are you trying to make POP work at this moment, or FTP. Chose one. Because each of them can have a different set of problems.
 
Old 07-03-2008, 12:31 AM   #7
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
At the moment I have to allow connected XP users for getting mails through Outlook and allow them to login remote ftp server........>>>> through squid-proxy system....Here a common error coming " domain no resolved "...I think thats the problem . Client system are are unable to resolve remote domains through squid-proxy system..Any paramitter needed to add in squid . And POP (in case of Outlook)showing port 110 related error .
 
Old 07-03-2008, 12:35 AM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Ok, since you prefer not to make a choice, I'll make one for you - we'll focus on POP,

From the command line on a system that has trouble:

Code:
telnet IP_OF_POP_SERVER 110
What happens?
 
Old 07-03-2008, 12:48 AM   #9
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
I m able to connect from local squid system...but from XP client its showing connection failed
 
Old 07-03-2008, 01:08 AM   #10
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
I m not getting any reason ... so that client systems are unable to resolve the remote domain....because google etc. are browsing . And my user's getway is my squid system.
 
Old 07-03-2008, 01:14 AM   #11
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
I've moved this new discussion into a separate thread in Networking.

santanu.santanu, I hope next time you will take a hint and start a new thread for your new issue. Asking how to filter Web-based email on your network is a security matter, but FTP and Outlook clients with connectivity problems is not.

Last edited by win32sux; 07-03-2008 at 02:23 AM.
 
Old 07-03-2008, 06:25 PM   #12
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
How are you forcing your POP users to connect through Squid any way? So far as I know Outlook doesn't have any proxy support... Are you using iptables to redirect all port 110/tcp connections to Squid, or haven't you done that? If you just blocked all outbound connections, but didn't direct any traffic to Squid and just relied on the browser Proxy settings, then of course nothing besides browsers are going to work, because those are the only applications that actually have the proxy settings.
 
Old 07-03-2008, 11:48 PM   #13
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
First I put in Squid ACL - POP related ports as safe ports. I also used IPTABLES like ....
iptables -A OUTPUT -p tcp -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 --dport 110 -j ACCEPT
iptables -A OUTPUT -p udp -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 --dport 110 -j ACCEPT
iptables -A INPUT -p tcp -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 --dport 110 -j ACCEPT
iptables -A INPUT -p udp -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 --dport 110 -j ACCEPT
.........is there any other way , I can write in IPTABLES rules to allow POP users.Any thing needs to add in Squid ?
 
Old 07-04-2008, 01:07 AM   #14
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
POP3 is TCP, not UDP.
Squid is an HTTP proxy; not POP3.
Why are you using dport=110 on OUTPUT? Destination port will be a high-level, random port, and sport will be 110.
Perhaps you want to only allow ESTABLISHED connections on OUTPUT.

http://www.cyberciti.biz/tips/linux-...l-request.html
 
Old 07-04-2008, 02:29 AM   #15
santanu.santanu
LQ Newbie
 
Registered: Jun 2008
Location: Kolkata
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks..for above link.Can I use domain name instead of iP in iptables rule( -s abcd.com or -d abcd.com ).And most importantly , genereally in normal situation (no firewall and direct connect to the internet); in outlook / pop client I just type :->>>> Full Name :-> user ;; E-mail Id :-> user@abcd.com ;; Receiving/POP :-> mail.abcd.com ;; Sending/SMTP :-> mail.abcd.com....like this . In this case how I map client pop form XP systems with this .
 
  


Reply



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
Ms Outlook Express/Outlook questions-Is there a Linux solution? Sunguraaa General 2 06-26-2007 07:21 AM
FTP related (sparc machine ) routers Solaris / OpenSolaris 1 03-07-2006 05:15 AM
required iptable script for ftp and udp related program satish Linux - Networking 6 01-11-2006 09:44 AM
problem in mail through outlook alvi2 Linux - Networking 3 08-10-2005 04:39 AM
QuickQuestion.. Telnet and FTP related Illusion *BSD 1 07-14-2003 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:57 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