Skip to contentSkip to conversation

reaver: new package

PATCH New Guillaume W. Bres 2 participants 2 messages Apr 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reaver: new package

Reaver is a tool to audit networks against brute WPS pins attacks.

It is a generic autotools package, easy to build. Tests passed for the 7 default toolchains.

It is mandantory to use the github.com/t6x fork that I set in reaver.mk at the moment because other versions/repos of this project won't cross-compile. Their makefiles are pretty outdated. It is the only updated and regularly maintained repo that I found for this project at the moment.

---
 DEVELOPERS                 |  3 ++-
 package/Config.in          |  1 +
 package/reaver/Config.in   | 10 ++++++++++
 package/reaver/reaver.hash |  3 +++
 package/reaver/reaver.mk   | 15 +++++++++++++++
 5 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 package/reaver/Config.in
 create mode 100644 package/reaver/reaver.hash
 create mode 100644 package/reaver/reaver.mk
DEVELOPERS +2 -1
index 00cbaef..390d7f8 100644
@@ -792,8 +792,9 @@ F:	package/c-icap/
 F:	package/c-icap-modules/
 F:	package/sdl2/
 
-N:	Guillaume William Brs <[email protected]>
+N:	Guillaume W. Bres <[email protected]>
 F:	package/liquid-dsp/
+F: package/reaver/
 
 N:	Guo Ren <[email protected]>
 F:	arch/Config.in.csky
package/Config.in +1 -0
index e48d0b4..2da8605 100644
@@ -1823,6 +1823,7 @@ endif
 	source "package/quagga/Config.in"
 	source "package/rabbitmq-server/Config.in"
 	source "package/radvd/Config.in"
+	source "package/reaver/Config.in"
 	source "package/rp-pppoe/Config.in"
 	source "package/rpcbind/Config.in"
 	source "package/rsh-redone/Config.in"
package/reaver/Config.in new file +10 -0
new file mode 100644
index 0000000..fed433b
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_REAVER
+	bool "reaver"
+	select BR2_PACKAGE_LIBPCAP
+
+	help
+	  Reaver is a tool to audit networks against
+	  brute WPS pins attacks. It is complementary
+	  to "Aircrack-ng".
+
+	  https://code.google.com/archive/p/reaver-wps/wikis/README.wiki
package/reaver/reaver.hash new file +3 -0
new file mode 100644
index 0000000..6d2bacc
@@ -0,0 +1,3 @@
+# locally computed
+sha256 350a89b068f8b461e6459b739d4f5f301db01f115d75f4d698a1f2830149c412 reaver-9bae55bd30b6d46b42da3a09dc23c8b0f9341996.tar.gz
+sha256 bb40cfd5e9ca6e8465ea3c236f3f2293e8300af1bfe87e72fabe482ae6cc995a docs/LICENSE
package/reaver/reaver.mk new file +15 -0
new file mode 100644
index 0000000..77dc3ab
@@ -0,0 +1,15 @@
+################################################################################
+#
+# reaver
+#
+################################################################################
+
+REAVER_VERSION = 9bae55bd30b6d46b42da3a09dc23c8b0f9341996
+REAVER_SITE = $(call github,t6x,reaver-wps-fork-t6x,$(REAVER_VERSION))
+REAVER_LICENSE = GPL-2.0+
+REAVER_LICENSE_FILES = docs/LICENSE
+
+REAVER_SUBDIR = src
+REAVER_DEPENDENCIES = libpcap
+
+$(eval $(autotools-package))
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 reaver: new package

Hello,

Thanks for this new version, looks much better. A few more comments below, nothing major.

Quoted 9 lines · Guillaume W. Bres

Reaver is a tool to audit networks against brute WPS pins attacks.

It is a generic autotools package, easy to build. Tests passed for the 7 default toolchains.

It is mandantory to use the github.com/t6x fork that I set in reaver.mk at the moment because other versions/repos of this project won't cross-compile. Their makefiles are pretty outdated. It is the only updated and regularly maintained repo that I found for this project at the moment.

I think it would make sense to have this explanation before the REAVER_SITE variable in the .mk file.

DEVELOPERS F: package/c-icap/ · line 795

Quoted 2 lines
DEVELOPERS +1 -1
-N:	Guillaume William Brs <[email protected]>
+N:	Guillaume W. Bres <[email protected]>

This change is not really related. Is it an intended change? It should preferably be part of a separate patch.

Quoted 2 lines

F: package/liquid-dsp/
+F: package/reaver/

Indentation is wrong.

package/reaver/Config.in line 4

Quoted 10 lines
package/reaver/Config.in new file +4 -0
new file mode 100644
index 0000000..fed433b
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_REAVER
+	bool "reaver"
+	select BR2_PACKAGE_LIBPCAP
+

This empty line is not needed.

Best regards,

Thomas Petazzoni

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com