apfree_wifidog doesn't run on gl-inet b1300 router (Set WiFiDog_br-lan_Roam doesn't exist.)
nuwanarti opened this issue · 14 comments
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -I PREROUTING 1 -i br-lan -j WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -A WiFiDog_br-lan_Roam -m set --match-set WiFiDog_br-lan_Roam src -j MARK --set-mark 0x020000/0xff0000
(null) v4: Set WiFiDog_br-lan_Roam doesn't exist.
full debug out of wifidog
root@GL-B1300:~/base# /usr/bin/wifidog -c /tmp/wifidog.conf -f -d 8
[6][Tue Dec 18 07:31:32 2018]5886 Reading configuration file '/tmp/wifidog.conf'
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: GatewayID, value: E4956E4510B3
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: GatewayInterface, value: br-lan
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: Externalinterface, value: eth0
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: AuthServer, value: {
[7][Tue Dec 18 07:31:32 2018]5886 Adding ec2-52-****.compute-1.amazonaws.com:3000 (SSL: 443) / to the auth server list
[7][Tue Dec 18 07:31:32 2018]5886 Auth server added
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: CheckInterval, value: 60
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: ClientTimeout, value: 72000
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: JsFilter, value: 1
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: WiredPassed, value: 0
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: HTTPDMaxConn, value: 200
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: PoolMode, value: 1
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: ThreadNumber, value: 5
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: QueueSize, value: 20
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: FirewallRuleSet, value: global
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule Set global
[7][Tue Dec 18 07:31:32 2018]5886 Firewall Rule Set global added.
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: FirewallRuleSet, value: validating-users
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule Set validating-users
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [allow to 0.0.0.0/0]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: allow to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule allow (null) port (null) to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Firewall Rule Set validating-users added.
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: FirewallRuleSet, value: known-users
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule Set known-users
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [allow to 0.0.0.0/0]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: allow to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule allow (null) port (null) to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Firewall Rule Set known-users added.
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: FirewallRuleSet, value: auth-is-down
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule Set auth-is-down
[7][Tue Dec 18 07:31:32 2018]5886 Firewall Rule Set auth-is-down added.
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: FirewallRuleSet, value: unknown-users
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule Set unknown-users
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [allow udp port 53]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: allow udp port 53
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule allow udp port 53 to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [allow tcp port 53]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: allow tcp port 53
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule allow tcp port 53 to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [allow udp port 67]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: allow udp port 67
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule allow udp port 67 to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [allow tcp port 67]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: allow tcp port 67
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule allow tcp port 67 to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Firewall Rule Set unknown-users added.
[7][Tue Dec 18 07:31:32 2018]5886 Parsing token: FirewallRuleSet, value: locked-users
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule Set locked-users
[7][Tue Dec 18 07:31:32 2018]5886 p1 = [FirewallRule]; p2 = [block to 0.0.0.0/0]
[7][Tue Dec 18 07:31:32 2018]5886 leftover: block to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Adding Firewall Rule block (null) port (null) to 0.0.0.0/0
[7][Tue Dec 18 07:31:32 2018]5886 Firewall Rule Set locked-users added.
[7][Tue Dec 18 07:31:32 2018]5886 Parsing string [www.kunteng.org,cloud.kunteng.org,mqtt.kunteng.org,log1.kunteng.org] for trust domains
[6][Tue Dec 18 07:31:32 2018]5886 Locking domain
[6][Tue Dec 18 07:31:32 2018]5886 Domains locked
[7][Tue Dec 18 07:31:32 2018]5886 Adding&Delete [1] trust domain [www.kunteng.org] to&from list
[7][Tue Dec 18 07:31:32 2018]5886 Adding&Delete [1] trust domain [cloud.kunteng.org] to&from list
[7][Tue Dec 18 07:31:32 2018]5886 Adding&Delete [1] trust domain [mqtt.kunteng.org] to&from list
[7][Tue Dec 18 07:31:32 2018]5886 Adding&Delete [1] trust domain [log1.kunteng.org] to&from list
[7][Tue Dec 18 07:31:32 2018]5886 Unlocking domain
[7][Tue Dec 18 07:31:32 2018]5886 Domain unlocked
[7][Tue Dec 18 07:31:32 2018]5886 Initializing signal handlers
[7][Tue Dec 18 07:31:32 2018]5886 after ipset_init
[7][Tue Dec 18 07:31:32 2018]5886 Using OpenSSL version "OpenSSL 1.0.2m 2 Nov 2017"
and libevent version "2.1.8-stable"
[7][Tue Dec 18 07:31:32 2018]5886 after common_setup
[6][Tue Dec 18 07:31:32 2018]5886 Setting started_time
[7][Tue Dec 18 07:31:32 2018]5886 Finding IP address of br-lan
[7][Tue Dec 18 07:31:32 2018]5886 br-lan = 192.168.8.1
[5][Tue Dec 18 07:31:32 2018]5886 Creating web server on 192.168.8.1:2060
[7][Tue Dec 18 07:31:32 2018]5886 Assigning callbacks to web server
[6][Tue Dec 18 07:31:32 2018]5886 Closing ICMP socket
[7][Tue Dec 18 07:31:32 2018]5886 Removing Firewall rules
[7][Tue Dec 18 07:31:32 2018]5886 Destroying our iptables entries
[7][Tue Dec 18 07:31:32 2018]5886 Destroying chains in the MANGLE table
[7][Tue Dec 18 07:31:32 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Pass from mangle.PREROUTING
[7][Tue Dec 18 07:31:32 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:32 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:32 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Roam from mangle.PREROUTING
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Trusted from mangle.PREROUTING
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Outgoing from mangle.PREROUTING
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Incoming from mangle.POSTROUTING
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -F WiFiDog_br-lan_Pass
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -F WiFiDog_br-lan_Pass
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -F WiFiDog_br-lan_Roam
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -F WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -F WiFiDog_br-lan_Trusted
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -F WiFiDog_br-lan_Trusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -F WiFiDog_br-lan_Outgoing
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -F WiFiDog_br-lan_Outgoing
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -F WiFiDog_br-lan_Incoming
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -F WiFiDog_br-lan_Incoming
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -X WiFiDog_br-lan_Pass
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -X WiFiDog_br-lan_Pass
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -X WiFiDog_br-lan_Roam
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -X WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -X WiFiDog_br-lan_Trusted
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -X WiFiDog_br-lan_Trusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -X WiFiDog_br-lan_Outgoing
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -X WiFiDog_br-lan_Outgoing
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -X WiFiDog_br-lan_Incoming
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t mangle -X WiFiDog_br-lan_Incoming
[7][Tue Dec 18 07:31:33 2018]5886 Destroying chains in the NAT table
[7][Tue Dec 18 07:31:33 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Untrusted from nat.PREROUTING
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Outgoing from nat.PREROUTING
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_AuthServers
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_AuthServers
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Pass
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Pass
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Untrusted
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Untrusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_TDomains
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_TDomains
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Outgoing
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Outgoing
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Router
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Router
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Internet
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Internet
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Global
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Global
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -F WiFiDog_br-lan_Unknown
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -F WiFiDog_br-lan_Unknown
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_AuthServers
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_AuthServers
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Pass
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Pass
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Untrusted
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Untrusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_TDomains
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_TDomains
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Outgoing
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Outgoing
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Router
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Router
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Internet
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Internet
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Global
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Global
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t nat -X WiFiDog_br-lan_Unknown
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t nat -X WiFiDog_br-lan_Unknown
[7][Tue Dec 18 07:31:33 2018]5886 Destroying chains in the FILTER table
[7][Tue Dec 18 07:31:33 2018]5886 Attempting to destroy all mention of WiFiDog_br-lan_Internet from filter.FORWARD
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD called. Trying to reap a child
[7][Tue Dec 18 07:31:33 2018]5886 Handler for SIGCHLD reaped child PID -1
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_Internet
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_Internet
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_AuthServers
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_AuthServers
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_TDomains
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_TDomains
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_Locked
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_Locked
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_Global
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_Global
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_Validate
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_Validate
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_Known
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_Known
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -F WiFiDog_br-lan_Unknown
[3][Tue Dec 18 07:31:33 2018]5886 iptc_flush_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -F WiFiDog_br-lan_Unknown
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_Internet
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_Internet
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_AuthServers
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_AuthServers
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_TDomains
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_TDomains
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_Locked
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_Locked
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_Global
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_Global
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_Validate
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_Validate
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_Known
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_Known
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t filter -X WiFiDog_br-lan_Unknown
[3][Tue Dec 18 07:31:33 2018]5886 iptc_delete_chain(): No chain/target/match by that name
[7][Tue Dec 18 07:31:33 2018]5886 iptables command failed(0): iptables -t filter -X WiFiDog_br-lan_Unknown
[7][Tue Dec 18 07:31:33 2018]5886 Destroying our ipset entries
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_br-lan_Trusted
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5908 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5908 exited
[7][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset destroy WiFiDog_br-lan_Trusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_br-lan_TLocal
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5910 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5910 exited
[7][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset destroy WiFiDog_br-lan_TLocal
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5912 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5912 exited
[7][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset destroy WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_br-lan_Untrusted
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5914 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5914 exited
[7][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset destroy WiFiDog_br-lan_Untrusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_br-lan_TDomains
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5916 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5916 exited
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_br-lan_ITDomains
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5918 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5918 exited
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset destroy WiFiDog_IPSET_TDomains
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5920 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5920 exited
[6][Tue Dec 18 07:31:33 2018]5886 Creating ICMP socket
[6][Tue Dec 18 07:31:33 2018]5886 Initializing Firewall
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_br-lan_Trusted hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5922 to exit
ipset v6.24: Kernel error received: set type not supported
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5922 exited
[3][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset create WiFiDog_br-lan_Trusted hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_br-lan_TLocal hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5926 to exit
ipset v6.24: Kernel error received: set type not supported
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5926 exited
[3][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset create WiFiDog_br-lan_TLocal hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_br-lan_Roam hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5930 to exit
ipset v6.24: Kernel error received: set type not supported
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5930 exited
[3][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset create WiFiDog_br-lan_Roam hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_br-lan_Untrusted hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5934 to exit
ipset v6.24: Kernel error received: set type not supported
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5934 exited
[3][Tue Dec 18 07:31:33 2018]5886 ipset command failed(1): ipset create WiFiDog_br-lan_Untrusted hash:mac timeout 0
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_br-lan_TDomains hash:ip
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5938 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5938 exited
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_br-lan_ITDomains hash:ip
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5940 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5940 exited
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: ipset create WiFiDog_IPSET_TDomains hash:ip
[7][Tue Dec 18 07:31:33 2018]5886 Waiting for PID 5942 to exit
[7][Tue Dec 18 07:31:33 2018]5886 Process PID 5942 exited
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -N WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -N WiFiDog_br-lan_Trusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -N WiFiDog_br-lan_Outgoing
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -N WiFiDog_br-lan_Incoming
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -N WiFiDog_br-lan_Pass
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -I PREROUTING 1 -i br-lan -j WiFiDog_br-lan_Outgoing
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -I PREROUTING 1 -i br-lan -j WiFiDog_br-lan_Trusted
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -I PREROUTING 1 -i br-lan -j WiFiDog_br-lan_Pass
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -I PREROUTING 1 -i br-lan -j WiFiDog_br-lan_Roam
[7][Tue Dec 18 07:31:33 2018]5886 Executing command: iptables -t mangle -A WiFiDog_br-lan_Roam -m set --match-set WiFiDog_br-lan_Roam src -j MARK --set-mark 0x020000/0xff0000
(null) v4: Set WiFiDog_br-lan_Roam doesn't exist.
@nuwanarti execute 'ipset list', can u find WiFiDog_br-lan_Roam; if not, I think it's ipset's problem.
root@GL-B1300:~/base# ipset list
Name: mwan3_connected
Type: hash:net
Revision: 4
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 8952
References: 2
Members:
127.255.255.255
127.0.0.0/8
192.168.8.0
192.168.8.1
127.0.0.0
224.0.0.0/3
192.168.1.1
127.0.0.1
192.168.1.255
192.168.1.0
192.168.8.0/24
192.168.1.0/24
192.168.1.34
192.168.8.255
Name: mwan3_track_wan
Type: hash:ip
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 8312
References: 1
Members:
208.67.220.220
208.67.222.222
8.8.8.8
8.8.4.4
Name: WiFiDog_br-lan_TDomains
Type: hash:ip
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 8248
References: 0
Members:
Name: WiFiDog_br-lan_ITDomains
Type: hash:ip
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 8248
References: 0
Members:
Name: WiFiDog_IPSET_TDomains
Type: hash:ip
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 8248
References: 0
Members:
I have ipset version 6.24 installed on the router. does apfree_wifidog supports ipset v 6.24 if isn't where would I find the source of ipset v6.3 to compile for openwrt
apfree wifidog use ipset command to create hash:mac SETNAME, for lower version ipset, which didn't support that feature. u can exucute ipset -h|grep mac
to find whether your ipset support that feature.
this is the output
root@GL-B1300:~# ipset -h|grep mac
hash:mac 0 Initial revision
hash:ip,mac 0 Initial revision
bitmap:ip,mac 3 skbinfo support
bitmap:ip,mac 2 comment support
bitmap:ip,mac 1 counters support
bitmap:ip,mac 0 Initial revision
I compiled and installed ipset v 7 but the error stays the same
which version u used?
in gl-inet ar 300m router apfree_wifidog is working fine. ipset version in that router is v6.30. In gl-inet b1300 router apfree_wifidog isn't working. ipset version is v6.24. so I recompiled newer version(v7.0) of ipset for b1300 router and installed. but the same error occured
which apfree wifidog version u used?
in fact, from debug log, the reason is ipset create failed, u can try
ipset create yourname hash:mac timeout 0
in your gl-inet b1300 router, that command will fail.
for ipset, u not only compile ipset's userspace program, it also need kernel support, that's why apfree wifidog must use after openwrt cc
WiFiDog version 3.03.1480
apfree wifidog https://github.com/liudf0716/apfree_wifidog/tree/master
in gl-inet b1300 router shipped with ipset v6.24 installed. so kernel support is available.
and i couldn't understand the command
_ipset create yourname hash:mac timeout 0_
@nuwanarti if u router's kernel didn't support ipset's 'hash:mac' feature, only updating ipset's userspace program was useless.
your problem is the kernel version is lower.
Thank you for your help