root/trunk/wifidog/ChangeLog @ 429

Revision 429, 20.8 KB (checked in by minaguib, 8 years ago)

More tweaks to build nicely under recent openwrt buildroots

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Header$
2
32005-02-04 Mina Naguib <mina@ilesansfil.org>
4        * Partially bugfix apology when offline
5        * ipkg/rules: More tweaking to make it build nicely with recent openwrt
6        buildroots
7
82005-02-03 Mina Naguib <mina@ilesansfil.org>
9        * Keep track of last times we successfully & unsuccessfully spoke to the
10        auth server/used DNS. Then, if we know we're not online, show a little
11        apology to the user instead of re-directing them to the auth server.
12        * ipkg/rules: Added some extra version detection to auto-detect versions
13        of kernel, iptables and ipkg-utils instead of having them hardcoded.  This
14        makes creating ipkg's work with different OpenWRT releases
15        * fw_iptables.c: Fixed memory leak caused by not freeing return from
16        iptables_compile in iptables_load_ruleset
17        * http.c: Deleted unused call to client_list_find
18        * http.c: /about URL now shows wifidog version
19        * Cosmetic typo fixes
20
212005-02-03 Philippe April <isf_lists@philippeapril.com>
22        * Ping the users everytime we check their counters, that way we keep them
23        alive
24        * Optional ExternalInterface
25        * Optional GatewayAddress (we discover it. finally.)
26        * We check for the traffic from the clients to the firewall, to catch the
27        traffic the icmp ping is generating
28        * Fixed bug where we were doing the opposite of what desired when checking if authentication server was alive
29        * Bumped to alpha7
30
312005-01-23 Philippe April <isf_lists@philippeapril.com>
32        * wdctl status will return the auth servers in the linked list
33        * We'll now forward to the auth server to display the used-to-be-ugly
34        messages like "go ahead and validate your account you have 15 minutes"
35        * Bumped to alpha6
36
372005-01-06 Philippe April <philippe@philippeapril.com>
38        * fw_iptables.c: Changed REJECT to DROP for the end of the table Unknown,
39          REJECT doesn't seem to be available in the NAT table.
40        * fw_iptables.c: Indented things
41        * fw_iptables.c Fix: Created the authservers table at the beginning and destroy
42          at exit time only to avoid recreating it everytime
43        * Bumped to alpha5
44
452005-01-05 Philippe April <philippe@philippeapril.com>
46        * Typo, fixed some spaces (mostly esthetic)
47        * Bumped to alpha4
48
492004-12-19 Alexandre Carmel-Veilleux <acv@acv.ca>
50        * src/fw_iptables.c: Tweak of auth_server firewall rule setting
51          code. (and promptly undone, fixing the cause is better then
52          fixing the symptom)
53        * src/conf.c: NULL-fill auth_server struct so that
54          auth_server->last_ip always equals NULL when first filled.
55
562004-12-16 Benoit Gr�goire  <bock@step.polymtl.ca>
57        * src/fw_iptables.c: Display iptables command that is run in debug mode.
58       
592004-12-07 Benoit Gr�goire  <bock@step.polymtl.ca>
60        * src/firewall.c: Fix reversed incoming and outgoing connections in statistics code
61        * bump version to alpha3
62
632004-11-29 Alexandre Carmel-Veilleux <acv@acv.ca>
64        * wifidog.conf: Fixed firewall rule bug.
65        * src/fw_iptables.c: Unknown user default block rule not "REJECT"
66          instead of "DROP"
67
682004-11-23 Alexandre Carmel-Veilleux <acv@acv.ca>
69        * src/conf.c: Fixed a NULL pointer dereference in get_ruleset().
70
712004-11-22 Alexandre Carmel-Veilleux <acv@acv.ca>
72        * libhttpd/api.c: Fix leak in HttpdEndRequest().
73        * src/ping_thread.c: Fix auth_server IP change code with latest
74          from previous branch.
75        * src/conf.h: Same as above.
76        * src/fw_iptables.c: Same as above.
77        * src/conf.[ch]: Firewall rule set parsing code.
78        * wifidog.conf: Default firewall rule set defined.
79        * src/fw_iptables.[ch]: Firewall rule set enacting code.
80        * configure.in: bumped version to 1.1.0-alpha2
81
822004-11-18 Benoit Gr�goire  <bock@step.polymtl.ca>
83        * src/ping_thread.c: Merge phil's bug fixes from stable branch
84        * ipkg/rules:  Merge phil's bug fixes from stable branch
85        * configure.in:  Set version to 1.1.0alpha
86       
872004-11-18 Alexandre Carmel-Veilleux <acv@acv.ca>
88        * src/fw_iptables.[ch]: Merged in Phil's patch.
89        * src/*: Added ping_thread hooks to reset authserver table in the
90          firewall if it notices the auth_servers changing IPs.
91
922004-11-17 Alexandre Carmel-Veilleux <acv@acv.ca>
93        * libhttpd/*: libhttpd has been taken behind the shed and shot in
94          the back of the head. The replacement separates the request struct
95          from the server struct. It's thread safe if none of OUR threads
96          write to server.
97        * src/*: All the changes to handle the new libhttpd and also to
98          move over to a worker thread system. http_callback_auth() no
99          longer spawns a thread either.
100        * *: this update preceded by a cvs tag PRE_NEW_LIBHTTPD.
101        * *: You want to check the mailing list archive also.
102
1032004-11-10 Alexandre Carmel-Veilleux <acv@acv.ca>
104        * libhttpd/protocol.c: select() based timeout.
105
1062004-10-31 Alexandre Carmel-Veilleux <acv@acv.ca>
107        * configure.in: bumped version number to "1.0.2-pre1" since we
108          already have ile sans fil hot spots advertising "1.0.1".
109
1102004-10-30 Alexandre Carmel-Veilleux <acv@acv.ca>
111        * src/ping_thread.c: asynch read(). fixed bug in byte counting.
112
1132004-10-29 Philippe April <philippe@philippeapril.com>
114        * ipkg/rules: added conffiles so it does not overwrite config files
115
1162004-10-29 Alexandre Carmel-Veilleux <acv@acv.ca>
117        * src/ping_thread.c: Much new debugging information
118        * multiple files: Logging for all mutexes
119
1202004-10-28 Philippe April <philippe@philippeapril.com>
121        * ipkg/rules: building ipkg-tools before packaging
122
1232004-10-28 Alexandre Carmel-Veilleux <acv@acv.ca>
124        * multiple files: Implemented a FirewallRule config command, it
125          doesn't actually do anything yet.
126        * libhttpd: #if 0'd out lots of request parsing code.
127        * libhttpd: changed URL parsing.
128
1292004-10-27 Philippe April <philippe@philippeapril.com>
130        * ipkg/rules: removed --build=mipsel from ./configure
131
1322004-10-26 Philippe April <philippe@philippeapril.com>
133        * ipkg/rules: sed -i is not standard, did a workaround.
134        * ipkg/rules: openwrt's buildroot has changed, modified ipkg
135        accordingly, please read README.openwrt
136
1372004-10-22 Alexandre Carmel-Veilleux <acv@acv.ca>
138        * src/various: Added wd_gethostbyname, a thread-safe (serialized)
139          version of gethostbyname.
140
1412004-10-15 Alexandre Carmel-Veilleux <acv@acv.ca>
142        * src/auth.c: Fixed hard coded port.
143
1442004-10-09 Alexandre Carmel-Veilleux <acv@acv.ca>
145        * src/gateway.c: More logging on termination_handler.
146
1472004-10-08 Alexandre Carmel-Veilleux <acv@acv.ca>
148        * src/wdctl_thread.c: Fix wdctl_status to return all connected
149        users.
150
1512004-10-07 Alexandre Carmel-Veilleux <acv@acv.ca>
152        * src/conf.c: Fixed mark_auth_server_bad() for the case where there
153        is only one auth server.
154        * src/ping_thread.c: Added extra debugging.
155        * src/ping_thread.c: Fixed file descriptor leak.
156        * src/centralserver.c: Fixed many file descriptor leaks.
157        * src/centralserver.c: Failure of read() no longer fatal.
158        * src/centralserver.c: In case of failure, return from
159        auth_server_request() is no longer an undefined authresponse.
160        * src/util.c: Fixed typo in logging.
161        * src/wdctl_thread.c: Added logging when socket path is too long.
162        * src/debug.c: Debug now logs the time of an event.
163
1642004-08-30 Alexandre Carmel-Veilleux <acv@acv.ca>
165        * wifidog.conf: Corrected an example
166        * README.openwrt: Typo fixed, editorial changes
167        * ChangeLog: Benoit's last update entry was set in the future ;-).
168        * All over src/: Compiled with -Wall and fixed all nagging.
169
1702004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
171        * Makefile.am: Add rpm target
172        * wifidog.spec.in:  Rework spec file.  Now works and include the init script
173        * 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.
174        * scripts/openwrt/S65wifidog: Add file
175        * scripts/init.d/wifidog:  Fix performance and protability problem.  Make it chkconfig compliant.  Test that chkconfig --add wifidog works (at least on mandrake)
176        * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error.
177       
1782004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
179        * README.openwrt:  Documentation update
180        * Makefile.am:  Make a ipkg target to ease WRT54G installation
181        * ipkg/rules:  Add wdctl and the init.d script.
182        * Add BUILDROOT variable to the build system so we can use it when needed
183        * 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
184        * wifidog.conf:  Add more doc, and (most) of ISF's default config in comments.
185        * Bump version in anticipation for release
186
1872004-08-29 Guillaume Beaudoin <isf@soli.ca>
188        * wifidog.spec.in: Changed prefix to match scripts/init.d/wifidog.
189        * debian/rules: Configuration and init.d file added.
190        * debian/control: Description and Depends field changed.
191        * Makefile.am: Added scripts directory and ipkg/rules file.
192
1932004-08-29 Pascal Leclerc <pascal@plec.ca>
194        * scripts/init.d/wifidog: Startup/shutdown script for Wifidog deamon
195
1962004-08-29 Guillaume Beaudoin <isf@soli.ca>
197        * wifidog.spec.in: Must be in decending chronological order.
198
1992004-08-29 Guillaume Beaudoin <isf@soli.ca>
200        * wifidog.spec.in: Remove some leftover from libOFX.
201        * Makefile.am: Include debian/* files.
202        * We should now be able to package .deb and .rpm from dist.
203
2042004-08-27 Benoit Gr�goire  <bock@step.polymtl.ca>
205        * README.openwrt,src/conf.c,h:  Documentation update
206        * 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
207       
2082004-08-26 Pascal Leclerc <pascal@plec.ca>
209        * Makefile.am: Remove phpauth from EXTRA_DIST
210
2112004-08-25 Alexandre Carmel-Veilleux <acv@acv.ca>
212        * 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/
213
2142004-08-25 Benoit Gr�goire  <bock@step.polymtl.ca>
215        * src/auth.c:  Remove hardcoded path.
216       
2172004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
218        * 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...).
219       
2202004-08-23 Benoit Gr�goire  <bock@step.polymtl.ca>
221        * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again.
222       
2232004-08-20 Alexandre Carmel-Veilleux <acv@acv.ca>
224        * Debug output of all HTTP transactions and their responses.
225        * Changed ipkg to use wifidog.conf from the base tree
226        * Send url to central server for link back out
227
2282004-08-19 Alexandre Carmel-Veilleux <acv@acv.ca>
229        * Sort of fixed the hanging thread (with an explicit thread kill)
230        * Fixed ping code
231
2322004-08-13 Alexandre Carmel-Veilleux <acv@acv.ca>
233        * All Auth Server configuration now handled by the "AuthServer"
234        directive.
235        * The "AuthServer" directive is now multi line.
236
2372004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
238        * Added code to do heartbeat.
239        * Changed AuthServer yet again.
240
2412004-08-09 Alexandre Carmel-Veilleux <acv@acv.ca>
242        * WiFiDog now can read multiple auth servers in its config file.
243        * Added functions to handle the auth servers list.
244        * WiFiDog can failover between servers for its internal requests.
245        * Firewall sets rules for all auth servers.
246
2472004-08-06 Alexandre Carmel-Veilleux <acv@acv.ca>
248        * AuthservPath no longer mandatory in config file.
249
2502004-08-04 Philippe April <wifidog@philippeapril.com>
251    * Renamed iptables.[ch] to fw_iptables.[ch]
252
2532004-08-03 Alexandre Carmel-Veilleux <acv@acv.ca>
254        * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c
255
2562004-08-01 Benoit Gr�goire  <bock@step.polymtl.ca>
257        * Delete everything in phpauth, it will now live in it's own module (wifidog-auth)
258
2592004-08-01 Alexandre Carmel-Veilleux <acv@acv.ca>
260        * Added wdctl facility
261
2622004-07-21 Philippe April <wifidog@philippeapril.com>
263    * Cleaned up the ipkg makefile
264    * Added makefile to build on Debian
265
2662004-07-19 Alexandre Carmel-Veilleux <acv@acv.ca>
267        * Build script for OpenWRT ipkg
268
2692004-07-06 Alexandre Carmel-Veilleux <acv@acv.ca>
270        * Added cache control to default error message returned.
271
2722004-07-05 Philippe April <papril777@yahoo.com>
273    * Fixed an endless loop in client_list_delete
274
2752004-06-10 Alexandre Carmel-Veilleux <acv@acv.ca>
276        * Added debugging to libhttpd so that httpdGetConnection() traces
277          its execution into ./httpdGetConnection.log. This should be removed
278          once it's no longer needed or put within #ifdef DEBUG's.
279
2802004-06-01 Philippe April <papril777@yahoo.com>
281    * Sending User-Agent header to central server
282
2832004-05-28 Philippe April <papril777@yahoo.com>
284    * Fixed bugs implemented after major changes
285
2862004-05-27 Benoit Gr�goire  <bock@step.polymtl.ca>
287        * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c
288        * Cleaned up some more issues in my notes taken at the formal review
289        * client_list.c,h:  Make client_list_free_node() private, define and document client_list_mutex here
290        * config.c:  Start the hunt for evil globals:  Get rid of the config global
291        * doc/doxygen.cfg.in:  Enable generation of internal doc, a few other tweaks
292        * Documentation now generates a TODO list and DEPRECATED list, please look at them
293
2942004-05-27  Alexandre Carmel-Veilleux <acv@acv.ca>
295        * Cleaned up all the issues brought forward in the code review
296          on 2004-05-26 at Benoit's. There are to many changes to list
297          individually.
298
2992004-05-15  Philippe April <papril777@yahoo.com>
300    * Commented out cookie handling in libhttpd because it segfaults if
301    you pass a particular formatting/buggy one
302
3032004-05-14  Philippe April <papril777@yahoo.com>
304    * Fixed crash when receiving SIGPIPE signal with write() would fail
305
3062004-05-13  Philippe April <papril777@yahoo.com>
307    * Advertise to the central server when we logged out a user
308
3092004-05-12  Philippe April <papril777@yahoo.com>
310    * Sending a "stage" when doing authentication for the server
311    to be able to know if it's a login, or just a counters update.
312
3132004-05-11  Philippe April <papril777@yahoo.com>
314    * Now tracking the hotspot id and ip in database
315
3162004-05-07  Philippe April <wifidog@philippeapril.com>
317    * Now we store both incoming and outgoing counters on server
318    and expire if no activity at all on both
319    * Changed the structure of nodes a little
320
3212004-05-07  Philippe April <wifidog@philippeapril.com>
322    * New parameter ExternalInterface
323    * Made possible to count inbound traffic by inserting new rules
324
3252004-05-07  Philippe April <wifidog@philippeapril.com>
326    * Cleaned up common.h from files
327
3282004-05-07  Philippe April <wifidog@philippeapril.com>
329    * Made iptables' tables DEFINEs instead of being hardcoded
330
3312004-05-07  Philippe April <wifidog@philippeapril.com>
332    * Fixed typo
333
3342004-05-06  Philippe April <papril777@yahoo.com>
335    * Cleanups and standardized things
336
3372004-05-06  Philippe April <papril777@yahoo.com>
338    * Cleanups in fw_counter function
339
3402004-05-05  Philippe April <papril777@yahoo.com>
341    * Calling iptables directly instead of using shell scripts
342    for fw_init, fw_destroy and fw_allow/fw_deny
343    * Removed shell script for fw.counters
344    * Fixed memory leaks
345    * Moved most of the iptables-specific (all but the counters)
346    to iptables.c to modularize a bit more
347    * Hack to allow deciding if we want FW calls' messages quiet or not
348
3492004-04-23  Philippe April <papril777@yahoo.com>
350    * Fixed a debug line
351
3522004-04-22  Philippe April <papril777@yahoo.com>
353    * Major changes, cleaned up code
354    * Changed the way firewall tags traffic
355
3562004-04-21  Philippe April <papril777@yahoo.com>
357    * Changed fw.destroy so it cleans up more in a while loop
358
3592004-04-20  Alexandre Carmel-Veilleux <acv@acv.ca>
360        * fixed expiration time
361
3622004-04-20  Philippe April <papril777@yahoo.com>
363    * A lot of changes regarding debugging facilities and added logging
364    to syslog
365    * Removed possibility to specify port on command line
366
3672004-04-19  Philippe April <papril777@yahoo.com>
368        * Changed some debugging severity
369
3702004-04-19  Benoit Gr�goire  <bock@step.polymtl.ca>
371        * 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.
372
3732004-04-18  Alexandre Carmel-Veilleux <acv@acv.ca>
374        * Fixed pthread_cond_timedwait. The mutex needed to be locked as
375        per the POSIX spec, yet Linux or Mac OS X don't care...
376        * Fixed the double SIGTERM handler on Linux...
377
3782004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
379        * Added work around for uClibc bug in auth.c
380
3812004-04-17  Philippe April <papril777@yahoo.com>
382        * Fixed firewall scripts to make them standard and some firewall functions
383
3842004-04-17  Alexandre Carmel-Veilleux <acv@acv.ca>
385        * Updated documentation in firewall.c
386
3872004-04-17  Philippe April <papril777@yahoo.com>
388        * Fixed path returning to gateway in phpauth/login/index.php
389
3902004-04-16  Alexandre Carmel-Veilleux <acv@acv.ca>
391        * Merged in libhttpd into the source tree
392
3932004-04-16  Philippe April <papril777@yahoo.com>
394        * Fixed CRLF/formatting in phpauth/login/index.php
395        * Added some documentation for firewall.c, commandline.c
396        * Removed an unnecessary line dist_sysconf_DATA from Makefile.am
397
3982004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
399        * Changed the locking mechanism, now all access to t_node * structs
400        are properly protected.
401
4022004-04-15  Alexandre Carmel-Veilleux <acv@acv.ca>
403        * Connection now closed if counter hasn't change for one full
404        period.
405
4062004-04-14  Philippe April <papril777@yahoo.com>
407        * Fixed shell script hardcoded interface
408
4092004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
410        * Existing IPs are logged off when they're authenticated again.
411
4122004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
413        * Fixed clean up so it happens at the right time.
414
4152004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
416        * Major retooling of insert_userclass(), fixed seg fault.
417        * The program now works as advertised.
418
4192004-04-14  Alexandre Carmel-Veilleux <acv@acv.ca>
420        * Switched to threads. Alpha quality build, at best
421
4222004-04-12  Alexandre Carmel-Veilleux <acv@acv.ca>
423        * Changed child return value handling, again. Now it's actually
424        using the real value instead of the flag.
425        * The http.c authentication code now closes the http connection
426        from the user.
427
4282004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
429        * Added extra debugging information.
430        * Fixed return value handling in debugging calls.
431
4322004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
433        * Removed duplicates signal handling hooks
434        * Additional comments in SIGCHLD handler
435
4362004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
437        * Node find if's expressions changed
438
4392004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
440        * SIGCHLD Handler initializaed outside of deamon mode now.
441
4422004-04-11  Alexandre Carmel-Veilleux <acv@acv.ca>
443        * Very large modification. The entire architecture has been reworked
444        so that authentications to the central server are performed in a
445        fork()'d child process and the exit code from that child is then
446        used to set the User Class of the connection.
447        * The UserClasses (global definitions) and Rights (per connection)
448        have been integrated.
449
4502004-03-16  Mina Naguib <minaguib@users.sourceforge.net>
451        * Changed HTTP server tasks to be handled by libhttpd - merged
452        incorporate_libhttpd branch
453
4542004-03-13  Philippe April <papril777@yahoo.com>
455        * Modified the way firewall scripts are called so we can configure
456        them in the config file (a bit more modular than it was)
457        * Added simple linked list to keep track of clients and to
458        keep a counter of the utilization and send it to the auth server
459        * Fixed CRLF/formatting in phpauth/auth/index.php
460        * Hacked phpauth/auth/index.php to handle very basic utilization tracking
461
4622004-03-12  Philippe April <papril777@yahoo.com>
463        * Changed all perror()s into debug()s and added errno.h to common.h
464
4652004-03-10  Philippe April <papril777@yahoo.com>
466        * Small fix to firewall.c so we don't define variables after
467        the function has started (so it builds on gcc-2.95)
468
4692004-03-09  Philippe April <papril777@yahoo.com>
470        * Major changes, not forking anymore for new connections, now using
471        select() instead. It will allow us to efficiently use a linked list to track
472        users and other things. It introduces some bugs and design issues but will
473        be better in the end.
474
4752004-03-09  Philippe April <papril777@yahoo.com>
476        * Small fix in the default.php login page
477        * exit() where the program was supposed to exit but wasn't when the
478        firewall could not be setup
479
4802004-03-09  Alexandre Carmel-Veilleux <acv@acv.ca>
481        * 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.
482
4832004-03-08  Benoit Gr�goire  <bock@step.polymtl.ca>
484        * 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.
485
Note: See TracBrowser for help on using the browser.