Commit Graph

56 Commits

Author SHA1 Message Date
christos
04fb6a55d2 don't need this anymore. 2008-12-12 21:41:04 +00:00
scw
d8ed07b38f With the demise of ../wpa_supplicant/crypto_libc.c, enable the
internal AES/SHA1 implementations.
2008-10-18 14:41:49 +00:00
scw
2756a71007 Fix previous. 2008-10-18 14:40:48 +00:00
scw
156b133dd5 Ditch crypto_libc.c in favour of the internal AES/MD5/SHA1 implementations
in the WPA distribution when building without native crypto.

For hostapd in particular, using crypto_libc.c unconditionally meant that
up until now the program has been pretty much unusable for anything which
requires cryptographic key exchanges. E.g. WPA/WPA2.

Also add support for a range of authentication protocols (EAP) in hostapd
if we're building with native crypto support.
2008-10-18 12:32:50 +00:00
wiz
67db3ccfa0 Bump date for previous.
XXX: Missing license.
2008-09-10 21:34:28 +00:00
reed
e10acc2a44 Mention that it prints a single network configuration block
to standard output and the passphrase must be 8 to 63 characters
in length.
2008-09-10 20:49:52 +00:00
christos
8cc5178c86 adjust to 0.64 2008-08-30 07:33:58 +00:00
jmcneill
2fec1d86a9 PR# 39364: wpa_cli scan_results shows '0' signal level
Use rssi for level (instead of qual) in scan results, following examples
set by the wpa_supplicant ndis and iphone drivers.
2008-08-29 12:58:19 +00:00
dholland
c0df430585 Fix typo; noted by Taylor R Campbell in PR bin/39428. 2008-08-29 05:10:26 +00:00
gmcgarry
0c1df97ec1 Pull in system headers before local headers to help avoid namespace collisions.
#undef WPA_OUI_TYPE which is later redefined in local headers.
2008-08-29 00:53:15 +00:00
christos
fdc568177c Fix bogus debugging code. 2008-06-15 18:33:32 +00:00
matt
71217509be Change incorrect use of CFLAGS to CPPFLAGS. 2008-02-16 07:23:37 +00:00
christos
758a0bc57f Add stubs for non-crypto compilation. 2008-01-26 21:51:06 +00:00
christos
9a8cc3a777 Adjust to the new wpa tree structure. 2008-01-26 21:50:21 +00:00
skrll
79dd1f17ae Updates from FreeBSD:
- EAP support is compiled in.
	- xref wpa_passphrase(8)
	- static wep example.
	- typos/grammar.
2007-12-22 09:48:45 +00:00
perry
3f77c34144 __FUNCTION__ -> __func__ 2007-12-15 00:14:23 +00:00
he
3661e4f558 We also need -ltermcap when we use -ledit.
Fixes build problem for sun2.
2007-06-13 07:33:00 +00:00
christos
1b15aa2347 put back readline. I think I fixed the libedit issue. If I did not, then
we should fix libedit further to be compatible with readline.
2007-06-09 17:33:26 +00:00
tls
4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
tls
7d2d02742e Revert previous: the readline support here does unspeakable things with
the history buffer that require knowledge of the readline internals to
make safe (it "knows" that GNU readline mallocs certain returned data,
and thus, with libedit, happily calls free on static variables).
2007-05-28 03:28:58 +00:00
christos
1b3a5dad50 turn on command line editing. 2007-05-27 19:46:31 +00:00
christos
e3277e1c36 don't look at the wrong structure to bring the interface down. Also keep
track of state, and bring the interface back up. This should be pulled to
4.0.
2007-05-27 03:15:34 +00:00
christos
1681ee0f39 unregister the read socket when we deinit, otherwise the stale socket stays
in the select mask, select fails with EBADFD and wpa_supplicant exits. This
should be pulled to 4.0.
2007-05-27 03:14:32 +00:00
seanb
0c835d6548 - Receive sequence counter is little endian on the wire.
Convert to host order before passing to net80211.
- Code inspection: sam
2007-04-26 16:25:56 +00:00
wiz
1763dd287c New sentence, new line. Punctuation fixes. 2006-08-04 20:38:52 +00:00
rpaulo
073f7a97f3 Add missing information. Reviewed by Sam Leffer. 2006-08-04 20:32:47 +00:00
wiz
12df45a0e6 Sort SEE ALSO.
XXX: this file has no license.
2006-06-28 21:10:08 +00:00
drochner
70de924429 there is no ural(4) on NetBSD, this is all ral(4) 2006-06-28 15:06:59 +00:00
mrg
d1e7efd01a commit the correct version of the previous. 2006-06-25 03:03:41 +00:00
mrg
5609a371c9 make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
christos
cc17521d3c Coverity CID 2959: Check before deref dammit. 2006-05-25 03:03:39 +00:00
christos
785022eb47 Coverity CID 2984: Static array overrun. 2006-05-25 03:02:25 +00:00
christos
b956bc8c52 Add a man page derived from the one in the distribution. 2006-05-15 02:17:43 +00:00
christos
588239e93e We don't have a man page yet. 2006-05-15 00:58:46 +00:00
dyoung
bfd03b170f Build and install wpa_passphrase, the utility for making a WPA
pre-shared key (PSK) from an SSID (802.11 "network name") and a
secret passphrase.
2006-05-14 19:51:15 +00:00
dyoung
c0ef0302c7 If ioctl(SIOCS80211) fails, tell which operation was attempted,
and the ioctl length.
2006-05-14 19:49:22 +00:00
mrg
757868b20a include <string.h> 2006-05-11 08:44:07 +00:00
rpaulo
5d6fb58006 Descend into hostapd{,_cli}. 2006-04-12 15:37:48 +00:00
rpaulo
dc8d4a9fd1 Build framework for hostapd. Based on FreeBSD.
hostapd.conf.5 man page still incomplete.
2006-04-12 15:37:07 +00:00
rpaulo
f8258633d6 NetBSD driver for hostapd based on FreeBSD driver. 2006-04-12 15:36:26 +00:00
rpaulo
33dfcd8fe4 Build framework for hostapd_cli. 2006-04-12 15:35:59 +00:00
rpaulo
927a27fefc Pull ../Makefile.inc and override PATH.c.
Adapt to WPA supplicant 0.4.8.
Change the logic behind ENABLE_WPA_SUPPLICANT_EAPOL: it's now enabled by
default (EAP code has been reviewed by FreeBSD folks according to Sam Leffer).
2006-04-12 15:35:34 +00:00
rpaulo
6d70fc8f1b Pull ../Makefile.inc and define PATH.c. 2006-04-12 15:32:45 +00:00
rpaulo
af039b42a3 Don't define .PATH here as it'll be overridden by subdir Makefiles.
Add HOSTAPD_DISTDIR.
2006-04-12 15:31:51 +00:00
rpaulo
179fb23056 New functions/changes required by wpa_supplicant and hostapd 0.4.8. 2006-04-12 15:29:14 +00:00
dan
1c8b9fae53 CIDs 2649, 2650: buf used after free 2006-03-18 12:35:19 +00:00
dyoung
de42319b47 Makefile nit: put -Ddefinitions into CPPFLAGS instead of CFLAGS,
since we need the -Ddefinitions not just for cc(1), but for cpp(1),
lint(1), etc.
2006-03-02 04:49:25 +00:00
wiz
086e1cafc6 Comment out paragraphs/half sentences referring to wlan(4)
and devd(8), which we do not have.
2005-12-12 22:23:22 +00:00
skrll
7044aacdd9 Don't reference stuff we don't have. 2005-12-07 12:20:49 +00:00
rpaulo
b3bf341016 If ENABLE_WPA_SUPPLICANT_EAPOL is defined, add libdes to ${DPADD} and
${LDADD} so that it builds fine.
While there, add libssl to ${DPADD}.
2005-11-17 13:55:29 +00:00