Code Monkey home page Code Monkey logo

wifidog-gateway's People

Contributors

acv avatar anton-povarov avatar benoitg avatar champtar avatar cherisher avatar crouchggj avatar databeille avatar florida63 avatar gnuoyd avatar gorgonzola avatar hongquan avatar kontinuation avatar mhaas avatar nathansamson avatar neutronth avatar pawitp avatar red54 avatar sannis avatar sayuan avatar sinkcup avatar sysoleg avatar t123yh avatar tahini avatar wendal avatar wichert avatar woodyhymns avatar zhao-gang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wifidog-gateway's Issues

running autogen.sh got error

Hi
I downloaded the trunk and run autogen.sh, there was an error:

cannot find input file: `Makefile.in' at the last.

Thanks.

fw_sync_with_authserver needs rewriting

As it runs right now, it's complicated and ultimately there's a number of sections where it makes giant leap of faith that a t_client pointer is still valid while it didn't hold the lock on the client list.

I intend to fix this by:

  1. Adding a function to client.c to validate that a pointer still exists in the client list and still has the same IP/Mac. This would allow us to avoid the leap of faith "does client still exist?"
  2. Refactor the whole thing to run in two pass: (a) get a list of tuple (pointer, ip, mac) for all clients; (b) iterate over the created list verifying existence for each.

The reason for point 2 is that right now, we resume iterating over the linked list after not holding the lock. There's no guarantee that our t_client still exists, that it's ->next pointer is still valid and so on.

Bring wifidog back to OpenWrt

Wifidog is in the oldpackages feed. For 14.07, binary packages are still available. Newer OpenWrt releases won't be building these anymore.

I already have an updated Makefile including a wifidog-ssl package. Openwrt also uses procd as init which can do process supervision. I have updated the init script accordingly.

This issue is mainly a reminder for me and as well as a place for discussion, should there be need.

The ping thread cannot be executed periodically

while (1) {
        /* Make sure we check the servers at the very begining */
        debug(LOG_DEBUG, "Running ping()");
        ping();

        /* Sleep for config.checkinterval seconds... */
        timeout.tv_sec = time(NULL) + config_get_config()->checkinterval;
        timeout.tv_nsec = 0;

        /* Mutex must be locked for pthread_cond_timedwait... */
        pthread_mutex_lock(&cond_mutex);

        /* Thread safe "sleep" */
        pthread_cond_timedwait(&cond, &cond_mutex, &timeout);

        /* No longer needs to be locked */
        pthread_mutex_unlock(&cond_mutex);
    }

The ping function executed once.

Any one can help me?-- (ping_thread.c:189) An error occurred while reading from auth server: Connection reset by peer

issue: (ping_thread.c:189) An error occurred while reading from auth server: Connection reset by peer

[7][Fri Jul 25 13:08:55 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//apilocate.amap.com/mobile/binary
[7][Fri Jul 25 13:08:55 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:08:55 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:08:56 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:08:56 2014]3680 No valid request received from 192.168.1.189
[7][Fri Jul 25 13:08:56 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:08:57 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:08:57 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:08:57 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:08:57 2014]3680 Captured 192.168.1.106 requesting [http%3A//apilocate.amap.com/mobile/binary] and re-directing them to login page
[7][Fri Jul 25 13:08:57 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//apilocate.amap.com/mobile/binary
[7][Fri Jul 25 13:08:57 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:08:57 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:00 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:00 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:00 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:00 2014]3680 Captured 192.168.1.106 requesting [http%3A//apilocate.amap.com/mobile/binary] and re-directing them to login page
[7][Fri Jul 25 13:09:00 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//apilocate.amap.com/mobile/binary
[7][Fri Jul 25 13:09:00 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:00 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:08 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:08 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:08 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
[6][Fri Jul 25 13:09:08 2014]3680 Captured 192.168.1.189 requesting [http%3A//softm.update.360safe.com/SMLWebCfg.ini%3Fm%3Defe9f2a7633184308ca02b354a07aa0e%26ver%3D3.1.0.1180%26z%3D8] and re-directing them to login page
[7][Fri Jul 25 13:09:08 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//softm.update.360safe.com/SMLWebCfg.ini%3Fm%3Defe9f2a7633184308ca02b354a07aa0e%26ver%3D3.1.0.1180%26z%3D8
[7][Fri Jul 25 13:09:08 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:08 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:11 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[6][Fri Jul 25 13:09:11 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:11 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Captured 192.168.1.106 requesting [http%3A//aps.amap.com/APS/r%3Fver%3D4.0] and re-directing them to login page
[7][Fri Jul 25 13:09:11 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//aps.amap.com/APS/r%3Fver%3D4.0
[7][Fri Jul 25 13:09:11 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Closing connection with 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Captured 192.168.1.106 requesting [http%3A//pgv.m.xunlei.com/%3Fu%3Dpgv_base_network%26u1%3DNULL004V%257C000000000000000%26u2%3D10031%26u3%3D1.0%26u4%3DWIFI%257C%2522PandoraBox_D7187B%2522%26u6%3D1406293746] and re-directing them to login page
[7][Fri Jul 25 13:09:11 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//pgv.m.xunlei.com/%3Fu%3Dpgv_base_network%26u1%3DNULL004V%257C000000000000000%26u2%3D10031%26u3%3D1.0%26u4%3DWIFI%257C%2522PandoraBox_D7187B%2522%26u6%3D1406293746
[7][Fri Jul 25 13:09:11 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:11 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Captured 192.168.1.106 requesting [http%3A//wifiapi.micloud.xiaomi.net/mic/wifi/v2/user/18375958/full%3FsyncTag%3DB3te9Fr1gh%252BtMg7mI9Ohxg%253D%253D%26limit%3DIB2JUo%252BPsWkAZqdZg0BtjQ%253D%253D%26signature%3DADYg%252FOhr%252BFPIaK0wdI2x707ArvA%253D] and re-directing them to login page
[7][Fri Jul 25 13:09:11 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//wifiapi.micloud.xiaomi.net/mic/wifi/v2/user/18375958/full%3FsyncTag%3DB3te9Fr1gh%252BtMg7mI9Ohxg%253D%253D%26limit%3DIB2JUo%252BPsWkAZqdZg0BtjQ%253D%253D%26signature%3DADYg%252FOhr%252BFPIaK0wdI2x707ArvA%253D
[7][Fri Jul 25 13:09:11 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:11 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket] and re-directing them to login page
[7][Fri Jul 25 13:09:11 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket
[7][Fri Jul 25 13:09:11 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:11 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2] and re-directing them to login page
[7][Fri Jul 25 13:09:11 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2
[7][Fri Jul 25 13:09:11 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:11 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:11 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:11 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:11 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
[6][Fri Jul 25 13:09:11 2014]3680 Captured 192.168.1.189 requesting [http%3A//q.soft.360.cn/get_update_info.php%3Ftype%3Dupdate_info%26soft_ids%3D25%2C252%2C319%2C370%2C10105%2C10185%2C102432%2C103343%2C104511%2C105196%2C100100849%2C100101802%2C100102281%2C100114421%2C102049008%2C104129581%2C%26lrtime%3D0%26appver%3D3.1.0.1180%26uid%3D1%26pid%3Dh_home%26m%3Defe9f2a7633184308ca02b354a07aa0e] and re-directing them to login page
[7][Fri Jul 25 13:09:11 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//q.soft.360.cn/get_update_info.php%3Ftype%3Dupdate_info%26soft_ids%3D25%2C252%2C319%2C370%2C10105%2C10185%2C102432%2C103343%2C104511%2C105196%2C100100849%2C100101802%2C100102281%2C100114421%2C102049008%2C104129581%2C%26lrtime%3D0%26appver%3D3.1.0.1180%26uid%3D1%26pid%3Dh_home%26m%3Defe9f2a7633184308ca02b354a07aa0e
[7][Fri Jul 25 13:09:11 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:11 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:12 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:12 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:12 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:12 2014]3680 Captured 192.168.1.106 requesting [http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D] and re-directing them to login page
[7][Fri Jul 25 13:09:12 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D
[7][Fri Jul 25 13:09:12 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:12 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:12 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:12 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:12 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:12 2014]3680 Captured 192.168.1.106 requesting [http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D609] and re-directing them to login page
[7][Fri Jul 25 13:09:12 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D609
[7][Fri Jul 25 13:09:12 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:12 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.106 requesting [http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.189 requesting [http%3A//qurl.f.360.cn/wdinfo.php] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//qurl.f.360.cn/wdinfo.php
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Captured 192.168.1.106 requesting [http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D540] and re-directing them to login page
[7][Fri Jul 25 13:09:13 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D540
[7][Fri Jul 25 13:09:13 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:13 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:13 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:13 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//74.125.136.100/generate_204] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//74.125.136.100/generate_204
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D540] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D540
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130101%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130101%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130602%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130602%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:14 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:14 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting] and re-directing them to login page
[7][Fri Jul 25 13:09:14 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting
[7][Fri Jul 25 13:09:14 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:14 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:15 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket] and re-directing them to login page
[7][Fri Jul 25 13:09:15 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/network/bucket
[7][Fri Jul 25 13:09:15 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:15 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2] and re-directing them to login page
[7][Fri Jul 25 13:09:15 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.chat.xiaomi.net/v2/user/0/log%3Faddition%3D860311021012141%26t%3Dmiui_active_user%26uuid%3D0%26value%3DeyJJTUVJIjoiODYwMzExMDIxMDEyMTQxIiwibW9kZWwiOiJwaXNjZXMiLCJ2ZXJzaW9uIjoiTUlVSS1KWENDTkJEMjAuMCIsImlzYmluZCI6IjI1NSIsICJ1dWlkIjogIkUwQ0UyMjE1OTBDMDg2MkE2QkJBMEI1NzlCN0QyMTExIiwgImNoYW5uZWwiOiIifQ%3D%3D%26s%3D2C19AF1DC2B26FBF18BDB4DD36FC5DF2
[7][Fri Jul 25 13:09:15 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:15 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Captured 192.168.1.106 requesting [http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D] and re-directing them to login page
[7][Fri Jul 25 13:09:15 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//update.miui.com/updates/mi-rom-update.php%3Fmre%3Dcz03RTIzMEQ5MzI1Q0VEQ0Y0NDM3MEZBN0VEQTBCRTFDNiZ0PW1pdWlfYWN0aXZlX3VzZXImdmFsdWU9ZXlKdGIyUmxiQ0k2SW5CcGMyTmxjeUlzSW5Wc0lqb3dMQ0pwYldWcElqb2lPRFl3TXpFeE1ESXhNREV5TVRReElpd2lkMlprSWpvek1pd2lhWE5pYVc1a0lqb2lNalUxSWl3aWRtVnljMmx2YmlJNklrMUpWVWt0U2xoRFEwNUNSREl3TGpBaUxDSmpiaUk2SW5WdUlpd2ljbVZoYkY5dGIyUmxiQ0k2SWsxSklETWlMQ0ozWm5RaU9qQXNJbkpoWkdsdklqb2lORFl3TURBaUxDSmhZMk52ZFc1MElqb2lRV05qYjNWdWRDQjdibUZ0WlQweE9ETTNOVGsxT0N3Z2RIbHdaVDFqYjIwdWVHbGhiMjFwZlNJc0luTnpJam94Tml3aVptOXlZMlVpT2pBc0luVjFhV1FpT2lKRk1FTkZNakl4TlRrd1F6QTROakpCTmtKQ1FUQkNOVGM1UWpkRU1qRXhNU0lzSW1Ob1lXNXVaV3dpT2lJaWZRPT0%3D
[7][Fri Jul 25 13:09:15 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:15 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Captured 192.168.1.106 requesting [http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130101%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp] and re-directing them to login page
[7][Fri Jul 25 13:09:15 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130101%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp
[7][Fri Jul 25 13:09:15 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:15 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:15 2014]3680 Captured 192.168.1.106 requesting [http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130602%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp] and re-directing them to login page
[7][Fri Jul 25 13:09:15 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//weatherapi.market.xiaomi.com/wtr-v2/weather%3FcityId%3D101130602%26imei%3D97245e01b05b77e9da676abf3c8e6da7%26device%3Dpisces%26miuiVersion%3DJXCCNBD20.0%26modDevice%3D%26source%3DmiuiWeatherApp
[7][Fri Jul 25 13:09:15 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:15 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:16 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:16 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:16 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:16 2014]3680 Captured 192.168.1.106 requesting [http%3A//mobilecns.alipay.com%3A80/getMsgAndCfg.htm] and re-directing them to login page
[7][Fri Jul 25 13:09:16 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//mobilecns.alipay.com%3A80/getMsgAndCfg.htm
[7][Fri Jul 25 13:09:16 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:16 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:17 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:17 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:17 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
Invalid request path ''
[7][Fri Jul 25 13:09:17 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:17 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:17 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:17 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:17 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
[6][Fri Jul 25 13:09:17 2014]3680 Captured 192.168.1.189 requesting [http%3A//loginlogs.wangwang.taobao.com/upLoad.st] and re-directing them to login page
[7][Fri Jul 25 13:09:17 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//loginlogs.wangwang.taobao.com/upLoad.st
[7][Fri Jul 25 13:09:17 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:17 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:17 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:17 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:17 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:17 2014]3680 Captured 192.168.1.106 requesting [http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting] and re-directing them to login page
[7][Fri Jul 25 13:09:17 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//api.device.xiaomi.net/udi/v1/user/18375958/device/QXUwOvoa8IMkIV7e/setting
[7][Fri Jul 25 13:09:17 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:17 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:17 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:17 2014]3680 No valid request received from 192.168.1.106
[7][Fri Jul 25 13:09:17 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:18 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:18 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:18 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
[6][Fri Jul 25 13:09:18 2014]3680 Captured 192.168.1.189 requesting [http%3A//notify3.ynote.youdao.com/pushserver3/client%3FClientVer%3D30800000004%26GUID%3DPCc1a487df565a6f0b1%26LoginFormABTest%3DLoginFormATest%26app%3Dydrive%26cl%3Ddesktop%26client_ver%3D30800000004%26cto%3D313%26device_id%3DPCc1a487df565a6f0b1%26device_name%3DZY%26device_type%3DPC%26did%3DPCc1a487df565a6f0b1%26lp%3D1406265519381%26os%3DWindows%26os_ver%3DWindows%25208%26pv%3D1%26subvendor%3D%26vendor%3Dwebsite%26ver%3D0] and re-directing them to login page
[7][Fri Jul 25 13:09:18 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//notify3.ynote.youdao.com/pushserver3/client%3FClientVer%3D30800000004%26GUID%3DPCc1a487df565a6f0b1%26LoginFormABTest%3DLoginFormATest%26app%3Dydrive%26cl%3Ddesktop%26client_ver%3D30800000004%26cto%3D313%26device_id%3DPCc1a487df565a6f0b1%26device_name%3DZY%26device_type%3DPC%26did%3DPCc1a487df565a6f0b1%26lp%3D1406265519381%26os%3DWindows%26os_ver%3DWindows%25208%26pv%3D1%26subvendor%3D%26vendor%3Dwebsite%26ver%3D0
[7][Fri Jul 25 13:09:18 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:18 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:19 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:19 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:19 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:19 2014]3680 Captured 192.168.1.106 requesting [http%3A//upoll.umengcloud.com/spdyip/%3Fapp_version_code%3D3.0.2%26agoo_network%3Dwifi%26id%3DAmtR__Szj9gVYPRwLw19-KYhVDqlcTKIoPZc6JJQb2w2%26agoo_version_code%3D20140315] and re-directing them to login page
[7][Fri Jul 25 13:09:19 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//upoll.umengcloud.com/spdyip/%3Fapp_version_code%3D3.0.2%26agoo_network%3Dwifi%26id%3DAmtR__Szj9gVYPRwLw19-KYhVDqlcTKIoPZc6JJQb2w2%26agoo_version_code%3D20140315
[7][Fri Jul 25 13:09:19 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:19 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:23 2014]3680 Received connection from 192.168.1.189, spawning worker thread
[7][Fri Jul 25 13:09:23 2014]3680 Processing request from 192.168.1.189
[7][Fri Jul 25 13:09:23 2014]3680 Calling httpdProcessRequest() for 192.168.1.189
[6][Fri Jul 25 13:09:23 2014]3680 Captured 192.168.1.189 requesting [http%3A//cdn.weather.hao.360.cn/sed_api_weather_info.php%3Fapp%3Ddesktop%26fmt%3Djson%26code%3D101130101] and re-directing them to login page
[7][Fri Jul 25 13:09:23 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//cdn.weather.hao.360.cn/sed_api_weather_info.php%3Fapp%3Ddesktop%26fmt%3Djson%26code%3D101130101
[7][Fri Jul 25 13:09:23 2014]3680 Returned from httpdProcessRequest() for 192.168.1.189
[7][Fri Jul 25 13:09:23 2014]3680 Closing connection with 192.168.1.189
[6][Fri Jul 25 13:09:25 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:25 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:25 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:25 2014]3680 Captured 192.168.1.106 requesting [http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D646] and re-directing them to login page
[7][Fri Jul 25 13:09:25 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D646
[7][Fri Jul 25 13:09:25 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:25 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:25 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:25 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:25 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:25 2014]3680 Captured 192.168.1.106 requesting [http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D646] and re-directing them to login page
[7][Fri Jul 25 13:09:25 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//mibind.chat.gslb.mi-idc.com%3A80/mibind/http-bind%3Ft%3D646
[7][Fri Jul 25 13:09:25 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:25 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:29 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:29 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:29 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:29 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/newsync] and re-directing them to login page
[7][Fri Jul 25 13:09:29 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/newsync
[7][Fri Jul 25 13:09:29 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:29 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:30 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:30 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:30 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:30 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/newsync] and re-directing them to login page
[7][Fri Jul 25 13:09:30 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/newsync
[7][Fri Jul 25 13:09:30 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:30 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:35 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:35 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:35 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:35 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/newsync] and re-directing them to login page
[7][Fri Jul 25 13:09:35 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/newsync
[7][Fri Jul 25 13:09:35 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:35 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:35 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:35 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:35 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:35 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/statreport] and re-directing them to login page
[7][Fri Jul 25 13:09:35 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/statreport
[7][Fri Jul 25 13:09:35 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:35 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:35 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:35 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:35 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:35 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/kvreport] and re-directing them to login page
[7][Fri Jul 25 13:09:35 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/kvreport
[7][Fri Jul 25 13:09:35 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:35 2014]3680 Closing connection with 192.168.1.106
[6][Fri Jul 25 13:09:37 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[6][Fri Jul 25 13:09:37 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:37 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:37 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:37 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/statreport] and re-directing them to login page
[7][Fri Jul 25 13:09:37 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/statreport
[7][Fri Jul 25 13:09:37 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:37 2014]3680 Closing connection with 192.168.1.106
[7][Fri Jul 25 13:09:37 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:37 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:37 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/kvreport] and re-directing them to login page
[7][Fri Jul 25 13:09:37 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/kvreport
[7][Fri Jul 25 13:09:37 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:37 2014]3680 Closing connection with 192.168.1.106
[7][Fri Jul 25 13:09:40 2014]3680 Running fw_counter()
[7][Fri Jul 25 13:09:41 2014]3680 Running ping()
[7][Fri Jul 25 13:09:41 2014]3680 Entering ping()
[7][Fri Jul 25 13:09:41 2014]3680 Locking config
[7][Fri Jul 25 13:09:41 2014]3680 Config locked
[7][Fri Jul 25 13:09:41 2014]3680 Level 1: Calculated 1 auth servers in list
[7][Fri Jul 25 13:09:41 2014]3680 Level 1: Resolving auth server [mwifi.umakr.cn]
[7][Fri Jul 25 13:09:41 2014]3680 Locking wd_gethostbyname()
[7][Fri Jul 25 13:09:41 2014]3680 wd_gethostbyname() locked
[7][Fri Jul 25 13:09:41 2014]3680 Unlocking wd_gethostbyname()
[7][Fri Jul 25 13:09:41 2014]3680 wd_gethostbyname() unlocked
[7][Fri Jul 25 13:09:41 2014]3680 Level 1: Resolving auth server [mwifi.umakr.cn] succeeded = [115.28.211.186]
[7][Fri Jul 25 13:09:41 2014]3680 Level 1: Connecting to auth server mwifi.umakr.cn:80
[7][Fri Jul 25 13:09:41 2014]3680 Level 1: Successfully connected to auth server mwifi.umakr.cn:80
[7][Fri Jul 25 13:09:41 2014]3680 Unlocking config
[7][Fri Jul 25 13:09:41 2014]3680 Config unlocked
[7][Fri Jul 25 13:09:41 2014]3680 Connected to auth server
[7][Fri Jul 25 13:09:41 2014]3680 HTTP Request to Server: [GET /wkwifi/ping/?gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&sys_uptime=2092&sys_memfree=104784&sys_load=0.25&wifidog_uptime=421 HTTP/1.0
User-Agent: WiFiDog 20090925
Host: mwifi.umakr.cn

]
[7][Fri Jul 25 13:09:41 2014]3680 Reading response
[3][Fri Jul 25 13:09:41 2014]3680 An error occurred while reading from auth server: Connection reset by peer
[7][Fri Jul 25 13:09:41 2014]3680 Handler for SIGCHLD called. Trying to reap a child
[7][Fri Jul 25 13:09:41 2014]3680 Handler for SIGCHLD reaped child PID 4165
[7][Fri Jul 25 13:09:41 2014]3680 Handler for SIGCHLD called. Trying to reap a child
[7][Fri Jul 25 13:09:41 2014]3680 Handler for SIGCHLD reaped child PID 4167
[7][Fri Jul 25 13:09:41 2014]3680 Locking client list
[7][Fri Jul 25 13:09:41 2014]3680 Client list locked
[7][Fri Jul 25 13:09:41 2014]3680 Unlocking client list
[7][Fri Jul 25 13:09:41 2014]3680 Client list unlocked
[6][Fri Jul 25 13:09:42 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[6][Fri Jul 25 13:09:42 2014]3680 Received connection from 192.168.1.106, spawning worker thread
[7][Fri Jul 25 13:09:42 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:42 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:42 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/statreport] and re-directing them to login page
[7][Fri Jul 25 13:09:42 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/statreport
[7][Fri Jul 25 13:09:42 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri Jul 25 13:09:42 2014]3680 Closing connection with 192.168.1.106
[7][Fri Jul 25 13:09:42 2014]3680 Processing request from 192.168.1.106
[7][Fri Jul 25 13:09:42 2014]3680 Calling httpdProcessRequest() for 192.168.1.106
[6][Fri Jul 25 13:09:42 2014]3680 Captured 192.168.1.106 requesting [http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/kvreport] and re-directing them to login page
[7][Fri Jul 25 13:09:42 2014]3680 Redirecting client browser to http://mwifi.umakr.cn:80/wkwifi/login/?gw_address=192.168.1.1&gw_port=8888&gw_id=9fac8f10-1b18-4af2-a807-19459bffcc1b1&url=http%3A//short.weixin.qq.comhttp%3A/short.weixin.qq.com/cgi-bin/micromsg-bin/kvreport
[7][Fri Jul 25 13:09:42 2014]3680 Returned from httpdProcessRequest() for 192.168.1.106
[7][Fri

Update FAQ

FAQ is outdated in several places

Update README.openwrt as well - this includes duplicate build instructions. Better to delete?

-DO NOT use the wifidog packages distributed by OpenWRT (you are asking for trouble, they are broken in various ways; you will get no support if you do)

Refs #72

Code Quality: run clang static analyzer

Once we have all PRs merged, run a static code analyzer like clang to find some more questionable code. On my Ubuntu box, this is as simple as installing clang and running ./autogen.sh && scan-build make.

I have already found a nice error in mhaas@3b27606.

I'd like to wait for the PRs to be merged because some errors are in centralserver.c and ping_thread.c which I have changed in my SSL pull request.

http and https

Thanks for wifidog, it works perfect. I just have a little problem.

http gets redirected to the login page as it should but not https. I know that with https there are problems with man in the middle, but is it not possible just to have a iptables rule that "forwards" the request to another url, I don't need any info on the original request, post parameters or other things, just a redirect. Seems like it should be possible or ?

Support for FQDNs in wifidog.conf

Hello,
I need to whitelist apple's domains to manage the behaviour of Mac OS and iOS when connecting to Wifidog. From what I have read across multiple mailing lists, forums and other issues the thing is that it's actually supported to add domain names to FirewallRules on wifidog.conf, but there's a problem in conf.c that prevents this from working.

I tried compiling an ipk for OpenWRT Barrier Breaker but to no avail. Is there any possibility this could be patched? If so, how can I get this running on a Tp-Link AC1200/AC1750 with Barrier Breaker?

Thank you very much!

Problem with firewall

Hello,

I'm trying to get Wifidog working on a TP link archer c7. Everthing works fine except I get the following error every three connects:

Auth: 0] [6][Mon Sep 30 20:39:09 2013][31943](centralserver.c:168) Auth server returned authentication code 0 [7][Mon Sep 30 20:39:09 2013][31943](auth.c:126) Locking client list [7][Mon Sep 30 20:39:09 2013][31943](auth.c:126) Client list locked [6][Mon Sep 30 20:39:09 2013][31943](auth.c:156) Got DENIED from central server authenticating token da242c7dcaab252c9c587cc5d1075558a8b38964 from 192.168.1.187 at 20:16:d8:c7:3b:89 - deleting from firewall and redirecting them to denied message [7][Mon Sep 30 20:39:09 2013][31943](firewall.c:109) Denying 192.168.1.187 20:16:d8:c7:3b:89 with fw_connection_state 2 [7][Mon Sep 30 20:39:09 2013][31943](fw_iptables.c:111) Executing command: iptables -t mangle -D WiFiDog_br-lan_Outgoing -s 192.168.1.187 -m mac --mac-source 20:16:d8:c7:3b:89 -j MARK --set-mark 2 [7][Mon Sep 30 20:39:09 2013][31943](util.c:122) Waiting for PID 32170 to exit [7][Mon Sep 30 20:39:09 2013][31943](gateway.c:259) Handler for SIGCHLD called. Trying to reap a child [7][Mon Sep 30 20:39:09 2013][31943](gateway.c:263) Handler for SIGCHLD reaped child PID -1 [7][Mon Sep 30 20:39:09 2013][31943](util.c:124) Process PID 32170 exited [7][Mon Sep 30 20:39:09 2013][31943](fw_iptables.c:111) Executing command: iptables -t mangle -D WiFiDog_br-lan_Incoming -d 192.168.1.187 -j ACCEPT [7][Mon Sep 30 20:39:09 2013][31943](util.c:122) Waiting for PID 32172 to exit [7][Mon Sep 30 20:39:09 2013][31943](gateway.c:259) Handler for SIGCHLD called. Trying to reap a child [7][Mon Sep 30 20:39:09 2013][31943](gateway.c:263) Handler for SIGCHLD reaped child PID -1 [7][Mon Sep 30 20:39:09 2013][31943](util.c:124) Process PID 32172 exited [7][Mon Sep 30 20:39:09 2013][31943](http.c:214) Redirecting client browser to http://google.com:80/gw_message.php?message=denied [7][Mon Sep 30 20:39:09 2013][31943](auth.c:215) Unlocking client list [7][Mon Sep 30 20:39:09 2013][31943](auth.c:215) Client list unlocked [7][Mon Sep 30 20:39:09 2013][31943](httpd_thread.c:68) Returned from httpdProcessRequest() for 192.168.1.187 [7][Mon Sep 30 20:39:09 2013][31943](httpd_thread.c:73) Closing connection with 192.168.1.187

After that wifidog redirects to the access denied page. Only after a restart of the wifidog process i'm able to connect again. Does anyone know what is the problem here?

Could wifidog be used on android?And how?

Hi,I want to build a public hot spot and everyone could access the Internet after authorization.Since I succeeded on my router based on OpenWRT,using wifidog and authpuppy,could it be used on android?(We also want to integrate the wifidog into our android device.)And how ?

autogen.sh eats $1 instead of passing to configure

If you run

./autogen.sh --enable-cyassl

then enable--cyassl gets saved to $BUILDROOT and weird stuff ensues.

if [ "X$1" != "X" ]
then
    BUILDROOT=`echo "$1" | sed 's/^[^=]*[=]//'`
    [..]
   CC=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc

move popular_servers from hard code to config

now src/centralserver.c has a hard code "popular_servers", it should in wifidog.conf, then user can change it very easy.
In some country (e.g. China), users can't access www.google.com, and it had been "DNS cache poisoning", so can't use it for DNS health checking.

Facebook does not work as Auth provider on iOS 8

I am using Facebook to authenticate users. On iOS 8, the connection assistant pops up and shows my Auth sever. On clicking "login with facebook", Facebook does not load.

I assume this has something to do with OCSP. This ticket is mainly intended to document the issue. A fix would likely consist of a documentation update with a workaround.

Talk SSL to the auth server

My auth server only talks HTTPS. Right now, I use stunnel in client mode to tunnel the connection. This pulls in quite a lot of dependencies.

My feature request/RFC: hook up a small SSL library like PolarSSL or the smaller cyassl. This could be enabled on compile time. Hooking up cyassl is quite straightforward.

Would there be interest in such a feature? Any ideas on that?

About ios7

The captive portal cannot be opened automatically when iphone 5s connects.

Invalid request path ''

I cloned this repo and compiled it, then I installed it on BarrierBreaker. It works well. But I am getting a lot of Invalid request path ''. Any advice?

NetBSD support, failed experiment?

There's a fair bit of code for NetBSD support, particularly in util.c, is this code doing anything other than taking up space and making things complicated?

Has the support for NetBSD ever been finished? Does it work? Does it still work?

I'm inclined to axe it all.

Makefile

Hi,
I need to compile wifidog-gateway for a TL-WDR4300 with installed OpenWrt BARRIER BREAKER (bleeding edge, r37917) and a Linksys WRT-54GL with installed backfire 10.03 1-r29592. Can I have detailed instructions for creating a makefile or have a makefile?

Thanks in advance

Giussa

https:// url requests are not being redirected, not being captured by wifidog

Hi.

I spent hours on this one, stracing and reading the code but I cant see what is wrong.

I have wifidog all setup and working, when I type in http://etc. I get redirected to the login page. And in debug mode I see it being captured -> Captured 192.168.1.109 requesting..etc.

But https://etc isnt doing anything, it times out after awhile in the browser. Nothing happens in debug mode.

Somehow wifidog is not triggered to http_callback_404. I have no idea what is wrong and google doesnt find me anything about this.

Thank you very much!

Best regards,

Cannot satisfy the following dependencies for wifidog

I compile the lastest wifidog-gateway successfully,however,when using 'opkg install' command,come across following error:
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for wifidog:
  • iptables-mod-nat *
  • opkg_install_cmd: Cannot install package wifidog.

Model:TP-Link TL-WR841N/ND v7
Firmware Version:OpenWrt Barrier Breaker 14.07 / LuCI Trunk (0.12+svn-r10530)
Kernel Version:3.10.49

Any advice?

proxy_port

Hi,

I have been using wifidog with proxies and I saw the commit where proxy_port has been added. Is it possible to use proxy_port before being authenticated?

Thanks

fw_iptables.c compares string pointer with constants

fw_iptables.c includes the following code several times:

    if (table=="nat") {
        free(mode);
        return;
    }

The behaviour of this code is dependent on the C optimizer and its ability to optimize out duplicate string constants. The core aspect is that the comparison is by pointer. If the C compiler optmized all the uses of the "nat" constant to the same memory location and that is what is present in the variable table then the comparison indeed behaves as you expect.

The following trivial example will demonstrate this:

#include <stdio.h>
#include <string.h>

void
main(void)
{
    volatile char *test = strdup("nat");

    if (test == "nat") {
        printf("Oh really!\n");
    } else {
        printf("Pointer don't match!\n");
    }
}

In the above example, omitting the strdup() will cause the compiler to generate code where the equality is satisfied, with the strdup() the equality is not satisfied since a new pointer is allocated on the heap.

Use strncmp() instead.

Cannot satisfy the following dependencies for wifidog - Wrong kernel #fixed

Hi,

I compiled an openwrt image BB for my TL-WA801ND v2 including the new Wifidog project (overiding the old Makefile with the new one) and when I try to install the wifidog package using opkg install command I got the following error

Installing wifidog (20130917-440445db60b0c3aff528ea703a828b0567293387) to root...
Ignored wifidog md5sum mismatch.
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for wifidog:
  •  kernel (= 3.10.49-1-0114c71ed85677c9c1e4911437af4743) \*         kernel (= 3.10.49-1-0114c71ed85677c9c1e4911437af4743) \*         kernel (= 3.10.49-1-0114c71ed85677c9c1e4911437af4743) *
    
  • opkg_install_cmd: Cannot install package wifidog.

"uname -a" command shows i'm using a 3.10 kernel

Why does WiFiDog eat so much memory?

OS: OpenWrt Attitude Adjustment 12.09-rc1
Router: Huawei hg255d
CPU: Ralink RT3052 id:1 rev:3
RAM: 64 MB

Mem: 45232K used, 17220K free, 0K shrd, 4300K buff, 17768K cached
CPU: 73% usr 19% sys 0% nic 0% idle 0% io 0% irq 7% sirq
Load average: 3.47 3.34 2.87 3/69 20528
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
10576 4848 root S 49020 78% 15% /bin/wifidog -d 7 -f -c ./etc/wdev.conf

root@OpenWRT:/usr/local/wifidog# cat /proc/pgrep wifidog/status
Name: wifidog
State: S (sleeping)
Tgid: 10576
Pid: 10576
PPid: 4848
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups:
VmPeak: 110576 kB
VmSize: 49020 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 2032 kB
VmRSS: 1540 kB
VmData: 48084 kB
VmStk: 136 kB
VmExe: 84 kB
VmLib: 664 kB
VmPTE: 80 kB
VmSwap: 0 kB
Threads: 7
SigQ: 0/486
SigPnd: 00000000000000000000000000000000
ShdPnd: 00000000000000000000000000000000
SigBlk: 00000000000000000000000000000000
SigIgn: 00000000000000000000000000001000
SigCgt: 00000000000000000000000180024006
CapInh: 0000000000000000
CapPrm: ffffffffffffffff
CapEff: ffffffffffffffff
CapBnd: ffffffffffffffff
Cpus_allowed: 1
Cpus_allowed_list: 0
voluntary_ctxt_switches: 97533
nonvoluntary_ctxt_switches: 206638
root@OpenWRT:/usr/local/wifidog#

Why does WiFiDog eat so much memory?

Wifidog client dies after 112 simultaneous users

I git cloned https://github.com/wifidog/wifidog-gateway on Feb 3rd. The last entry in the ChangeLog was from 2014-12-19. I compiled and installed the wifidog client on a debian system with 4 gigs of RAM. Memory usage is not high, but the client freezes once it hits 112 users. No new clients are able to join. I have to /etc/init.d/wifidog restart to reset the connections so that users can join. But I hit the 112 user limit again.

I have a trusted Mac list which seems to get truncated in the wdctl status list the closer we come to the 112 th user.

Any ideas?

Thanks

Kevin

Allow ipsets for auth server / in firewall rules

Hello,

my auth server uses Facebook to log in users. FB uses several IPs as part of their CDN which change all the time. I handle this by using the ipset function in dnsmasq. Dnsmasq adds all IPs for facebook.com (etc) to an ipset which I then allow with this rule:

iptables -A WiFiDog_br-lan_AuthServers -m set --match-set fb dst -j ACCEPT

The problem is that Wifidog flushes iptables on start, so I have to sleep for 10s or so before applying the rule. That's ugly and error-prone. So I'd like to humbly request that FirewallRule be extended with ipset support. Refs issue #38.

Authenticate gateway against AuthServer?

Hello

First, I want to thank you for WifiDog. I have a question:

How can we prevent the case someone copies "GatewayID" of our router in order to use our AuthServer with his router? Is there any feature for authenticating gateway availalbe?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.