Comments (9)
支持一个呢。
Original comment by [email protected]
on 16 Sep 2014 at 2:28
from mentohust.
[deleted comment]
from mentohust.
其实还没有看懂你的原理,可否详细说明一下?
Original comment by [email protected]
on 16 Sep 2014 at 3:02
from mentohust.
[email protected]
谈不上什么原理 用的libpcap的库 用main函数开两个线程
申请两个回调函数(监听到802x包的时候就返回到函数)
分别监听路由器的两个网卡 一个线程判断源MAC来自PC的话
就原封不动的用WAN的网卡把这个包复制发送过去
另一个线程依然 测试认证是没问题的 但是路由器的WAN网卡
却无法上网 不知道其它版本的锐捷 能否使用
Original comment by [email protected]
on 16 Sep 2014 at 10:54
from mentohust.
我加了一个改写MAC的功能,即当LAN上出现合适0x888e且源MAC为PC
_MAC的数据包时,把其源MAC改为路由WAN口的然后发送至WAN;而�
��WAN上出现目标MAC为路由MAC时,把目标MAC改为PC_MAC再发送至LAN
。这样应该能够实现路由不克隆MAC地址的情况下由电脑代理��
�认证,从而使得来自路由的MAC的数据包允许通过交换机。可�
��这样的话电脑显示认证成功,但得不到IP;路由上用udhcpc -i
eth1也得不到IP……不知道问题出在哪了……
Original comment by [email protected]
on 11 Oct 2014 at 5:02
from mentohust.
接上,如果直接使用原本的程序,在路由WAN口设置MAC地址克��
�为电脑的,也是一样无法获取IP的状况(电脑和路由都不行��
�……如果电脑接进线,在电脑上认证好以后看到了IP、掩码��
�网关,然后开启代理,进线插到WAN,电脑插LAN,再认证,等�
��证成功后立即手动设定WAN口IP和掩码为之前记录的,这样也�
��能连通网络,ping网关是不通的……
Original comment by [email protected]
on 11 Oct 2014 at 5:06
from mentohust.
进一步测试除了替换MAC以外还代理DHCP数据包(从LAN代理到WAN�
��改变里面的两处MAC地址)仍然无DHCP
Offer……实在想不出来哪里还有问题……
Original comment by [email protected]
on 1 Nov 2014 at 2:49
from mentohust.
5楼的同学,看你们学校是先锐捷认证后DHCP的话
这个方法貌似不管用,我们学校是直接DHCP获取IP的
然后认证就能上网 我代理了协议之后
认证没有任何问题,但是无法上网
Original comment by [email protected]
on 15 Nov 2014 at 10:54
from mentohust.
感觉DHCP服务无响应跟不能上网有可能都是交换机仍然没有允�
��数据包通过的表现,实际还是一个问题……
Original comment by [email protected]
on 17 Nov 2014 at 3:21
from mentohust.
Related Issues (20)
- mipsel版mentohust认证锐捷4.85,提示“用户不允许使用本服务” HOT 1
- 客户端完整性被破坏! 64位的 ubuntu 13.04 HOT 1
- 路由器拨号成功但是不能上网 HOT 1
- mentohust不能选择多运营商吗?
- 抓包失败 HOT 3
- 升级mac os x 10.9 mavericks 无法找到网卡
- 华为HG255D 300M 11N路由器刷openwrt锐捷认证不成功 HOT 2
- Mentohust与Libnotify?
- 微哨 与mentohust
- 建议把mentohust做成系统服务
- 打开dhcp可以认证了,但是一直没能获得ip,不过关闭dhcp之后就可以认证了
- 表示近期学校升级了锐捷之后使用mentohust的上网速度下降了好多,不过依然能用 HOT 1
- 肇庆学院换了锐捷4.99之后抓包工具表示读取8021x.exe失败 HOT 2
- 暨大锐捷,XUbuntu 14.04 deb安装好,偶尔出现不成功,解决方法。
- 新的锐捷项目
- 软件在windows下安装
- 库函数缺失导致无法认证 HOT 1
- buffer overflow
- !! 打开锁文件失败: No such file or directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mentohust.