root/trunk/wifidog/ChangeLog @ 276

Revision 276, 17.0 KB (checked in by alexcv, 9 years ago)

Merged in Phil's patch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Header$
2
32004-11-18 Alexandre Carmel-Veilleux <acv@acv.ca>
4        * src/fw_iptables.[ch]: Merged in Phil's patch.
5
62004-11-17 Alexandre Carmel-Veilleux <acv@acv.ca>
7        * libhttpd/*: libhttpd has been taken behind the shed and shot in
8          the back of the head. The replacement separates the request struct
9          from the server struct. It's thread safe if none of OUR threads
10          write to server.
11        * src/*: All the changes to handle the new libhttpd and also to
12          move over to a worker thread system. http_callback_auth() no
13          longer spawns a thread either.
14        * *: this update preceded by a cvs tag PRE_NEW_LIBHTTPD.
15        * *: You want to check the mailing list archive also.
16
172004-11-10 Alexandre Carmel-Veilleux <acv@acv.ca>
18        * libhttpd/protocol.c: select() based timeout.
19
202004-10-31 Alexandre Carmel-Veilleux <acv@acv.ca>
21        * configure.in: bumped version number to "1.0.2-pre1" since we
22          already have ile sans fil hot spots advertising "1.0.1".
23
242004-10-30 Alexandre Carmel-Veilleux <acv@acv.ca>
25        * src/ping_thread.c: asynch read(). fixed bug in byte counting.
26
272004-10-29 Philippe April <philippe@philippeapril.com>
28        * ipkg/rules: added conffiles so it does not overwrite config files
29
302004-10-29 Alexandre Carmel-Veilleux <acv@acv.ca>
31        * src/ping_thread.c: Much new debugging information
32        * multiple files: Logging for all mutexes
33
342004-10-28 Philippe April <philippe@philippeapril.com>
35        * ipkg/rules: building ipkg-tools before packaging
36
372004-10-28 Alexandre Carmel-Veilleux <acv@acv.ca>
38        * multiple files: Implemented a FirewallRule config command, it
39          doesn't actually do anything yet.
40        * libhttpd: #if 0'd out lots of request parsing code.
41        * libhttpd: changed URL parsing.
42
432004-10-27 Philippe April <philippe@philippeapril.com>
44        * ipkg/rules: removed --build=mipsel from ./configure
45
462004-10-26 Philippe April <philippe@philippeapril.com>
47        * ipkg/rules: sed -i is not standard, did a workaround.
48        * ipkg/rules: openwrt's buildroot has changed, modified ipkg
49        accordingly, please read README.openwrt
50
512004-10-22 Alexandre Carmel-Veilleux <acv@acv.ca>
52        * src/various: Added wd_gethostbyname, a thread-safe (serialized)
53          version of gethostbyname.
54
552004-10-15 Alexandre Carmel-Veilleux <acv@acv.ca>
56        * src/auth.c: Fixed hard coded port.
57
582004-10-09 Alexandre Carmel-Veilleux <acv@acv.ca>
59        * src/gateway.c: More logging on termination_handler.
60
612004-10-08 Alexandre Carmel-Veilleux <acv@acv.ca>
62        * src/wdctl_thread.c: Fix wdctl_status to return all connected
63        users.
64
652004-10-07 Alexandre Carmel-Veilleux <acv@acv.ca>
66        * src/conf.c: Fixed mark_auth_server_bad() for the case where there
67        is only one auth server.
68        * src/ping_thread.c: Added extra debugging.
69        * src/ping_thread.c: Fixed file descriptor leak.
70        * src/centralserver.c: Fixed many file descriptor leaks.
71        * src/centralserver.c: Failure of read() no longer fatal.
72        * src/centralserver.c: In case of failure, return from
73        auth_server_request() is no longer an undefined authresponse.
74        * src/util.c: Fixed typo in logging.
75        * src/wdctl_thread.c: Added logging when socket path is too long.
76        * src/debug.c: Debug now logs the time of an event.
77
782004-08-30 Alexandre Carmel-Veilleux <acv@acv.ca>
79        * wifidog.conf: Corrected an example
80        * README.openwrt: Typo fixed, editorial changes
81        * ChangeLog: Benoit's last update entry was set in the future ;-).
82        * All over src/: Compiled with -Wall and fixed all nagging.
83
842004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
85        * Makefile.am: Add rpm target
86        * wifidog.spec.in:  Rework spec file.  Now works and include the init script
87        * 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.
88        * scripts/openwrt/S65wifidog: Add file
89        * scripts/init.d/wifidog:  Fix performance and protability problem.  Make it chkconfig compliant.  Test that chkconfig --add wifidog works (at least on mandrake)
90        * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error.
91       
922004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
93        * README.openwrt:  Documentation update
94        * Makefile.am:  Make a ipkg target to ease WRT54G installation
95        * ipkg/rules:  Add wdctl and the init.d script.
96        * Add BUILDROOT variable to the build system so we can use it when needed
97        * 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
98        * wifidog.conf:  Add more doc, and (most) of ISF's default config in comments.
99        * Bump version in anticipation for release
100
1012004-08-29 Guillaume Beaudoin <isf@soli.ca>
102        * wifidog.spec.in: Changed prefix to match scripts/init.d/wifidog.
103        * debian/rules: Configuration and init.d file added.
104        * debian/control: Description and Depends field changed.
105        * Makefile.am: Added scripts directory and ipkg/rules file.
106
1072004-08-29 Pascal Leclerc <pascal@plec.ca>
108        * scripts/init.d/wifidog: Startup/shutdown script for Wifidog deamon
109
1102004-08-29 Guillaume Beaudoin <isf@soli.ca>
111        * wifidog.spec.in: Must be in decending chronological order.
112
1132004-08-29 Guillaume Beaudoin <isf@soli.ca>
114        * wifidog.spec.in: Remove some leftover from libOFX.
115        * Makefile.am: Include debian/* files.
116        * We should now be able to package .deb and .rpm from dist.
117
1182004-08-27 Benoit Gr�goire  <bock@step.polymtl.ca>
119        * README.openwrt,src/conf.c,h:  Documentation update
120        * 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
121       
1222004-08-26 Pascal Leclerc <pascal@plec.ca>
123        * Makefile.am: Remove phpauth from EXTRA_DIST
124
1252004-08-25 Alexandre Carmel-Veilleux <acv@acv.ca>
126        * 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/
127
1282004-08-25 Benoit Gr�goire  <bock@step.polymtl.ca>
129        * src/auth.c:  Remove hardcoded path.
130       
1312004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
132        * 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...).
133       
1342004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
135        * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again.
136       
1372004-08-20 Alexandre Carmel-Veilleux <acv@acv.ca>
138        * Debug output of all HTTP transactions and their responses.
139        * Changed ipkg to use wifidog.conf from the base tree
140        * Send url to central server for link back out
141
1422004-08-19 Alexandre Carmel-Veilleux <acv@acv.ca>
143        * Sort of fixed the hanging thread (with an explicit thread kill)
144        * Fixed ping code
145
1462004-08-13 Alexandre Carmel-Veilleux <acv@acv.ca>
147        * All Auth Server configuration now handled by the "AuthServer"
148        directive.
149        * The "AuthServer" directive is now multi line.
150
1512004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
152        * Added code to do heartbeat.
153        * Changed AuthServer yet again.
154
1552004-08-09 Alexandre Carmel-Veilleux <acv@acv.ca>
156        * WiFiDog now can read multiple auth servers in its config file.
157        * Added functions to handle the auth servers list.
158        * WiFiDog can failover between servers for its internal requests.
159        * Firewall sets rules for all auth servers.
160
1612004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca>
162        * AuthservPath no longer mandatory in config file.
163
1642004-08-04 Philippe April <wifidog@philippeapril.com>
165    * Renamed iptables.[ch] to fw_iptables.[ch]
166
1672004-08-03 Alexandre Carmel-Veilleux <acv@acv.ca>
168        * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c
169
1702004-08-01 Benoit Gr�goire  <bock@step.polymtl.ca>
171        * Delete everything in phpauth, it will now live in it's own module (wifidog-auth)
172
1732004-08-01 Alexandre Carmel-Veilleux <acv@acv.ca>
174        * Added wdctl facility
175
1762004-07-21 Philippe April <wifidog@philippeapril.com>
177    * Cleaned up the ipkg makefile
178    * Added makefile to build on Debian
179
1802004-07-19 Alexandre Carmel-Veilleux <acv@acv.ca>
181        * Build script for OpenWRT ipkg
182
1832004-07-06 Alexandre Carmel-Veilleux <acv@acv.ca>
184        * Added cache control to default error message returned.
185
1862004-07-05 Philippe April <papril777@yahoo.com>
187    * Fixed an endless loop in client_list_delete
188
1892004-06-10 Alexandre Carmel-Veilleux <acv@acv.ca>
190        * Added debugging to libhttpd so that httpdGetConnection() traces
191          its execution into ./httpdGetConnection.log. This should be removed
192          once it's no longer needed or put within #ifdef DEBUG's.
193
1942004-06-01 Philippe April <papril777@yahoo.com>
195    * Sending User-Agent header to central server
196
1972004-05-28 Philippe April <papril777@yahoo.com>
198    * Fixed bugs implemented after major changes
199
2002004-05-27 Benoit Gr�goire  <bock@step.polymtl.ca>
201        * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c
202        * Cleaned up some more issues in my notes taken at the formal review
203        * client_list.c,h:  Make client_list_free_node() private, define and document client_list_mutex here
204        * config.c:  Start the hunt for evil globals:  Get rid of the config global
205        * doc/doxygen.cfg.in:  Enable generation of internal doc, a few other tweaks
206        * Documentation now generates a TODO list and DEPRECATED list, please look at them
207
2082004-05-27  Alexandre Carmel-Veilleux <acv@acv.ca>
209        * Cleaned up all the issues brought forward in the code review
210          on 2004-05-26 at Benoit's. There are to many changes to list
211          individually.
212
2132004-05-15  Philippe April <papril777@yahoo.com>
214    * Commented out cookie handling in libhttpd because it segfaults if
215    you pass a particular formatting/buggy one
216
2172004-05-14  Philippe April <papril777@yahoo.com>
218    * Fixed crash when receiving SIGPIPE signal with write() would fail
219
2202004-05-13  Philippe April <papril777@yahoo.com>
221    * Advertise to the central server when we logged out a user
222
2232004-05-12  Philippe April <papril777@yahoo.com>
224    * Sending a "stage" when doing authentication for the server
225    to be able to know if it's a login, or just a counters update.
226
2272004-05-11  Philippe April <papril777@yahoo.com>
228    * Now tracking the hotspot id and ip in database
229
2302004-05-07  Philippe April <wifidog@philippeapril.com>
231    * Now we store both incoming and outgoing counters on server
232    and expire if no activity at all on both
233    * Changed the structure of nodes a little
234
2352004-05-07  Philippe April <wifidog@philippeapril.com>
236    * New parameter ExternalInterface
237    * Made possible to count inbound traffic by inserting new rules
238
2392004-05-07  Philippe April <wifidog@philippeapril.com>
240    * Cleaned up common.h from files
241
2422004-05-07  Philippe April <wifidog@philippeapril.com>
243    * Made iptables' tables DEFINEs instead of being hardcoded
244
2452004-05-07  Philippe April <wifidog@philippeapril.com>
246    * Fixed typo
247
2482004-05-06  Philippe April <papril777@yahoo.com>
249    * Cleanups and standardized things
250
2512004-05-06  Philippe April <papril777@yahoo.com>
252    * Cleanups in fw_counter function
253
2542004-05-05  Philippe April <papril777@yahoo.com>
255    * Calling iptables directly instead of using shell scripts
256    for fw_init, fw_destroy and fw_allow/fw_deny
257    * Removed shell script for fw.counters
258    * Fixed memory leaks
259    * Moved most of the iptables-specific (all but the counters)
260    to iptables.c to modularize a bit more
261    * Hack to allow deciding if we want FW calls' messages quiet or not
262
2632004-04-23  Philippe April <papril777@yahoo.com>
264    * Fixed a debug line
265
2662004-04-22  Philippe April <papril777@yahoo.com>
267    * Major changes, cleaned up code
268    * Changed the way firewall tags traffic
269
2702004-04-21  Philippe April <papril777@yahoo.com>
271    * Changed fw.destroy so it cleans up more in a while loop
272
2732004-04-20  Alexandre Carmel-Veilleux <acv@acv.ca>
274        * fixed expiration time
275
2762004-04-20  Philippe April <papril777@yahoo.com>
277    * A lot of changes regarding debugging facilities and added logging
278    to syslog
279    * Removed possibility to specify port on command line
280
2812004-04-19  Philippe April <papril777@yahoo.com>
282        * Changed some debugging severity
283
2842004-04-19  Benoit Gr�goire  <bock@step.polymtl.ca>
285        * 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.
286
2872004-04-18  Alexandre Carmel-Veilleux <acv@acv.ca>
288        * Fixed pthread_cond_timedwait. The mutex needed to be locked as
289        per the POSIX spec, yet Linux or Mac OS X don't care...
290        * Fixed the double SIGTERM handler on Linux...
291
2922004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
293        * Added work around for uClibc bug in auth.c
294
2952004-04-17  Philippe April <papril777@yahoo.com>
296        * Fixed firewall scripts to make them standard and some firewall functions
297
2982004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
299        * Updated documentation in firewall.c
300
3012004-04-17  Philippe April <papril777@yahoo.com>
302        * Fixed path returning to gateway in phpauth/login/index.php
303
3042004-04-16  Alexandre Carmel-Veilleux <acv@acv.ca>
305        * Merged in libhttpd into the source tree
306
3072004-04-16  Philippe April <papril777@yahoo.com>
308        * Fixed CRLF/formatting in phpauth/login/index.php
309        * Added some documentation for firewall.c, commandline.c
310        * Removed an unnecessary line dist_sysconf_DATA from Makefile.am
311
3122004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
313        * Changed the locking mechanism, now all access to t_node * structs
314        are properly protected.
315
3162004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
317        * Connection now closed if counter hasn't change for one full
318        period.
319
3202004-04-14  Philippe April <papril777@yahoo.com>
321        * Fixed shell script hardcoded interface
322
3232004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
324        * Existing IPs are logged off when they're authenticated again.
325
3262004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
327        * Fixed clean up so it happens at the right time.
328
3292004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
330        * Major retooling of insert_userclass(), fixed seg fault.
331        * The program now works as advertised.
332
3332004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
334        * Switched to threads. Alpha quality build, at best
335
3362004-04-12  Alexandre Carmel-Veilleux <acv@acv.ca>
337        * Changed child return value handling, again. Now it's actually
338        using the real value instead of the flag.
339        * The http.c authentication code now closes the http connection
340        from the user.
341
3422004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
343        * Added extra debugging information.
344        * Fixed return value handling in debugging calls.
345
3462004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
347        * Removed duplicates signal handling hooks
348        * Additional comments in SIGCHLD handler
349
3502004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
351        * Node find if's expressions changed
352
3532004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
354        * SIGCHLD Handler initializaed outside of deamon mode now.
355
3562004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
357        * Very large modification. The entire architecture has been reworked
358        so that authentications to the central server are performed in a
359        fork()'d child process and the exit code from that child is then
360        used to set the User Class of the connection.
361        * The UserClasses (global definitions) and Rights (per connection)
362        have been integrated.
363
3642004-03-16  Mina Naguib <minaguib@users.sourceforge.net>
365        * Changed HTTP server tasks to be handled by libhttpd - merged
366        incorporate_libhttpd branch
367
3682004-03-13  Philippe April <papril777@yahoo.com>
369        * Modified the way firewall scripts are called so we can configure
370        them in the config file (a bit more modular than it was)
371        * Added simple linked list to keep track of clients and to
372        keep a counter of the utilization and send it to the auth server
373        * Fixed CRLF/formatting in phpauth/auth/index.php
374        * Hacked phpauth/auth/index.php to handle very basic utilization tracking
375
3762004-03-12  Philippe April <papril777@yahoo.com>
377        * Changed all perror()s into debug()s and added errno.h to common.h
378
3792004-03-10  Philippe April <papril777@yahoo.com>
380        * Small fix to firewall.c so we don't define variables after
381        the function has started (so it builds on gcc-2.95)
382
3832004-03-09  Philippe April <papril777@yahoo.com>
384        * Major changes, not forking anymore for new connections, now using
385        select() instead. It will allow us to efficiently use a linked list to track
386        users and other things. It introduces some bugs and design issues but will
387        be better in the end.
388
3892004-03-09  Philippe April <papril777@yahoo.com>
390        * Small fix in the default.php login page
391        * exit() where the program was supposed to exit but wasn't when the
392        firewall could not be setup
393
3942004-03-09  Alexandre Carmel-Veilleux <acv@acv.ca>
395        * 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.
396
3972004-03-08  Benoit Gr�goire  <bock@step.polymtl.ca>
398        * 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.
399
Note: See TracBrowser for help on using the browser.