Commit Graph

38 Commits

Author SHA1 Message Date
astsam
46179742bd Allow inject management and control frames 2021-01-29 22:32:26 +03:00
kimocoder
07c704c0a7 radiotap tx support for injection 2020-09-20 01:33:08 +02:00
kimocoder
72f409d750 Fix a possible NUMM dereference 2020-07-12 01:17:12 +00:00
Mathy Vanhoef
849bbf0698 rtl8812a: add module parameter to retransmit injected frames
The reliability of some attacks is increased by letting the device
retransmit injected frames. Since it may not always be desired to
retransmit injected frames, add a module parameter to enable it
manually.

This was tested with an Alfa AWUS036ACH. Even when using a spoofed
sender MAC address, the retransmission behaviour is as expected.
That is, when an ACK frame towards the spoofed MAC address is received,
the retransmission will stop.
2020-06-26 16:23:46 +04:00
Mathy Vanhoef
1b86121806 rtl8812a: do not overwrite sequence number of injected frames
The sequence number of inject frames was being overwritten. This prevents
certain older attacks against WEP fragmentation older TKIP attacks. Fix
this by tracking if a frames was injected in monitor mode, and if so, do
not overwrite its sequence number.

The patch also adds a module parameter to revert this behaviour if needed.
By setting rtw_monitor_overwrite_seqnum to 1, sequence numbers will again
be set by the driver/device. This may by useful if user-space relied on
the driver/device to set sequence numbers.

This patch was tested using an Alfa AWUS036ACH.
2020-06-26 09:27:54 +04:00
kimocoder
39e9af79d8 remove USB_PACKET_OFFSET_SZ 2020-03-07 23:01:53 +00:00
kimocoder
19890f07a4 Restore 1mbps by default 2020-02-01 07:13:55 +01:00
kimocoder
2d29bdded9 Add xmit alloc retry 2020-02-01 07:06:42 +01:00
kimocoder
34258e769f Fix: pcap_activate status -8 and pcap_activate status -1 2020-01-11 20:30:27 +01:00
kimocoder
0c23551874 Cleanup wrong commit earlier 2019-11-14 04:33:12 +01:00
kimocoder
506f1e3c11 Added frame injection capabilities (tested working) 2019-11-14 03:11:57 +01:00
kimocoder
ee2beb3494 Count injected frames in interface stats 2019-11-13 20:06:59 +01:00
kimocoder
8eec8cd4a3 Some overall fixes.. includes + various 2019-11-11 02:04:51 +01:00
root
65b4d276b1 Upload v5.6.4.2 2019-10-30 23:08:53 +00:00
kimocoder
8807b5e46b Fix cfg80211.h include 2019-08-17 13:48:49 +02:00
kimocoder
9daa7978e9 Merge a collection of fixes 2019-08-16 06:28:27 +02:00
kimocoder
6c1b4a333b Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
kimocoder
fab47eec90 Fix includes to support linux 2019-04-06 00:38:23 +02:00
kimocoder
5faae4ff49 Fixed unreachable switches and other compile warnings 2018-08-25 20:29:23 +02:00
kimocoder
2d4a79c1b8 Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
kimocoder
3aa600b413 Count injected frames in interface stats 2018-07-02 21:29:24 +02:00
kimocoder
cafec86c7e Fix compile warnings (brackets + fallthroughs) 2018-07-02 20:05:48 +02:00
kimocoder
706446194d Fix injected frames drop 2018-07-02 19:47:54 +02:00
kimocoder
ef630451b0 Optimized Makefile + added DKMS 2018-07-02 19:20:53 +02:00
kimocoder
29fab55737 Uploaded the 8812au v5.2.20.2 driver 2018-07-02 18:49:32 +02:00
kimocoder
b85ad0de96 Fixed compilation warnings 2018-07-01 20:27:54 +02:00
kimocoder
7c899d1b5b Fix injected frames drop + platform fixes 2018-06-25 18:20:55 +02:00
kimocoder
be14d54031 Parse radiotap headers for proper frame injection 2018-06-22 19:37:47 +02:00
kimocoder
f53c7ea20e Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
kimocoder
4cf72deb8e Preparing new upload 2018-06-22 18:45:20 +02:00
kimocoder
b6c6c05f4a Removed pre-configured SeqNum via RadioTap 2018-03-27 15:02:10 +02:00
kimocoder
01ab3284e8 Fixed warnings + Nuked hardcoded reg-domain 2018-03-21 10:08:01 +01:00
dpShaker
1285279920 Add support for pre-configured SeqNum via RadioTap
See http://www.radiotap.org/fields/TX%20flags value 0x0010
2017-09-21 21:43:47 +02:00
Sergei Makarenkov
98f477c271 Count injected frames in interface stats 2017-04-15 11:59:18 +03:00
Sergei Makarenkov
8167c6674b Fix injected frames drop 2017-04-15 11:58:36 +03:00
astsam
7b407130a0 Add frame injection 2017-04-15 11:56:44 +03:00
astsam
cf7aa86c38 Driver v5.1.5 for RTL8812AU (Tenda U12) 2017-04-15 11:46:31 +03:00
Hans Ulli Kroll
d62c22e76e Add driver from found on aircrack-ng site
filename: rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta.tar.gz

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
2016-03-27 19:56:02 +02:00