{"action":"created","issue":{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/215","labels_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/215/comments","events_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/215/events","html_url":"https://github.com/wifidog/wifidog-gateway/issues/215","id":81725099,"number":215,"title":"An Issue on running wifidog-1.2.1 with OpenWRT-trunk- can not portal","user":{"login":"hbl0307106015","id":3126149,"avatar_url":"https://avatars.githubusercontent.com/u/3126149?v=3","gravatar_id":"","url":"https://api.github.com/users/hbl0307106015","html_url":"https://github.com/hbl0307106015","followers_url":"https://api.github.com/users/hbl0307106015/followers","following_url":"https://api.github.com/users/hbl0307106015/following{/other_user}","gists_url":"https://api.github.com/users/hbl0307106015/gists{/gist_id}","starred_url":"https://api.github.com/users/hbl0307106015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbl0307106015/subscriptions","organizations_url":"https://api.github.com/users/hbl0307106015/orgs","repos_url":"https://api.github.com/users/hbl0307106015/repos","events_url":"https://api.github.com/users/hbl0307106015/events{/privacy}","received_events_url":"https://api.github.com/users/hbl0307106015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-28T02:41:06Z","updated_at":"2015-05-28T09:30:33Z","closed_at":null,"body":"Hi, all,\r\nI am using wifidog-20130917 openwrt-1407. \r\nThe captive portal can not be opened whatever wireless client connect to my ap.\r\n\r\nThere is a br-lan interface with eth0.1(LAN) and wlan0, \r\nI just want to test wifidog in my local network wiht LAN. below is my configuration file:\r\n\r\nGatewayID default\r\nExternalInterface eth0.1\r\nGatewayInterface br-lan\r\nHtmlMessageFile /etc/wifidog-msg.html\r\nAuthServer {\r\n\tHostname 192.168.1.100\r\n\tSSLavailable no\r\n    Path /\r\n}\r\n\r\nClientTimeout 7200\r\n\r\nFirewallRuleSet global {\r\n\r\n}\r\nFirewallRuleSet validating-users {\r\nFirewallRule allow to 0.0.0.0/0\r\n}\r\nFirewallRuleSet known-users {\r\nFirewallRule allow to 0.0.0.0/0\r\n}\r\nFirewallRuleSet unknown-users {\r\nFirewallRule allow udp port 53\r\nFirewallRule allow tcp port 53\r\nFirewallRule allow udp port 67\r\nFirewallRule allow tcp port 67\r\n}\r\nFirewallRuleSet locked-users {\r\nFirewallRule block to 0.0.0.0/0\r\n}\r\n\r\nAnd my log is :\r\n[6][Tue May 26 12:37:52 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:37:52 2015]9873 No valid request received from 192.168.1.172\r\n[7][Tue May 26 12:37:52 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:37:52 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:37:52 2015]9873 No valid request received from 192.168.1.172\r\n[7][Tue May 26 12:37:52 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:37:57 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:37:57 2015]9873 No valid request received from 192.168.1.172\r\n[7][Tue May 26 12:37:57 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:37:57 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:37:57 2015]9873 Processing request from 192.168.1.172\r\n[7][Tue May 26 12:37:57 2015]9873 Calling httpdProcessRequest() for 192.168.1.172\r\n[6][Tue May 26 12:37:57 2015]9873 Got client MAC address for ip 192.168.1.172: 9c:99:a0:40:df:4e\r\n[6][Tue May 26 12:37:57 2015]9873 Captured 192.168.1.172 requesting [http%3A//dns.weixin.qq.com/cgi-bin/micromsg-bin/newgetdns%3Fuin%3D0%26clientversion%3D637599817%26scene%3D0%26net%3D1%26md5%3Dbbfad2a27141b1fe1a2f6d252e55763a%26devicetype%3Dandroid-19%26lan%3Den%26sigver%3D1] and re-directing them to login page\r\n[7][Tue May 26 12:37:57 2015]9873 Redirecting client browser to http://192.168.1.100:80/login/?gw_address=192.168.1.1&gw_port=2060&gw_id=143BCEEC320&mac=9c:99:a0:40:df:4e&url=http%3A//dns.weixin.qq.com/cgi-bin/micromsg-bin/newgetdns%3Fuin%3D0%26clientversion%3D637599817%26scene%3D0%26net%3D1%26md5%3Dbbfad2a27141b1fe1a2f6d252e55763a%26devicetype%3Dandroid-19%26lan%3Den%26sigver%3D1\r\n[7][Tue May 26 12:37:57 2015]9873 Returned from httpdProcessRequest() for 192.168.1.172\r\n[7][Tue May 26 12:37:57 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:37:57 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:37:57 2015]9873 Processing request from 192.168.1.172\r\n[7][Tue May 26 12:37:57 2015]9873 Calling httpdProcessRequest() for 192.168.1.172\r\n[6][Tue May 26 12:37:57 2015]9873 Got client MAC address for ip 192.168.1.172: 9c:99:a0:40:df:4e\r\n[6][Tue May 26 12:37:57 2015]9873 Captured 192.168.1.172 requesting [http%3A//szshort.weixin.qq.comhttp%3A/szshort.weixin.qq.com/cgi-bin/micromsg-bin/newauth] and re-directing them to login page\r\n[7][Tue May 26 12:37:57 2015]9873 Redirecting client browser to http://192.168.1.100:80/login/?gw_address=192.168.1.1&gw_port=2060&gw_id=143BCEEC320&mac=9c:99:a0:40:df:4e&url=http%3A//szshort.weixin.qq.comhttp%3A/szshort.weixin.qq.com/cgi-bin/micromsg-bin/newauth\r\n[7][Tue May 26 12:37:57 2015]9873 Returned from httpdProcessRequest() for 192.168.1.172\r\n[7][Tue May 26 12:37:57 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:38:00 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:38:00 2015]9873 Processing request from 192.168.1.172\r\n[7][Tue May 26 12:38:00 2015]9873 Calling httpdProcessRequest() for 192.168.1.172\r\n[6][Tue May 26 12:38:00 2015]9873 Got client MAC address for ip 192.168.1.172: 9c:99:a0:40:df:4e\r\n[6][Tue May 26 12:38:00 2015]9873 Captured 192.168.1.172 requesting [http%3A//111.13.142.10%3A80/mibind/http-bind%3Ft%3D197] and re-directing them to login page\r\n[7][Tue May 26 12:38:00 2015]9873 Redirecting client browser to http://192.168.1.100:80/login/?gw_address=192.168.1.1&gw_port=2060&gw_id=143BCEEC320&mac=9c:99:a0:40:df:4e&url=http%3A//111.13.142.10%3A80/mibind/http-bind%3Ft%3D197\r\n[7][Tue May 26 12:38:00 2015]9873 Returned from httpdProcessRequest() for 192.168.1.172\r\n[7][Tue May 26 12:38:00 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:38:02 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:38:02 2015]9873 No valid request received from 192.168.1.172\r\n[7][Tue May 26 12:38:02 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:38:10 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n[7][Tue May 26 12:38:10 2015]9873 Processing request from 192.168.1.172\r\n[7][Tue May 26 12:38:10 2015]9873 Calling httpdProcessRequest() for 192.168.1.172\r\n[6][Tue May 26 12:38:10 2015]9873 Got client MAC address for ip 192.168.1.172: 9c:99:a0:40:df:4e\r\n[6][Tue May 26 12:38:10 2015]9873 Captured 192.168.1.172 requesting [http%3A//111.13.142.10%3A80/mibind/http-bind%3Ft%3D634] and re-directing them to login page\r\n[7][Tue May 26 12:38:10 2015]9873 Redirecting client browser to http://192.168.1.100:80/login/?gw_address=192.168.1.1&gw_port=2060&gw_id=143BCEEC320&mac=9c:99:a0:40:df:4e&url=http%3A//111.13.142.10%3A80/mibind/http-bind%3Ft%3D634\r\n[7][Tue May 26 12:38:10 2015]9873 Returned from httpdProcessRequest() for 192.168.1.172\r\n[7][Tue May 26 12:38:10 2015]9873 Closing connection with 192.168.1.172\r\n[6][Tue May 26 12:38:12 2015]9873 Received connection from 192.168.1.172, spawning worker thread\r\n"},"comment":{"url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/comments/106247002","html_url":"https://github.com/wifidog/wifidog-gateway/issues/215#issuecomment-106247002","issue_url":"https://api.github.com/repos/wifidog/wifidog-gateway/issues/215","id":106247002,"user":{"login":"turanmete16","id":12514701,"avatar_url":"https://avatars.githubusercontent.com/u/12514701?v=3","gravatar_id":"","url":"https://api.github.com/users/turanmete16","html_url":"https://github.com/turanmete16","followers_url":"https://api.github.com/users/turanmete16/followers","following_url":"https://api.github.com/users/turanmete16/following{/other_user}","gists_url":"https://api.github.com/users/turanmete16/gists{/gist_id}","starred_url":"https://api.github.com/users/turanmete16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turanmete16/subscriptions","organizations_url":"https://api.github.com/users/turanmete16/orgs","repos_url":"https://api.github.com/users/turanmete16/repos","events_url":"https://api.github.com/users/turanmete16/events{/privacy}","received_events_url":"https://api.github.com/users/turanmete16/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T09:30:33Z","updated_at":"2015-05-28T09:30:33Z","body":"I was making the same I also got the error.\r\nI think we must compile the 1.2.0.\r\nBecause it works fine."}}