Ticket #519 (closed Bug report: worksforme)

Opened 12 years ago

Last modified 10 years ago

iptables comand failed

Reported by: anonymous Owned by:
Priority: high Milestone: Gateway 1.1.5
Component: Gateway Version: scc
Keywords: Cc:

Change History

Changed 12 years ago by anonymous

I experiment the same issue. However, iptables rules are fully loaded. When i run wifidog in debug mode, i can't see any of theses messages. My environment: Debian/Lenny?

wifidog:~# uname -a Linux wifidog 2.6.26-1-amd64 #1 SMP Wed Nov 26 18:26:02 UTC 2008 x86_64 GNU/Linux

wifidog:~# iptables -V iptables v1.4.1.1

Changed 12 years ago by anonymous

Same thing on Centos

Linux wifidog 2.6.18-92.1.22.el5.centos.plus #1 SMP Wed Dec 17 10:50:49 EST 2008 i686 i686 i386 GNU/Linux

iptables v1.3.5

Changed 12 years ago by anonymous

Samething on Fedora 8 when I install the SVN 1388. I use sourceforge instead and the errors are gone.

Changed 12 years ago by durich@…

Got the same problem on Centos 5.3 Linux wifidog 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux iptables v1.3.5

This is WiFiDog version 1.1.5

Last Changed Author: benoitg Last Changed Rev: 1390 Last Changed Date: 2009-02-27 11:55:10 -0600 (Fri, 27 Feb 2009)

[3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t mangle -F WiFiDog_UTCVM_Trusted [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t mangle -F WiFiDog_UTCVM_Outgoing OK [root@artemis rguevara]# [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(1): iptables -t mangle -F WiFiDog_UTCVM_Incoming [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(1): iptables -t mangle -X WiFiDog_UTCVM_Trusted [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t mangle -X WiFiDog_UTCVM_Outgoing [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t mangle -X WiFiDog_UTCVM_Incoming [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -F WiFiDog_UTCVM_AuthServers [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -F WiFiDog_UTCVM_Outgoing [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -F WiFiDog_UTCVM_WIFI2Router [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -F WiFiDog_UTCVM_WIFI2Internet [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -F WiFiDog_UTCVM_Global [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -F WiFiDog_UTCVM_Unknown [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -X WiFiDog_UTCVM_AuthServers [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -X WiFiDog_UTCVM_Outgoing [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -X WiFiDog_UTCVM_WIFI2Router [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -X WiFiDog_UTCVM_WIFI2Internet [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -X WiFiDog_UTCVM_Global [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(162): iptables -t nat -X WiFiDog_UTCVM_Unknown

Changed 12 years ago by durich@…

I get more of this failed commands: [3][Fri Apr 3 11:05:09 2009][12337](fw_iptables.c:116) iptables comand failed(154): iptables -t mangle -N WiFiDog_UTCVM_Trusted

and i can't redirect any user.

Changed 12 years ago by durich@…

Hi,

I did a little debugging using strace and found out that the wifidog execute the iptables command so I found a little work around by executing wifidog like this:

PATH=/sbin/:$PATH wifidog -d 7 -f

where /sbin/ has the iptables command.

Changed 11 years ago by florida@…

hello

I have the same error message with last svn on whiterussian firmware.

root@tuf1:/etc/init.d# [3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) ip tables comand failed(1): iptables -t mangle -F WiFiDog_br0_Trusted
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t mangle -F WiFiDog_br0_Outgoing
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t mangle -F WiFiDog_br0_Incoming
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t mangle -X WiFiDog_br0_Trusted
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t mangle -X WiFiDog_br0_Outgoing
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t mangle -X WiFiDog_br0_Incoming
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -F WiFiDog_br0_AuthServers
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -F WiFiDog_br0_Outgoing
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -F WiFiDog_br0_WIFI2Router
[3][Mon Sep 21 16:34:02 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -F WiFiDog_br0_WIFI2Internet
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -F WiFiDog_br0_Global
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -F WiFiDog_br0_Unknown
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -X WiFiDog_br0_AuthServers
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -X WiFiDog_br0_Outgoing
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -X WiFiDog_br0_WIFI2Router
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -X WiFiDog_br0_WIFI2Internet
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -X WiFiDog_br0_Global
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t nat -X WiFiDog_br0_Unknown
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_WIFI2Internet
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_AuthServers
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_Locked
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_Global
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_Validate
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_Known
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_Members
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -F WiFiDog_br0_Unknown
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_WIFI2Internet
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_AuthServers
[3][Mon Sep 21 16:34:03 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_Locked
[3][Mon Sep 21 16:34:04 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_Global
[3][Mon Sep 21 16:34:04 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_Validate
[3][Mon Sep 21 16:34:04 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_Known
[3][Mon Sep 21 16:34:04 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_Members
[3][Mon Sep 21 16:34:04 2009][7156](fw_iptables.c:116) iptables comand failed(1) : iptables -t filter -X WiFiDog_br0_Unknown

Changed 11 years ago by gbastien

  • status changed from new to closed
  • version set to scc
  • resolution set to worksforme
  • severity set to sergio

These are all normal error messages because we try to flush/delete the chains before inserting them to make sure they do not exist. Since they do not exist, they cannot be flushed.

These messages can be safely ignored unless they cause some other behavioral problems

Changed 10 years ago by jodoreps

  • description modified (diff)
Note: See TracTickets for help on using tickets.