Debian Codegraph @

patches/wpe/freeradius-wpe/README.md

raw
1 # FreeRadius Wireless Pawn Edition
2
3 Updated patch for FreeRadius 3.2.2
4
5 More information about WPE can be found:
6 https://www.willhackforsushi.com/?page_id=37
7
8 Supported and tested EAP Types/Inner Authentication Methods (others may also work):
9 * PEAP/PAP (OTP)
10 * PEAP/MSCHAPv2
11 * EAP-TTLS/PAP (includes OTPs)
12 * EAP-TTLS/MSCHAPv1
13 * EAP-TTLS/MSCHAPv2
14 * EAP-MD5
15
16 ## Installing
17
18 ### Dependencies
19
20 ```
21 apt install libssl-dev build-essential libtalloc-dev libpcre3-dev
22 ```
23
24 ### Optional dependencies
25
26 ```
27 apt install libsqlite3-dev libhiredis-dev libykclient-dev libyubikey-dev default-libmysqlclient-dev libcurl4-openssl-dev libperl-dev libpam0g-dev libcap-dev libmemcached-dev libgdbm-dev unixodbc-dev libpq-dev libwbclient-dev libkrb5-dev libjson-c-dev freetds-dev libwbclient-sssd-dev samba-dev libcollectdclient-dev libldap-dev
28 ```
29
30 ### Compilation
31
32 Run the following commands:
33
34 ```
35 wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.2.2.tar.bz2
36 tar -xjf freeradius-server-3.2.2.tar.bz2
37 cd freeradius-server-3.2.2/
38 wget https://raw.githubusercontent.com/aircrack-ng/aircrack-ng/master/patches/wpe/freeradius-wpe/freeradius-server-3.2.2-wpe.diff
39 patch -Np1 -i freeradius-server-3.2.2-wpe.diff
40 ./configure
41 make
42 make install
43 ldconfig
44 ```
45
46 ## Running
47
48 Start ```radiusd``` in a terminal:
49
50 ```
51 radiusd -s -X
52 ```
53
54 If it fails running and complains about OpenSSL being vulnerable, make sure OpenSSL is up to date. If you are using a recent distribution, most likely OpenSSL is patched, and you can safely allow it. In order to do so, edit /usr/local/etc/raddb/radiusd.conf and change ```allow_vulnerable_openssl``` from ```no``` to ```'CVE-2016-6304'``` (with the single quotes).
55
56 Now, connect a client. Once a username/password is entered and the certificate accepted, information regarding that session will be stored in ```/usr/local/var/log/radius/freeradius-server-wpe.log```.
57
58 **Note**: This file won't be created until the first client connects and authenticates to the access point.