A hight performance and lightweight captive portal solution for HTTP(s)
Go to file
2022-01-14 10:13:07 +08:00
.github Update linux.yml 2021-12-21 17:48:16 +08:00
cmake/Modules add json-c and uci library check 2019-07-24 16:39:19 +08:00
doc add apfree conf crt file to debug in ubuntu system 2021-12-16 10:47:10 +08:00
package/apfree_wifidog/files add apfree conf crt file to debug in ubuntu system 2021-12-16 10:47:10 +08:00
patches Update 600-shared-libext.patch 2021-12-14 16:00:11 +08:00
src Update centralserver.c 2022-01-14 10:13:07 +08:00
_config.yml Set theme jekyll-theme-architect 2019-05-19 16:39:32 +08:00
.editorconfig Update .editorconfig 2017-03-16 16:31:29 +08:00
.gitignore add tags ignore 2018-08-20 11:04:48 +08:00
.travis.yml Update .travis.yml 2018-08-31 17:50:33 +08:00
apfree_wifidog_mqtt_protocol Create apfree_wifidog_mqtt_protocol 2017-06-09 11:38:59 +08:00
apfreewifidog.jpg add apfreewifidog.jpg 2017-12-04 10:17:29 +08:00
AUTHORS liudf 20161125 Add liudengfeng to AUTHORS file 2016-11-25 14:36:44 +09:00
authserver-offline.html Update authserver-offline.html 2018-10-20 15:17:13 +08:00
AUTHSERVER.md Update AUTHSERVER.md 2021-09-27 14:41:32 +08:00
CMakeLists.txt Update CMakeLists.txt 2021-12-14 18:58:21 +08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-12-18 14:31:49 +08:00
contributors.md skip always dns resolve when ip already exist 2017-11-30 15:24:01 +08:00
COPYING Update COPYING 2018-08-22 13:35:25 +08:00
internet-offline.html Update internet-offline.html 2018-10-20 15:15:40 +08:00
login.html dos2unix html file 2018-10-20 15:11:21 +08:00
logo.png add logo to project 2017-05-22 17:36:38 +09:00
NEWS Update NEWS 2016-12-23 14:24:05 +08:00
README.md Update README.md 2021-03-30 17:37:08 +08:00
TODO Update TODO 2016-12-21 18:16:03 +08:00
wifidog-msg.html Update wifidog-msg.html 2019-07-26 14:43:20 +08:00
wifidog-msg.html.in Update wifidog-msg.html.in 2019-07-26 14:42:29 +08:00
wifidog-redir.html liudf 20161117 Add 2 file 2016-11-17 13:04:37 +09:00
wifidog-redir.html.front Update wifidog-redir.html.front 2016-11-25 13:29:53 +08:00
wifidog-redir.html.in liudf 20160411 move domains && mac operation to ping thread 2016-04-11 11:24:30 +09:00
wifidog-redir.html.rear restore file wifidog-redir.html.rear 2020-08-27 16:21:00 +08:00

ApFreeWiFiDog

license PRs Welcome Issue Welcome Release Version OpenWRT Join the QQ Group

ApFree WiFiDog: A high performance captive portal solution for HTTP(s)

ApFree WiFiDog is a high performance captive portal solution for HTTP(s), which mainly used in Openwrt platform.

Enhancement of apfree-wifidog

In fact, the title should be why we choose apfree-wifidog, the reason was the following:

Stable

apfree-wifidog was widely used in tens of thousands openwrt device, which has run in business scene. In order to improve its stable, we rewrite all iptables rule by api instead of fork call, which will easily cause deadlock in multithread-fork running environment. we also re-write the code and replace libhttpd (which unmaitained for years) with libevent2

Performance

cause libevent2 support epoll, apfree-wifidog has better performance than original wifidog, there are some benchmark data in benchmark directory to prove it

HTTPs redirect

apfree-wifidog support https redirect, in current internet environment, captive portal solution without supporting https redirect will become unsuitable gradually

More features

apfree-wifidog support mac temporary-pass, ip,domain,pan-domain,white-mac,black-mac rule and etc. all these rules can be applied without restarting wifidog

MQTT support

by enable mqtt support, u can remotely deliver such as trusted ip, domian and pan-domain rules to apfree wifidog

Compitable with wifidog protocol

u don't need to modify your wifidog authentication server to adapt apfree-wifidog; if u have pression on server-side, apfree wifidog's improved protocol can greatly relieve it, which disabled by default


How to added apfree-wifidog into Openwrt package

apfree-wifidog has been accepted by OpenWrt packages' master and 19.07 branch, which can be found in net directory.


Attention! when apfree-wifidog redirect https request, u will receive certificate file is illegal warning, no need to panic, it's normal response

apfree-wifidog Auth server open source project

apfree wifidog's official auth server is wwas, which support wfc pay and weixin auth-mode and more auth-way will be support.

demo pic

demo video

http://www.iqiyi.com/w_19s09zie6t.html

More auth server please read AUTHSERVER.md

How To Contribute

Feel free to create issues or pull-requests if you have any problems.

Please read CONTRIBUTING.md before pushing any changes.

contact us

QQ group 331230369