Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed APF firewall on my system but now all the ping,rloging has stopped in both way between client and server.How to add ping and rlogin rules to the iptables.
one more question is the in apf confihuration file the
IG_TCP_CPORTS=" " definition is to define the incoming facility to the ports which i wan to allow access or vice versa.
On adding trusted host in allow_hosts.apf it is still not allowing rlogin from specific ip address.
tcp:in:d=513:s=192.168.103.103
I am installing apf on powerpc8560 processor and following errors has reported ,minor errors
/etc/apf/apf: line 1: tr: command not found
/etc/apf/apf: line 1: tr: command not found
hostname: Host name lookup failure
apf(16431): {glob} flushing & zeroing chain policies
hostname: Host name lookup failure
apf(16431): {glob} firewall offline
/etc/apf/apf: line 1: tr: command not found
hostname: Host name lookup failure
apf(16468): {glob} activating firewall
/etc/apf/vnet/vnetgen: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
hostname: Host name lookup failure
apf(16508): {glob} determined (IFACE_IN) eth2 has address 192.168.103.143
hostname: Host name lookup failure
apf(16508): {glob} determined (IFACE_OUT) eth2 has address 192.168.103.143
hostname: Host name lookup failure
apf(16508): {glob} loading preroute.rules
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
hostname: Host name lookup failure
apf(16508): {glob} loading bt.rules
hostname: Host name lookup failure
apf(16508): {glob} SET_REFRESH is set to 10 minutes
hostname: Host name lookup failure
apf(16508): {glob} loading allow_hosts.rules
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
hostname: Host name lookup failure
apf(16508): {glob} loading log.rules
hostname: Host name lookup failure
apf(16508): {glob} virtual net subsystem disabled.
/etc/apf/firewall: line 1: tr: command not found
hostname: Host name lookup failure
apf(16508): {glob} loading main.rules
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 86: [: : integer expression expected
/etc/apf/firewall: line 1: tr: command not found
hostname: Host name lookup failure
apf(16508): {glob} loading postroute.rules
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
/etc/apf/firewall: line 1: tr: command not found
hostname: Host name lookup failure
apf(16508): {glob} default (egress) output accept
hostname: Host name lookup failure
apf(16508): {glob} default (ingress) input drop
/etc/apf/apf: line 1: tr: command not found
/etc/apf/apf: line 159: [: : integer expression expected
hostname: Host name lookup failure
apf(16468): {glob} firewall initalized
hostname: Host name lookup failure
Last edited by unSpawn; 06-16-2011 at 06:28 AM.
Reason: //Same topic question merge
and some subsequent 'tr command not found' errors which is obviously needed by APF (linux-tr-command).
I don't know your PowerPC 8560 but besides that it's more important which system is running (can you post "uname -a" or some details) and how/why there is no "tr" available.
Maybe a simple 'installation of tr' will help, but I'm not familiar with your system to tell how.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.