iwspy more than one adress

Bruno Randolf bruno.randolf
Wed Nov 26 11:03:40 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi again!

what i forgot to ask in my previous mail:

IW_MAX_SPY is currently defined as 8. would there be any problem if i would 
make it bigger (16 maybe)?

thanks again,
bruno


On Wednesday 26 November 2003 19:06, Jean Tourrilhes wrote:
> Bruno Randolf wrote :
> > [root at mtx-62 root]# ./iwspy wlan0 + 192.168.1.100
> > Interface doesn't accept reading addresses...
> > SIOCGIWSPY: Argument list too long
> >
> > and a message in my syslog:
> >
> > klogd: wlan0 (WE) : Buffer for request 8B11 too small (0<1)
>
> 	Congratulation ! You have found a genuine bug in the Wireless
> Tools.
>
> 	As I probably won't have time to spin a new version of the
> tools before a while, do like this :
> 	1) Open iwspy.c with your favorite editor
> 	2) Go around line 216 (in set_spy_info())
> 	3) Change the following line :
> -	  wrq.u.data.length = 0;
> +	  wrq.u.data.length = IW_MAX_SPY;
> 	4) Recompile, reinstall
>
> 	Thanks, and have fun...
>
> 	Jean
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap

- -- 
4G Systeme GmbH
Am Sandtorkai 71
20457 Hamburg
fon: +49 (0)40 / 48 40 33 28
fax: +49 (0)40 / 48 40 33 30
mail: bruno.randolf at 4g-systems.biz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/xPkMfg2jtUL97G4RAlqXAKCSH2FY7QyQDgcJ7wGvrC1MtaJVtgCfQ87q
Xdwp4FKSA9im1FFWxx/jYG8=
=yBQO
-----END PGP SIGNATURE-----





More information about the Hostap mailing list