gjansky
11-29-2000, 06:26 PM
I went to the linux-firewall-tools website and built myself a firewall. I installed the script and rebooted the machine. Upon examining the messages log, I found the following error messages:
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost portsentry[550]: adminalert: PortSentry is now active and listening.
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: ipchains: No chain by that name
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: Invalid policy `DENY^M' for -P
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: Invalid policy `REJECT^M' for -P
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: Invalid policy `DENY^M' for -P
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: invalid timeout value `0^M' specified
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost last message repeated 2 times
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/ip_forward^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/tcp_syncookies^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/ip_always_defrag^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: syntax error near unexpected token `do^M'
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /etc/rc.d/rc.firewall: line 101: ` for f in /proc/sys/net/ipv4/conf/*/rp_filter; do^M'
Nov 27 16:16:39 localhost rc: Starting local failed
Any help would be appreciated.
Thanks.
Greg
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost portsentry[550]: adminalert: PortSentry is now active and listening.
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: ipchains: No chain by that name
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: Invalid policy `DENY^M' for -P
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: Invalid policy `REJECT^M' for -P
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: Invalid policy `DENY^M' for -P
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: ipchains:
Nov 27 16:16:39 localhost local: invalid timeout value `0^M' specified
Nov 27 16:16:39 localhost local:
Nov 27 16:16:39 localhost local: Try `ipchains -h' or 'ipchains --help' for more information.
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost last message repeated 2 times
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/ip_forward^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/tcp_syncookies^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/ip_always_defrag^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses^M: No such file or directory
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: ^M: command not found
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: syntax error near unexpected token `do^M'
Nov 27 16:16:39 localhost local: /etc/rc.d/rc.firewall: /etc/rc.d/rc.firewall: line 101: ` for f in /proc/sys/net/ipv4/conf/*/rp_filter; do^M'
Nov 27 16:16:39 localhost rc: Starting local failed
Any help would be appreciated.
Thanks.
Greg