Alejandro Cabrera wrote:
1) In a web page I read that in orden to log the IPFilter actions, I have to edit /etc/syslog.conf file with the following line:
local0.debug /var/log/ipflog
ensure that there is a TAB between those fields. then you have to cause syslogd to reread the config file, like this: $ kill -HUP `cat /etc/syslog.pid` also be sure that ipmon is running, as specified in the ipf startup file; you'd see "ipmon -Ds" by using "ps -ef". note that you don't have to use syslogd to get the log info from ipfilter; at system startup you can also just employ $ /opt/ipf/bin/ipmon > /var/log/ipflog & and there you go.
2) In a machine with 2 or more interfaces and IPFILTER installed
does ip_forwarding parameter set active (ip_forwarding = 1) or
disable (ip_forwardoing = 0).
if you want the machine to act as a router, you must have ip_forwarding = 1. if instead it is set to 0, you'll have a multi-homed box that will answer on both interfaces but packets will not traverse the box. (note, i believe that if you inspect the startup scripts in /etc/rc2.d, you will see that if "/etc/notrouter" exists, then ip_forwarding is disabled.) you can explicitly enable routing in any case using $ /usr/sbin/ndd -set /dev/ip ip_forwarding 1
3) Does IPFILTER affect the performance of the services, e.g web service ???? Because I note that the response time of my web service is longer now....
ipf shouldn't affect "response time" whatsoever. this issue sounds like a DNS problem. check traffic with snoop|tcpdump and take a look at what is going on wrt to timing... $ snoop -d hme0 -r or with more finesse $ snoop -d hme0 -V -t a -r port 53 or port 80 jim
