root/trunk/wifidog/ChangeLog @ 256

Revision 256, 15.9 KB (checked in by alexcv, 9 years ago)

Extra mutex logging and extra logging in ping_thread()

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Header$
2
32004-10-29 Alexandre Carmel-Veilleux <acv@acv.ca>
4        * src/ping_thread.c: Much new debugging information
5        * multiple files: Logging for all mutexes
6
72004-10-28 Philippe April <philippe@philippeapril.com>
8        * ipkg/rules: building ipkg-tools before packaging
9
102004-10-28 Alexandre Carmel-Veilleux <acv@acv.ca>
11        * multiple files: Implemented a FirewallRule config command, it
12          doesn't actually do anything yet.
13        * libhttpd: #if 0'd out lots of request parsing code.
14        * libhttpd: changed URL parsing.
15
162004-10-27 Philippe April <philippe@philippeapril.com>
17        * ipkg/rules: removed --build=mipsel from ./configure
18
192004-10-26 Philippe April <philippe@philippeapril.com>
20        * ipkg/rules: sed -i is not standard, did a workaround.
21        * ipkg/rules: openwrt's buildroot has changed, modified ipkg
22        accordingly, please read README.openwrt
23
242004-10-22 Alexandre Carmel-Veilleux <acv@acv.ca>
25        * src/various: Added wd_gethostbyname, a thread-safe (serialized)
26          version of gethostbyname.
27
282004-10-15 Alexandre Carmel-Veilleux <acv@acv.ca>
29        * src/auth.c: Fixed hard coded port.
30
312004-10-09 Alexandre Carmel-Veilleux <acv@acv.ca>
32        * src/gateway.c: More logging on termination_handler.
33
342004-10-08 Alexandre Carmel-Veilleux <acv@acv.ca>
35        * src/wdctl_thread.c: Fix wdctl_status to return all connected
36        users.
37
382004-10-07 Alexandre Carmel-Veilleux <acv@acv.ca>
39        * src/conf.c: Fixed mark_auth_server_bad() for the case where there
40        is only one auth server.
41        * src/ping_thread.c: Added extra debugging.
42        * src/ping_thread.c: Fixed file descriptor leak.
43        * src/centralserver.c: Fixed many file descriptor leaks.
44        * src/centralserver.c: Failure of read() no longer fatal.
45        * src/centralserver.c: In case of failure, return from
46        auth_server_request() is no longer an undefined authresponse.
47        * src/util.c: Fixed typo in logging.
48        * src/wdctl_thread.c: Added logging when socket path is too long.
49        * src/debug.c: Debug now logs the time of an event.
50
512004-08-30 Alexandre Carmel-Veilleux <acv@acv.ca>
52        * wifidog.conf: Corrected an example
53        * README.openwrt: Typo fixed, editorial changes
54        * ChangeLog: Benoit's last update entry was set in the future ;-).
55        * All over src/: Compiled with -Wall and fixed all nagging.
56
572004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
58        * Makefile.am: Add rpm target
59        * wifidog.spec.in:  Rework spec file.  Now works and include the init script
60        * 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.
61        * scripts/openwrt/S65wifidog: Add file
62        * scripts/init.d/wifidog:  Fix performance and protability problem.  Make it chkconfig compliant.  Test that chkconfig --add wifidog works (at least on mandrake)
63        * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error.
64       
652004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
66        * README.openwrt:  Documentation update
67        * Makefile.am:  Make a ipkg target to ease WRT54G installation
68        * ipkg/rules:  Add wdctl and the init.d script.
69        * Add BUILDROOT variable to the build system so we can use it when needed
70        * 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
71        * wifidog.conf:  Add more doc, and (most) of ISF's default config in comments.
72        * Bump version in anticipation for release
73
742004-08-29 Guillaume Beaudoin <isf@soli.ca>
75        * wifidog.spec.in: Changed prefix to match scripts/init.d/wifidog.
76        * debian/rules: Configuration and init.d file added.
77        * debian/control: Description and Depends field changed.
78        * Makefile.am: Added scripts directory and ipkg/rules file.
79
802004-08-29 Pascal Leclerc <pascal@plec.ca>
81        * scripts/init.d/wifidog: Startup/shutdown script for Wifidog deamon
82
832004-08-29 Guillaume Beaudoin <isf@soli.ca>
84        * wifidog.spec.in: Must be in decending chronological order.
85
862004-08-29 Guillaume Beaudoin <isf@soli.ca>
87        * wifidog.spec.in: Remove some leftover from libOFX.
88        * Makefile.am: Include debian/* files.
89        * We should now be able to package .deb and .rpm from dist.
90
912004-08-27 Benoit Gr�goire  <bock@step.polymtl.ca>
92        * README.openwrt,src/conf.c,h:  Documentation update
93        * 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
94       
952004-08-26 Pascal Leclerc <pascal@plec.ca>
96        * Makefile.am: Remove phpauth from EXTRA_DIST
97
982004-08-25 Alexandre Carmel-Veilleux <acv@acv.ca>
99        * 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/
100
1012004-08-25 Benoit Gr�goire  <bock@step.polymtl.ca>
102        * src/auth.c:  Remove hardcoded path.
103       
1042004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
105        * 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...).
106       
1072004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
108        * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again.
109       
1102004-08-20 Alexandre Carmel-Veilleux <acv@acv.ca>
111        * Debug output of all HTTP transactions and their responses.
112        * Changed ipkg to use wifidog.conf from the base tree
113        * Send url to central server for link back out
114
1152004-08-19 Alexandre Carmel-Veilleux <acv@acv.ca>
116        * Sort of fixed the hanging thread (with an explicit thread kill)
117        * Fixed ping code
118
1192004-08-13 Alexandre Carmel-Veilleux <acv@acv.ca>
120        * All Auth Server configuration now handled by the "AuthServer"
121        directive.
122        * The "AuthServer" directive is now multi line.
123
1242004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
125        * Added code to do heartbeat.
126        * Changed AuthServer yet again.
127
1282004-08-09 Alexandre Carmel-Veilleux <acv@acv.ca>
129        * WiFiDog now can read multiple auth servers in its config file.
130        * Added functions to handle the auth servers list.
131        * WiFiDog can failover between servers for its internal requests.
132        * Firewall sets rules for all auth servers.
133
1342004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca>
135        * AuthservPath no longer mandatory in config file.
136
1372004-08-04 Philippe April <wifidog@philippeapril.com>
138    * Renamed iptables.[ch] to fw_iptables.[ch]
139
1402004-08-03 Alexandre Carmel-Veilleux <acv@acv.ca>
141        * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c
142
1432004-08-01 Benoit Gr�goire  <bock@step.polymtl.ca>
144        * Delete everything in phpauth, it will now live in it's own module (wifidog-auth)
145
1462004-08-01 Alexandre Carmel-Veilleux <acv@acv.ca>
147        * Added wdctl facility
148
1492004-07-21 Philippe April <wifidog@philippeapril.com>
150    * Cleaned up the ipkg makefile
151    * Added makefile to build on Debian
152
1532004-07-19 Alexandre Carmel-Veilleux <acv@acv.ca>
154        * Build script for OpenWRT ipkg
155
1562004-07-06 Alexandre Carmel-Veilleux <acv@acv.ca>
157        * Added cache control to default error message returned.
158
1592004-07-05 Philippe April <papril777@yahoo.com>
160    * Fixed an endless loop in client_list_delete
161
1622004-06-10 Alexandre Carmel-Veilleux <acv@acv.ca>
163        * Added debugging to libhttpd so that httpdGetConnection() traces
164          its execution into ./httpdGetConnection.log. This should be removed
165          once it's no longer needed or put within #ifdef DEBUG's.
166
1672004-06-01 Philippe April <papril777@yahoo.com>
168    * Sending User-Agent header to central server
169
1702004-05-28 Philippe April <papril777@yahoo.com>
171    * Fixed bugs implemented after major changes
172
1732004-05-27 Benoit Gr�goire  <bock@step.polymtl.ca>
174        * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c
175        * Cleaned up some more issues in my notes taken at the formal review
176        * client_list.c,h:  Make client_list_free_node() private, define and document client_list_mutex here
177        * config.c:  Start the hunt for evil globals:  Get rid of the config global
178        * doc/doxygen.cfg.in:  Enable generation of internal doc, a few other tweaks
179        * Documentation now generates a TODO list and DEPRECATED list, please look at them
180
1812004-05-27  Alexandre Carmel-Veilleux <acv@acv.ca>
182        * Cleaned up all the issues brought forward in the code review
183          on 2004-05-26 at Benoit's. There are to many changes to list
184          individually.
185
1862004-05-15  Philippe April <papril777@yahoo.com>
187    * Commented out cookie handling in libhttpd because it segfaults if
188    you pass a particular formatting/buggy one
189
1902004-05-14  Philippe April <papril777@yahoo.com>
191    * Fixed crash when receiving SIGPIPE signal with write() would fail
192
1932004-05-13  Philippe April <papril777@yahoo.com>
194    * Advertise to the central server when we logged out a user
195
1962004-05-12  Philippe April <papril777@yahoo.com>
197    * Sending a "stage" when doing authentication for the server
198    to be able to know if it's a login, or just a counters update.
199
2002004-05-11  Philippe April <papril777@yahoo.com>
201    * Now tracking the hotspot id and ip in database
202
2032004-05-07  Philippe April <wifidog@philippeapril.com>
204    * Now we store both incoming and outgoing counters on server
205    and expire if no activity at all on both
206    * Changed the structure of nodes a little
207
2082004-05-07  Philippe April <wifidog@philippeapril.com>
209    * New parameter ExternalInterface
210    * Made possible to count inbound traffic by inserting new rules
211
2122004-05-07  Philippe April <wifidog@philippeapril.com>
213    * Cleaned up common.h from files
214
2152004-05-07  Philippe April <wifidog@philippeapril.com>
216    * Made iptables' tables DEFINEs instead of being hardcoded
217
2182004-05-07  Philippe April <wifidog@philippeapril.com>
219    * Fixed typo
220
2212004-05-06  Philippe April <papril777@yahoo.com>
222    * Cleanups and standardized things
223
2242004-05-06  Philippe April <papril777@yahoo.com>
225    * Cleanups in fw_counter function
226
2272004-05-05  Philippe April <papril777@yahoo.com>
228    * Calling iptables directly instead of using shell scripts
229    for fw_init, fw_destroy and fw_allow/fw_deny
230    * Removed shell script for fw.counters
231    * Fixed memory leaks
232    * Moved most of the iptables-specific (all but the counters)
233    to iptables.c to modularize a bit more
234    * Hack to allow deciding if we want FW calls' messages quiet or not
235
2362004-04-23  Philippe April <papril777@yahoo.com>
237    * Fixed a debug line
238
2392004-04-22  Philippe April <papril777@yahoo.com>
240    * Major changes, cleaned up code
241    * Changed the way firewall tags traffic
242
2432004-04-21  Philippe April <papril777@yahoo.com>
244    * Changed fw.destroy so it cleans up more in a while loop
245
2462004-04-20  Alexandre Carmel-Veilleux <acv@acv.ca>
247        * fixed expiration time
248
2492004-04-20  Philippe April <papril777@yahoo.com>
250    * A lot of changes regarding debugging facilities and added logging
251    to syslog
252    * Removed possibility to specify port on command line
253
2542004-04-19  Philippe April <papril777@yahoo.com>
255        * Changed some debugging severity
256
2572004-04-19  Benoit Gr�goire  <bock@step.polymtl.ca>
258        * 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.
259
2602004-04-18  Alexandre Carmel-Veilleux <acv@acv.ca>
261        * Fixed pthread_cond_timedwait. The mutex needed to be locked as
262        per the POSIX spec, yet Linux or Mac OS X don't care...
263        * Fixed the double SIGTERM handler on Linux...
264
2652004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
266        * Added work around for uClibc bug in auth.c
267
2682004-04-17  Philippe April <papril777@yahoo.com>
269        * Fixed firewall scripts to make them standard and some firewall functions
270
2712004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
272        * Updated documentation in firewall.c
273
2742004-04-17  Philippe April <papril777@yahoo.com>
275        * Fixed path returning to gateway in phpauth/login/index.php
276
2772004-04-16  Alexandre Carmel-Veilleux <acv@acv.ca>
278        * Merged in libhttpd into the source tree
279
2802004-04-16  Philippe April <papril777@yahoo.com>
281        * Fixed CRLF/formatting in phpauth/login/index.php
282        * Added some documentation for firewall.c, commandline.c
283        * Removed an unnecessary line dist_sysconf_DATA from Makefile.am
284
2852004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
286        * Changed the locking mechanism, now all access to t_node * structs
287        are properly protected.
288
2892004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
290        * Connection now closed if counter hasn't change for one full
291        period.
292
2932004-04-14  Philippe April <papril777@yahoo.com>
294        * Fixed shell script hardcoded interface
295
2962004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
297        * Existing IPs are logged off when they're authenticated again.
298
2992004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
300        * Fixed clean up so it happens at the right time.
301
3022004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
303        * Major retooling of insert_userclass(), fixed seg fault.
304        * The program now works as advertised.
305
3062004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
307        * Switched to threads. Alpha quality build, at best
308
3092004-04-12  Alexandre Carmel-Veilleux <acv@acv.ca>
310        * Changed child return value handling, again. Now it's actually
311        using the real value instead of the flag.
312        * The http.c authentication code now closes the http connection
313        from the user.
314
3152004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
316        * Added extra debugging information.
317        * Fixed return value handling in debugging calls.
318
3192004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
320        * Removed duplicates signal handling hooks
321        * Additional comments in SIGCHLD handler
322
3232004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
324        * Node find if's expressions changed
325
3262004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
327        * SIGCHLD Handler initializaed outside of deamon mode now.
328
3292004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
330        * Very large modification. The entire architecture has been reworked
331        so that authentications to the central server are performed in a
332        fork()'d child process and the exit code from that child is then
333        used to set the User Class of the connection.
334        * The UserClasses (global definitions) and Rights (per connection)
335        have been integrated.
336
3372004-03-16  Mina Naguib <minaguib@users.sourceforge.net>
338        * Changed HTTP server tasks to be handled by libhttpd - merged
339        incorporate_libhttpd branch
340
3412004-03-13  Philippe April <papril777@yahoo.com>
342        * Modified the way firewall scripts are called so we can configure
343        them in the config file (a bit more modular than it was)
344        * Added simple linked list to keep track of clients and to
345        keep a counter of the utilization and send it to the auth server
346        * Fixed CRLF/formatting in phpauth/auth/index.php
347        * Hacked phpauth/auth/index.php to handle very basic utilization tracking
348
3492004-03-12  Philippe April <papril777@yahoo.com>
350        * Changed all perror()s into debug()s and added errno.h to common.h
351
3522004-03-10  Philippe April <papril777@yahoo.com>
353        * Small fix to firewall.c so we don't define variables after
354        the function has started (so it builds on gcc-2.95)
355
3562004-03-09  Philippe April <papril777@yahoo.com>
357        * Major changes, not forking anymore for new connections, now using
358        select() instead. It will allow us to efficiently use a linked list to track
359        users and other things. It introduces some bugs and design issues but will
360        be better in the end.
361
3622004-03-09  Philippe April <papril777@yahoo.com>
363        * Small fix in the default.php login page
364        * exit() where the program was supposed to exit but wasn't when the
365        firewall could not be setup
366
3672004-03-09  Alexandre Carmel-Veilleux <acv@acv.ca>
368        * 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.
369
3702004-03-08  Benoit Gr�goire  <bock@step.polymtl.ca>
371        * 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.
372
Note: See TracBrowser for help on using the browser.