On 03/15/2013 01:25 PM, Donald S. Doyle wrote:
> Tom,
> 
> I am trying the /sbin/shorewall dump > /tmp/shorewall_dump.txt command again
> and now I am getting "gprep: /proc/net/nf_conntrack: no such file or
> directory".  I found the proc directory and what appears to be the net
> directory, but I am not able to create the nf_conntrack file needed.  Any
> ideas?

I suspect that the attached patch will correct the problem.

        patch /usr/share/shorewall/lib.cli < NF_CONNTRACK.patch

Please let me know.

-Tom

diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli
index 30a60bc..aefc088 100644
--- a/Shorewall-core/lib.cli
+++ b/Shorewall-core/lib.cli
@@ -862,7 +862,7 @@ show_command() {
 		    if [ -f /proc/net/ip_conntrack ]; then
 			cat /proc/net/ip_conntrack | show_connections_filter
 		    else
-			grep -v '^ipv6' /proc/net/nf_conntrack | show_connections_filter
+			grep -v '^ipv6' /proc/net/netfilter/nf_conntrack | show_connections_filter
 		    fi
 	        fi
 	    elif qt mywhich conntrack ; then

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to