LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-05-2004, 11:43 PM   #1
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
Question


Hi, I am running slackware 10 on both laptop and PC. I have just installed gshield on the PC and all network services (PC - laptop) that I need seem to be working ok except printing. Printing works fine using cups on the PC and I have set the correct path to the printer from the laptop (cups also). Having read the documentation and searched the forums in relation to gshield I am still not sure how to set this up if in fact it is the problem. Previously network printing using cups worked with Mandrake and shorewall (automatic) and I have made no hardware changes.

Any suggestions.

Thanks,

Rowland.

Last edited by The_Outlander; 08-06-2004 at 12:17 AM.
 
Old 08-10-2004, 09:55 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I'm not familiar with gshield, but I'd first start by making sure that the laptop can print with iptables turned off and that the printing ports are open. If that still doens't help, add some logging rules to the gshield script (especially at points right before it drops or rejects traffic) and see what rules are incorrectly dropping the CUPS traffic. FWIW, I think these pre-packaged firewall scripts are really a pain to try and debug and often are only marginally better than reading the iptables docs and creating your own scripts.
 
Old 08-11-2004, 12:44 AM   #3
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Thanks, I will work my way through this one over the next week or so and let you know the outcome. Much appreciated.

chesh
 
Old 08-12-2004, 11:08 PM   #4
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Problem is fixed. Edit /etc/cups/cupsd.conf
"Allow From" lines need to be added. I missed this as it has never been a problem in the past.
I did this on both laptop and PC to reflect the correct IP addresses. Don't know if its necessary, but all working.

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.2
Allow From 192.168.11.2
</Location>

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.2
Allow From 192.168.11.2
#Encryption Required
</Location>

/etc/firewall/conf/open_ports add port 631

Last edited by The_Outlander; 08-16-2004 at 11:30 AM.
 
  


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
HELP: Cannot Configure CUPS to Recognize Parallel Printer Port as a Printing Device! glaucon829 Linux - Newbie 4 06-05-2007 09:38 AM
network printing via cups rafalek Linux - General 5 03-30-2007 04:54 AM
CUPS Network Printing scarydeath Linux - Networking 1 10-23-2004 10:25 AM
cups network printing geomatt Slackware 3 05-10-2004 09:38 PM
Network printing with CUPS raypen Linux - Networking 2 05-08-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:26 PM.

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