Skip to content

Instantly share code, notes, and snippets.

@13122310958
Forked from Akagi201/wifidog.md
Created February 26, 2019 03:15
Show Gist options
  • Save 13122310958/d84da7ad5459b965bb09dba56845ee1d to your computer and use it in GitHub Desktop.
Save 13122310958/d84da7ad5459b965bb09dba56845ee1d to your computer and use it in GitHub Desktop.

server

install

应用模型

内容分发

3种重要页面

  • Welcome page (usually a login page, user does not yet have network access)
  • Disclaimer page (must be accepted for access, between Welcome and portal page, must be accepted each time or only once)
  • Portal page (user has network access)

test tool

analysis

应用

wifidog打开调试信息

  • Your Wifidog client version (ipk and WHERE YOU GOT IF FROM or which version you compiled it from)
  • Your server SVN revision (run "svn info" in your wifidog-auth directory to get it)
  • Gateway config if the problem is with the gateway (wifidog.conf)
  • Wifidog gateway output messages (command : wifidog -f -d 7), for the period covering startup till you * reproduce the problem. (make sure the wifidog process is not already running before executing this command. You can stop it with "wifidog-init stop")
  • PHP error messages (make sure you set PHP to display them by setting "display_errors = On" in php.ini)

wifidog项目介绍

工作原理

ipt_mac

bug

崩溃时现象: 拦截非认证用户上网,但是不跳转到认证服务器。 必须重新启动wifidog进程,重启进程又会照成已经认证过的用户必须重新认证一次用户体验极差。但是这种情况在用户连接过多的时候容易出现

分析

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment