After fresh installation of shorewall-4.2.5, I am getting the following error when trying to check the connections. # shorewall show connections Shorewall 4.2.5 Connections at test.domain.com - Fri Feb 13 14:35:27 CST 2009 /usr/share/shorewall/lib.cli: line 465: /proc/net/ip_conntrack: Permission denied grep: /proc/net/nf_conntrack: No such file or directory [root@agni2 sysscripts]# Thank you Chakri ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
Chakravarthy Girda wrote:> After fresh installation of shorewall-4.2.5, I am getting the following > error when trying to check the connections. > > > # shorewall show connections > Shorewall 4.2.5 Connections at test.domain.com - Fri Feb 13 14:35:27 CST > 2009 > > /usr/share/shorewall/lib.cli: line 465: /proc/net/ip_conntrack: > Permission denied > grep: /proc/net/nf_conntrack: No such file or directory > [root@agni2 sysscripts]# >Edit /usr/share/shorewall/lib.cli and change line 465 from this: [ -f /proc/net/ip_conntrack ] && /proc/net/ip_conntrack || grep -v ''^ipv6'' /proc/net/nf_conntrack to this: [ -f /proc/net/ip_conntrack ] && cat /proc/net/ip_conntrack || grep -v ''^ipv6'' /proc/net/nf_conntrack Thanks ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
Perfect fix and that worked. Thank you so much Chakri Shorewall Guy wrote:> Chakravarthy Girda wrote: >> After fresh installation of shorewall-4.2.5, I am getting the following >> error when trying to check the connections. >> >> >> # shorewall show connections >> Shorewall 4.2.5 Connections at test.domain.com - Fri Feb 13 14:35:27 CST >> 2009 >> >> /usr/share/shorewall/lib.cli: line 465: /proc/net/ip_conntrack: >> Permission denied >> grep: /proc/net/nf_conntrack: No such file or directory >> [root@agni2 sysscripts]# >> > > Edit /usr/share/shorewall/lib.cli and change line 465 from this: > > [ -f /proc/net/ip_conntrack ] && /proc/net/ip_conntrack || grep -v > ''^ipv6'' /proc/net/nf_conntrack > > to this: > > [ -f /proc/net/ip_conntrack ] && cat /proc/net/ip_conntrack || grep -v > ''^ipv6'' /proc/net/nf_conntrack > > Thanks > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H