联想802.1x Supplicant客户端

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
头像
pentie
帖子: 228
注册时间: 2007-08-27 22:03
来自: http://apt-blog.co.cc/

联想802.1x Supplicant客户端

#1

帖子 pentie » 2009-05-25 0:08

hi大家好又是我……

在湖南人文科技学院imagelife同学的邀请和帮助下,通过分析wireshark的抓包编写出来的的认证客户端。由于之前有了写ZDClient的经验,似乎上手比较快…… 联想的协议似乎更简单,没有神州那样在报文里面附上一大堆ip阿网关阿DNS这些恶作剧的东西,所以直接拿了ZDC的代码来删删删,然后根据他们整理出来的一份协议的简单分析,已大概整理出了雏形。

目前只适合他们不是DHCP的环境~有其他不同环境的跟PT联系吧!呵呵

项目主页:http://code.google.com/p/zlevoclient/

欢迎大家帮忙测试使用!

PT博客:http://apt-blog.co.cc/
头像
imagelife
帖子: 251
注册时间: 2007-10-07 11:56
来自: 湖南

Re: 联想802.1x Supplicant客户端

#2

帖子 imagelife » 2009-05-25 11:07

顶一下。感谢哦!
用联想认证的同学现在可以享受上网不断的感觉啦!
:em05
Kdemod是为Arch linux 定制的KDE的一个改进版本,
基于改善的QT,和Arch linux 标准的QT兼容,拥有改进的主题,和许多的附加特性。
使用KDEMod,是感受强大的KDE魅力和简洁强大的Arch最好方式。
头像
a52527459
帖子: 57
注册时间: 2009-02-25 14:15
来自: 河南工大
联系:

Re: 联想802.1x Supplicant客户端

#3

帖子 a52527459 » 2009-05-28 21:40

很不错哦。。。以后不再吊联想的 私有客户端了。。。。。。。。。。。
河南工业大学 校园网可以使用。
头像
a52527459
帖子: 57
注册时间: 2009-02-25 14:15
来自: 河南工大
联系:

Re: 联想802.1x Supplicant客户端

#4

帖子 a52527459 » 2009-05-28 21:43

不过为什么叫 Supplicant客户端 ?根据Supplicant客户端修改的。。以前也有Supplicant客户端,但是不能用。这个完全可以使用。
头像
pentie
帖子: 228
注册时间: 2007-08-27 22:03
来自: http://apt-blog.co.cc/

Re: 联想802.1x Supplicant客户端

#5

帖子 pentie » 2009-05-30 18:39

Supplicant是EAPOL协议里面对认证客户端的通称,rfc里面规定的。
wh0508
帖子: 6
注册时间: 2009-01-19 21:56

Re: 联想802.1x Supplicant客户端

#6

帖子 wh0508 » 2009-06-12 14:05

我的因为没办法上网,所以离线下安装了libpcap 的deb包,
但是在make的时候出现了一下信息哪位能帮忙看看……
谢了……

gcc -Wall -g -c zlevoclient.c
zlevoclient.c:19:18: error: pcap.h: No such file or directory
zlevoclient.c:121: warning: ‘struct pcap_pkthdr’ declared inside parameter list
zlevoclient.c:121: warning: its scope is only this definition or declaration, which is probably not what you want
zlevoclient.c:126: error: ‘PCAP_ERRBUF_SIZE’ undeclared here (not in a function)
zlevoclient.c:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
zlevoclient.c: In function ‘action_by_eap_type’:
zlevoclient.c:319: warning: implicit declaration of function ‘pcap_breakloop’
zlevoclient.c:319: error: ‘handle’ undeclared (first use in this function)
zlevoclient.c:319: error: (Each undeclared identifier is reported only once
zlevoclient.c:319: error: for each function it appears in.)
zlevoclient.c: In function ‘send_eap_packet’:
zlevoclient.c:381: warning: implicit declaration of function ‘pcap_sendpacket’
zlevoclient.c:381: error: ‘handle’ undeclared (first use in this function)
zlevoclient.c:383: warning: implicit declaration of function ‘pcap_geterr’
zlevoclient.c:383: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
zlevoclient.c: At top level:
zlevoclient.c:391: warning: ‘struct pcap_pkthdr’ declared inside parameter list
zlevoclient.c:390: error: conflicting types for ‘get_packet’
zlevoclient.c:120: error: previous declaration of ‘get_packet’ was here
zlevoclient.c: In function ‘init_device’:
zlevoclient.c:530: error: storage size of ‘fp’ isn’t known
zlevoclient.c:536: warning: implicit declaration of function ‘pcap_lookupdev’
zlevoclient.c:536: warning: assignment makes pointer from integer without a cast
zlevoclient.c:545: error: ‘handle’ undeclared (first use in this function)
zlevoclient.c:545: warning: implicit declaration of function ‘pcap_open_live’
zlevoclient.c:553: warning: implicit declaration of function ‘pcap_datalink’
zlevoclient.c:553: error: ‘DLT_EN10MB’ undeclared (first use in this function)
zlevoclient.c:592: warning: implicit declaration of function ‘pcap_compile’
zlevoclient.c:594: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
zlevoclient.c:599: warning: implicit declaration of function ‘pcap_setfilter’
zlevoclient.c:601: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
zlevoclient.c:604: warning: implicit declaration of function ‘pcap_freecode’
zlevoclient.c:530: warning: unused variable ‘fp’
zlevoclient.c: In function ‘signal_interrupted’:
zlevoclient.c:613: error: ‘handle’ undeclared (first use in this function)
zlevoclient.c:614: warning: implicit declaration of function ‘pcap_close’
zlevoclient.c: In function ‘main’:
zlevoclient.c:796: warning: implicit declaration of function ‘pcap_loop’
zlevoclient.c:796: error: ‘handle’ undeclared (first use in this function)
make: *** [zlevoclient.o] Error 1
头像
imagelife
帖子: 251
注册时间: 2007-10-07 11:56
来自: 湖南

Re: 联想802.1x Supplicant客户端

#7

帖子 imagelife » 2009-06-13 22:11

to ls:你的错误是没有装libpcap-dev.直接用二进制的包吧。
32位系统直接下载http://zlevoclient.googlecode.com/files ... 386.tar.gz
64位系统,直接下载http://zlevoclient.googlecode.com/files ... d64.tar.gz
Kdemod是为Arch linux 定制的KDE的一个改进版本,
基于改善的QT,和Arch linux 标准的QT兼容,拥有改进的主题,和许多的附加特性。
使用KDEMod,是感受强大的KDE魅力和简洁强大的Arch最好方式。
lixan8672
帖子: 7
注册时间: 2008-09-20 10:05

Re: 联想802.1x Supplicant客户端

#8

帖子 lixan8672 » 2009-06-13 22:44

不会弄,有没有详细教程啊~~
头像
imagelife
帖子: 251
注册时间: 2007-10-07 11:56
来自: 湖南

Re: 联想802.1x Supplicant客户端

#9

帖子 imagelife » 2009-06-13 23:21

lixan8672 写了:不会弄,有没有详细教程啊~~
看这里有wiki
http://code.google.com/p/zlevoclient/wi ... p_Toturial
Kdemod是为Arch linux 定制的KDE的一个改进版本,
基于改善的QT,和Arch linux 标准的QT兼容,拥有改进的主题,和许多的附加特性。
使用KDEMod,是感受强大的KDE魅力和简洁强大的Arch最好方式。
回复