Commit Graph

77 Commits

Author SHA1 Message Date
sam
a4887c6c4a Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properly
for it's unix domain socket.  Before this change wpa_cli would take
the first file in the directory that was not "." or "..".

Submitted by:	Brandon Gooch <jamesbrandongooch@gmail.com>
MFC after:	3 days
2009-08-23 16:04:10 +00:00
sam
662bd139ae fix Jouni's email address
Approved by:	re (blanket)
2009-07-12 19:58:52 +00:00
maxim
703d345708 o Fix usage() prototype [1] and correct its call.
Submitted by:	ed [1]
2009-06-23 08:51:11 +00:00
maxim
a3aaeb8548 o style(9) usage() definition: it doesn't need an argument. 2009-06-23 05:55:56 +00:00
maxim
5807e6f28a o Remove unneeded argument in fprintf(3) call in usage().
Submitted by:	Pawel Worach
2009-06-23 05:51:48 +00:00
sam
c512d7b9f6 Do not force the mtu to 2290; this was done to insure large EAPOL frames
could be handled w/o fragmentation but clobbers user-specified values
such as those required when the interface is bridged.

Submitted by:	jim@netgate.com
Reviewed by:	Jouni Malinen
MFC after:	3 days
2009-06-05 17:19:55 +00:00
sam
c7975632df no need to for gnu89 any more 2009-03-15 01:39:16 +00:00
das
9014054478 Fix build breakage due to the interplay between r189801 and r189824.
In particular, vendor sources that aren't ready for gnu99 should
still be compiled with gnu89. (Before r189824, these would have
generated warnings if you tried to compile them in gnu99 mode,
but the warnings went unheeded due to -Wno-error.)
2009-03-14 22:50:03 +00:00
sam
37318b6485 uupdate for 0.6.8 2009-03-02 04:12:41 +00:00
sam
03d917a6cf update for 0.6.8 2009-03-02 04:11:34 +00:00
sam
aa4fba9afc update for 0.6.8 2009-03-02 04:10:40 +00:00
sam
9b95a24fae update to 0.6.8
Reviewed by:	thompsa
2009-03-02 02:28:22 +00:00
sam
53020b4cbb use ansi prototypes
Submitted by:	Pawel Worach <pawel.worach@gmail.com>
2009-03-01 08:01:38 +00:00
imp
ecf4ad80e1 'Strict EAP conformance' makes more sense here than 'String EAP
conformance.'
2008-11-21 18:15:39 +00:00
danger
9b9c320d08 - install the example wpa_supplicant.conf file to the share/examples/etc
directory [1]
- add the FILES section to the wpa_supplicant.conf.5 file, so that people
  will be able to detect the example configuration file easier. [2]

PR:		docs/121821 [2]
Approved by:	brooks [1]
MFC after:	3 days
2008-07-01 21:52:49 +00:00
sam
cfeca90532 o update for vaps
o add private wired driver that fixes various bugs in the vendor version

Submitted by:	thompsa (ndis fixups)
2008-04-20 20:40:45 +00:00
sam
e497365a20 o update for vaps
o add+enable radius acl support

Supported by:	Hobnob
Submitted by:	Chris Zimmermann (acl support)
2008-04-20 20:39:08 +00:00
sam
54dfadafe0 enable syslog support and add -s option to the man page
MFC after:	3 weeks
2008-03-24 20:19:20 +00:00
brueffer
9cc87d8891 Add some missing Xrefs to drivers.
MFC after:	3 days
2008-02-21 20:44:25 +00:00
sam
a527a8cc1d enable wired driver support
Submitted by:	"Paul B. Mahol" <onemda@gmail.com>
MFC after:	1 week
2007-12-20 00:52:02 +00:00
sam
b8ac67aa10 install hostapd.conf and related files for folks that don't have source
MFC after:	1 week
2007-11-10 20:27:09 +00:00
sam
bc41d97dbd fix building w/ WITHOUT_WPA_SUPPLICANT_EAPOL
MFC after:	1 week
2007-11-10 20:26:08 +00:00
sam
78608274b4 install sample wpa_supplicant.conf; not everyone has source to reference 2007-11-10 20:24:28 +00:00
thompsa
bcec7bd4fd Change wpa_supplicant to down the interface at the start of the init routine.
wpa_supplicant expects that it has exclusive access to the net80211 state so
when its starts poking in the WEP/WPA settings and the card is already
scanning it can cause net80211 to try and associate incorrectly with a
protected AP.

This is an inconvenience for firmware based cards such as iwi where it can be
sent an auth instruction with incomplete security info and cause a firmware
error.

Remove the 'ifconfig up' from network.subr since wpa_supplicant will
immediately down the interface again.

Reported by:	Guy Helmer (and others)
Reviewed by:	sam, brooks, avatar
MFC after:	3 days
2007-11-05 06:13:07 +00:00
simon
8a74383bef Document the '-P pidfile' command line argument.
PR:		docs/116658
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk>
MFC after:	3 days
2007-10-26 16:12:32 +00:00
mlaier
2144d751cf Update for libpcap 0.9.8 2007-10-16 02:12:06 +00:00
kevlo
e842e26266 Remove a -N flag.
Reviewed by: sam
Approved by: re (kensmith)
2007-10-02 01:22:14 +00:00
sam
5a2b9b7aff fix building with NO_CRYPT=true
PR:		116439
Approved by:	re (gnn)
2007-09-28 15:52:28 +00:00
sam
e4eaddae64 o enable use of EAP methods w/o modification to the base system; use
WPA_SUPPLICANT_CFLAGS, etc. (consult the Makefile's for details)
o enable ipv6 support in hostapd (for communication w/ a radius backend)

PR:		bin/116164
Submitted by:	"Scot Hetzel" <swhetzel@gmail.com>
Approved by:	re (gnn)
MFC after:	2 weeks
2007-09-25 16:08:16 +00:00
brueffer
d6a4de5c9c Remove stray comma left over from previous commit.
Approved by:	re (blanket)
2007-09-07 22:19:29 +00:00
gabor
ebe999f379 - Remove reference for unexisting ndisapi(9)
PR:		docs/113127
Submitted by:	"O. Hartmann"<ohartman@mail.zedat.fu-berlin.de>
Reviewed by:	keramida
Approved by:	re (bmah)
MFC after:	3 days
2007-09-07 21:58:58 +00:00
simon
aa48b2ed1b The wpa_passphrase(8) manual page states that it first appeared in
FreeBSD 6.2, but it didn't make it into RELENG_6_2.

Update the manual page to say "FreeBSD 6.3".

PR:		docs/114429
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk>
MFC after:	3 days
Approved by:	re (bmah)
2007-07-17 22:28:51 +00:00
sam
5e156f42fd update for wpa_supplicant 0.5.8 import:
o unix domain socket to wpa_cli is configured w/ CONFIG_CTRL_IFACE_UNIX
o terminate on last interface option is configured w/ CONFIG_TERMINATE_ONLASTIF
o ndis/Packet32.c fixups to force roaming mode to manual
o document new mixed_cell config knob

Submitted by:	thompsa (Packet32.c)
Reviewed by:	thompsa, sephe
Approved by:	re (hrs)
2007-07-11 16:04:08 +00:00
sam
01cd499d5e update for 0.5.8 import
Approved by:	re (hrs)
2007-07-09 16:26:48 +00:00
sam
fc62cda3a9 fixup mcast handling in bpf program; this enables forthcoming support
for 802.1x over wired interfaces

Submitted by:	Jouke Witteveen
Approved by:	re (hrs)
2007-07-09 15:57:10 +00:00
sam
00816df2c6 track net80211 changes to get scan results ioctl 2007-06-11 03:57:46 +00:00
sam
86f9e2d7a0 must byte swap key rsc for big-endian systems
Obtained from:	netbsd
MFC after:	1 week
2007-04-26 20:19:05 +00:00
sam
0517ee7f6f add wpa_passphrase utility to the build
PR:		bin/104457
Submitted by:	Henrik Brix Andersen
MFC after:	1 week
2006-11-17 19:38:51 +00:00
ru
8b8a0b4d6b Markup fixes. 2006-09-29 17:57:04 +00:00
sam
dde3315f5f incorporate Rui Paulo's work
Obtained from:	netbsd
2006-09-02 17:56:24 +00:00
sam
7f5675f336 avoid null ptr deref
Obtained from:	netbsd
2006-05-27 23:04:30 +00:00
sam
475b887da6 correct static array overrun
Obtained from:	netbsd
2006-05-27 23:03:08 +00:00
sam
01181f23a0 add debug msg 2006-04-20 05:03:21 +00:00
sam
088d4269ff remove some unnecessary perror calls
Noticed by:	Jouni Malinen
MFC after:	2 weeks
2006-04-17 00:17:29 +00:00
ru
b9455c625f Add missing library dependencies. 2006-04-13 12:49:24 +00:00
sam
2209f053cb adapt PacketGetAdapterNames to 0.4.8 calling convention
PR:		bin/94735
Submitted by:	Scot Hetzel <swhetzel@gmail.com>
Requested by:	scottl
2006-04-12 17:12:04 +00:00
ru
2a2657fcdc Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
hrs
95f44c5284 Fix version number when the feature was added.
Submitted by:	Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR:		docs/93801 and docs/93803
MFC after:	2 days
2006-03-07 18:25:03 +00:00
sam
081f4d7017 update for v0.4.8 import of wpa_supplicant and hostapd
MFC after:	2 weeks
2006-03-07 05:54:20 +00:00
sam
7a4371c1d2 use the specified key index for non-group keys; this fixes static
wep key configure at key indices > 0 and 802.1x/EAPOL operation
with ap's that want the station to install a key at indices > 0.

Hard work by:	Joe Love
Reviewed by:	avatar
MFC after:	1 week
2006-02-21 23:55:38 +00:00