Releases: liudf0716/apfree-wifidog
7.10.2082
apfree wifidog 7.10.2082 Release Notes
中文版本发布说明:
7.10.2082 版本更新内容:
-
修复通过认证的用户信息不上报的bug
-
增加本地无认证服务器认证功能:
- 用户可手动配置本地portal展示页面
- 添加用户本地放行接口
- 优化无认证服务器下的ping、auth及websocket接口流程
-
websocket接口增加踢认证用户下线功能:
- 用户无需等待1分钟即可踢下线
-
优化
logout
、login
及login2
接口 -
本地HTTP和HTTPS服务的优化:
- 增加IPv6的支持
- 修复https拦截认证的bug
-
修复认证服务器在CDN环境下的bug:
- CDN环境下IP频繁变动导致白名单失效的问题已解决
-
修复IPv6环境下认证失效的bug
-
修改网关无法获取IPv6地址时退出的问题
-
websocket功能优化:
- 添加websocket单独配置功能,支持与认证服务器分开部署
- 优化websocket连接服务器端的容错处理
- 修复websocket连接服务器端退出的问题
-
重构fw3和fw4的代码处理,停止对fw3的支持
-
启动时清理现有会话,用户下线时删除用户会话
-
修复并完善防火墙规则:
- 防止非80和443端口服务在无认证状态下访问网络
- 确保网关设备可以无认证访问网络
-
添加防火墙规则重启功能,并保留已认证用户及其流量统计信息
-
修复其它已知问题
English Version Release Notes:
What’s New in Version 7.10.2082:
-
Fixed the bug where authenticated user information was not reported
-
Added local authentication feature without a remote authentication server:
- Users can manually configure a local portal display page
- Added a local user bypass interface
- Optimized ping, auth, and websocket flows for environments without an authentication server
-
WebSocket interface now supports kicking authenticated users offline instantly:
- No need to wait for 1 minute to disconnect users
-
Optimized the
logout
,login
, andlogin2
interfaces -
Improvements to local HTTP & HTTPS services:
- Added support for IPv6
- Fixed bugs related to HTTPS interception for authentication
-
Fixed bugs with authentication servers in CDN environments:
- Resolved issues where dynamic IP changes in CDN setups caused whitelist failures
-
Fixed authentication failures in IPv6 environments
-
Resolved issues where gateways would exit when IPv6 addresses could not be obtained
-
WebSocket optimizations:
- Added a standalone WebSocket configuration, allowing it to be deployed separately from the authentication server
- Improved fault tolerance when connecting to the WebSocket server
- Fixed disconnection issues with the WebSocket server
-
Refactored code handling for fw3 and fw4; discontinued support for fw3
-
Cleared all active sessions at startup and removed user sessions upon disconnection
-
Enhanced firewall rules:
- Prevent unauthorized access to non-80/443 ports
- Ensure gateway devices can access the network without authentication
-
Added firewall rule restart functionality, while preserving authenticated users and their traffic statistics
-
Fixed other known bugs
version 7.08.2035 release
7.08.2355版本更新内容:
-
修复内存泄露问题:修复了在HTTPS跳转过程中未释放URL内存的漏洞。
-
多网关认证支持:
- 引入
device_id
作为设备唯一标识。 - 新增
gateway_setting
对象,每个对象可指定不同的认证模式,并通过gateway_id
标识。 - 每个
gateway_setting
对象都有对应的通道(channel),支持不同的认证方式。 auth counter_v2
接口扩展,支持多网关认证。ping
接口扩展,支持多网关认证。
- 引入
-
跳转URL生成逻辑修正:根据HTTP或HTTPS协议动态设置
gw_port
,以确保服务匹配。 -
IPv6支持:增强防火墙规则,并全面支持IPv6地址。
-
WebSocket模块更新及修复:
- 扩展心跳接口,增加所有网关信息的上报功能。
- 新增心跳回包处理机制,用于判断和调整网关的认证模式。
- 扩展
connect
接口,获取并初始化网关认证模式。 - 修复了当认证服务器离线时,WebSocket线程可能导致进程崩溃的Bug。
-
支持WSS协议。
-
优化QUIC协议处理。
-
修复TLS连接问题:增强对认证服务器HTTPS连接的支持。
-
Popular Server添加:增加对Google域名的支持。
-
ping接口扩展:更新
ping
接口以支持多网关认证功能。
Version 7.08.2355 Update Content:
-
Memory Leak Fix: Resolved an issue where URL memory was not released during HTTPS redirection.
-
Multi-Gateway Authentication Support:
- Introduced
device_id
as a unique identifier for each device. - Added
gateway_setting
objects, where each object can specify a different authentication mode, identified bygateway_id
. - Each
gateway_setting
object has a corresponding channel, supporting different authentication methods. - Extended the
auth counter_v2
interface to support multi-gateway authentication. - Extended the
ping
interface to support multi-gateway authentication.
- Introduced
-
Redirection URL Logic Fix: Dynamically set
gw_port
based on HTTP or HTTPS protocols to ensure service compatibility. -
IPv6 Support: Enhanced firewall rules and added full support for IPv6 addresses.
-
WebSocket Module Updates and Fixes:
- Expanded the heartbeat interface to include reporting of all gateway information.
- Added a mechanism to handle heartbeat response packets to assess and adjust gateway authentication modes.
- Extended the
connect
interface to retrieve and initialize gateway authentication modes. - Fixed an issue where the WebSocket thread could cause a process crash when the authentication server was offline.
-
WSS Protocol Support.
-
QUIC Protocol Optimization.
-
TLS Connection Fix: Improved support for HTTPS connections to the authentication server.
-
Popular Server Addition: Added support for Google domains.
-
Ping Interface Extension: Updated the
ping
interface to support multi-gateway authentication.
7.07.2018 release
Apfree-Wifidog 7.07.2018 Release Notes
English:
- Optimized the handling of a lock.
- Modified the DNS server for domain name resolution to the local DNS server.
- Fixed a bug where HTTP/3 was not intercepted.
- Fixed a crash issue when the authentication server was offline.
- Changed the default temporary pass-through time from 5 minutes to 1 minute.
Chinese (中文):
- 优化了一处锁的处理。
- 修改域名解析DNS服务器为本地DNS服务器。
- 修复了HTTP/3未被拦截的bug。
- 修复了认证服务器不在线情况下崩溃的问题。
- 将默认临时放行时间由5分钟调整为1分钟。
7.06.2008 release
Release Note
English
- Added support for wildcard domain whitelisting through the DNS proxy forwarding method.
- Introduced a flag to enable or disable WebSocket support.
- Introduced a flag to enable or disable DNS proxy support.
- Refactored the
wdctlx
command for improved functionality. - Fixed various bugs to enhance system stability.
中文
- 通过DNS转发代理的方式添加了通配符域名白名单功能。
- 添加了一个标志来打开或关闭WebSocket支持。
- 添加了一个标志来打开或关闭DNS代理支持。
- 重构了
wdctlx
命令以改进功能。 - 修复了一些漏洞以增强系统稳定性。
v7.02.1977 release
Features:
- Added a temporary internet access interface for clients.
- Added the ability to specify trusted domains, IPs, and MAC addresses.
- Added display of apfree-wifidog and firmware version in ping request.
- Added websocket client thread for improved communication.
- Added support for allowing clients access from the authentication server side through websocket.
- Added support for temporary internet access from the authentication server side through websocket.
Fixed:
- Resolved the COPS problem.
- Implemented automatic reconnection when websocket disconnects.
- Fixed the bug in nft set set_wifidogx_bypass_clients.
功能:
- 为客户端添加临时访问互联网接口。
- 添加信任的域名、IP和MAC地址。
- 在ping协议中添加了apfree-wifidog和固件版本。
- 添加websocket客户端线程以改善通信。
- 支持通过websocket从认证服务器端允许客户端上网功能。
- 支持通过websocket从认证服务器端临时访问互联网。
修复:
- 解决了COPS问题。
- 当websocket断开连接时,重新连接。
- 修复了nft set set_wifidogx_bypass_clients中的错误。
6.08.1950
6.02.1939 release
openwrt fw4 support
apfree-wifidog version 4.08.1771 release
- add COUNTER_V2 interface document
- fix compiliation with lower openssl version
- fix roam feature bug: device roam function invalid
- fix compilation with GCC10
apfree-wifidog version 3.10.1696 release
replace libhttpd with libevent library
apfree-wifidog version 3.8.1588 release
version 3.8.1588 release, the main featuer is:
fix bug of apfree-wifidog can't run on openwrt 18.06
disable mqtt feature by default
optimize libhttpd library
add timeout to wdctl socket, which will be blocked by amount of request