View Single Post
  #3  
Old 28th February 2012, 01:36
gragus gragus is offline
Junior Member
 
Join Date: Sep 2011
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Falko,

# iptables -L
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Furthermore, this seems not right:

# /etc/init.d/bastille-firewall restart
Code:
/sbin/bastille-ipchains: line 232: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 234: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 236: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 238: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 240: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 242: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 251: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 252: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 258: /sbin/ipchains: No such file or directory
Setting up IP spoofing protection... done.
Allowing traffic from trusted interfaces.../sbin/bastille-ipchains: line 283: /sbin/ipchains: No such file or directory
 done.
/sbin/bastille-ipchains: line 297: /sbin/ipchains: No such file or directory
Setting up chains for public/internal interface traffic.../sbin/bastille-ipchains: line 340: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 342: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 345: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 347: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 351: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 353: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 356: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 358: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 380: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 381: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 380: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 381: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 380: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 381: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 380: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 381: /sbin/ipchains: No such file or directory
 done.
Setting up general rules.../sbin/bastille-ipchains: line 437: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 437: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 445: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 446: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 463: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 463: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 463: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 463: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 468: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 468: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 468: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 468: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 468: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 473: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 491: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 504: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 508: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 508: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 508: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 491: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 504: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 508: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 508: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 508: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 537: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 537: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 537: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 537: /sbin/ipchains: No such file or directory
 done.
Setting up outbound rules.../sbin/bastille-ipchains: line 570: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 570: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 584: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 590: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 591: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 596: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 596: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 600: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 600: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 604: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 604: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 604: /sbin/ipchains: No such file or directory
/sbin/bastille-ipchains: line 604: /sbin/ipchains: No such file or directory
 done.
I am not sure how a correct setup needs to look like, but here are a few queries that I expect you would want to run:

# find / | grep ipchains
Code:
/usr/share/Bastille/bastille-ipchains
/sbin/bastille-ipchains
Looking at the /sbin/bastille-ipchains file, it seems the errors are caused by an incorrect definition of the symbol '${IPCHAINS}'. The error lines seem to be using that symbol. E.g., line 232:
Code:
${IPCHAINS} -P forward DENY
It appears to be defined in line 42:
Code:
IPCHAINS=/sbin/ipchains
Any clues?

Thanks.
Reply With Quote