Kathy Wills wrote:
I found that /etc/init.d/firewall did no have the permission set for user root to exec changed that then did /etc/init.d/firewall start. Here is the result which means that it isn't working.
Jamin W. Collins wrote:
On Fri, Feb 28, 2003 at 08:28:46PM -0600, Kathy Wills wrote:Here is the attachment of the firewall.conf that is in /etc. The sentence about the route print and ipconf. should have said that they looked as they should.
Just pinging an IP address gets timed out. The windows machine can
only ping the linux machine. When I try to check to see if the
firewall is loading by doing /etc/init.d/firewall as root I get the
message that I don't have the permissions to do that so I don't know
if the firewall is loading without errors.
Well, if you're getting a permissions error as root, there are more serious problems. Running just "/etc/init.d/firewall" as root should simply give you the usage instructions. There's nothing there that should generate a permissions error. Additionally, as root, there's little you shouldn't have permission to do (if anything). Specifically, it should only try to source the firewall.conf file and then echo the usage instructions:
+ . /etc/firewall.conf
+ echo 'Usage: /etc/init.d/firewall (start|stop|restart|log|status|panic|debug|panic-debug)'
+ exit 1
The above lines are all that should execute (the parts after the + symbol). If you're getting a permissions error, I suspect that something is wrong with your firewall.conf file. Could you please provide a copy of it as an attachment.
the route print and the ipconfig /all on the windows machine all
This seems to be somewhat incomplete.
Kathy
ptables v1.2.6a: no command specified
Try `iptables -h' or 'iptables --help' for more information.
Flushing all current rules: - OK
Removing user defined chains: - OK
Changing target policies to DROP: /etc/init.d/firewall: line 185: -P: command not found
- FAILED
Allowing 192.168.1.0/24 traffic out:/etc/init.d/firewall: line 290: -t: command not found
- FAILED
Allowing response traffic:/etc/init.d/firewall: line 306: -t: command not found
- FAILED
Allowing localhost communications:/etc/init.d/firewall: line 324: -t: command not found
- FAILED
Allowing connections to port 21:/etc/init.d/firewall: line 341: -t: command not found
- FAILED
Allowing connections to port 53:/etc/init.d/firewall: line 341: -t: command not found
- FAILED
Allowing connections to udp port 500:/etc/init.d/firewall: line 356: -t: command not found
- FAILED
Allowing connections to tcp port 22:/etc/init.d/firewall: line 367: -t: command not found
- FAILED
Allowing connections to tcp port 1723:/etc/init.d/firewall: line 367: -t: command not found
- FAILED
Masq'ing 192.168.1.0/24:/etc/init.d/firewall: line 431: -t: command not found
- FAILED
/etc/init.d/firewall: line 438: -I: command not found
Allowing Gateway out ppp0/etc/init.d/firewall: line 448: -t: command not found
- FAILED
Allowing Gateway to connect to self/etc/init.d/firewall: line 460: -t: command not found
- FAILED
Allowing protocol 1 connections from 0/0:/etc/init.d/firewall: line 552: -t: command not found
- FAILED
Allowing protocol 50 connections from 0/0:/etc/init.d/firewall: line 552: -t: command not found
- FAILED
/etc/init.d/firewall: line 567: -t: command not found
/etc/init.d/firewall: line 568: -t: command not found
/etc/init.d/firewall: line 570: -t: command not found
/etc/init.d/firewall: line 571: -t: command not found
Blocking MAC 50:da:b5:13:02:08:/etc/init.d/firewall: line 575: -t: command not found
- FAILED
Blocking IP 210.78.31.71:/etc/init.d/firewall: line 586: -t: command not found
- FAILED
Blocking IP 129.89.14.142:/etc/init.d/firewall: line 586: -t: command not found
- FAILED
Blocking IP 194.19.2.166:/etc/init.d/firewall: line 586: -t: command not found
- FAILED
Blocking IP 255.255.255.255:/etc/init.d/firewall: line 595: -t: command not found
- FAILED
Blocking IP 192.168.2.255:/etc/init.d/firewall: line 595: -t: command not found
- FAILED
Blocking IP 224.0.0.0/8:/etc/init.d/firewall: line 595: -t: command not found
- FAILED
Blocking port(s) 137:139 on ppp0:/etc/init.d/firewall: line 621: -t: command not found
- FAILED
Enabling dropped packet logging:/etc/init.d/firewall: line 160: -t: command not found
- FAILED
Kathy