root/wifidog/tags/wifidog-1.1.3_beta6_ffw-01/ChangeLog

Revision 218, 33.7 kB (checked in by florida, 2 years ago)

version initiale wifidog-1.1.3_beta6

Line 
1 # $Id: ChangeLog 1162 2007-01-06 23:51:02Z benoitg $
2 2007-01-06 Benoit Grégoire  <bock@step.polymtl.ca>
3         * Documentation update in the code
4         * Released 1.1.3_beta6
5
6 2006-10-26 Benoit Grégoire  <bock@step.polymtl.ca>
7         * src/conf.h: Fix #238 by using $sysconfdir to compute the default config-file location.
8        
9 2006-10-08 Alexandre Carmel-Veilleux <acv@miniguru.ca>
10         * Changed my email in a few files.
11         * Broken down some printf's on multiple lines.
12         * Added comments.
13
14 2006-09-14 Benoit Grégoire  <bock@step.polymtl.ca>
15         * src/util.c, src/conf.h: Fix autodectection of the External interface if not specified in the config file.  If the interface (typically pppoe) wasn't yet fully up when wifidog starts, wifidog would stop every connection from going trough.  It will now retry every second for up to two minutes, and then exit with a fatal error if it can't successfully detect it.
16
17 2006-02-23 Philippe April <philippe@ilesansfil.org>
18         * src/fw_iptables.c:
19         * Changed order in the filter.FORWARD chain
20         * Added TCPMSS rule
21         * Fixed deleting the rules on shutdown
22         * Fixed wdctl reset problem
23         * Released 1.1.3_beta4
24
25 2006-02-06 Benoit Grégoire  <bock@step.polymtl.ca>
26         * src/fw_iptables.c: Fix deleting the rules on shutdown.
27
28 2006-01-31 Benoit Grégoire  <bock@step.polymtl.ca>
29         * Release 1.1.3_beta2
30        
31 2006-01-31 Benoit Grégoire  <bock@step.polymtl.ca>
32         * src/fw_iptables.c:  Add the global ruleset to the nat table to fix #65.
33         Add the table parameter to iptables_load_ruleset() and iptables_compile
34         * libhttpd/protocol.c:  Fix pointer type mismatch
35     * src/conf.c,h:  Remove deprecated option AuthServMaxTries (which was already ignored anyway.       
36        
37 2006-01-23 Benoit Grégoire  <bock@step.polymtl.ca>
38         * src/conf.h:  Fix the value of DEFAULT_AUTHSERVPATH and completely wrong code comment.  Not the default indicated in the config file and the define are in sync.
39
40 2006-01-17 Mina Naguib <mina@ilesansfil.org>
41         * Ingisgnificant cleanup  of CVS artifacts after svn migration
42
43 2005-11-24 Philippe April <philippe@ilesansfil.org>
44         * Bad idea
45
46 2005-11-01 Max Horvath <max.horvath@maxspot.de>
47         * Added .project to .cvsignore
48
49 2005-11-01 Philippe April <philippe@ilesansfil.org>
50         * Added OPTIONS section in wifidog-init (example: enable syslog)
51
52 2005-10-09 Philippe April <philippe@ilesansfil.org>
53         * Changed html pages, added info to wdctl status
54
55 2005-10-07 Philippe April <philippe@ilesansfil.org>
56         * Released 1.1.3_beta1
57
58 2005-10-03 Philippe April <philippe@ilesansfil.org>
59         * libhttpd: Fixed two bugs parsing the GET query string making wifidog segfault
60
61 2005-09-24 Mina Naguib <mina@ilesansfil.org>
62         * New wdctl command "restart" which will get wifidog to restart itself
63         while preserving the existing clientlist.  Perfect for 0-downtime
64         upgrading!
65         * safe.c: New safe_fork that croaks if the fork fails, also takes care of
66         closing some global file descriptors for the child
67         * debug.c: Now also logs the PID as part of every entry
68         * gateway.c: Handler for SIGCHLD now waitpid()s with WNOHANG flag to prevent deadlock
69         when the handler is called and another wait() or waitpid() is used
70         * util.c: execute() now uses waitpid() instead of wait() to reap only the child
71         it fork/executed
72         * Extra debugging entries throughout code
73
74 2005-09-24 Mina Naguib <mina@ilesansfil.org>
75         * conf.c: Pre-emptive bugfix - harsh lockdown of parsing trusted MAC
76         addresses from config file
77
78 2005-09-24 Philippe April <philippe@ilesansfil.org>
79         * (finally) Added {Saul Albert,Jo Walsh,Schuyler}'s patch (thank you!) to send
80         the GW interface's mac address as the node_id if no node_id is specified. It allows
81         the use of generic configuration files without the need to hardcode the
82         node_id in.
83         * Added TrustedMACList configuration variable which allows specifying
84         MAC addresses which are allowed to go through without authentication.
85         * Updated OpenWrt instructions.
86
87 2005-09-08 Philippe April <philippe@ilesansfil.org>
88         * Added compile instructions and installation for OpenWrt Whiterussian-rc2
89         * Released 1.1.2
90
91 2005-05-30 Mina Naguib <mina@ilesansfil.org>
92         * New wdctl command "restart" which will get wifidog to restart itself while preserving the existing clientlist.  Perfect for 0-downtime upgrading!
93         * safe.c: New safe_fork that croaks if the fork fails, also takes care of closing some global file descriptors for the child
94         * debug.c: Now also logs the PID as part of every entry
95         * gateway.c: Handler for SIGCHLD now waitpid()s with WNOHANG flag to prevent deadlock when the handler is called and another wait() or waitpid() is used
96         * util.c: execute() now uses waitpid() instead of wait() to reap only the child it fork/executed
97         * Extra debugging entries throughout code
98        
99 2005-05-24 Mina Naguib <mina@ilesansfil.org>
100         * wdctl.c: Minor bugfix pointed out by David Vincelli: When an invalid
101         command is given to wdctl, the error message showed "Invalid command:
102         wdctl" instead of the actual command supplied
103
104 2005-05-23 Philippe April <philippe@ilesansfil.org>
105         * Released 1.1.2_pre1
106
107 2005-05-23 Mina Naguib <mina@ilesansfil.org>
108         * fw_uptables.c: When appending call to chain WiFiDog_Outgoing from
109         nat.prerouting, add it via -A (at end) instead of -I 1 (at beginning) to
110         allow for existing nat forwarding.
111
112 2005-05-16 Mina Naguib <mina@ilesansfil.org>
113         * centralserver.c: read()s from central server in auth_server_request() are
114         now timed-out (via select).  This is hopefully a bugfix to the
115         thread-freezing problem.
116
117 2005-05-06 Mina Naguib <mina@ilesansfil.org>
118         * Bugfix non-RFC compliant HTTP requests using \n instead of \r\n as line
119         terminations as per email from ludocornut@users.sourceforge.net
120
121 2005-04-28 Philippe April <philippe@ilesansfil.org>
122         * Released 1.1.2_beta2
123
124 2005-04-28 Mina Naguib <mina@ilesansfil.org>
125         * wifidog.conf: Make the default ruleset for validating users = allow all
126         (except sending SMTP)
127
128 2005-04-20 Philippe April <philippe@ilesansfil.org>
129         * fw_iptables.c: Insert ourselves at the end of filter.FORWARD instead of
130         at the beginning since important FW instructions are located there on the
131         WRT54Gs when used with some DSL providers and we never execute them
132         otherwise.
133         * Released 1.1.2_beta1
134
135 2005-04-03 Philippe April <philippe@ilesansfil.org>
136         * Fixed issue with FAQ
137         * ipkg/rules: If autogen.sh doesn't exist, it's ok. 'configure' will.
138
139 2005-04-01 Philippe April <philippe@ilesansfil.org>
140         * Duplicated auth server list in NAT table to fix the issue
141         of using an auth server on port 80, since port 80 was being systematically
142         redirected to 2060 otherwise.
143         * Released 1.1.1
144
145 2005-03-29 Mina Naguib <mina@ilesansfil.org>
146         * Added FAQ document copied from wiki
147
148 2005-03-22 Philippe April <philippe@ilesansfil.org>
149         * Released 1.1.0
150
151 2005-03-20 Mina Naguib <mina@ilesansfil.org>
152         * More verbose debugging output
153
154 2005-03-12 Mina Naguib <mina@ilesansfil.org>
155         * More debugging output
156         * Document ugly hack involving tid_fw_thread
157         * SIGPIPE now ignored (as it's comment said) instead of being sent to the
158         handler for SIGCHLD
159         * Bugfix firewall destruction not happening from termination handler - had
160         to move explicit thread kills after, not before, firewall destruction
161
162 2005-03-11 Mina Naguib <mina@ilesansfil.org>
163         * If external interface was unspecified in the conf file, try to determine
164         it from the default route
165         * If external interface is known, specify it in the trigger rule in
166         nat.PREROUTING to prevent the rule from matching traffic inbound to the
167         router itself.  This should fix the issue raised by Philippe and Pascal on
168         the mailing list
169         * Bugfix: UNDO ABOVE 2 ITEMS. Aparently you cannot use the "-o" iptables
170         option in nat.PREROUTING which makes knowing external_interface useless
171         * Added new chain in nat.PREROUTING that explicitly allows all traffic to
172         the router's internal IP from the internal interface, effectively
173         addressing the same above problem
174
175 2005-03-07 Mina Naguib <mina@ilesansfil.org>
176         * auth.c: Got rid of legacy _http_output and _http_redirect - replaced them
177         with libhttpd functions and http_wifidog_header/http_wifidog_footer
178         * auth.c: When re-directing to auth server now respects SSL setting instead
179         of always http+port 80
180         * auth.c: Better debugging output of what it's doing when it acts on auth
181         server response
182         * A little bit more care with buffers and their sizes
183         * Minor whitespace tweaking and a couple of internal doc typo fixes
184
185 2005-03-06 Mina Naguib <mina@ilesansfil.org>
186         * Check return values of pthread_create
187         * Internal documentation touch-ups
188         * auth.c: Bugfix invalid http header sent by _http_output
189         * Bugfix traffic counter read from iptables as long int instead of long
190         long int
191         * Minor insignificant code touch-ups:
192                 * Replace pthread_mutex_lock/unlock calls with appropriate
193                 LOCK_FOO/UNLOCK_FOO macros for consistency
194                 * Lock first before using some variables, not after
195                 * Indentation adjustments
196
197 2005-03-04 Mina Naguib <mina@ilesansfil.org>
198         * Bugfix huge uptime pointed out to be by Philippe - was caused when the
199         date is set (with ntpclient for example) after wifidog starts
200         * Beautified "Uh oh!" apology screens and redirection screen
201
202 2005-03-02 Alexandre Carmel-Veilleux <acv@acv.ca>
203         * Ifdef'd out the bits that are Linux specific if __linux__ is not
204           defined.
205
206 2005-03-01 Mina Naguib <mina@ilesansfil.org>
207         * Minor visual tweaks to the web interface
208
209 2005-03-01 Philippe April <philippe@ilesansfil.org>
210         * Tagged v1_1_0_beta3
211
212 2005-02-28 Mina Naguib <mina@ilesansfil.org>
213         * Do not update the last_updated field on incoming traffic - update it on
214         outgoing traffic only.  This should be a much more reliable indication of
215         client no longer being there
216         * WifiDog status is now viewable with a web browser at
217         http://ip:port/wifidog/status
218         * Added new web hook for http://ip:port/wifidog
219         * Beautified web interface at http://ip:port/wifidog/*
220
221 2005-02-24 Mina Naguib <mina@ilesansfil.org>
222         * auth_server_request now returns AUTH_ERROR on error instead of AUTH_VALIDATION_FAILED
223         * centralserver.c: Fix typo (was =+, made it +=) that made the response
224         from the auth server corrupted in memory if the entire response would not
225         fit in 1 packet and retrieved with 1 read() call
226         * Better logging of details and calling of mark_* (auth+online/offline)
227
228 2005-02-22 Philippe April <philippe@ilesansfil.org>
229         * Tagged v1_1_0_beta2
230
231 2005-02-20 Mina Naguib <mina@ilesansfil.org>
232         * New safe.c with safe_malloc, safe_strdup, safe_asprintf and
233         safe_vasprintf with propper logging and exit when error. Replaced all
234         instances of original with safe versions in all files
235         * Fix memory leak in iptables_fw_counters_update
236         * Partial merge from CaptiveDNS branch: Consolidated much of the networking
237         calls to the auth servers into a magical function called connect_auth_server()
238         that's responsible for dns lookup, connecting, marking servers bad, marking
239         online/auth_online, and refreshing the firewall rules.
240         * Partial merge from CaptiveDNS branch: Added new functions mark_auth_online(),
241         mark_auth_offline() and is_auth_online() - similar in nature to is_online()
242         etc. except tailored to decide on auth servers status - currently being called by
243         connect_auth_server()
244         * Partial merge from CaptiveDNS branch: Different apology in 404 handler
245         depending on whether internet is down or just auth server is down
246         * Partial merge from CaptiveDNS branch: wdctl status now shows status of
247         is_online and is_auth_online
248         * Fixed several inconsistencies regarding the parity and size of
249         incoming/outgoing counters.  Standardized on "unsigned long long int" in
250         declarations and *printf/*scanf formats
251
252 2005-02-16 Philippe April <philippe@ilesansfil.org>
253         * ipkg/rules - When we clean, forgot to delete ipkg-build-stamp
254
255 2005-02-15 Mina Naguib <mina@ilesansfil.org>
256         * Now also reports wifidog_uptime when it pings the server, as well as
257         shows it in wdctl status
258
259 2005-02-13 Mina Naguib <mina@ilesansfil.org>
260         * Completely re-did the iptables rules.  Most of the rules are now in the
261         filter table instead of the nat table.  Also DROPs are now replaced with
262         REJECTs to help tell the user connection refused instead of endless pauses
263         * Bugfix: Traffic from client to router was counted twice in the "outgoing"
264         bytecount since it increased both counters in mangle.* and filter.* - Got
265         rid of TABLE_WIFIDOG_WIFI_TO_GW completely since it's unneeded
266
267 2005-02-12 Mina Naguib <mina@ilesansfil.org>
268         * Stricter format rules for all *scan* functions hunting for IPs and MAC addresses
269         * fw_iptables.c: Make sure scanned IP address is a valid IP address
270         * firewall.c: Fix memory leak in arp_get
271         * libhttpd/protocol.c: Abort connection if read non-ascii from client. This
272         is often a telltale sign of a program such as skype using port 80 for
273         non-http requests - this therefore ends the thread as early as possible
274         instead of having it lay around for a while trying to get a valid http
275         request and taking up resources
276         * ping_thread.c: When pinging auth server now also sends sys_uptime, sys_memfree
277         and sys_load
278         * -v commandline option now shows wifidog version
279
280 2005-02-11 Philippe April <philippe@ilesansfil.org>
281         * Tagged v1_1_0_beta1
282
283 2005-02-11 Philippe April <philippe@ilesansfil.org>
284         * Fixed a bug in counting the traffic between client and gateway
285         * Alpha8
286
287 2005-02-04 Mina Naguib <mina@ilesansfil.org>
288         * Partially bugfix apology when offline
289         * ipkg/rules: More tweaking to make it build nicely with recent openwrt
290         buildroots
291
292 2005-02-03 Mina Naguib <mina@ilesansfil.org>
293         * Keep track of last times we successfully & unsuccessfully spoke to the
294         auth server/used DNS. Then, if we know we're not online, show a little
295         apology to the user instead of re-directing them to the auth server.
296         * ipkg/rules: Added some extra version detection to auto-detect versions
297         of kernel, iptables and ipkg-utils instead of having them hardcoded.  This
298         makes creating ipkg's work with different OpenWRT releases
299         * fw_iptables.c: Fixed memory leak caused by not freeing return from
300         iptables_compile in iptables_load_ruleset
301         * http.c: Deleted unused call to client_list_find
302         * http.c: /about URL now shows wifidog version
303         * Cosmetic typo fixes
304
305 2005-02-03 Philippe April <isf_lists@philippeapril.com>
306         * Ping the users everytime we check their counters, that way we keep them
307         alive
308         * Optional ExternalInterface
309         * Optional GatewayAddress (we discover it. finally.)
310         * We check for the traffic from the clients to the firewall, to catch the
311         traffic the icmp ping is generating
312         * Fixed bug where we were doing the opposite of what desired when checking if authentication server was alive
313         * Bumped to alpha7
314
315 2005-01-23 Philippe April <isf_lists@philippeapril.com>
316         * wdctl status will return the auth servers in the linked list
317         * We'll now forward to the auth server to display the used-to-be-ugly
318         messages like "go ahead and validate your account you have 15 minutes"
319         * Bumped to alpha6
320
321 2005-01-06 Philippe April <philippe@philippeapril.com>
322         * fw_iptables.c: Changed REJECT to DROP for the end of the table Unknown,
323           REJECT doesn't seem to be available in the NAT table.
324         * fw_iptables.c: Indented things
325         * fw_iptables.c Fix: Created the authservers table at the beginning and destroy
326           at exit time only to avoid recreating it everytime
327         * Bumped to alpha5
328
329 2005-01-05 Philippe April <philippe@philippeapril.com>
330         * Typo, fixed some spaces (mostly esthetic)
331         * Bumped to alpha4
332
333 2004-12-19 Alexandre Carmel-Veilleux <acv@acv.ca>
334         * src/fw_iptables.c: Tweak of auth_server firewall rule setting
335           code. (and promptly undone, fixing the cause is better then
336           fixing the symptom)
337         * src/conf.c: NULL-fill auth_server struct so that
338           auth_server->last_ip always equals NULL when first filled.
339
340 2004-12-16 Benoit Grégoire  <bock@step.polymtl.ca>
341         * src/fw_iptables.c: Display iptables command that is run in debug mode.
342        
343 2004-12-07 Benoit Grégoire  <bock@step.polymtl.ca>
344         * src/firewall.c: Fix reversed incoming and outgoing connections in statistics code
345         * bump version to alpha3
346
347 2004-11-29 Alexandre Carmel-Veilleux <acv@acv.ca>
348         * wifidog.conf: Fixed firewall rule bug.
349         * src/fw_iptables.c: Unknown user default block rule not "REJECT"
350           instead of "DROP"
351
352 2004-11-23 Alexandre Carmel-Veilleux <acv@acv.ca>
353         * src/conf.c: Fixed a NULL pointer dereference in get_ruleset().
354
355 2004-11-22 Alexandre Carmel-Veilleux <acv@acv.ca>
356         * libhttpd/api.c: Fix leak in HttpdEndRequest().
357         * src/ping_thread.c: Fix auth_server IP change code with latest
358           from previous branch.
359         * src/conf.h: Same as above.
360         * src/fw_iptables.c: Same as above.
361         * src/conf.[ch]: Firewall rule set parsing code.
362         * wifidog.conf: Default firewall rule set defined.
363         * src/fw_iptables.[ch]: Firewall rule set enacting code.
364         * configure.in: bumped version to 1.1.0-alpha2
365
366 2004-11-18 Benoit Grégoire  <bock@step.polymtl.ca>
367         * src/ping_thread.c: Merge phil's bug fixes from stable branch
368         * ipkg/rules:  Merge phil's bug fixes from stable branch
369         * configure.in:  Set version to 1.1.0alpha
370        
371 2004-11-18 Alexandre Carmel-Veilleux <acv@acv.ca>
372         * src/fw_iptables.[ch]: Merged in Phil's patch.
373         * src/*: Added ping_thread hooks to reset authserver table in the
374           firewall if it notices the auth_servers changing IPs.
375
376 2004-11-17 Alexandre Carmel-Veilleux <acv@acv.ca>
377         * libhttpd/*: libhttpd has been taken behind the shed and shot in
378           the back of the head. The replacement separates the request struct
379           from the server struct. It's thread safe if none of OUR threads
380           write to server.
381         * src/*: All the changes to handle the new libhttpd and also to
382           move over to a worker thread system. http_callback_auth() no
383           longer spawns a thread either.
384         * *: this update preceded by a cvs tag PRE_NEW_LIBHTTPD.
385         * *: You want to check the mailing list archive also.
386
387 2004-11-10 Alexandre Carmel-Veilleux <acv@acv.ca>
388         * libhttpd/protocol.c: select() based timeout.
389
390 2004-10-31 Alexandre Carmel-Veilleux <acv@acv.ca>
391         * configure.in: bumped version number to "1.0.2-pre1" since we
392           already have ile sans fil hot spots advertising "1.0.1".
393
394 2004-10-30 Alexandre Carmel-Veilleux <acv@acv.ca>
395         * src/ping_thread.c: asynch read(). fixed bug in byte counting.
396
397 2004-10-29 Philippe April <philippe@philippeapril.com>
398         * ipkg/rules: added conffiles so it does not overwrite config files
399
400 2004-10-29 Alexandre Carmel-Veilleux <acv@acv.ca>
401         * src/ping_thread.c: Much new debugging information
402         * multiple files: Logging for all mutexes
403
404 2004-10-28 Philippe April <philippe@philippeapril.com>
405         * ipkg/rules: building ipkg-tools before packaging
406
407 2004-10-28 Alexandre Carmel-Veilleux <acv@acv.ca>
408         * multiple files: Implemented a FirewallRule config command, it
409           doesn't actually do anything yet.
410         * libhttpd: #if 0'd out lots of request parsing code.
411         * libhttpd: changed URL parsing.
412
413 2004-10-27 Philippe April <philippe@philippeapril.com>
414         * ipkg/rules: removed --build=mipsel from ./configure
415
416 2004-10-26 Philippe April <philippe@philippeapril.com>
417         * ipkg/rules: sed -i is not standard, did a workaround.
418         * ipkg/rules: openwrt's buildroot has changed, modified ipkg
419         accordingly, please read README.openwrt
420
421 2004-10-22 Alexandre Carmel-Veilleux <acv@acv.ca>
422         * src/various: Added wd_gethostbyname, a thread-safe (serialized)
423           version of gethostbyname.
424
425 2004-10-15 Alexandre Carmel-Veilleux <acv@acv.ca>
426         * src/auth.c: Fixed hard coded port.
427
428 2004-10-09 Alexandre Carmel-Veilleux <acv@acv.ca>
429         * src/gateway.c: More logging on termination_handler.
430
431 2004-10-08 Alexandre Carmel-Veilleux <acv@acv.ca>
432         * src/wdctl_thread.c: Fix wdctl_status to return all connected
433         users.
434
435 2004-10-07 Alexandre Carmel-Veilleux <acv@acv.ca>
436         * src/conf.c: Fixed mark_auth_server_bad() for the case where there
437         is only one auth server.
438         * src/ping_thread.c: Added extra debugging.
439         * src/ping_thread.c: Fixed file descriptor leak.
440         * src/centralserver.c: Fixed many file descriptor leaks.
441         * src/centralserver.c: Failure of read() no longer fatal.
442         * src/centralserver.c: In case of failure, return from
443         auth_server_request() is no longer an undefined authresponse.
444         * src/util.c: Fixed typo in logging.
445         * src/wdctl_thread.c: Added logging when socket path is too long.
446         * src/debug.c: Debug now logs the time of an event.
447
448 2004-08-30 Alexandre Carmel-Veilleux <acv@acv.ca>
449         * wifidog.conf: Corrected an example
450         * README.openwrt: Typo fixed, editorial changes
451         * ChangeLog: Benoit's last update entry was set in the future ;-).
452         * All over src/: Compiled with -Wall and fixed all nagging.
453
454 2004-08-30 Benoit Grégoire  <bock@step.polymtl.ca>
455         * Makefile.am: Add rpm target
456         * wifidog.spec.in:  Rework spec file.  Now works and include the init script
457         * ipkg/rules:  Deal with the incomplete init.d system of the OpenWrt.   Install scripts/init.d/wifidog as /usr/bin/wifidog-init, and call wifidog-init start from S65wifidog.
458         * scripts/openwrt/S65wifidog: Add file
459         * scripts/init.d/wifidog:  Fix performance and protability problem.  Make it chkconfig compliant.  Test that chkconfig --add wifidog works (at least on mandrake)
460         * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error.
461        
462 2004-08-30 Benoit Grégoire  <bock@step.polymtl.ca>
463         * README.openwrt:  Documentation update
464         * Makefile.am:  Make a ipkg target to ease WRT54G installation
465         * ipkg/rules:  Add wdctl and the init.d script.
466         * Add BUILDROOT variable to the build system so we can use it when needed
467         * src/ping_thread.c:  Have the server ping immediately on boot.  Note that this will only help if the second server responds.  The logic of the ping itself should be changed so it iterates in the list until it finds one that responds or exausts the list
468         * wifidog.conf:  Add more doc, and (most) of ISF's default config in comments.
469         * Bump version in anticipation for release
470
471 2004-08-29 Guillaume Beaudoin <isf@soli.ca>
472         * wifidog.spec.in: Changed prefix to match scripts/init.d/wifidog.
473         * debian/rules: Configuration and init.d file added.
474         * debian/control: Description and Depends field changed.
475         * Makefile.am: Added scripts directory and ipkg/rules file.
476
477 2004-08-29 Pascal Leclerc <pascal@plec.ca>
478         * scripts/init.d/wifidog: Startup/shutdown script for Wifidog deamon
479
480 2004-08-29 Guillaume Beaudoin <isf@soli.ca>
481         * wifidog.spec.in: Must be in decending chronological order.
482
483 2004-08-29 Guillaume Beaudoin <isf@soli.ca>
484         * wifidog.spec.in: Remove some leftover from libOFX.
485         * Makefile.am: Include debian/* files.
486         * We should now be able to package .deb and .rpm from dist.
487
488 2004-08-27 Benoit Grégoire  <bock@step.polymtl.ca>
489         * README.openwrt,src/conf.c,h:  Documentation update
490         * src/gateway.c, src/ping_thread.c, src/wdctl.c, src/wdctl_thread.c:  Fix linking problems related to errno.h and extern int errno
491        
492 2004-08-26 Pascal Leclerc <pascal@plec.ca>
493         * Makefile.am: Remove phpauth from EXTRA_DIST
494
495 2004-08-25 Alexandre Carmel-Veilleux <acv@acv.ca>
496         * src/auth.c: Path as changed in 1.26 was preceded by a /, the path already contains a / so it would yield http://host//path/
497
498 2004-08-25 Benoit Grégoire  <bock@step.polymtl.ca>
499         * src/auth.c:  Remove hardcoded path.
500        
501 2004-08-23 Benoit Grégoire  <bock@step.polymtl.ca>
502         * src/ping_thread.c:  Send the gateway id to the central server during ping, so the server know which gateway checked in, and then knows for sure that it is up (well, once the server implements it...).
503        
504 2004-08-23 Benoit Grégoire  <bock@step.polymtl.ca>
505         * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again.
506        
507 2004-08-20 Alexandre Carmel-Veilleux <acv@acv.ca>
508         * Debug output of all HTTP transactions and their responses.
509         * Changed ipkg to use wifidog.conf from the base tree
510         * Send url to central server for link back out
511
512 2004-08-19 Alexandre Carmel-Veilleux <acv@acv.ca>
513         * Sort of fixed the hanging thread (with an explicit thread kill)
514         * Fixed ping code
515
516 2004-08-13 Alexandre Carmel-Veilleux <acv@acv.ca>
517         * All Auth Server configuration now handled by the "AuthServer"
518         directive.
519         * The "AuthServer" directive is now multi line.
520
521 2004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
522         * Added code to do heartbeat.
523         * Changed AuthServer yet again.
524
525 2004-08-09 Alexandre Carmel-Veilleux <acv@acv.ca>
526         * WiFiDog now can read multiple auth servers in its config file.
527         * Added functions to handle the auth servers list.
528         * WiFiDog can failover between servers for its internal requests.
529         * Firewall sets rules for all auth servers.
530
531 2004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca>
532         * AuthservPath no longer mandatory in config file.
533
534 2004-08-04 Philippe April <wifidog@philippeapril.com>
535     * Renamed iptables.[ch] to fw_iptables.[ch]
536
537 2004-08-03 Alexandre Carmel-Veilleux <acv@acv.ca>
538         * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c
539
540 2004-08-01 Benoit Grégoire  <bock@step.polymtl.ca>
541         * Delete everything in phpauth, it will now live in it's own module (wifidog-auth)
542
543 2004-08-01 Alexandre Carmel-Veilleux <acv@acv.ca>
544         * Added wdctl facility
545
546 2004-07-21 Philippe April <wifidog@philippeapril.com>
547     * Cleaned up the ipkg makefile
548     * Added makefile to build on Debian
549
550 2004-07-19 Alexandre Carmel-Veilleux <acv@acv.ca>
551         * Build script for OpenWRT ipkg
552
553 2004-07-06 Alexandre Carmel-Veilleux <acv@acv.ca>
554         * Added cache control to default error message returned.
555
556 2004-07-05 Philippe April <papril777@yahoo.com>
557     * Fixed an endless loop in client_list_delete
558
559 2004-06-10 Alexandre Carmel-Veilleux <acv@acv.ca>
560         * Added debugging to libhttpd so that httpdGetConnection() traces
561           its execution into ./httpdGetConnection.log. This should be removed
562           once it's no longer needed or put within #ifdef DEBUG's.
563
564 2004-06-01 Philippe April <papril777@yahoo.com>
565     * Sending User-Agent header to central server
566
567 2004-05-28 Philippe April <papril777@yahoo.com>
568     * Fixed bugs implemented after major changes
569
570 2004-05-27 Benoit Grégoire  <bock@step.polymtl.ca>
571         * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c
572         * Cleaned up some more issues in my notes taken at the formal review
573         * client_list.c,h:  Make client_list_free_node() private, define and document client_list_mutex here
574         * config.c:  Start the hunt for evil globals:  Get rid of the config global
575         * doc/doxygen.cfg.in:  Enable generation of internal doc, a few other tweaks
576         * Documentation now generates a TODO list and DEPRECATED list, please look at them
577
578 2004-05-27  Alexandre Carmel-Veilleux <acv@acv.ca>
579         * Cleaned up all the issues brought forward in the code review
580           on 2004-05-26 at Benoit's. There are to many changes to list
581           individually.
582
583 2004-05-15  Philippe April <papril777@yahoo.com>
584     * Commented out cookie handling in libhttpd because it segfaults if
585     you pass a particular formatting/buggy one
586
587 2004-05-14  Philippe April <papril777@yahoo.com>
588     * Fixed crash when receiving SIGPIPE signal with write() would fail
589
590 2004-05-13  Philippe April <papril777@yahoo.com>
591     * Advertise to the central server when we logged out a user
592
593 2004-05-12  Philippe April <papril777@yahoo.com>
594     * Sending a "stage" when doing authentication for the server
595     to be able to know if it's a login, or just a counters update.
596
597 2004-05-11  Philippe April <papril777@yahoo.com>
598     * Now tracking the hotspot id and ip in database
599
600 2004-05-07  Philippe April <wifidog@philippeapril.com>
601     * Now we store both incoming and outgoing counters on server
602     and expire if no activity at all on both
603     * Changed the structure of nodes a little
604
605 2004-05-07  Philippe April <wifidog@philippeapril.com>
606     * New parameter ExternalInterface
607     * Made possible to count inbound traffic by inserting new rules
608
609 2004-05-07  Philippe April <wifidog@philippeapril.com>
610     * Cleaned up common.h from files
611
612 2004-05-07  Philippe April <wifidog@philippeapril.com>
613     * Made iptables' tables DEFINEs instead of being hardcoded
614
615 2004-05-07  Philippe April <wifidog@philippeapril.com>
616     * Fixed typo
617
618 2004-05-06  Philippe April <papril777@yahoo.com>
619     * Cleanups and standardized things
620
621 2004-05-06  Philippe April <papril777@yahoo.com>
622     * Cleanups in fw_counter function
623
624 2004-05-05  Philippe April <papril777@yahoo.com>
625     * Calling iptables directly instead of using shell scripts
626     for fw_init, fw_destroy and fw_allow/fw_deny
627     * Removed shell script for fw.counters
628     * Fixed memory leaks
629     * Moved most of the iptables-specific (all but the counters)
630     to iptables.c to modularize a bit more
631     * Hack to allow deciding if we want FW calls' messages quiet or not
632
633 2004-04-23  Philippe April <papril777@yahoo.com>
634     * Fixed a debug line
635
636 2004-04-22  Philippe April <papril777@yahoo.com>
637     * Major changes, cleaned up code
638     * Changed the way firewall tags traffic
639
640 2004-04-21  Philippe April <papril777@yahoo.com>
641     * Changed fw.destroy so it cleans up more in a while loop
642
643 2004-04-20  Alexandre Carmel-Veilleux <acv@acv.ca>
644         * fixed expiration time
645
646 2004-04-20  Philippe April <papril777@yahoo.com>
647     * A lot of changes regarding debugging facilities and added logging
648     to syslog
649     * Removed possibility to specify port on command line
650
651 2004-04-19  Philippe April <papril777@yahoo.com>
652         * Changed some debugging severity
653
654 2004-04-19  Benoit Grégoire  <bock@step.polymtl.ca>
655         * Properly integrate libhttpd into the source tree ;)  Note that this will create a proper system wide shared library for libghttpd.  Still to be done:  1- Store Mina's patch somewhere,  in case we want to upgrade libhttpd.  2-Add configure option not to build httpd, and use an already installed one.
656
657 2004-04-18  Alexandre Carmel-Veilleux <acv@acv.ca>
658         * Fixed pthread_cond_timedwait. The mutex needed to be locked as
659         per the POSIX spec, yet Linux or Mac OS X don't care...
660         * Fixed the double SIGTERM handler on Linux...
661
662 2004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
663         * Added work around for uClibc bug in auth.c
664
665 2004-04-17  Philippe April <papril777@yahoo.com>
666         * Fixed firewall scripts to make them standard and some firewall functions
667
668 2004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
669         * Updated documentation in firewall.c
670
671 2004-04-17  Philippe April <papril777@yahoo.com>
672         * Fixed path returning to gateway in phpauth/login/index.php
673
674 2004-04-16  Alexandre Carmel-Veilleux <acv@acv.ca>
675         * Merged in libhttpd into the source tree
676
677 2004-04-16  Philippe April <papril777@yahoo.com>
678         * Fixed CRLF/formatting in phpauth/login/index.php
679         * Added some documentation for firewall.c, commandline.c
680         * Removed an unnecessary line dist_sysconf_DATA from Makefile.am
681
682 2004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
683         * Changed the locking mechanism, now all access to t_node * structs
684         are properly protected.
685
686 2004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
687         * Connection now closed if counter hasn't change for one full
688         period.
689
690 2004-04-14  Philippe April <papril777@yahoo.com>
691         * Fixed shell script hardcoded interface
692
693 2004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
694         * Existing IPs are logged off when they're authenticated again.
695
696 2004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
697         * Fixed clean up so it happens at the right time.
698
699 2004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
700         * Major retooling of insert_userclass(), fixed seg fault.
701         * The program now works as advertised.
702
703 2004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
704         * Switched to threads. Alpha quality build, at best
705
706 2004-04-12  Alexandre Carmel-Veilleux <acv@acv.ca>
707         * Changed child return value handling, again. Now it's actually
708         using the real value instead of the flag.
709         * The http.c authentication code now closes the http connection
710         from the user.
711
712 2004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
713         * Added extra debugging information.
714         * Fixed return value handling in debugging calls.
715
716 2004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
717         * Removed duplicates signal handling hooks
718         * Additional comments in SIGCHLD handler
719
720 2004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
721         * Node find if's expressions changed
722
723 2004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
724         * SIGCHLD Handler initializaed outside of deamon mode now.
725
726 2004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
727         * Very large modification. The entire architecture has been reworked
728         so that authentications to the central server are performed in a
729         fork()'d child process and the exit code from that child is then
730         used to set the User Class of the connection.
731         * The UserClasses (global definitions) and Rights (per connection)
732         have been integrated.
733
734 2004-03-16  Mina Naguib <minaguib@users.sourceforge.net>
735         * Changed HTTP server tasks to be handled by libhttpd - merged
736         incorporate_libhttpd branch
737
738 2004-03-13  Philippe April <papril777@yahoo.com>
739         * Modified the way firewall scripts are called so we can configure
740         them in the config file (a bit more modular than it was)
741         * Added simple linked list to keep track of clients and to
742         keep a counter of the utilization and send it to the auth server
743         * Fixed CRLF/formatting in phpauth/auth/index.php
744         * Hacked phpauth/auth/index.php to handle very basic utilization tracking
745
746 2004-03-12  Philippe April <papril777@yahoo.com>
747         * Changed all perror()s into debug()s and added errno.h to common.h
748
749 2004-03-10  Philippe April <papril777@yahoo.com>
750         * Small fix to firewall.c so we don't define variables after
751         the function has started (so it builds on gcc-2.95)
752
753 2004-03-09  Philippe April <papril777@yahoo.com>
754         * Major changes, not forking anymore for new connections, now using
755         select() instead. It will allow us to efficiently use a linked list to track
756         users and other things. It introduces some bugs and design issues but will
757         be better in the end.
758
759 2004-03-09  Philippe April <papril777@yahoo.com>
760         * Small fix in the default.php login page
761         * exit() where the program was supposed to exit but wasn't when the
762         firewall could not be setup
763
764 2004-03-09  Alexandre Carmel-Veilleux <acv@acv.ca>
765         * Tiny change to increase cross-platform compatibility. It can now build on OS X and it comes close to building on my old BSD box.
766
767 2004-03-08  Benoit Grégoire  <bock@step.polymtl.ca>
768         * Initial CVS import.  Integrate a standrad GNU build system and Doxygen to the build process.  Add Doxygen and CVS headers, .cvsignores, etc.  Note that the imported code is Philippe April (papril777 at yahoo.com)'s work.  Tell me if I forgot anything.  Please note that the paths in the src/fw* scripts are still hardcoded.  Don't forget to update the ChangeLog file every commit and add doxygen comments to your code.  Happy hacking.
769
Note: See TracBrowser for help on using the browser.