LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   SARA and ipchains (https://www.linuxquestions.org/questions/linux-security-4/sara-and-ipchains-7061/)

ugge 09-30-2001 12:32 PM

SARA and ipchains
 
I have been trying to get SARA to work on my local network, but it doesn't even work for localhost.
I have downloaded the source and compiled it, everything seems fine but when I try to execute it with ./sara it opens up my web browser but I get an error that the server doesn't respond.
I can see sara is running using ps.
Figured it has to do with the firewall.

What have I done so for?
I added a line in /etc/services like this sara 64173/tcp
I have checked ipchains with ipchains -L no rules were added to the chains, only policy for all chains were set to accept.
I tried to add a rule to let through local traffic 127.0.0.1 on tcp port 64173 but it didn't work.

Anyone have a clue how to fix this?
Do I have to mix with xinetd or what?

raz 10-01-2001 04:08 AM

ok so you say it's running, but has it actually opened the service to a port ?

type as root
#netstat -natp

Is Sara running on that port ?

If not then its not your firewall, try using the ./sara -D option

/Raz

ugge 10-02-2001 12:48 AM

When I tried it again at home then it worked.
At least to the point where I'm getting the first screen.
Then I had problems with netscape and perl which I didn't solve.
When I tried on another machine it worked right out of the box.
This other machine was Red Hat 7.1 while the other was a Red Hat 6.2 I think.


All times are GMT -5. The time now is 03:30 AM.