Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
Hello....nOOb here. 3 months on suse linux and 3 days on ubuntu hoary. I Love it and am so close from getting away from M$, BUT......
I have a samsung ml1430 printer attached to a linksys wireless print server. I use a laptop that connects wirelessly. No problem printing in xp.
in ubuntu, I went to system, administration, printing and configured my printer via lpd at abc.def.g.hij where the abc's are my local ip address for the print server. I could print in suse 9.2 without problems (including with the firewall on). In ubuntu, I can ply print with the firewall (firestarter gui) off.
i do not have a network per se. I have a wireless router that i use with a laptop and wireless print servers. the print servers have static ip addresses. with the firewall on, ubuntu cannot see them. with the ifrewall off, no problem.
I searched the ubuntu forums and linuxquestions.org for hours without success. I know I need to set rules (policy) in firestarter, but I havent had any success.
Since I am such a nOOb I do not know how to lace an entry in the FW with the ip addr that your printers have with the port address that the local machine is LISTEN on. Can I gently ask for a step by step guide?
That wasn't supposed to be a command to type in the command line. Instead you should add that to firestarter's configuration file (the actuall firewall script). Of course, you can execute the command the way Capt_Caveman said, but that will alter the firewall's behaviour only until the next reboot.
I added the line to the /etc/firestarter/configuration file by using the terminal and entering sudo gedit and then opening the file, entering the line and the end of the file saving the file and then restratring. Upon restart I could not print, when I stopped the firewall I had no problems.
I used firestarter quite a while ago, so I don't remember exactly which file holds the firewall rules. It may not be the same with the configuration file. It is probably called something like firewall.rc or similar. Its contents should have many lines like the one I wrote in my first reply (post#3).
Yet, if you say it has a GUI of some sort, use that instead to edit the rules. Still, if the modification is made by hand, add that rule somewhere after the beginning of the file (after the variables such as IFACE, IP or similar are declared, and before it starts dropping packets).
Because I can't tell you more unless I see the actual file, I can only point you further to see how a firewall is implemented at http://www.faqs.org/docs/iptables/index.html You'll also see here how a firewall configuration file should look like: http://iptables-tutorial.frozentux.n...c.firewall.txt In such a file you should add the rule that permits local connections to your IPP port.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.