summaryrefslogtreecommitdiff
path: root/usr.sbin/hostapd
AgeCommit message (Collapse)Author
2010-05-26No need to include <sys/sysctl.h> here and it pulls in <sys/proc.h>Todd C. Miller
which causes conflicts with the libevent macros. OK deraadt@
2010-05-24now that we can handle >9 args, put "-D name=value" on one line: it's a bitJason McIntyre
more readable, and fixes a spacing bug we had in smtpd.8;
2010-02-23Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which,Ingo Schwarze
in these cases, is useless anyway. Found by and fixing the build with mandoc; still fine with both old and new groff. ok jmc@
2010-01-11lex <=, >=, !=, and -> into a single token for correctness and to reduce theTheo de Raadt
lookahead in the parser ok reyk
2009-06-05init rtm_hdrlenChris Cappuccio
ok claudio@, henning@
2009-04-16fix a few more typos found by spell(1); rectify a double "with" pointed outIgor Sobrado
by jmc@ while looking at this diff. ok jmc@, reyk@ (for the hostapd part)
2009-03-31Fixed memory leaks which would occur if the second of two memoryTobias Stoeckmann
allocations fails. looks right deraadt, krw ok henning
2009-02-15no need for __packed, and it is even used wrong; from raggeTheo de Raadt
2008-10-17bring in the findeol() fix from pfctl. list of affected parsers by sthenHenning Brauer
2008-05-12Fix cut and pasto; Steven RobertsTodd C. Miller
2008-05-12Error out with usage line if additional arguments are given after thePierre-Yves Ritschard
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@
2008-02-27Unbreak parser by initializing topfile correctly.Marco Pfatschbacher
I got fooled by patch(1). Sorry.
2008-02-26Have popfile() also close the main config file,Marco Pfatschbacher
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@
2007-11-12Remove space/tab compression function from lgetc() and replaceMarco Pfatschbacher
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@
2007-10-22last one left behind.Pierre-Yves Ritschard
all daemons synced. ok reyk@
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
Requested and OK deraadt@
2007-10-16in the lex... even inside quotes, a \ followed by space or tab shouldTheo de Raadt
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
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
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.
2007-10-11next step in the yylex unification: handle quoted strings in a nicer fashionTheo de Raadt
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
2007-09-12Add NUMBER support for signed and unsigned 64bit numbers to the lexerReyk Floeter
instead of passing numbers as STRINGs. Add careful range checks whenever NUMBERs are used in the grammar. From deraadt@ (except the specific range checks)
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-02Use event(3) provided signal functions -- this decouples the eventClaudio Jeker
handling and so the signal handlers are safe to call whatever they want. This solves PR5463. OK reyk@
2007-02-09unbreak the symset functionReyk Floeter
2007-02-08carefully check some return values and make lint happy. check forReyk Floeter
truncation before feeding strings into the kernel.
2006-12-31add a channel hopper for wireless interfaces. the channel hopper willReyk Floeter
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@
2006-11-13properly use LDADD and DPADDTheo de Raadt
2006-10-13check error condition of strtonumReyk Floeter
2006-09-28hostapd tree search speedup via inlined compare functionReyk Floeter
suggested by Mike Belopuhov (mkb at crypt dot org dot ru)
2006-09-28fix the configuration parser for event rules: correct handling ofReyk Floeter
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!
2006-08-31knock out the cpp/m4 stuff from MACROS; after discussion with many...Jason McIntyre
2006-06-27add new event rules to match optional elements of radiotap headers:Reyk Floeter
signal percentage, transmit rate and channel frequency. ok and hints by jsg@ jmc@
2006-06-26fix printing of the RSSI radiotap element: use the PRINTF wrapperReyk Floeter
around hostapd_log instead of the printf function
2006-06-23set the RSSI Max value in ath(4) and use the new RSSI radiotap headerReyk Floeter
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@
2006-06-01don't use the newline character in hostapd_log() callsReyk Floeter
2006-05-26\<char> is <char> except for \<newline> -- no exceptions. much like howTheo de Raadt
other things work. ok henning
2006-05-16.Sx for section references;Jason McIntyre
2006-05-15mention the lack of authenticated management frames in IEEE 802.11.Reyk Floeter
2006-05-15initial implementation of "IP Roaming" in hostapd, see hostapd.conf(5).Reyk Floeter
ok dlg@
2006-05-15make lint happyReyk Floeter
2006-05-13set the correct timezone using tzset() before before writing to syslog.Reyk Floeter
thanks to Bruno Carnazzi
2006-03-10some IAPP implementations still use the pre-standard port 2313 in broadcastReyk Floeter
mode (tested with the HP ProCurve 420wl). add a note to the manual page and the example configuration.
2006-02-25fix for hostapd_printf() from Andrey Matveev:Reyk Floeter
---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---
2006-01-31fix a bug by updating the bpf packet header for each received frame inReyk Floeter
the capture buffer. to alex 'pukpuk' at gmx.de
2005-12-29add an 'include' rule to hostapd.conf(5); based on an older diff fromReyk Floeter
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).
2005-12-18Update my e-mail address in the copyright statement, no binary changes.Reyk Floeter
2005-12-10tweak: ok reykJason McIntyre
2005-12-10add an option to increase the multicast ttl which is currently limitedReyk Floeter
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".
2005-12-10make lint more happyReyk Floeter
2005-12-01tweaks;Jason McIntyre
2005-12-01typoTheo de Raadt