WiFiDog certification Advantages and disadvantages WiFiDog principle

Source: Internet
Author: User

The portal certification method has multiple, we have chosen a very common open source project WiFiDog, support OpenWrt, large user groups, information is more perfect, Chinese information more.
Key Benefits:

    1. Open Source (Https://github.com/wifidog GitHub, provides source code and PHP-based authentication Gateway source code)
    2. Domestic use of wifidog is relatively common, two of times to develop more easily.
    3. Code portability is high and virtually unlimited on all platforms

(Summary: Low cost, easy to get started.) )

At present, there are some shortcomings

    1. Through the actual capture packet discovery, heartbeat packet constantly check the user online situation, gateway server performance overhead.
    2. Based on Iptables, the protocol is cumbersome and performance is relatively poor.
    3. Privacy issues, no encrypted URLs are delivered directly with privacy information.

Here's a look at the WiFiDog working mechanism:
Working mechanism
/ping Heartbeat Interface

"Get/ping/?gw_id= Gateway id&sys_uptime=1183&sys_memfree=105884&sys_load=0.14&wifidog_uptime=1169 HTTP /1.0 "

/login New user authentication jump page

Get/login/?gw_address=111&gw_port=111&gw_id=111&mac=88:72:0d:f2:88:29&url=url HTTP/1.1

/auth User Detection

/auth/?stage=counters&ip=192.168.10.81&mac=88:72:0d:f2:a8:29&token=85ea71f2484b2c52fee& incoming=5638570&outgoing=722214&gw_id=111 http/1.0

This article by http://www.wifidog.pro/2015/04/09/wifidog%E8%AE%A4%E8%AF%81%E4%BC%98%E7%BC%BA%E7%82%B9.html compilation, reprint please indicate the source

WiFiDog certification Advantages and disadvantages WiFiDog principle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.