root/trunk/wifidog/ChangeLog @ 304

Revision 304, 18.7 KB (checked in by alexcv, 8 years ago)

Probably fix for auth_server firewall rule bug

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Header$
2
32004-12-19 Alexandre Carmel-Veilleux <acv@acv.ca>
4        * src/fw_iptables.c: Tweak of auth_server firewall rule setting
5          code. (and promptly undone, fixing the cause is better then
6          fixing the symptom)
7        * src/conf.c: NULL-fill auth_server struct so that
8          auth_server->last_ip always equals NULL when first filled.
9
102004-12-16 Benoit Gr�goire  <bock@step.polymtl.ca>
11        * src/fw_iptables.c: Display iptables command that is run in debug mode.
12       
132004-12-07 Benoit Gr�goire  <bock@step.polymtl.ca>
14        * src/firewall.c: Fix reversed incoming and outgoing connections in statistics code
15        * bump version to alpha3
16
172004-11-29 Alexandre Carmel-Veilleux <acv@acv.ca>
18        * wifidog.conf: Fixed firewall rule bug.
19        * src/fw_iptables.c: Unknown user default block rule not "REJECT"
20          instead of "DROP"
21
222004-11-23 Alexandre Carmel-Veilleux <acv@acv.ca>
23        * src/conf.c: Fixed a NULL pointer dereference in get_ruleset().
24
252004-11-22 Alexandre Carmel-Veilleux <acv@acv.ca>
26        * libhttpd/api.c: Fix leak in HttpdEndRequest().
27        * src/ping_thread.c: Fix auth_server IP change code with latest
28          from previous branch.
29        * src/conf.h: Same as above.
30        * src/fw_iptables.c: Same as above.
31        * src/conf.[ch]: Firewall rule set parsing code.
32        * wifidog.conf: Default firewall rule set defined.
33        * src/fw_iptables.[ch]: Firewall rule set enacting code.
34        * configure.in: bumped version to 1.1.0-alpha2
35
362004-11-18 Benoit Gr�goire  <bock@step.polymtl.ca>
37        * src/ping_thread.c: Merge phil's bug fixes from stable branch
38        * ipkg/rules:  Merge phil's bug fixes from stable branch
39        * configure.in:  Set version to 1.1.0alpha
40       
412004-11-18 Alexandre Carmel-Veilleux <acv@acv.ca>
42        * src/fw_iptables.[ch]: Merged in Phil's patch.
43        * src/*: Added ping_thread hooks to reset authserver table in the
44          firewall if it notices the auth_servers changing IPs.
45
462004-11-17 Alexandre Carmel-Veilleux <acv@acv.ca>
47        * libhttpd/*: libhttpd has been taken behind the shed and shot in
48          the back of the head. The replacement separates the request struct
49          from the server struct. It's thread safe if none of OUR threads
50          write to server.
51        * src/*: All the changes to handle the new libhttpd and also to
52          move over to a worker thread system. http_callback_auth() no
53          longer spawns a thread either.
54        * *: this update preceded by a cvs tag PRE_NEW_LIBHTTPD.
55        * *: You want to check the mailing list archive also.
56
572004-11-10 Alexandre Carmel-Veilleux <acv@acv.ca>
58        * libhttpd/protocol.c: select() based timeout.
59
602004-10-31 Alexandre Carmel-Veilleux <acv@acv.ca>
61        * configure.in: bumped version number to "1.0.2-pre1" since we
62          already have ile sans fil hot spots advertising "1.0.1".
63
642004-10-30 Alexandre Carmel-Veilleux <acv@acv.ca>
65        * src/ping_thread.c: asynch read(). fixed bug in byte counting.
66
672004-10-29 Philippe April <philippe@philippeapril.com>
68        * ipkg/rules: added conffiles so it does not overwrite config files
69
702004-10-29 Alexandre Carmel-Veilleux <acv@acv.ca>
71        * src/ping_thread.c: Much new debugging information
72        * multiple files: Logging for all mutexes
73
742004-10-28 Philippe April <philippe@philippeapril.com>
75        * ipkg/rules: building ipkg-tools before packaging
76
772004-10-28 Alexandre Carmel-Veilleux <acv@acv.ca>
78        * multiple files: Implemented a FirewallRule config command, it
79          doesn't actually do anything yet.
80        * libhttpd: #if 0'd out lots of request parsing code.
81        * libhttpd: changed URL parsing.
82
832004-10-27 Philippe April <philippe@philippeapril.com>
84        * ipkg/rules: removed --build=mipsel from ./configure
85
862004-10-26 Philippe April <philippe@philippeapril.com>
87        * ipkg/rules: sed -i is not standard, did a workaround.
88        * ipkg/rules: openwrt's buildroot has changed, modified ipkg
89        accordingly, please read README.openwrt
90
912004-10-22 Alexandre Carmel-Veilleux <acv@acv.ca>
92        * src/various: Added wd_gethostbyname, a thread-safe (serialized)
93          version of gethostbyname.
94
952004-10-15 Alexandre Carmel-Veilleux <acv@acv.ca>
96        * src/auth.c: Fixed hard coded port.
97
982004-10-09 Alexandre Carmel-Veilleux <acv@acv.ca>
99        * src/gateway.c: More logging on termination_handler.
100
1012004-10-08 Alexandre Carmel-Veilleux <acv@acv.ca>
102        * src/wdctl_thread.c: Fix wdctl_status to return all connected
103        users.
104
1052004-10-07 Alexandre Carmel-Veilleux <acv@acv.ca>
106        * src/conf.c: Fixed mark_auth_server_bad() for the case where there
107        is only one auth server.
108        * src/ping_thread.c: Added extra debugging.
109        * src/ping_thread.c: Fixed file descriptor leak.
110        * src/centralserver.c: Fixed many file descriptor leaks.
111        * src/centralserver.c: Failure of read() no longer fatal.
112        * src/centralserver.c: In case of failure, return from
113        auth_server_request() is no longer an undefined authresponse.
114        * src/util.c: Fixed typo in logging.
115        * src/wdctl_thread.c: Added logging when socket path is too long.
116        * src/debug.c: Debug now logs the time of an event.
117
1182004-08-30 Alexandre Carmel-Veilleux <acv@acv.ca>
119        * wifidog.conf: Corrected an example
120        * README.openwrt: Typo fixed, editorial changes
121        * ChangeLog: Benoit's last update entry was set in the future ;-).
122        * All over src/: Compiled with -Wall and fixed all nagging.
123
1242004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
125        * Makefile.am: Add rpm target
126        * wifidog.spec.in:  Rework spec file.  Now works and include the init script
127        * 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.
128        * scripts/openwrt/S65wifidog: Add file
129        * scripts/init.d/wifidog:  Fix performance and protability problem.  Make it chkconfig compliant.  Test that chkconfig --add wifidog works (at least on mandrake)
130        * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error.
131       
1322004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
133        * README.openwrt:  Documentation update
134        * Makefile.am:  Make a ipkg target to ease WRT54G installation
135        * ipkg/rules:  Add wdctl and the init.d script.
136        * Add BUILDROOT variable to the build system so we can use it when needed
137        * 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
138        * wifidog.conf:  Add more doc, and (most) of ISF's default config in comments.
139        * Bump version in anticipation for release
140
1412004-08-29 Guillaume Beaudoin <isf@soli.ca>
142        * wifidog.spec.in: Changed prefix to match scripts/init.d/wifidog.
143        * debian/rules: Configuration and init.d file added.
144        * debian/control: Description and Depends field changed.
145        * Makefile.am: Added scripts directory and ipkg/rules file.
146
1472004-08-29 Pascal Leclerc <pascal@plec.ca>
148        * scripts/init.d/wifidog: Startup/shutdown script for Wifidog deamon
149
1502004-08-29 Guillaume Beaudoin <isf@soli.ca>
151        * wifidog.spec.in: Must be in decending chronological order.
152
1532004-08-29 Guillaume Beaudoin <isf@soli.ca>
154        * wifidog.spec.in: Remove some leftover from libOFX.
155        * Makefile.am: Include debian/* files.
156        * We should now be able to package .deb and .rpm from dist.
157
1582004-08-27 Benoit Gr�goire  <bock@step.polymtl.ca>
159        * README.openwrt,src/conf.c,h:  Documentation update
160        * 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
161       
1622004-08-26 Pascal Leclerc <pascal@plec.ca>
163        * Makefile.am: Remove phpauth from EXTRA_DIST
164
1652004-08-25 Alexandre Carmel-Veilleux <acv@acv.ca>
166        * 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/
167
1682004-08-25 Benoit Gr�goire  <bock@step.polymtl.ca>
169        * src/auth.c:  Remove hardcoded path.
170       
1712004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
172        * 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...).
173       
1742004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
175        * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again.
176       
1772004-08-20 Alexandre Carmel-Veilleux <acv@acv.ca>
178        * Debug output of all HTTP transactions and their responses.
179        * Changed ipkg to use wifidog.conf from the base tree
180        * Send url to central server for link back out
181
1822004-08-19 Alexandre Carmel-Veilleux <acv@acv.ca>
183        * Sort of fixed the hanging thread (with an explicit thread kill)
184        * Fixed ping code
185
1862004-08-13 Alexandre Carmel-Veilleux <acv@acv.ca>
187        * All Auth Server configuration now handled by the "AuthServer"
188        directive.
189        * The "AuthServer" directive is now multi line.
190
1912004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
192        * Added code to do heartbeat.
193        * Changed AuthServer yet again.
194
1952004-08-09 Alexandre Carmel-Veilleux <acv@acv.ca>
196        * WiFiDog now can read multiple auth servers in its config file.
197        * Added functions to handle the auth servers list.
198        * WiFiDog can failover between servers for its internal requests.
199        * Firewall sets rules for all auth servers.
200
2012004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca>
202        * AuthservPath no longer mandatory in config file.
203
2042004-08-04 Philippe April <wifidog@philippeapril.com>
205    * Renamed iptables.[ch] to fw_iptables.[ch]
206
2072004-08-03 Alexandre Carmel-Veilleux <acv@acv.ca>
208        * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c
209
2102004-08-01 Benoit Gr�goire  <bock@step.polymtl.ca>
211        * Delete everything in phpauth, it will now live in it's own module (wifidog-auth)
212
2132004-08-01 Alexandre Carmel-Veilleux <acv@acv.ca>
214        * Added wdctl facility
215
2162004-07-21 Philippe April <wifidog@philippeapril.com>
217    * Cleaned up the ipkg makefile
218    * Added makefile to build on Debian
219
2202004-07-19 Alexandre Carmel-Veilleux <acv@acv.ca>
221        * Build script for OpenWRT ipkg
222
2232004-07-06 Alexandre Carmel-Veilleux <acv@acv.ca>
224        * Added cache control to default error message returned.
225
2262004-07-05 Philippe April <papril777@yahoo.com>
227    * Fixed an endless loop in client_list_delete
228
2292004-06-10 Alexandre Carmel-Veilleux <acv@acv.ca>
230        * Added debugging to libhttpd so that httpdGetConnection() traces
231          its execution into ./httpdGetConnection.log. This should be removed
232          once it's no longer needed or put within #ifdef DEBUG's.
233
2342004-06-01 Philippe April <papril777@yahoo.com>
235    * Sending User-Agent header to central server
236
2372004-05-28 Philippe April <papril777@yahoo.com>
238    * Fixed bugs implemented after major changes
239
2402004-05-27 Benoit Gr�goire  <bock@step.polymtl.ca>
241        * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c
242        * Cleaned up some more issues in my notes taken at the formal review
243        * client_list.c,h:  Make client_list_free_node() private, define and document client_list_mutex here
244        * config.c:  Start the hunt for evil globals:  Get rid of the config global
245        * doc/doxygen.cfg.in:  Enable generation of internal doc, a few other tweaks
246        * Documentation now generates a TODO list and DEPRECATED list, please look at them
247
2482004-05-27  Alexandre Carmel-Veilleux <acv@acv.ca>
249        * Cleaned up all the issues brought forward in the code review
250          on 2004-05-26 at Benoit's. There are to many changes to list
251          individually.
252
2532004-05-15  Philippe April <papril777@yahoo.com>
254    * Commented out cookie handling in libhttpd because it segfaults if
255    you pass a particular formatting/buggy one
256
2572004-05-14  Philippe April <papril777@yahoo.com>
258    * Fixed crash when receiving SIGPIPE signal with write() would fail
259
2602004-05-13  Philippe April <papril777@yahoo.com>
261    * Advertise to the central server when we logged out a user
262
2632004-05-12  Philippe April <papril777@yahoo.com>
264    * Sending a "stage" when doing authentication for the server
265    to be able to know if it's a login, or just a counters update.
266
2672004-05-11  Philippe April <papril777@yahoo.com>
268    * Now tracking the hotspot id and ip in database
269
2702004-05-07  Philippe April <wifidog@philippeapril.com>
271    * Now we store both incoming and outgoing counters on server
272    and expire if no activity at all on both
273    * Changed the structure of nodes a little
274
2752004-05-07  Philippe April <wifidog@philippeapril.com>
276    * New parameter ExternalInterface
277    * Made possible to count inbound traffic by inserting new rules
278
2792004-05-07  Philippe April <wifidog@philippeapril.com>
280    * Cleaned up common.h from files
281
2822004-05-07  Philippe April <wifidog@philippeapril.com>
283    * Made iptables' tables DEFINEs instead of being hardcoded
284
2852004-05-07  Philippe April <wifidog@philippeapril.com>
286    * Fixed typo
287
2882004-05-06  Philippe April <papril777@yahoo.com>
289    * Cleanups and standardized things
290
2912004-05-06  Philippe April <papril777@yahoo.com>
292    * Cleanups in fw_counter function
293
2942004-05-05  Philippe April <papril777@yahoo.com>
295    * Calling iptables directly instead of using shell scripts
296    for fw_init, fw_destroy and fw_allow/fw_deny
297    * Removed shell script for fw.counters
298    * Fixed memory leaks
299    * Moved most of the iptables-specific (all but the counters)
300    to iptables.c to modularize a bit more
301    * Hack to allow deciding if we want FW calls' messages quiet or not
302
3032004-04-23  Philippe April <papril777@yahoo.com>
304    * Fixed a debug line
305
3062004-04-22  Philippe April <papril777@yahoo.com>
307    * Major changes, cleaned up code
308    * Changed the way firewall tags traffic
309
3102004-04-21  Philippe April <papril777@yahoo.com>
311    * Changed fw.destroy so it cleans up more in a while loop
312
3132004-04-20  Alexandre Carmel-Veilleux <acv@acv.ca>
314        * fixed expiration time
315
3162004-04-20  Philippe April <papril777@yahoo.com>
317    * A lot of changes regarding debugging facilities and added logging
318    to syslog
319    * Removed possibility to specify port on command line
320
3212004-04-19  Philippe April <papril777@yahoo.com>
322        * Changed some debugging severity
323
3242004-04-19  Benoit Gr�goire  <bock@step.polymtl.ca>
325        * 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.
326
3272004-04-18  Alexandre Carmel-Veilleux <acv@acv.ca>
328        * Fixed pthread_cond_timedwait. The mutex needed to be locked as
329        per the POSIX spec, yet Linux or Mac OS X don't care...
330        * Fixed the double SIGTERM handler on Linux...
331
3322004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
333        * Added work around for uClibc bug in auth.c
334
3352004-04-17  Philippe April <papril777@yahoo.com>
336        * Fixed firewall scripts to make them standard and some firewall functions
337
3382004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
339        * Updated documentation in firewall.c
340
3412004-04-17  Philippe April <papril777@yahoo.com>
342        * Fixed path returning to gateway in phpauth/login/index.php
343
3442004-04-16  Alexandre Carmel-Veilleux <acv@acv.ca>
345        * Merged in libhttpd into the source tree
346
3472004-04-16  Philippe April <papril777@yahoo.com>
348        * Fixed CRLF/formatting in phpauth/login/index.php
349        * Added some documentation for firewall.c, commandline.c
350        * Removed an unnecessary line dist_sysconf_DATA from Makefile.am
351
3522004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
353        * Changed the locking mechanism, now all access to t_node * structs
354        are properly protected.
355
3562004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
357        * Connection now closed if counter hasn't change for one full
358        period.
359
3602004-04-14  Philippe April <papril777@yahoo.com>
361        * Fixed shell script hardcoded interface
362
3632004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
364        * Existing IPs are logged off when they're authenticated again.
365
3662004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
367        * Fixed clean up so it happens at the right time.
368
3692004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
370        * Major retooling of insert_userclass(), fixed seg fault.
371        * The program now works as advertised.
372
3732004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
374        * Switched to threads. Alpha quality build, at best
375
3762004-04-12  Alexandre Carmel-Veilleux <acv@acv.ca>
377        * Changed child return value handling, again. Now it's actually
378        using the real value instead of the flag.
379        * The http.c authentication code now closes the http connection
380        from the user.
381
3822004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
383        * Added extra debugging information.
384        * Fixed return value handling in debugging calls.
385
3862004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
387        * Removed duplicates signal handling hooks
388        * Additional comments in SIGCHLD handler
389
3902004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
391        * Node find if's expressions changed
392
3932004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
394        * SIGCHLD Handler initializaed outside of deamon mode now.
395
3962004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
397        * Very large modification. The entire architecture has been reworked
398        so that authentications to the central server are performed in a
399        fork()'d child process and the exit code from that child is then
400        used to set the User Class of the connection.
401        * The UserClasses (global definitions) and Rights (per connection)
402        have been integrated.
403
4042004-03-16  Mina Naguib <minaguib@users.sourceforge.net>
405        * Changed HTTP server tasks to be handled by libhttpd - merged
406        incorporate_libhttpd branch
407
4082004-03-13  Philippe April <papril777@yahoo.com>
409        * Modified the way firewall scripts are called so we can configure
410        them in the config file (a bit more modular than it was)
411        * Added simple linked list to keep track of clients and to
412        keep a counter of the utilization and send it to the auth server
413        * Fixed CRLF/formatting in phpauth/auth/index.php
414        * Hacked phpauth/auth/index.php to handle very basic utilization tracking
415
4162004-03-12  Philippe April <papril777@yahoo.com>
417        * Changed all perror()s into debug()s and added errno.h to common.h
418
4192004-03-10  Philippe April <papril777@yahoo.com>
420        * Small fix to firewall.c so we don't define variables after
421        the function has started (so it builds on gcc-2.95)
422
4232004-03-09  Philippe April <papril777@yahoo.com>
424        * Major changes, not forking anymore for new connections, now using
425        select() instead. It will allow us to efficiently use a linked list to track
426        users and other things. It introduces some bugs and design issues but will
427        be better in the end.
428
4292004-03-09  Philippe April <papril777@yahoo.com>
430        * Small fix in the default.php login page
431        * exit() where the program was supposed to exit but wasn't when the
432        firewall could not be setup
433
4342004-03-09  Alexandre Carmel-Veilleux <acv@acv.ca>
435        * 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.
436
4372004-03-08  Benoit Gr�goire  <bock@step.polymtl.ca>
438        * 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.
439
Note: See TracBrowser for help on using the browser.