All Projects → zhaojh329 → Wifidog Ng

zhaojh329 / Wifidog Ng

Licence: lgpl-2.1
Next generation WifiDog implemented in Lua.

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to Wifidog Ng

Esp8266 wifi captive portal
🔑 WiFi captive portal for ESP8266 for phishing WiFi passwords
Stars: ✭ 165 (-16.24%)
Mutual labels:  portal, wifi
Kupiki Hotspot Script
Create automatically a full Wifi Hotspot on Raspberry Pi including a Captive Portal
Stars: ✭ 265 (+34.52%)
Mutual labels:  portal, wifi
Go Workwx
a sensible Work Weixin(企业微信, Wechat Work) SDK for Go
Stars: ✭ 181 (-8.12%)
Mutual labels:  weixin
Aircrack Ng
WiFi security auditing tools suite
Stars: ✭ 2,690 (+1265.48%)
Mutual labels:  wifi
Go Os
Stars: ✭ 185 (-6.09%)
Mutual labels:  auth
Huge
Simple user-authentication solution, embedded into a small framework.
Stars: ✭ 2,125 (+978.68%)
Mutual labels:  auth
Alfred Network Workflow
Show and change your network settings
Stars: ✭ 186 (-5.58%)
Mutual labels:  wifi
Laravel Auth Checker
Laravel Auth Checker allows you to log users authentication, devices authenticated from and lock intrusions.
Stars: ✭ 177 (-10.15%)
Mutual labels:  auth
Artnetwifi
Arduino library for Art-Net (artnet) over WiFi, send and receive DMX data. Runs on ESP8266, ESP32, WiFi101 and WiFiNINA devices.
Stars: ✭ 195 (-1.02%)
Mutual labels:  wifi
Wxapp Webpack Plugin
📦 微信小程序 webpack 插件
Stars: ✭ 185 (-6.09%)
Mutual labels:  weixin
Comitup
Bootstrap Wifi support over Wifi
Stars: ✭ 190 (-3.55%)
Mutual labels:  wifi
Weixin
Weixin MP Go Library
Stars: ✭ 183 (-7.11%)
Mutual labels:  weixin
Udata
Customizable and skinnable social platform dedicated to open data.
Stars: ✭ 181 (-8.12%)
Mutual labels:  portal
Wxpy
微信机器人 / 可能是最优雅的微信个人号 API ✨✨
Stars: ✭ 13,057 (+6527.92%)
Mutual labels:  weixin
Vino
Vino is a lightweight and efficient web server.
Stars: ✭ 181 (-8.12%)
Mutual labels:  epoll
Arcrest
python package for REST API (AGS, AGOL, webmap JSON, etc..)
Stars: ✭ 193 (-2.03%)
Mutual labels:  portal
Wifi
Package wifi provides access to IEEE 802.11 WiFi device actions and statistics. MIT Licensed.
Stars: ✭ 179 (-9.14%)
Mutual labels:  wifi
Leshare Shop Weapp
基于微信小程序的电商平台,采用原生框架开发
Stars: ✭ 183 (-7.11%)
Mutual labels:  weixin
Reactivewifi
Android library listening available WiFi Access Points and related information with RxJava Observables
Stars: ✭ 186 (-5.58%)
Mutual labels:  wifi
Qaul.net
Internet independent, decentralised ad-hoc wireless communication application (ONLY A MIRROR FOR https://git.open-communication.net/qaul/qaul.net )
Stars: ✭ 195 (-1.02%)
Mutual labels:  wifi

WifiDog-ng(中文)

license PRs Welcome Issue Welcome Release Version

Next generation WifiDog

WifiDog-ng is a very efficient captive portal solution for wireless router which with embedded linux(LEDE/Openwrt) system implemented in Lua.

Keep Watching for More Actions on This Space

Features

  • Written in Lua, so development is very efficient
  • Use ipset and writing kernel module to implement authentication management instead of using iptables to create firewall rules
  • Support roam
  • Code structure is concise and understandable

Build

UCI Config options

Section gateway

Name Type Required Default Description
enabled bool no 0 Whether to enable wifidog
dhcp_host_white bool no 1 dhcp mac is whitelist
id string no Gateway id. If not set, the mac address of the ifname will be used
interface Openwrt interface no lan The device belong to the interface to listen by wifidog
port port number no 2060 port to listen by wifidog
ssl_port port number no 8443 ssl port to listen by wifidog
ssid ssid no Used for WeChat
checkinterval seconds no 30 How often the gateway will ping the auth server
temppass_time seconds no 30 Temporary pass time

Section server

Name Type Required Default
host string yes no
port port number no 80
ssl bool no 0
path string no /wifidog
login_path string no login
portal_path string no portal
msg_path string no gw_message.php
ping_path string no ping
auth_path string no auth

Section validated_user

Name Type Description
mac string A macaddr
comment string A comment

Section validated_domain

Name Type Description
domain string Can be a domain or ipaddr
comment string A comment

Protocol

Gateway heartbeating (Ping Protocol)

http://authserver/wifidog/ping?gw_id=xx&sys_uptime=xx&sys_memfree=xx&sys_load=xx&wifidog_uptime=xx

To this the auth server is expected to respond with an http message containing the word "Pong".

Login

http://authserver/wifidog/login?gw_address=xx&gw_port=xx&gw_id=xx&ip=xx&mac=xx&ssid=xx

Auth

http://gw_address:gw_port/wifidog/auth?token=xx

Auth confirm

http://authserver/wifidog/auth?stage=login&ip=xx&mac=xx&token=xx&incoming=xx&outgoing=xx

The response of the auth server should be "Auth: 1" or "Auth: 0"

Roam

http://authserver/wifidog/auth?stage=roam&ip=xx&max=xx

The response of the auth server should be "token=xxxxxxx" or other.

Temporary pass

http://gw_address:gw_port/wifidog/temppass?script=startWeChatAuth();

Test Server

Manage

Kick off the term

wget "http://lanip:2060/wifidog/ctl?op=kick&mac=0C:1D:AF:C4:DB:FC" -O /dev/null

Relaod config

wget "http://lanip:2060/wifidog/ctl?op=reload" -O /dev/null

Show device

ipset list wifidog-ng-mac

Donate

Contributing

If you would like to help making wifidog-ng better, see the CONTRIBUTING.md file.

QQ group: 153530783

If the project is helpful to you, please do not hesitate to star. Thank you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].