Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2014 10:42:10 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, Rui Paulo <rpaulo@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: [rfc] INJECT mode for net80211
Message-ID:  <20140810084210.GA56043@e-new.0x20.net>
In-Reply-To: <CAJ-Vmon9G8wVJOtJdnQpQr-JkDgs_LFwnfvqTB69%2BU0eT8m2=w@mail.gmail.com>
References:  <CAJ-VmonhQwdQcTcEGrvwiTBDxiaOUAGYo=g%2BTaACR9oJaAh8Bw@mail.gmail.com> <80DB3DCF-496E-4596-B9F3-4D86AC82DEC5@FreeBSD.org> <CAJ-Vmom0OQtLvcCp5TS12ag5M65gsS8=gV8JOKJ%2B0Q_8AqypMA@mail.gmail.com> <CAJ-Vmo=Z0JQfKzrngdtgMfwNs5CWczB5KXJdSe-wgz0beGy6Jw@mail.gmail.com> <CAJ-Vmon9G8wVJOtJdnQpQr-JkDgs_LFwnfvqTB69%2BU0eT8m2=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 10, 2014 at 01:28:22AM -0700, Adrian Chadd wrote:
> ... interesting. Ok, so:
>=20
> * if I just "remove" sam's patch there, monitor mode works to inject;
> * I've patched kismet so it reads the radiotap data using the example
> parser and added XCHANNEL support - so now it actually works nicely;
> * aircrack-ng from ports doensn't send - it's triggering on this in net80=
211:
>=20
>         wh =3D mtod(m, struct ieee80211_frame *);
>         if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) !=3D
>             IEEE80211_FC0_VERSION_0)
>                 senderr(EIO);   /* XXX */
>=20
> .. I haven't looked into why yet.
>=20
> * but, aircrack-ng built from source works, save for when it tries to
> transmit too quickly after changing channels.
>=20
> Ok, so I'm going to just revert that change for now and see about
> figuring out some other way to enforce regulatory concerns on monitor
> mode transmit. (Likely by allowing receive, but failing transmit on
> non-regulatory channels.)
>=20
> I'll speak to the Kismet author here tomorrow and see about getting
> this replacement radiotap parser in so it works correctly again in
> FreeBSD.
>=20
> And as for aircrack-ng - guess I'll poke the port maintainer.
>=20

Which is me. :)
Thanks a lot for working on this, let me know if you need any assistance
for the aircrack-ng port.
BTW the aircrack-ng developers are very helpful and FreeBSD-friendly, so
we should get patches upstream.

--LQksG6bCIzRHxTLp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQF8BAEBCgBmBQJT5zBiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tPCoIAK8aQcJYSRSwIFlx5mahl7Lq
lR3saWlYyhOTeCVOjwKAoQJiV1z7NbKYRlEPC9nCiC892T62pmcW47YLnTla70Rq
EAJ3meeUnGxopSAIfq9VUF9K6Sc92XU99FDHD8k4FA6FokSPJ8MSgYrR6oUxCwyE
iQW+GW5u5R0Qo0Ltl7Mx12xWr4OWd7yDSJ9u8DP25aK3xonvQc6aPN465+dtoxAJ
GKm89ezD548vdOCqUHqaARr23Xos7R3+ZNWsNo9A3yl4fhbio7sP5MwAUCBQw7eW
j9jEIAqnbJiaCvsghv3hDT2GQlFbjM4Xo7V9IZvPk3NFjE99PnZDcmge/DRbKmY=
=E3Af
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140810084210.GA56043>