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 - 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 01-11-2006, 11:29 PM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Shorewall prevents LISa from working (lan:// in Konqueror)


Hello, all!

I've been bugging the people on the Shorewall mailing list about this, and they don't seem to have any solution, so I figure I'll give the fine people at LQ a shot at it.

Basically, whenever I turn shorewall on ("shorewall start"), I get this error in Konqueror when I go to the LAN Browser:

Code:
The Lisa daemon does not appear to be running.
In order to use the LAN Browser the Lisa daemon must be installed and activated by the system administrator.
...but when I disable shorewall ("shorewall clear"), it works. I've checked, and the LISa daemon IS running while shorewall is up.

Here are my shorewall policies:

Code:
#SOURCE         DEST            POLICY          LOG             LIMIT:BURST
#                                               LEVEL
fw              all             ACCEPT
fw              fw              ACCEPT
all             all             REJECT
Here are my shorewall rules:

Code:
#ACTION SOURCE          DEST            PROTO   DEST    SOURCE          ORIGINAL        RATE            USER/
#                                               PORT    PORT(S)         DEST            LIMIT           GROUP
#SECTION ESTABLISHED
#SECTION RELATED
SECTION NEW
SMB/ACCEPT      loc     fw
Ping/ACCEPT     loc     fw
ACCEPT          loc     fw      tcp     7741
I am using shorewall 3.0.2 on Gentoo current, with kernel 2.6.14-gentoo-r5.

I will greatly appreciate any help you can give me!

Thanks.

--Dane
 
Old 01-13-2006, 08:42 AM   #2
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
What happens if you try to talk to the LISa Daemon (with shorewall up) via some other program, eg. netcat, and what response do you get from nmap (closed / filtered)?
 
Old 01-13-2006, 02:31 PM   #3
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
Thanks for the reply, celegar!

Here's the output of nmap:

Code:
</bin>
[dane@Orchestrator bin]$ nmap 192.168.1.250 -p 7741

Starting nmap 3.83.DC13 ( http://www.insecure.org/nmap/ ) at 2006-01-13 12:24 PST
Interesting ports on Orchestrator.The.Band (192.168.1.250):
PORT     STATE SERVICE
7741/tcp open  unknown

Nmap finished: 1 IP address (1 host up) scanned in 0.117 seconds
</bin>
[dane@Orchestrator bin]$ nmap 127.0.0.1 -p 7741

Starting nmap 3.83.DC13 ( http://www.insecure.org/nmap/ ) at 2006-01-13 12:25 PST
Interesting ports on localhost (127.0.0.1):
PORT     STATE SERVICE
7741/tcp open  unknown

Nmap finished: 1 IP address (1 host up) scanned in 0.104 seconds
I'm completely unfamiliar with netcat. I just downloaded it from portage, but I have no idea how to make it do anything with LISa. Can you give me some instructions?

Thanks!

--Dane
 
Old 01-13-2006, 02:44 PM   #4
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
If nmap reports that the port is open, then shorewall isn't blocking traffic headed that way. You can even try nmap with the -sV option to find out what nmap thinks is running on that port.
Netcat is a general tool to open nework connections, send arbitrary data across the connection, and then report back the output ('net'work + 'cat'). Try it with a web server, for example (press enter one or more times upon opening the connection), and you'll just get an error from the server since you haven't sent a valid HTTP request. I was just suggesting you try talking to LISa and seeing if it returns data in order to determine if shorewall is really blocking traffic, which it apparently isn't.
 
Old 01-13-2006, 04:35 PM   #5
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
That makes sense. The only reason I thought that shorewall might be blocking lisa traffic is because when I use "sharewall clear" it works again.

Thanks for your suggestions; I submitted the fingerprint of port 7741 to nmap so they can include the lisa service in their list.

Any more ideas?

Thanks.

--Dane
 
Old 01-14-2006, 10:45 PM   #6
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
Stumped. Is there any other program you know that uses LISa that you can test to see if something's wrong with Konqueror specifically or LISa?
 
Old 01-15-2006, 04:04 AM   #7
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
Not that I am aware of. I tried using firefox to open localhost:7741, and it tried to download a .bin file. I went ahead and removed shorewall and installed firestarter (though I like shorewall better), and with the same setup, the problem went away. I wonder if shorewall has some built-in policies that I'm not aware of.

Thanks for the help.

--Dane
 
  


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
pam_mount prevents cron from working (Debian sarge) pohl886 Debian 2 09-23-2005 03:02 PM
LAN browsing - LISa & NFS kevinatkins Linux - Networking 4 05-05-2005 08:53 PM
LISa setup for network browsing using konqueror aherm Linux - Networking 7 10-27-2003 04:17 AM
Lisa Not working Glooba Linux - Networking 0 09-19-2003 07:32 PM
Getting Mandrake 9 with Shorewall to Talk to LAN oostevo Linux - Security 4 12-27-2002 10:03 PM

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

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