summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hostapd (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fix a few more typos found by spell(1); rectify a double "with" pointed outsobrado2009-04-162-8/+8
| | | | | | by jmc@ while looking at this diff. ok jmc@, reyk@ (for the hostapd part)
* Fixed memory leaks which would occur if the second of two memorytobias2009-03-311-3/+7
| | | | | | | allocations fails. looks right deraadt, krw ok henning
* no need for __packed, and it is even used wrong; from raggederaadt2009-02-151-2/+2
|
* bring in the findeol() fix from pfctl. list of affected parsers by sthenhenning2008-10-171-3/+5
|
* Fix cut and pasto; Steven Robertsmillert2008-05-121-2/+2
|
* Error out with usage line if additional arguments are given after thepyr2008-05-121-1/+6
| | | | | | option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@
* Unbreak parser by initializing topfile correctly.mpf2008-02-271-2/+2
| | | | I got fooled by patch(1). Sorry.
* Have popfile() also close the main config file,mpf2008-02-261-14/+15
| | | | | | | but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@
* Remove space/tab compression function from lgetc() and replacempf2007-11-121-10/+2
| | | | | | | | it with a simple filter in the yylex() loop. The compression in lgetc() didn't happen for quoted strings, thus creating a regression when tabs were used in variables. Some testing by todd@ and pyr@ OK deraadt@
* last one left behind.pyr2007-10-221-2/+5
| | | | | all daemons synced. ok reyk@
* Allow '=' to end a number in all lexers.mpf2007-10-161-2/+2
| | | | Requested and OK deraadt@
* in the lex... even inside quotes, a \ followed by space or tab shouldderaadt2007-10-161-2/+4
| | | | | | | | expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr
* in all these programs using the same pfctl-derived parse.y, re-unify thederaadt2007-10-131-85/+105
| | | | | | | | yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas.
* next step in the yylex unification: handle quoted strings in a nicer fashionderaadt2007-10-111-13/+20
| | | | | | | as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others
* Add NUMBER support for signed and unsigned 64bit numbers to the lexerreyk2007-09-121-30/+82
| | | | | | | instead of passing numbers as STRINGs. Add careful range checks whenever NUMBERs are used in the grammar. From deraadt@ (except the specific range checks)
* convert to new .Dd format;jmc2007-05-312-4/+4
|
* Use event(3) provided signal functions -- this decouples the eventclaudio2007-05-022-29/+40
| | | | | handling and so the signal handlers are safe to call whatever they want. This solves PR5463. OK reyk@
* unbreak the symset functionreyk2007-02-091-3/+2
|
* carefully check some return values and make lint happy. check forreyk2007-02-088-60/+89
| | | | truncation before feeding strings into the kernel.
* add a channel hopper for wireless interfaces. the channel hopper willreyk2006-12-315-5/+154
| | | | | | | | jump to the next available channel after a configurable delay for the specified list of wireless "hostap" interfaces, see the new "set hostap hopper" commands in hostapd.conf(5). with help by jsg@
* properly use LDADD and DPADDderaadt2006-11-131-2/+3
|
* check error condition of strtonumreyk2006-10-131-2/+8
|
* hostapd tree search speedup via inlined compare functionreyk2006-09-282-4/+5
| | | | suggested by Mike Belopuhov (mkb at crypt dot org dot ru)
* fix the configuration parser for event rules: correct handling ofreyk2006-09-281-55/+54
| | | | | | | multiple matches of the 'not' grammar rule and correct 'lladdr' address matching. figured out by Stephen Lewis (stephen at sock dot org dot uk), thanks!
* knock out the cpp/m4 stuff from MACROS; after discussion with many...jmc2006-08-311-6/+2
|
* add new event rules to match optional elements of radiotap headers:reyk2006-06-274-10/+364
| | | | | | signal percentage, transmit rate and channel frequency. ok and hints by jsg@ jmc@
* fix printing of the RSSI radiotap element: use the PRINTF wrapperreyk2006-06-261-2/+2
| | | | around hostapd_log instead of the printf function
* set the RSSI Max value in ath(4) and use the new RSSI radiotap headerreyk2006-06-231-1/+13
| | | | | | | instead of the old db signal header. also allow tcpdump and hostapd to print the new RSSI radiotap header values current/max rssi. ok damien@ jsg@
* don't use the newline character in hostapd_log() callsreyk2006-06-018-56/+63
|
* \<char> is <char> except for \<newline> -- no exceptions. much like howderaadt2006-05-261-4/+2
| | | | other things work. ok henning
* .Sx for section references;jmc2006-05-161-2/+2
|
* mention the lack of authenticated management frames in IEEE 802.11.reyk2006-05-152-3/+9
|
* initial implementation of "IP Roaming" in hostapd, see hostapd.conf(5).reyk2006-05-159-16/+533
| | | | ok dlg@
* make lint happyreyk2006-05-151-13/+12
|
* set the correct timezone using tzset() before before writing to syslog.reyk2006-05-131-1/+2
| | | | thanks to Bruno Carnazzi
* some IAPP implementations still use the pre-standard port 2313 in broadcastreyk2006-03-102-4/+7
| | | | | mode (tested with the HP ProCurve 420wl). add a note to the manual page and the example configuration.
* fix for hostapd_printf() from Andrey Matveev:reyk2006-02-251-10/+14
| | | | | | | | | ---snip--- We allocate some memory with va_start() for storage variable arguments in dynamic mode. va_end() takes care about clearing this memory. Therefore we should be sure, that to each va_start() there corresponds va_end() call. And on error path too. ---snap---
* fix a bug by updating the bpf packet header for each received frame inreyk2006-01-311-2/+3
| | | | | | the capture buffer. to alex 'pukpuk' at gmx.de
* add an 'include' rule to hostapd.conf(5); based on an older diff fromreyk2005-12-292-48/+129
| | | | | | dhartmei@ for the parser. this is useful if you have many hostapd systems using the same configuration but individual local definitions (like macros or table entries).
* Update my e-mail address in the copyright statement, no binary changes.reyk2005-12-1812-24/+24
|
* tweak: ok reykjmc2005-12-101-5/+7
|
* add an option to increase the multicast ttl which is currently limitedreyk2005-12-104-13/+34
| | | | | | to 1 hop. by using a higher multicast ttl, you could use inter-network multicast forwarding of hostapd messages (i.e. with mrouted(8) or multicast-capable routing switches); "set iapp mode multicast ttl 2".
* make lint more happyreyk2005-12-102-3/+8
|
* tweaks;jmc2005-12-011-6/+10
|
* typoderaadt2005-12-011-1/+1
|
* add configuration option to enable/disable specified iapp subtype handlingreyk2005-12-014-7/+74
|
* support netmasks in table entry ip address assignmentsreyk2005-12-013-11/+39
|
* move iapp configuration in a separate data structurereyk2005-12-018-84/+106
|
* deauthenticate all stations on startup which will force them toreyk2005-12-013-3/+39
| | | | reassociate cleanly.
* log message consistencyreyk2005-11-231-5/+5
|