FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just finished an install of Core1, and I'm working on getting the FTP server running (so I can upload web pages from my dev box for quick testing). Unfortunately, I'm still very much a newbie so this is kind of greek to me, but I believe I have the VSFTPD configured how I need now.
However, if I have the firewall enabled under System Security Settings, I can't connect from my dev box with CuteFTP. I show the connection established, user and pass authenticated, and all looks good. Then CuteFTP goes into Passive mode and tries to retrieve the directory listing. For whatever reason, even if FTP is checked as allowed in the firewall, CuteFTP fails to connect a socket.
227 Entering Passive Mode (192,168,1,203,121,147)
STATUS:> Connecting data socket...
ERROR:> Failed to establish data socket
If I set eth0 as a trusted device, or disable the firewall, it works just fine, but of course that leaves the box wide open.
Anyone have any suggestions on where to look to correct this, or what if I need to go with a different firewall. My router has one, but it's weak at best. I use Zonealarm on my XP dev box, but of course that's not available for Linux.
IIRC, passive mode allows the server to specify a different IP and/or different ports to connect to on the server.
So for instance, you may connect on port 21, but when the server goes into passive mode, it may be trying to tell your client to connect on port 1025 (or whatever) and that port is not open on the firewall.
Is there a way to specify the passive port range to be used on the FTP server (in the config file), then open those ports on the firewall? I would assume so...
If there's a way to do any advanced configurations of the firewall that Fedora includes with install, I sure can't find it. Basically, you have a checkbox for HTTP, FTP, MAIL, and a couple others, plus a trust this device check for the nic. I can't find any manner of port triggering or filtering in the firewall. If it's there, it's either very well hidden, or only usable through the config files, which I'm going to hunt for shortly.
Once firestarter is installed, you will find it under System Tools --> More System Tools. There is a wizard that you run first, then you can add more open ports after that. There is an online manual , too.
I installed Firestarter last weeks and it seems to work well. It is alot less time consuming than manually editing iptables, but I am still not sure if the security is as good. I am actively searching the web for more info. If I see anything of interest pro or con, I will post it here.
I think the default firewall in fedora is a joke. I have the same problem because I could not connect when the firewall was enabled or disabled, even though my connection was up.
I just went with Firestarter and never looked back.
There seems to be very little info on the firewall in fedora. I found out that it seems to use lokkit, however I thought that iptables was used, will have to look in to somemore unless somebody else knows?
Originally posted by tpjets62 I installed Firestarter last weeks and it seems to work well. It is alot less time consuming than manually editing iptables, but I am still not sure if the security is as good. I am actively searching the web for more info. If I see anything of interest pro or con, I will post it here.
Firestarter uses iptables. It is just a front end so that you don't have to do the dirty work of editing them yourself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.