openwrt ndsctl工具
来源:互联网 发布:apache ant 1.9.7.zip 编辑:程序博客网 时间:2024/06/07 11:03
ndsctl是通过unix socket与nodogsplash之间通过socket来实现进程之间的通信,显示信息与配置文件有关系,对于ndsctl 的操作,只是临时的,如果系统记录保存,还是需要写入配置文件。具有操作功能的参数,主要是用来对特定的MAC和IP地址进行操作,操作的结果就是通过iptables建立不同的数据包过滤机制来达到对用户的访问控制。
Usage: ndsctl [options] command [arguments]options: -s <path> Path to the socket -h Print usagecommands: status View the status of nodogsplash clients Display machine-readable client list stop Stop the running nodogsplash auth ip Authenticate user with specified ip deauth mac|ip Deauthenticate user with specified mac or ip block mac Block the given MAC address unblock mac Unblock the given MAC address allow mac Allow the given MAC address unallow mac Unallow the given MAC address trust mac Trust the given MAC address untrust mac Untrust the given MAC address loglevel n Set logging level to n password pass Set gateway password username name Set gateway username
root@goldsunny:/# ndsctl status==================NoDogSplash Status====Version: 0.9_beta9.9.9 #NoDogSplash版本号Uptime: 0d 0h 4m 51s#开启时间Gateway Name: NoDogSplash#网关名称Managed interface: br-lan#管理的网络设备接口 Managed IP range: 0.0.0.0/0#管理所有ipServer listening: 192.168.20.1:2050#监听端口Splashpage: /etc/nodogsplash/htdocs/splash.html#欢迎界面Traffic control: no#是否开启流量控制(限速)Total download: 96 kByte; avg: 2.66526 kbit/s#接口总的上行流量Total upload: 101 kByte; avg: 2.77825 kbit/s#接口总的下行流量====Client authentications since start: 1# 通过验证之后的连接数Current clients: 1# 连接数(包含未认证的)Client 0# 连接的用户信息 IP: 192.168.20.128 MAC: f4:9f:f3:80:af:de Added: Wed Aug 5 09:43:42 2015# 连接时间 Active: Wed Aug 5 09:47:40 2015# 活跃时间(截至这个时间用户还在线) Active duration: 0d 0h 3m 58s# 在线时间(使用网络) Added duration: 0d 0h 3m 58s# 连接到此接口的时间 Token: 4778364b# 令牌号 State: Authenticated# 是否通过验证 Download: 36 kByte; avg: 1.21829 kbit/s# 上行流量统计 Upload: 16 kByte; avg: 0.540471 kbit/s# 下行流量统计====Blocked MAC addresses: none# 黑名单Allowed MAC addresses: N/A# 白名单Trusted MAC addresses: none# 信任名单(在此名单的不需要验证,而且也没有使用记录)========
1 0
- openwrt ndsctl工具
- nodogsplash 调试工具 ndsctl
- openwrt的多种工具
- openwrt编译bluez工具gatttool
- openwrt 构建交叉编译工具
- openwrt之ubus命令行工具
- OPENWRT入门之四------openwrt命令行模式命令及其工具
- 构建 openwrt 交叉编译工具链
- 【物联网】OpenWrt SCP工具的使用
- 【智能路由器】openwrt工具uci使用指南
- openwrt命令行模式命令及其工具
- openwrt
- OpenWRT
- openWRT
- openWRT
- openwrt
- openwrt
- Openwrt
- 【leetcode】 First Missing Positive
- 关于linux下shutdown关闭不掉tomcat问题的解决办法
- Android Java如何解压缩标准ZIP包
- Java反射机制
- Qt遍历文件夹
- openwrt ndsctl工具
- 防止点击浏览器后退按钮 后退页面的js
- hdu 1312 深搜
- 学习scheme的笔记
- 生成随机数
- TCP的滑动窗口与拥塞窗口
- 南邮 OJ 1223 多重幂计数问题
- 学习笔记:Shell脚本-2015-08-05
- js学习二:按钮显示或隐藏下拉菜单简单案例