root/trunk/wifidog/ChangeLog @ 290

Revision 290, 17.8 KB (checked in by alexcv, 8 years ago)

Massive update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Header$
2
32004-11-22 Alexandre Carmel-Veilleux <acv@acv.ca>
4        * libhttpd/api.c: Fix leak in HttpdEndRequest().
5        * src/ping_thread.c: Fix auth_server IP change code with latest
6          from previous branch.
7        * src/conf.h: Same as above.
8        * src/fw_iptables.c: Same as above.
9        * src/conf.[ch]: Firewall rule set parsing code.
10        * wifidog.conf: Default firewall rule set defined.
11        * src/fw_iptables.[ch]: Firewall rule set enacting code.
12
132004-11-18 Benoit Gr�goire  <bock@step.polymtl.ca>
14        * src/ping_thread.c: Merge phil's bug fixes from stable branch
15        * ipkg/rules:  Merge phil's bug fixes from stable branch
16        * configure.in:  Set version to 1.1.0alpha
17       
182004-11-18 Alexandre Carmel-Veilleux <acv@acv.ca>
19        * src/fw_iptables.[ch]: Merged in Phil's patch.
20        * src/*: Added ping_thread hooks to reset authserver table in the
21          firewall if it notices the auth_servers changing IPs.
22
232004-11-17 Alexandre Carmel-Veilleux <acv@acv.ca>
24        * libhttpd/*: libhttpd has been taken behind the shed and shot in
25          the back of the head. The replacement separates the request struct
26          from the server struct. It's thread safe if none of OUR threads
27          write to server.
28        * src/*: All the changes to handle the new libhttpd and also to
29          move over to a worker thread system. http_callback_auth() no
30          longer spawns a thread either.
31        * *: this update preceded by a cvs tag PRE_NEW_LIBHTTPD.
32        * *: You want to check the mailing list archive also.
33
342004-11-10 Alexandre Carmel-Veilleux <acv@acv.ca>
35        * libhttpd/protocol.c: select() based timeout.
36
372004-10-31 Alexandre Carmel-Veilleux <acv@acv.ca>
38        * configure.in: bumped version number to "1.0.2-pre1" since we
39          already have ile sans fil hot spots advertising "1.0.1".
40
412004-10-30 Alexandre Carmel-Veilleux <acv@acv.ca>
42        * src/ping_thread.c: asynch read(). fixed bug in byte counting.
43
442004-10-29 Philippe April <philippe@philippeapril.com>
45        * ipkg/rules: added conffiles so it does not overwrite config files
46
472004-10-29 Alexandre Carmel-Veilleux <acv@acv.ca>
48        * src/ping_thread.c: Much new debugging information
49        * multiple files: Logging for all mutexes
50
512004-10-28 Philippe April <philippe@philippeapril.com>
52        * ipkg/rules: building ipkg-tools before packaging
53
542004-10-28 Alexandre Carmel-Veilleux <acv@acv.ca>
55        * multiple files: Implemented a FirewallRule config command, it
56          doesn't actually do anything yet.
57        * libhttpd: #if 0'd out lots of request parsing code.
58        * libhttpd: changed URL parsing.
59
602004-10-27 Philippe April <philippe@philippeapril.com>
61        * ipkg/rules: removed --build=mipsel from ./configure
62
632004-10-26 Philippe April <philippe@philippeapril.com>
64        * ipkg/rules: sed -i is not standard, did a workaround.
65        * ipkg/rules: openwrt's buildroot has changed, modified ipkg
66        accordingly, please read README.openwrt
67
682004-10-22 Alexandre Carmel-Veilleux <acv@acv.ca>
69        * src/various: Added wd_gethostbyname, a thread-safe (serialized)
70          version of gethostbyname.
71
722004-10-15 Alexandre Carmel-Veilleux <acv@acv.ca>
73        * src/auth.c: Fixed hard coded port.
74
752004-10-09 Alexandre Carmel-Veilleux <acv@acv.ca>
76        * src/gateway.c: More logging on termination_handler.
77
782004-10-08 Alexandre Carmel-Veilleux <acv@acv.ca>
79        * src/wdctl_thread.c: Fix wdctl_status to return all connected
80        users.
81
822004-10-07 Alexandre Carmel-Veilleux <acv@acv.ca>
83        * src/conf.c: Fixed mark_auth_server_bad() for the case where there
84        is only one auth server.
85        * src/ping_thread.c: Added extra debugging.
86        * src/ping_thread.c: Fixed file descriptor leak.
87        * src/centralserver.c: Fixed many file descriptor leaks.
88        * src/centralserver.c: Failure of read() no longer fatal.
89        * src/centralserver.c: In case of failure, return from
90        auth_server_request() is no longer an undefined authresponse.
91        * src/util.c: Fixed typo in logging.
92        * src/wdctl_thread.c: Added logging when socket path is too long.
93        * src/debug.c: Debug now logs the time of an event.
94
952004-08-30 Alexandre Carmel-Veilleux <acv@acv.ca>
96        * wifidog.conf: Corrected an example
97        * README.openwrt: Typo fixed, editorial changes
98        * ChangeLog: Benoit's last update entry was set in the future ;-).
99        * All over src/: Compiled with -Wall and fixed all nagging.
100
1012004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
102        * Makefile.am: Add rpm target
103        * wifidog.spec.in:  Rework spec file.  Now works and include the init script
104        * 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.
105        * scripts/openwrt/S65wifidog: Add file
106        * scripts/init.d/wifidog:  Fix performance and protability problem.  Make it chkconfig compliant.  Test that chkconfig --add wifidog works (at least on mandrake)
107        * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error.
108       
1092004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
110        * README.openwrt:  Documentation update
111        * Makefile.am:  Make a ipkg target to ease WRT54G installation
112        * ipkg/rules:  Add wdctl and the init.d script.
113        * Add BUILDROOT variable to the build system so we can use it when needed
114        * 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
115        * wifidog.conf:  Add more doc, and (most) of ISF's default config in comments.
116        * Bump version in anticipation for release
117
1182004-08-29 Guillaume Beaudoin <isf@soli.ca>
119        * wifidog.spec.in: Changed prefix to match scripts/init.d/wifidog.
120        * debian/rules: Configuration and init.d file added.
121        * debian/control: Description and Depends field changed.
122        * Makefile.am: Added scripts directory and ipkg/rules file.
123
1242004-08-29 Pascal Leclerc <pascal@plec.ca>
125        * scripts/init.d/wifidog: Startup/shutdown script for Wifidog deamon
126
1272004-08-29 Guillaume Beaudoin <isf@soli.ca>
128        * wifidog.spec.in: Must be in decending chronological order.
129
1302004-08-29 Guillaume Beaudoin <isf@soli.ca>
131        * wifidog.spec.in: Remove some leftover from libOFX.
132        * Makefile.am: Include debian/* files.
133        * We should now be able to package .deb and .rpm from dist.
134
1352004-08-27 Benoit Gr�goire  <bock@step.polymtl.ca>
136        * README.openwrt,src/conf.c,h:  Documentation update
137        * 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
138       
1392004-08-26 Pascal Leclerc <pascal@plec.ca>
140        * Makefile.am: Remove phpauth from EXTRA_DIST
141
1422004-08-25 Alexandre Carmel-Veilleux <acv@acv.ca>
143        * 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/
144
1452004-08-25 Benoit Gr�goire  <bock@step.polymtl.ca>
146        * src/auth.c:  Remove hardcoded path.
147       
1482004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
149        * 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...).
150       
1512004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
152        * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again.
153       
1542004-08-20 Alexandre Carmel-Veilleux <acv@acv.ca>
155        * Debug output of all HTTP transactions and their responses.
156        * Changed ipkg to use wifidog.conf from the base tree
157        * Send url to central server for link back out
158
1592004-08-19 Alexandre Carmel-Veilleux <acv@acv.ca>
160        * Sort of fixed the hanging thread (with an explicit thread kill)
161        * Fixed ping code
162
1632004-08-13 Alexandre Carmel-Veilleux <acv@acv.ca>
164        * All Auth Server configuration now handled by the "AuthServer"
165        directive.
166        * The "AuthServer" directive is now multi line.
167
1682004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
169        * Added code to do heartbeat.
170        * Changed AuthServer yet again.
171
1722004-08-09 Alexandre Carmel-Veilleux <acv@acv.ca>
173        * WiFiDog now can read multiple auth servers in its config file.
174        * Added functions to handle the auth servers list.
175        * WiFiDog can failover between servers for its internal requests.
176        * Firewall sets rules for all auth servers.
177
1782004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca>
179        * AuthservPath no longer mandatory in config file.
180
1812004-08-04 Philippe April <wifidog@philippeapril.com>
182    * Renamed iptables.[ch] to fw_iptables.[ch]
183
1842004-08-03 Alexandre Carmel-Veilleux <acv@acv.ca>
185        * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c
186
1872004-08-01 Benoit Gr�goire  <bock@step.polymtl.ca>
188        * Delete everything in phpauth, it will now live in it's own module (wifidog-auth)
189
1902004-08-01 Alexandre Carmel-Veilleux <acv@acv.ca>
191        * Added wdctl facility
192
1932004-07-21 Philippe April <wifidog@philippeapril.com>
194    * Cleaned up the ipkg makefile
195    * Added makefile to build on Debian
196
1972004-07-19 Alexandre Carmel-Veilleux <acv@acv.ca>
198        * Build script for OpenWRT ipkg
199
2002004-07-06 Alexandre Carmel-Veilleux <acv@acv.ca>
201        * Added cache control to default error message returned.
202
2032004-07-05 Philippe April <papril777@yahoo.com>
204    * Fixed an endless loop in client_list_delete
205
2062004-06-10 Alexandre Carmel-Veilleux <acv@acv.ca>
207        * Added debugging to libhttpd so that httpdGetConnection() traces
208          its execution into ./httpdGetConnection.log. This should be removed
209          once it's no longer needed or put within #ifdef DEBUG's.
210
2112004-06-01 Philippe April <papril777@yahoo.com>
212    * Sending User-Agent header to central server
213
2142004-05-28 Philippe April <papril777@yahoo.com>
215    * Fixed bugs implemented after major changes
216
2172004-05-27 Benoit Gr�goire  <bock@step.polymtl.ca>
218        * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c
219        * Cleaned up some more issues in my notes taken at the formal review
220        * client_list.c,h:  Make client_list_free_node() private, define and document client_list_mutex here
221        * config.c:  Start the hunt for evil globals:  Get rid of the config global
222        * doc/doxygen.cfg.in:  Enable generation of internal doc, a few other tweaks
223        * Documentation now generates a TODO list and DEPRECATED list, please look at them
224
2252004-05-27  Alexandre Carmel-Veilleux <acv@acv.ca>
226        * Cleaned up all the issues brought forward in the code review
227          on 2004-05-26 at Benoit's. There are to many changes to list
228          individually.
229
2302004-05-15  Philippe April <papril777@yahoo.com>
231    * Commented out cookie handling in libhttpd because it segfaults if
232    you pass a particular formatting/buggy one
233
2342004-05-14  Philippe April <papril777@yahoo.com>
235    * Fixed crash when receiving SIGPIPE signal with write() would fail
236
2372004-05-13  Philippe April <papril777@yahoo.com>
238    * Advertise to the central server when we logged out a user
239
2402004-05-12  Philippe April <papril777@yahoo.com>
241    * Sending a "stage" when doing authentication for the server
242    to be able to know if it's a login, or just a counters update.
243
2442004-05-11  Philippe April <papril777@yahoo.com>
245    * Now tracking the hotspot id and ip in database
246
2472004-05-07  Philippe April <wifidog@philippeapril.com>
248    * Now we store both incoming and outgoing counters on server
249    and expire if no activity at all on both
250    * Changed the structure of nodes a little
251
2522004-05-07  Philippe April <wifidog@philippeapril.com>
253    * New parameter ExternalInterface
254    * Made possible to count inbound traffic by inserting new rules
255
2562004-05-07  Philippe April <wifidog@philippeapril.com>
257    * Cleaned up common.h from files
258
2592004-05-07  Philippe April <wifidog@philippeapril.com>
260    * Made iptables' tables DEFINEs instead of being hardcoded
261
2622004-05-07  Philippe April <wifidog@philippeapril.com>
263    * Fixed typo
264
2652004-05-06  Philippe April <papril777@yahoo.com>
266    * Cleanups and standardized things
267
2682004-05-06  Philippe April <papril777@yahoo.com>
269    * Cleanups in fw_counter function
270
2712004-05-05  Philippe April <papril777@yahoo.com>
272    * Calling iptables directly instead of using shell scripts
273    for fw_init, fw_destroy and fw_allow/fw_deny
274    * Removed shell script for fw.counters
275    * Fixed memory leaks
276    * Moved most of the iptables-specific (all but the counters)
277    to iptables.c to modularize a bit more
278    * Hack to allow deciding if we want FW calls' messages quiet or not
279
2802004-04-23  Philippe April <papril777@yahoo.com>
281    * Fixed a debug line
282
2832004-04-22  Philippe April <papril777@yahoo.com>
284    * Major changes, cleaned up code
285    * Changed the way firewall tags traffic
286
2872004-04-21  Philippe April <papril777@yahoo.com>
288    * Changed fw.destroy so it cleans up more in a while loop
289
2902004-04-20  Alexandre Carmel-Veilleux <acv@acv.ca>
291        * fixed expiration time
292
2932004-04-20  Philippe April <papril777@yahoo.com>
294    * A lot of changes regarding debugging facilities and added logging
295    to syslog
296    * Removed possibility to specify port on command line
297
2982004-04-19  Philippe April <papril777@yahoo.com>
299        * Changed some debugging severity
300
3012004-04-19  Benoit Gr�goire  <bock@step.polymtl.ca>
302        * 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.
303
3042004-04-18  Alexandre Carmel-Veilleux <acv@acv.ca>
305        * Fixed pthread_cond_timedwait. The mutex needed to be locked as
306        per the POSIX spec, yet Linux or Mac OS X don't care...
307        * Fixed the double SIGTERM handler on Linux...
308
3092004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
310        * Added work around for uClibc bug in auth.c
311
3122004-04-17  Philippe April <papril777@yahoo.com>
313        * Fixed firewall scripts to make them standard and some firewall functions
314
3152004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
316        * Updated documentation in firewall.c
317
3182004-04-17  Philippe April <papril777@yahoo.com>
319        * Fixed path returning to gateway in phpauth/login/index.php
320
3212004-04-16  Alexandre Carmel-Veilleux <acv@acv.ca>
322        * Merged in libhttpd into the source tree
323
3242004-04-16  Philippe April <papril777@yahoo.com>
325        * Fixed CRLF/formatting in phpauth/login/index.php
326        * Added some documentation for firewall.c, commandline.c
327        * Removed an unnecessary line dist_sysconf_DATA from Makefile.am
328
3292004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
330        * Changed the locking mechanism, now all access to t_node * structs
331        are properly protected.
332
3332004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
334        * Connection now closed if counter hasn't change for one full
335        period.
336
3372004-04-14  Philippe April <papril777@yahoo.com>
338        * Fixed shell script hardcoded interface
339
3402004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
341        * Existing IPs are logged off when they're authenticated again.
342
3432004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
344        * Fixed clean up so it happens at the right time.
345
3462004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
347        * Major retooling of insert_userclass(), fixed seg fault.
348        * The program now works as advertised.
349
3502004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
351        * Switched to threads. Alpha quality build, at best
352
3532004-04-12  Alexandre Carmel-Veilleux <acv@acv.ca>
354        * Changed child return value handling, again. Now it's actually
355        using the real value instead of the flag.
356        * The http.c authentication code now closes the http connection
357        from the user.
358
3592004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
360        * Added extra debugging information.
361        * Fixed return value handling in debugging calls.
362
3632004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
364        * Removed duplicates signal handling hooks
365        * Additional comments in SIGCHLD handler
366
3672004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
368        * Node find if's expressions changed
369
3702004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
371        * SIGCHLD Handler initializaed outside of deamon mode now.
372
3732004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
374        * Very large modification. The entire architecture has been reworked
375        so that authentications to the central server are performed in a
376        fork()'d child process and the exit code from that child is then
377        used to set the User Class of the connection.
378        * The UserClasses (global definitions) and Rights (per connection)
379        have been integrated.
380
3812004-03-16  Mina Naguib <minaguib@users.sourceforge.net>
382        * Changed HTTP server tasks to be handled by libhttpd - merged
383        incorporate_libhttpd branch
384
3852004-03-13  Philippe April <papril777@yahoo.com>
386        * Modified the way firewall scripts are called so we can configure
387        them in the config file (a bit more modular than it was)
388        * Added simple linked list to keep track of clients and to
389        keep a counter of the utilization and send it to the auth server
390        * Fixed CRLF/formatting in phpauth/auth/index.php
391        * Hacked phpauth/auth/index.php to handle very basic utilization tracking
392
3932004-03-12  Philippe April <papril777@yahoo.com>
394        * Changed all perror()s into debug()s and added errno.h to common.h
395
3962004-03-10  Philippe April <papril777@yahoo.com>
397        * Small fix to firewall.c so we don't define variables after
398        the function has started (so it builds on gcc-2.95)
399
4002004-03-09  Philippe April <papril777@yahoo.com>
401        * Major changes, not forking anymore for new connections, now using
402        select() instead. It will allow us to efficiently use a linked list to track
403        users and other things. It introduces some bugs and design issues but will
404        be better in the end.
405
4062004-03-09  Philippe April <papril777@yahoo.com>
407        * Small fix in the default.php login page
408        * exit() where the program was supposed to exit but wasn't when the
409        firewall could not be setup
410
4112004-03-09  Alexandre Carmel-Veilleux <acv@acv.ca>
412        * 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.
413
4142004-03-08  Benoit Gr�goire  <bock@step.polymtl.ca>
415        * 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.
416
Note: See TracBrowser for help on using the browser.