Suppressed warning message of libgda
[rahunas] / ChangeLog
1 commit 7751a641e2a294d986b002dd01264b7d068258a2
2 Author: Neutron Soutmun <neo.neutron@gmail.com>
3 Date:   Tue Jun 9 10:24:52 2009 +0700
4
5     Bump version to 0.1.4
6     
7       * Bump version to 0.1.4 and prepare to release.
8       * Add forgotten example/Makefile.am.
9
10  NEWS                |   17 ++++++++++++++++-
11  configure.ac        |    2 +-
12  example/Makefile.am |    3 +++
13  3 files changed, 20 insertions(+), 2 deletions(-)
14
15 commit bae014d9f22e13f6115d53d154e6489f20ae00e4
16 Author: Neutron Soutmun <neo.neutron@gmail.com>
17 Date:   Tue Jun 9 10:07:55 2009 +0700
18
19     Adjust build system config and install files
20     
21       * Adjust build system config to install the files to appropriate paths.
22       * The MAINTAINERCLEANFILES was added.
23       * Now rahunas.db installed into the default directory /var/lib/rahunas.
24       * RahuNAS daemon executable file (rahunasd) now installed into /usr/sbin.
25       * Tool scripts now installed into the /usr/sbin and their names change to
26         satisfy the debian policy.
27
28  Makefile.am                                  |    2 +-
29  configure.ac                                 |   17 +-
30  data/Makefile.am                             |    8 +-
31  example/rahunas.init.in                      |    6 +-
32  lcfg/Makefile.am                             |    3 +-
33  src/Makefile.am                              |   78 ++--
34  src/include/linux/netfilter_ipv4/Makefile.am |    3 -
35  src/rh-task-bandwidth.c                      |   12 +-
36  src/rh-task-dbset.c                          |    2 +-
37  src/rh-task-iptables.c                       |    8 +-
38  tools/Makefile.am                            |    6 +
39  tools/bandwidth.sh.in                        |  287 ----------
40  tools/firewall.sh.in                         |  729 --------------------------
41  tools/rahunas-bandwidth.in                   |  287 ++++++++++
42  tools/rahunas-firewall.in                    |  729 ++++++++++++++++++++++++++
43  tools/rahunas-weblogin-config-update.in      |  116 ++++
44  tools/weblogin-config-update.sh.in           |  116 ----
45  xmlrpc/Makefile.am                           |    2 +
46  18 files changed, 1212 insertions(+), 1199 deletions(-)
47
48 commit 927d0c70c763dcf56e6f12ebe02a51688468a5c3
49 Author: Neutron Soutmun <neo.neutron@gmail.com>
50 Date:   Mon Jun 8 21:12:46 2009 +0700
51
52     Follow the flawfinder guideline
53     
54       * Reduce the vulnerability code by follow the advice of flawfinder.
55       * Just finish one of the TODO lists.
56
57  TODO                    |    1 -
58  src/rahunasd.c          |    3 ++-
59  src/rh-config.c         |   10 ++++++----
60  src/rh-ipset.c          |   11 +++++++----
61  src/rh-task-bandwidth.c |   14 +++++++-------
62  src/rh-task-dbset.c     |    9 +++++----
63  src/rh-task-memset.c    |   10 +++++-----
64  7 files changed, 32 insertions(+), 26 deletions(-)
65
66 commit 5987af1b79b0c1fbd4aa9d30a53ec6879853ece3
67 Author: Neutron Soutmun <neo.neutron@gmail.com>
68 Date:   Mon Jun 8 18:36:19 2009 +0700
69
70     Masquerading now do not mention the output iface
71     
72       * To do the masquerading now do not mention the output interface.
73       * Flexible to the network configuration that have many paths to route,
74         such as the network load balancing.
75
76  tools/firewall.sh.in |    3 +--
77  1 files changed, 1 insertions(+), 2 deletions(-)
78
79 commit 2f0141c49bb55157f24738404aa77367a6a45fed
80 Author: Neutron Soutmun <neo.neutron@gmail.com>
81 Date:   Mon Jun 8 18:29:43 2009 +0700
82
83     Implement IFB to replace the IMQ
84     
85       * IFB (Intermediate Functional Block) is more clearly work in the SMP.
86       * Implement IFB on config, bandwidth task and support scripts.
87       * IMQ is now deprecated. (not support).
88
89  src/rh-config.c         |  135 +++++++++++++++++++++++++++++++++++++++++++++++
90  src/rh-config.h         |   21 +++++++
91  src/rh-task-bandwidth.c |   78 +++++++++++++++++++++------
92  tools/bandwidth.sh.in   |   86 ++++++++++++++++++++++++------
93  tools/firewall.sh.in    |    8 ---
94  5 files changed, 286 insertions(+), 42 deletions(-)
95
96 commit 03dc5e370ef4fbf66e34cbe5bc5b878ed764149c
97 Author: Neutron Soutmun <neo.neutron@gmail.com>
98 Date:   Mon Jun 8 11:19:03 2009 +0700
99
100     Fix bashisms and enable http login
101     
102       * Fix bashisms of firewall.sh script.
103       * Enable http login which only https enabled before.
104       * Do not redirect the local web traffic to the proxy.
105
106  tools/firewall.sh.in               |    8 +++++---
107  tools/weblogin-config-update.sh.in |   13 +++++++++++--
108  2 files changed, 16 insertions(+), 5 deletions(-)
109
110 commit 96808c5450804cf9cc6a590500ccce6131c2b937
111 Author: Neutron Soutmun <neo.neutron@gmail.com>
112 Date:   Sat May 30 14:10:21 2009 +0700
113
114     Update translating text
115
116  weblogin/locale/messages.po                   |   66 +++++++++++++---------
117  weblogin/locale/th_TH/LC_MESSAGES/messages.mo |  Bin 2988 -> 2942 bytes
118  weblogin/locale/th_TH/LC_MESSAGES/messages.po |   73 +++++++++++++++----------
119  weblogin/logout.php                           |    2 +-
120  4 files changed, 84 insertions(+), 57 deletions(-)
121
122 commit 9679928e3424ddb216ce7cb6ae23351b51728b78
123 Author: Neutron Soutmun <neo.neutron@gmail.com>
124 Date:   Sat May 30 06:29:48 2009 +0700
125
126     Adjust firewall script, handle bittorrent throttle
127     
128       - The firewall script now handle bittorrent throttle properly.
129       - Adjust the priority of the throttle filter which more important over
130         the users' session filter.
131
132  tools/bandwidth.sh.in |   12 ++++++------
133  tools/firewall.sh.in  |    4 ++--
134  2 files changed, 8 insertions(+), 8 deletions(-)
135
136 commit a0fbd8081aad14716555b28cab27c19b76973eea
137 Author: Neutron Soutmun <neo.neutron@gmail.com>
138 Date:   Thu May 7 20:30:56 2009 +0700
139
140     Fix mis-used log_end_msg with log_action_msg
141     
142         * examples/rahunas.init.in: Fix mis-used log_end_msg with the log_action_msg.
143
144  ChangeLog               |    4 ++++
145  example/rahunas.init.in |   14 ++++++--------
146  2 files changed, 10 insertions(+), 8 deletions(-)
147
148 commit a68d42f968bde01a20d55ffc7c9cd33656fbb900
149 Author: Neutron Soutmun <neo.neutron@gmail.com>
150 Date:   Wed May 6 10:43:45 2009 +0700
151
152     Handle the virtual server for squid helper
153     
154     2009-05-06  Neutron Soutmun <neo.neutron@gmail.com>
155     
156         * weblogin/squid_helper.php: Handle the virtual server for squid helper.
157
158  ChangeLog                 |    4 ++++
159  weblogin/squid_helper.php |   16 ++++++++++------
160  2 files changed, 14 insertions(+), 6 deletions(-)
161
162 commit 15110c771604f44d1b149a66b2d4f09f00fb585c
163 Author: Neutron Soutmun <neo.neutron@gmail.com>
164 Date:   Mon May 4 08:24:31 2009 +0700
165
166     Adjust the generated session_id
167     
168     [core]
169     2009-05-04  Neutron Soutmun <neo.neutron@gmail.com>
170     
171         * +weblogin/ChangeLog: Fork the changelog for weblogin.
172     
173     [weblogin]
174     2009-05-04  Neutron Soutmun <neo.neutron@gmail.com>
175     
176         * rahu_radius.class.php:
177           - Adjust the generated session_id to always be the same string length.
178
179  ChangeLog                      |    4 ++++
180  weblogin/ChangeLog             |    4 ++++
181  weblogin/rahu_radius.class.php |    7 +++++--
182  3 files changed, 13 insertions(+), 2 deletions(-)
183
184 commit 71de5a9f4a4ecbedfd441ffb2fe546714d77239e
185 Author: Neutron Soutmun <neo.neutron@gmail.com>
186 Date:   Thu Apr 30 16:13:55 2009 +0700
187
188     Add the updating table nas in database
189     
190     2009-04-30  Neutron Soutmun <neo.neutron@gmail.com>
191     
192         * tools/weblogin-config-update.sh.in: Add the updating table nas in database.
193
194  ChangeLog                          |    4 ++++
195  tools/weblogin-config-update.sh.in |   26 ++++++++++++++++++++++++++
196  2 files changed, 30 insertions(+), 0 deletions(-)
197
198 commit 58a7596ffa8e80a6c8db834191f7ce1f45fd44f9
199 Author: Neutron Soutmun <neo.neutron@gmail.com>
200 Date:   Thu Apr 30 13:38:23 2009 +0700
201
202     Add table nas into schema
203     
204     2009-04-30  Neutron Soutmun <neo.neutron@gmail.com>
205     
206         * data/rahunas.db: Add table nas into schema.
207
208  ChangeLog       |    4 ++++
209  data/rahunas.db |  Bin 3072 -> 5120 bytes
210  2 files changed, 4 insertions(+), 0 deletions(-)
211
212 commit cc256e1ea17aa9076b61545f70aa23f191790a80
213 Author: Neutron Soutmun <neo.neutron@gmail.com>
214 Date:   Wed Apr 29 08:46:42 2009 +0700
215
216     Fix regenerate/reload weblogin PHP config file
217     
218     2009-04-29  Neutron Soutmun <neo.neutron@gmail.com>
219     
220         * example/rahunas.init.in: Fix regenerate/reload weblogin PHP config file.
221
222  ChangeLog               |    4 ++++
223  example/rahunas.init.in |    5 ++++-
224  2 files changed, 8 insertions(+), 1 deletions(-)
225
226 commit 2c382b427d652c3a7166f5516bafbae8cae543fd
227 Author: Neutron Soutmun <neo.neutron@gmail.com>
228 Date:   Mon Apr 27 19:22:35 2009 +0700
229
230     Fix the segfault on reloading config files
231     
232     2009-04-27  Neutron Soutmun <neo.neutron@gmail.com>
233     
234         * src/rh-server.c: Fix the segfault on reloading config files.
235
236  ChangeLog       |    4 ++++
237  src/rh-server.c |    2 +-
238  2 files changed, 5 insertions(+), 1 deletions(-)
239
240 commit f1184f9058b0f965c8cada118eee1e542b26d70b
241 Author: Neutron Soutmun <neo.neutron@gmail.com>
242 Date:   Mon Apr 27 09:08:18 2009 +0700
243
244     Adjust the reload function
245     
246     2009-04-27  Neutron Soutmun <neo.neutron@gmail.com>
247     
248         * example/rahunas.init.in:
249           - Adjust the reload function to show status message propperly.
250
251  ChangeLog               |    5 +++++
252  example/rahunas.init.in |    6 ------
253  2 files changed, 5 insertions(+), 6 deletions(-)
254
255 commit aace70f808787e6416462b9148cc6777dd2b0ec3
256 Author: Neutron Soutmun <neo.neutron@gmail.com>
257 Date:   Mon Apr 27 08:48:29 2009 +0700
258
259     Add config reloading
260     
261     2009-04-27  Neutron Soutmun <neo.neutron@gmail.com>
262     
263         * src/rahunas.c, src/rh-config.h, src/rh-ipset.c, src/rh-server.{h,c},
264           src/rh-task-dbset.c, src/rh-task-ipset.c, src/rh-task-iptables.c,
265           src/rh-task-memset.c:
266           - Add config reloading by issue SIGHUP.
267           - Adjust the tasks to the changes of config reloading.
268         * example/rahunas.init.in:
269           - Add reload function.
270           - In restart command, try to start if the process is not running.
271         * tools/firewall.sh.in: Add the KEEP_SET funtionality.
272
273  ChangeLog               |   12 ++++
274  example/rahunas.init.in |   25 +++++++-
275  src/rahunasd.c          |   73 ++++++++++++++++++--
276  src/rh-config.h         |    9 +++
277  src/rh-ipset.c          |    2 +-
278  src/rh-server.c         |  169 +++++++++++++++++++++++++++++++++++++++++------
279  src/rh-server.h         |    8 ++-
280  src/rh-task-dbset.c     |    3 +
281  src/rh-task-ipset.c     |    6 ++
282  src/rh-task-iptables.c  |    8 ++-
283  src/rh-task-memset.c    |    6 ++
284  tools/firewall.sh.in    |    4 +-
285  12 files changed, 288 insertions(+), 37 deletions(-)
286
287 commit 94c9e9e68a52a85cada2842d74d51b9407ccf5b2
288 Author: Neutron Soutmun <neo.neutron@gmail.com>
289 Date:   Thu Apr 23 10:19:24 2009 +0700
290
291     Handle start-stop process, fix firewall script
292     
293     2009-04-23  Neutron Soutmun <neo.neutron@gmail.com>
294     
295         * example/rahunas.init.in:
296           - Adjust the code to handle the start and stop process.
297           - Waiting for the process really stop.
298         * tools/firewall.sh.in: Prevent the script to start the same rules again for
299           each virtual server.
300
301  ChangeLog               |    8 +++
302  example/rahunas.init.in |  118 ++++++++++++++++++++++++++++++++--------------
303  tools/firewall.sh.in    |   18 ++++++-
304  3 files changed, 105 insertions(+), 39 deletions(-)
305
306 commit 32a2b8614528260422ecc05a560bd58085982248
307 Author: Neutron Soutmun <neo.neutron@gmail.com>
308 Date:   Tue Apr 21 23:13:44 2009 +0700
309
310     Prevent double login
311     
312     2009-04-21  Neutron Soutmun <neo.neutron@gmail.com>
313     
314         * src/rh-xmlrpc-server.c: Prevent the client to double login by mistake.
315
316  ChangeLog              |    4 ++++
317  src/rh-xmlrpc-server.c |   15 ++++++++++-----
318  2 files changed, 14 insertions(+), 5 deletions(-)
319
320 commit f94bd5c0aac9b3add3e205e811907cd60f9bb1f5
321 Author: Neutron Soutmun <neo.neutron@gmail.com>
322 Date:   Mon Apr 20 17:19:20 2009 +0700
323
324     Call weblogin-config-update.sh on service start
325     
326     2009-04-20  Neutron Soutmun <neo.neutron@gmail.com>
327     
328         * example/rahunas.init.in: Call weblogin-config-update.sh to generate config
329           every time the service start.
330
331  ChangeLog               |    5 +++++
332  example/rahunas.init.in |    2 ++
333  2 files changed, 7 insertions(+), 0 deletions(-)
334
335 commit ca3a480eac5252c2fd4f7e4a3509e2082b69d686
336 Author: Neutron Soutmun <neo.neutron@gmail.com>
337 Date:   Mon Apr 20 17:14:05 2009 +0700
338
339     Add weblogin config in php update
340     
341     2009-04-20  Neutron Soutmun <neo.neutron@gmail.com>
342     
343         * +tools/weblogin-config-update.sh.in: Add new weblogin config in php update script.
344         * configure.ac: Updated accordingly.
345
346  ChangeLog                          |    5 ++
347  configure.ac                       |    1 +
348  tools/weblogin-config-update.sh.in |   81 ++++++++++++++++++++++++++++++++++++
349  3 files changed, 87 insertions(+), 0 deletions(-)
350
351 commit ebf1b313a3bf00f239329f7fe3a81e40e23b0296
352 Author: Neutron Soutmun <neo.neutron@gmail.com>
353 Date:   Mon Apr 20 14:21:34 2009 +0700
354
355     Add new iptables handle task
356     
357     2009-04-20  Neutron Soutmun <neo.neutron@gmail.com>
358     
359         * +src/rh-task-iptables.{h,c}:
360           Add new iptables handle, preparing for configuration reloading.
361         * src/Makefile.am: Changed accordingly, iptables handle.
362         * src/rh-config.{h,c}: Add more config fields.
363         * src/rh-task-{bandwidth,dbset,ipset,memset}.c, src/rh-task.{h,c}:
364           Change the {start,stop}service API and use them to do the task only when
365           the service is start or stop.
366         * src/rahunasd.c, src/rh-server.c: Changed accordingly, {start,stop}service.
367         * tools/firewall.sh.in: Adapted to the new iptables handle.
368
369  ChangeLog               |   12 +++
370  src/Makefile.am         |    2 +
371  src/rahunasd.c          |   11 ++-
372  src/rh-config.c         |  182 ++++++++++++++++++++++++++++++++++-
373  src/rh-config.h         |   40 +++++++-
374  src/rh-server.c         |   33 ++++++-
375  src/rh-task-bandwidth.c |   37 +++-----
376  src/rh-task-dbset.c     |   52 ++++------
377  src/rh-task-ipset.c     |   38 ++++----
378  src/rh-task-iptables.c  |  216 ++++++++++++++++++++++++++++++++++++++++++
379  src/rh-task-iptables.h  |   11 ++
380  src/rh-task-memset.c    |   29 +++---
381  src/rh-task.c           |   65 +++++++------
382  src/rh-task.h           |   16 ++--
383  tools/firewall.sh.in    |  240 ++++++++++++++++++++++++++---------------------
384  15 files changed, 737 insertions(+), 247 deletions(-)
385
386 commit ad04bbc3dc5adfe3e75690b34a04448840efeffb
387 Author: Neutron Soutmun <neo.neutron@gmail.com>
388 Date:   Sat Apr 18 12:33:01 2009 +0700
389
390     Handle dhcp request, tune http access performance
391     
392     2009-04-18  Neutron Soutmun <neo.neutron@gmail.com>
393     
394         * example/{rahunas,rahunas-vserver}.conf.in, tools/firewall.sh.in:
395           - Remove dhcp field from vserver config due to the dhcp request is broadcast
396             message could not be classified which vserver it is.
397           - Remove dhcp_range from vserver config which will consider later how to
398             handle it.
399           - Move the dhcp firewall code from vserver section to policy.
400           - Adjust the webserver access limit rate for performance tuning.
401
402  ChangeLog                       |   10 +++++++
403  example/rahunas-vserver.conf.in |    2 -
404  example/rahunas.conf.in         |    2 +
405  tools/firewall.sh.in            |   50 ++++++++++++++++++++++++--------------
406  4 files changed, 43 insertions(+), 21 deletions(-)
407
408 commit ae7e7e4f3e3672207f051839f33df6649f41dca1
409 Author: Neutron Soutmun <neo.neutron@gmail.com>
410 Date:   Sat Apr 18 12:01:22 2009 +0700
411
412     Move neccessary scripts to tools/
413     
414     2009-04-18  Neutron Soutmun <neo.neutron@gmail.com>
415     
416         * -example/{bandwidth,firewall}.sh.in, +tools/{bandwidth,firewall}.sh.in:
417           Move now considered neccessary scripts from example/ to tools/.
418         * configure.ac: Update accordingly.
419     
420         * data/rahunas.db: Change the primary key from only session_id to
421           vserver_id,ip and mac which will prevent the same client login twice by
422           mistake.
423
424  ChangeLog               |   10 +
425  configure.ac            |    4 +-
426  data/rahunas.db         |  Bin 3072 -> 3072 bytes
427  example/bandwidth.sh.in |  233 ----------------
428  example/firewall.sh.in  |  686 -----------------------------------------------
429  tools/bandwidth.sh.in   |  233 ++++++++++++++++
430  tools/firewall.sh.in    |  686 +++++++++++++++++++++++++++++++++++++++++++++++
431  7 files changed, 931 insertions(+), 921 deletions(-)
432
433 commit 8ecd62957f2caca419e633605e4b81d2936660ae
434 Author: Neutron Soutmun <neo.neutron@gmail.com>
435 Date:   Mon Apr 6 09:08:31 2009 +0700
436
437     Add additional firewall rules to allow clients
438     
439     2009-04-06  Neutron Soutmun <neo.neutron@gmail.com>
440     
441         * example/firewall.sh.in: Add the additional rules to allow in some situation
442           the connections could not established before the FORWARD rules allow the
443           clients, thus the connections never mark.  Just allow them passthrough the
444           rules if the connections do not mark but the clients are in the set
445           (allow them).
446
447  ChangeLog              |    8 ++++++++
448  example/firewall.sh.in |    8 ++++++++
449  2 files changed, 16 insertions(+), 0 deletions(-)
450
451 commit b5e3f15c3ecb424e105dd5a93288c5f134de6816
452 Author: Neutron Soutmun <neo.neutron@gmail.com>
453 Date:   Mon Apr 6 00:26:38 2009 +0700
454
455     Fix the member deleted during polling process
456     
457     2009-04-06  Neutron Soutmun <neo.neutron@gmail.com>
458     
459         * src/rahunasd.c, src/rh-task-{memset,ipset}.c: Fix the member deleted during
460           polling process that cause the process will stop unexpectly.
461         * src/rh-task-dbset.c:
462           - Using task_req and rh_task_startsess to restore set data from DB instead
463             of manual call.
464         * src/rh-task.h: Add bandwidth_slot_id into task_req structure.
465         * src/rh-xmlrpc-server.c: Initial session_start = 0 to trigger the program
466           to use the current timestamp;
467
468  ChangeLog              |   11 ++++++++
469  src/rahunasd.c         |    4 +-
470  src/rh-task-dbset.c    |   68 ++++++++++++------------------------------------
471  src/rh-task-ipset.c    |    4 +-
472  src/rh-task-memset.c   |   23 ++++++++++-----
473  src/rh-task.h          |    1 +
474  src/rh-xmlrpc-server.c |    1 +
475  7 files changed, 49 insertions(+), 63 deletions(-)
476
477 commit 59f8607b48ef867c2d3338c9c840006b0f459b9d
478 Author: Neutron Soutmun <neo.neutron@gmail.com>
479 Date:   Fri Apr 3 08:57:10 2009 +0700
480
481     Add caught exception for 'XML_RPC2_CurlException'
482     
483     2009-04-03  Neutron Soutmun <neo.neutron@gmail.com>
484     
485         * weblogin/{login,squid_helper}.php: Add caught exception for
486           'XML_RPC2_CurlException' which thrown on server unreachable.
487
488  ChangeLog                 |    5 +++++
489  weblogin/login.php        |    3 +++
490  weblogin/squid_helper.php |    2 ++
491  3 files changed, 10 insertions(+), 0 deletions(-)
492
493 commit 25f5f8d725eebedddfef0077d95b9b3d0f9f4d8b
494 Author: Neutron Soutmun <neo.neutron@gmail.com>
495 Date:   Fri Apr 3 02:39:00 2009 +0700
496
497     Fix the clients stuck, due to xmlrpc service fail
498     
499     Clients stuck at the end of the service restarted.
500     
501     Find the way to handle the xmlrpc client for multiple network,
502     which in the first time design to be it's virtual server ip
503     but the problem is the limitation of gnet_xmlrpc_client_new()
504     that can only parse the "localhost" as the hostname.
505     Therefore try to workaround by create the alias in the
506     apache config to do the special /rahunas_service path to
507     serve the xmlrpc stop accouting request.
508     
509     2009-04-03  Neutron Soutmun <neo.neutron@gmail.com>
510     
511         * src/rh-config.{h,c}, src/rh-server.c , src/rh-xmlrpc-cmd.c:
512           - Drop all xml_serv_* due to now only the "localhost" that
513             gnet_xmlrpc_client_new() can make a connection to.
514           - Substitute xml_serv_* with the XMLSERVICE_HOST, XMLSERVICE_URL and
515             XMLSERVICE_PORT.
516           - According to XMLSERVICE_URL  "/rahunas_service/xmlrpc_service.php",
517             needs the special apache config to do the alias for this path,
518             will do in the debian apache config file for example.
519
520  ChangeLog           |   11 +++++++++++
521  src/rh-config.c     |    7 -------
522  src/rh-config.h     |    4 +---
523  src/rh-server.c     |    3 ---
524  src/rh-xmlrpc-cmd.c |    8 ++------
525  5 files changed, 14 insertions(+), 19 deletions(-)
526
527 commit be3e4fa56f7e43b75f2c89ace6fa22246dae41bb
528 Author: Neutron Soutmun <neo.neutron@gmail.com>
529 Date:   Fri Apr 3 01:01:49 2009 +0700
530
531     Drop xml_serv_host, use vserver_ip instead
532     
533     2009-04-03  Neutron Soutmun <neo.neutron@gmail.com>
534     
535         * src/rh-config.{h,c}, src/rh-server.c , src/rh-xmlrpc-cmd.c:
536           - Drop xml_serv_host from config list and replaced by vserver_ip.
537           - Try to sending XML-RPC command via vserver_ip.
538     
539         * weblogin/xmlrpc_service.php: Add the ip parameter checking to get the
540           appropriate config from list.
541
542  ChangeLog                   |    9 +++++++++
543  src/rh-config.c             |   10 +++++-----
544  src/rh-config.h             |    2 +-
545  src/rh-server.c             |    4 ++--
546  src/rh-xmlrpc-cmd.c         |   10 +++++++++-
547  weblogin/xmlrpc_service.php |    4 ++++
548  6 files changed, 30 insertions(+), 9 deletions(-)
549
550 commit 96fd48162ebc677ff5afbfb50d777369a8b71fd0
551 Author: Neutron Soutmun <neo.neutron@gmail.com>
552 Date:   Thu Apr 2 23:25:39 2009 +0700
553
554     Fix the firewall script for bittorrent blocking
555     
556     2009-04-02  Neutron Soutmun <neo.neutron@gmail.com>
557     
558         * example/firewall.sh.in: Fix the script do not add bittorrent blocking rules
559           due to the miss point of condition check.
560
561  ChangeLog              |    5 +++++
562  example/firewall.sh.in |    5 ++---
563  2 files changed, 7 insertions(+), 3 deletions(-)
564
565 commit d7b5c9ef3d2899b883f4c37a7ac27700a662dbff
566 Author: Neutron Soutmun <neo.neutron@gmail.com>
567 Date:   Thu Apr 2 17:58:54 2009 +0700
568
569     Update example config file
570     
571     2009-04-02  Neutron Soutmun <neo.neutron@gmail.com>
572     
573         * example/{rahunas,rahunas-vserver}.conf.in,
574           example/rahunas.default.in:
575           Substitute @prefix@ with the appropriate variables for each location,
576           @prefix@/etc with @sysconfdir@, @prefix@/var with @localstatedir@.
577
578  ChangeLog                       |    7 +++++++
579  example/rahunas-vserver.conf.in |    2 ++
580  example/rahunas.conf.in         |    4 ++--
581  example/rahunas.default.in      |    2 +-
582  4 files changed, 12 insertions(+), 3 deletions(-)
583
584 commit fed57f628ee442ebece8c924b104e220bd169b45
585 Author: Neutron Soutmun <neo.neutron@gmail.com>
586 Date:   Tue Mar 31 23:48:07 2009 +0700
587
588     Bump version to 0.1.3
589     
590     2009-03-31  Neutron Soutmun <neo.neutron@gmail.com>
591     
592         * configure.ac: Bump version to 0.1.3
593
594  ChangeLog    |    4 ++++
595  configure.ac |    2 +-
596  2 files changed, 5 insertions(+), 1 deletions(-)
597
598 commit 8a08898437cea973302c8e04b31c4de7b8bd273b
599 Author: Neutron Soutmun <neo.neutron@gmail.com>
600 Date:   Tue Mar 31 23:37:39 2009 +0700
601
602     === Release 0.1.2 ===
603     
604     2009-03-31  Neutron Soutmun <neo.neutron@gmail.com>
605     
606         === Release 0.1.2 ===
607         * NEWS: Update for 0.1.2 release.
608         * TODO: Remove VLAN support, already implemented.
609
610  ChangeLog |    6 ++++++
611  NEWS      |   25 +++++++++++++++++++++++++
612  TODO      |    1 -
613  3 files changed, 31 insertions(+), 1 deletions(-)
614
615 commit d5429ac493626297fd051130458377c954ff3cda
616 Author: Neutron Soutmun <neo.neutron@gmail.com>
617 Date:   Tue Mar 31 23:04:41 2009 +0700
618
619     Add virtual server concepts for multiple network.
620     
621     2009-03-31  Neutron Soutmun <neo.neutron@gmail.com>
622     
623         * +src/rh-server.{h,c}:
624           - Add virtual server concepts, make the clients from different interface to
625             access the particular virtual server, differentiate clients by their IP.
626     
627         * src/rahunasd.{h,c}, src/rh-config.{c,h}, src/rh-ipset.{h,c},
628           src/rh-task.{h,c}, src/rh-task-{bandwidth,dbset,ipset,memset}.{h,c},
629           src/rh-utils.{h,c}, src/rh-xmlrpc-cmd.{h,c}, src/rh-xmlrpc-server.c:
630           - Redesign, rewrite and adjust the code to support the virtual server
631             concepts.
632           - Improve the memory management by replace old static memory allocation by
633             dynamic memory allocation (GList), therefore fix the memory leak in
634             earlier version.
635     
636         * example/{bandwidth.sh.in,firewall.sh.in},
637           example/rahunas.conf.in,
638           +example/rahunas-vserver.conf.in:
639           - Add new virtual server config example file which need to put into the
640             config directory (default: /etc/rahunas/rahunas.d).
641           - Update config file to support the new virtual server concepts,
642             for earlier config file is not compatible now.
643           - Update the bandwidth and firewall example script to support virtual
644             server.
645     
646         * configure.ac, Makefile.am: Update make file according to new changes.
647     
648         * weblogin/networkchk.php: Add new client's IP check for determine the
649           network of each client and get the appropriate config,
650           differentiate client to access the particular virtual server by vserver_id.
651     
652         * weblogin/{config,index,locale,login,logout}.php,
653           weblogin/rahu_xmlrpc.class.php: Adjust for virtual server concepts.
654
655  ChangeLog                       |   34 +++
656  configure.ac                    |    1 +
657  data/rahunas.db                 |  Bin 3072 -> 3072 bytes
658  example/bandwidth.sh.in         |   95 +++++---
659  example/firewall.sh.in          |  495 ++++++++++++++++++++++++++-------------
660  example/rahunas-vserver.conf.in |   39 +++
661  example/rahunas.conf.in         |  105 +--------
662  src/Makefile.am                 |    6 +-
663  src/rahunasd.c                  |  308 ++++++++++---------------
664  src/rahunasd.h                  |   14 +-
665  src/rh-config.c                 |  173 +++++++++++---
666  src/rh-config.h                 |   39 +++-
667  src/rh-ipset.c                  |   80 +++----
668  src/rh-ipset.h                  |   12 +-
669  src/rh-server.c                 |  167 +++++++++++++
670  src/rh-server.h                 |   36 +++
671  src/rh-task-bandwidth.c         |  141 +++++++-----
672  src/rh-task-bandwidth.h         |   23 ++-
673  src/rh-task-dbset.c             |  208 ++++++++++++-----
674  src/rh-task-dbset.h             |    2 +-
675  src/rh-task-ipset.c             |   97 ++++----
676  src/rh-task-ipset.h             |    2 +-
677  src/rh-task-memset.c            |  214 +++++++++++-------
678  src/rh-task-memset.h            |    4 +-
679  src/rh-task.c                   |   89 ++++----
680  src/rh-task.h                   |   49 ++--
681  src/rh-utils.c                  |  123 ++++++++++
682  src/rh-utils.h                  |   11 +
683  src/rh-xmlrpc-cmd.c             |   34 ++--
684  src/rh-xmlrpc-cmd.h             |    2 +-
685  src/rh-xmlrpc-server.c          |  148 +++++++-----
686  weblogin/config.php             |    9 +-
687  weblogin/index.php              |    5 +
688  weblogin/locale.php             |    5 +
689  weblogin/login.php              |    8 +-
690  weblogin/logout.php             |   14 +-
691  weblogin/networkchk.php         |   47 ++++
692  weblogin/rahu_xmlrpc.class.php  |   16 +-
693  38 files changed, 1875 insertions(+), 980 deletions(-)
694
695 commit 7c6d7c9643ce0f11b6084a68e24c9117fe4c2111
696 Author: Neutron Soutmun <neo.neutron@gmail.com>
697 Date:   Wed Mar 18 07:18:03 2009 +0700
698
699     Fix P2P upload, move P2P config to rahunas.conf.in
700     
701     2009-03-18  Neutron Soutmun <neo.neutron@gmail.com>
702     
703         * example/bandwidth.sh.in, example/rahunas.conf.in:
704           - Fix P2P upload slot that miss config to use P2P download.
705           - Move P2P shaping config from bandwidth.sh.in to rahunas.conf.in.
706
707  ChangeLog               |    6 ++++++
708  example/bandwidth.sh.in |    7 +++----
709  example/rahunas.conf.in |    2 ++
710  3 files changed, 11 insertions(+), 4 deletions(-)
711
712 commit 6039434e0eb51730e71d9fa14c221dc798a8bc89
713 Author: Neutron Soutmun <neo.neutron@gmail.com>
714 Date:   Tue Mar 17 13:57:36 2009 +0700
715
716     Fix the wrong rules, really allow Bittorrent user
717     
718     2009-03-17  Neutron Soutmun <neo.neutron@gmail.com>
719     
720         * example/firewall.sh.in: Fix the allow ip list could not using Bittorrent due    to the wrong rules.
721
722  ChangeLog              |    4 ++++
723  example/firewall.sh.in |    5 +----
724  2 files changed, 5 insertions(+), 4 deletions(-)
725
726 commit 33c75887eef8c5ffefe745cc30381c6e7e5e4a3d
727 Author: Neutron Soutmun <neo.neutron@gmail.com>
728 Date:   Tue Mar 17 13:20:05 2009 +0700
729
730     Fix the copyright year
731     
732     2009-03-17  Neutron Soutmun <neo.neutron@gmail.com>
733     
734         * weblogin/*.php: Fix the copyright year from 2007-2008 to 2008-2009,
735           crazy me forgot even the year.
736         * weblogin/squid_helper.php: Add the license text as same as the whole
737           project.
738
739  ChangeLog                      |    7 +++++++
740  weblogin/config.php            |    2 +-
741  weblogin/header.php            |    2 +-
742  weblogin/index.php             |    2 +-
743  weblogin/locale.php            |    2 +-
744  weblogin/login.php             |    2 +-
745  weblogin/logout.php            |    2 +-
746  weblogin/messages.php          |    2 +-
747  weblogin/rahu_dictionary.php   |    2 +-
748  weblogin/rahu_radius.class.php |    2 +-
749  weblogin/rahu_xmlrpc.class.php |    2 +-
750  weblogin/squid_helper.php      |   31 +++++++++++++++++++++++++++++++
751  weblogin/xmlrpc_service.php    |    2 +-
752  13 files changed, 49 insertions(+), 11 deletions(-)
753
754 commit a09e08a351364229050df06a3c87d7871cb018e6
755 Author: Neutron Soutmun <neo.neutron@gmail.com>
756 Date:   Tue Mar 17 13:09:47 2009 +0700
757
758     Add squid helper to get the username
759     
760     2009-03-17  Neutron Soutmun <neo.neutron@gmail.com>
761     
762         * weblogin/squid_helper.php:
763           - Add squid helper to get the username from rahunasd via XMLRPC,
764             using the squid external_acl_type config option to archeive the point.
765
766  ChangeLog                 |    6 ++++++
767  weblogin/squid_helper.php |   44 ++++++++++++++++++++++++++++++++++++++++++++
768  2 files changed, 50 insertions(+), 0 deletions(-)
769
770 commit d7c24ae802e2ce208d63e02030041791f845b00f
771 Author: Neutron Soutmun <neo.neutron@gmail.com>
772 Date:   Tue Mar 17 12:54:32 2009 +0700
773
774     Add bittorrent allow list support
775     
776     2009-03-17  Neutron Soutmun <neo.neutron@gmail.com>
777     
778         * example/firewall.sh.in, example/rahunas.conf.in:
779           - Add the bittorrent allow list in config file and according support
780             firewall script
781
782  ChangeLog               |    6 ++++++
783  example/firewall.sh.in  |   34 +++++++++++++++++++++++++++++++---
784  example/rahunas.conf.in |    1 +
785  3 files changed, 38 insertions(+), 3 deletions(-)
786
787 commit c27325e7c0b6d282b36f307b6d4eda0d9ca42531
788 Author: Neutron Soutmun <neo.neutron@gmail.com>
789 Date:   Thu Mar 12 19:39:22 2009 +0700
790
791     Update TODO list.
792     
793     2009-03-12  Neutron Soutmun <neo.neutron@gmail.com>
794     
795         * TODO: Update TODO list.
796
797  ChangeLog |    4 ++++
798  TODO      |    1 +
799  2 files changed, 5 insertions(+), 0 deletions(-)
800
801 commit 9f0c89df4e8415fac95d461caf2a7e18132ef2c4
802 Author: Neutron Soutmun <neo.neutron@gmail.com>
803 Date:   Thu Mar 12 19:15:53 2009 +0700
804
805     Remove debian/*,propose upload to debian branch
806
807  debian/changelog                     |    5 --
808  debian/compat                        |    1 -
809  debian/control                       |   42 -----------
810  debian/copyright                     |   29 --------
811  debian/examples/config.php           |   21 ------
812  debian/examples/rahunas.conf         |  100 -------------------------
813  debian/rahunas-weblogin.apache2.conf |   56 --------------
814  debian/rahunas-weblogin.docs         |    1 -
815  debian/rahunas-weblogin.postinst     |   47 ------------
816  debian/rahunas-weblogin.postrm       |   60 ---------------
817  debian/rahunas.default               |    8 --
818  debian/rahunas.docs                  |    3 -
819  debian/rahunas.init                  |   76 -------------------
820  debian/rahunas.logrotate             |   13 ----
821  debian/rahunas.postinst              |   17 -----
822  debian/rahunas.postrm                |   18 -----
823  debian/rules                         |  132 ----------------------------------
824  debian/watch                         |    2 -
825  18 files changed, 0 insertions(+), 631 deletions(-)
826
827 commit d8fb0a8cd1934f72dea14e2261ca2a63b50ede06
828 Merge: 44f56b1 9820572
829 Author: Neutron Soutmun <neo.neutron@gmail.com>
830 Date:   Thu Mar 12 19:08:02 2009 +0700
831
832     Merge branch 'upstream'
833
834 commit 982057252e0147f034019e855ae8d9b85358c5dd
835 Author: Neutron Soutmun <neo.neutron@gmail.com>
836 Date:   Thu Mar 12 19:04:57 2009 +0700
837
838     Add the license text, BSD License to PHP code.
839     
840     2009-03-12  Neutron Soutmun <neo.neutron@gmail.com>
841     
842         * weblogin/{config.php, header.php, index.php, locale.php, login.php,
843           logout.php, messages.php, rahu_dictionary.php, rahu_radius.class.php,
844           rahu_xmlrpc.class.php, xmlrpc_service.php}:
845           - Add the license text, consider to use the BSD License to respect the PHP
846             and PEAR community.
847           - Beautify the code by remove unnecessary leading spaces to conform the
848             code style of the whole project.
849
850  ChangeLog                      |   10 +++
851  weblogin/config.php            |   32 +++++++++
852  weblogin/header.php            |   32 +++++++++
853  weblogin/index.php             |   32 +++++++++
854  weblogin/locale.php            |  138 ++++++++++++++++++++++++---------------
855  weblogin/login.php             |   32 +++++++++
856  weblogin/logout.php            |   32 +++++++++
857  weblogin/messages.php          |   32 +++++++++
858  weblogin/rahu_dictionary.php   |   80 ++++++++++++++++-------
859  weblogin/rahu_radius.class.php |   36 ++++++++++
860  weblogin/rahu_xmlrpc.class.php |   35 ++++++++++
861  weblogin/xmlrpc_service.php    |   32 +++++++++
862  12 files changed, 446 insertions(+), 77 deletions(-)
863
864 commit 44f56b156a1e8c8a8f266b53c0cc6f0ea4f97c98
865 Author: Neutron Soutmun <neo.neutron@gmail.com>
866 Date:   Wed Feb 25 03:36:03 2009 +0700
867
868     Initial import debian/ into repository
869
870  debian/changelog                     |    5 ++
871  debian/compat                        |    1 +
872  debian/control                       |   42 +++++++++++
873  debian/copyright                     |   29 ++++++++
874  debian/examples/config.php           |   21 ++++++
875  debian/examples/rahunas.conf         |  100 +++++++++++++++++++++++++
876  debian/rahunas-weblogin.apache2.conf |   56 ++++++++++++++
877  debian/rahunas-weblogin.docs         |    1 +
878  debian/rahunas-weblogin.postinst     |   47 ++++++++++++
879  debian/rahunas-weblogin.postrm       |   60 +++++++++++++++
880  debian/rahunas.default               |    8 ++
881  debian/rahunas.docs                  |    3 +
882  debian/rahunas.init                  |   76 +++++++++++++++++++
883  debian/rahunas.logrotate             |   13 ++++
884  debian/rahunas.postinst              |   17 +++++
885  debian/rahunas.postrm                |   18 +++++
886  debian/rules                         |  132 ++++++++++++++++++++++++++++++++++
887  debian/watch                         |    2 +
888  18 files changed, 631 insertions(+), 0 deletions(-)
889
890 commit 20d320c0bd3c5422cf526cb9b249a1ae52a76652
891 Merge: e29b312 358103f
892 Author: Neutron Soutmun <neo.neutron@gmail.com>
893 Date:   Thu Feb 12 10:21:55 2009 +0700
894
895     Merge branch 'branch-0.1.1'
896
897 commit 358103f81b27d2046409a2c75e920b66c49cf2c1
898 Author: Neutron Soutmun <neo.neutron@gmail.com>
899 Date:   Thu Feb 12 10:20:23 2009 +0700
900
901     Fix firewall.sh.in, iptables 1.4.2+ warning
902     
903     2009-02-12  Neutron Soutmun <neo.neutron@gmail.com>
904     
905         * example/firewall.sh.in:
906                 - Fix the iptables-1.4.2 and/or later warning of the using filter rules
907             ACCEPT, DROP, REJECT in the nat table by move and adjust the filter rules
908                         in nat table to the filter table (INPUT).
909                 - Remove the "set -e" from script to let the script running even though the
910                   script has some errors. (prevent the unpredictable event when the new
911                         user table was added)
912
913  ChangeLog              |   10 ++++++++++
914  example/firewall.sh.in |   25 ++++++++++++-------------
915  2 files changed, 22 insertions(+), 13 deletions(-)
916
917 commit e29b312b6a7fdf230b7f8f6bbd941f343ff281b4
918 Author: Neutron Soutmun <neo.neutron@gmail.com>
919 Date:   Mon Feb 9 19:36:03 2009 +0700
920
921     Bump version to 0.1.2
922     
923     2009-02-09  Neutron Soutmun <neo.neutron@gmail.com>
924     
925         * configure.ac: Bump version to 0.1.2 (forgot for a long time)
926
927  ChangeLog    |    4 ++++
928  configure.ac |    2 +-
929  2 files changed, 5 insertions(+), 1 deletions(-)
930
931 commit f507faf0f99419fa9ddcbfcb4fe5807a5bb95641
932 Author: Neutron Soutmun <neo.neutron@gmail.com>
933 Date:   Mon Feb 9 19:30:04 2009 +0700
934
935     Redesign firewall and bandwidth scripts
936     
937     2009-02-09  Neutron Soutmun <neo.neutron@gmail.com>
938     
939         * example/{bandwidth,firewall}.sh.in:
940                 - Redesign the firewall rules and the bandwidth management to support the
941                   bandwidth of the network interface.
942                 - Reduce the bandwidth slots from 9998 to 9900, 100 slots approximately,
943                   reserved for the other purposes than the users bandwidth shapping.
944         * src/rh-task-bandwidth.c: Reduce the maximum slots respectively to
945                   new changes.
946
947  ChangeLog               |   10 ++++
948  example/bandwidth.sh.in |  115 +++++++++++++++++++++++++++++++++++-----------
949  example/firewall.sh.in  |  100 ++++++++++++++++++++++++++++++++++------
950  src/rh-task-bandwidth.c |    4 +-
951  4 files changed, 184 insertions(+), 45 deletions(-)
952
953 commit 02cfe2c709890e5818fa7cf3e5777d20e5003603
954 Author: Neutron Soutmun <neo.neutron@gmail.com>
955 Date:   Thu Jan 29 22:30:31 2009 +0700
956
957     New upstream release 0.2.0 of liblcfg, updated
958     
959     2009-01-29  Neutron Soutmun <neo.neutron@gmail.com>
960     
961         * lcfg/lcfg_static.{h,c}: New upstream release 0.2.0 of liblcfg.
962
963  ChangeLog          |    6 +-
964  lcfg/lcfg_static.c |  281 +++++++++++++++++++++++++++++++++++++++++++++++-----
965  lcfg/lcfg_static.h |   64 ++++++++++++-
966  3 files changed, 325 insertions(+), 26 deletions(-)
967
968 commit 7dc3e62a6d30fae802d0b101d0f3f2e07cd63199
969 Author: Neutron Soutmun <neo.neutron@gmail.com>
970 Date:   Tue Jan 27 13:34:30 2009 +0700
971
972     Add the XMLRPC interface for admin to reset user
973     
974     2008-01-27  Neutron Soutmun <neo.neutron@gmail.com>
975     
976         * src/rh-task-memset.c, src/rh-xmlrpc-server.c: Add the XMLRPC interface for
977           admin to reset user and other termination cuase support by parsing cause id.
978         * weblogin/rahu_xmlrpc.class.php, weblogin/logout.php:
979           Implement the new XMLRPC interface changes.
980
981  ChangeLog                      |    7 +++++++
982  src/rh-task-memset.c           |    6 ++++++
983  src/rh-xmlrpc-server.c         |   17 ++++++++++++++++-
984  weblogin/logout.php            |    3 ++-
985  weblogin/rahu_xmlrpc.class.php |    5 +++--
986  5 files changed, 34 insertions(+), 4 deletions(-)
987
988 commit 0772fb869e567701fad27ed2924e1da6d3694429
989 Author: Suriya Soutmun <darksolar@gmail.com>
990 Date:   Wed Jan 7 19:39:18 2009 +0700
991
992     Distribute whole weblogin dir
993     
994     2009-01-07  Suriya Soutmun <darksolar@gmail.com>
995     
996         * configure.ac, Makefile.am: Add weblogin to EXTRA_DIST to distribute the
997                 whole weblogin dir.
998         * -weblogin/Makfile.am: Removed unnecessary now.
999
1000  ChangeLog            |    6 +++++
1001  Makefile.am          |    3 +-
1002  configure.ac         |    1 -
1003  weblogin/Makefile.am |   53 --------------------------------------------------
1004  4 files changed, 8 insertions(+), 55 deletions(-)
1005
1006 commit 66759a6a84157bea8ee3eaf8ad64daebf113d974
1007 Author: Neutron Soutmun <neo.neutron@gmail.com>
1008 Date:   Tue Dec 9 17:49:18 2008 +0700
1009
1010     Include the weblogin files in tarball
1011     
1012     2008-12-09  Neutron Soutmun <neo.neutron@gmail.com>
1013     
1014         * weblogin/Makefile.am: Change my mind, do not install weblogin only
1015           distribute it in the tarball.
1016
1017  ChangeLog            |    5 ++++
1018  weblogin/Makefile.am |   64 ++++++++++++++++++++++++++++++++++++++++---------
1019  2 files changed, 57 insertions(+), 12 deletions(-)
1020
1021 commit 8606d15e50a6814125c2f90f840168f1da9b5186
1022 Author: Neutron Soutmun <neo.neutron@gmail.com>
1023 Date:   Tue Dec 9 17:21:01 2008 +0700
1024
1025     Rewrite weblogin/Makefile.am to install properly
1026     
1027     2008-12-09  Neutron Soutmun <neo.neutron@gmail.com>
1028     
1029         * weblogin/Makefile.am: Rewrite makefile to install weblogin properly.
1030
1031  ChangeLog            |    4 +++
1032  weblogin/Makefile.am |   62 ++++++++-----------------------------------------
1033  2 files changed, 14 insertions(+), 52 deletions(-)
1034
1035 commit d6db53dc311feecf9e867baf36c82ee00a842bd1
1036 Author: Neutron Soutmun <neo.neutron@gmail.com>
1037 Date:   Tue Dec 9 16:50:19 2008 +0700
1038
1039     Revert "Change from EXTRA_DIST to noinst_HEADERS"
1040     
1041     This reverts commit c3bf8f84778287cb5ea752b99f2dfa3180b8a5b3.
1042
1043  ChangeLog            |    5 -----
1044  weblogin/Makefile.am |    8 ++++++--
1045  2 files changed, 6 insertions(+), 7 deletions(-)
1046
1047 commit c3bf8f84778287cb5ea752b99f2dfa3180b8a5b3
1048 Author: Neutron Soutmun <neo.neutron@gmail.com>
1049 Date:   Tue Dec 9 16:25:01 2008 +0700
1050
1051     Change from EXTRA_DIST to noinst_HEADERS
1052     
1053     2008-12-09  Neutron Soutmun <neo.neutron@gmail.com>
1054     
1055         * weblogin/Makefile.am: Change from EXTRA_DIST to noinst_HEADERS which only
1056           pack it in the distribution tarball, do not install it anyway.
1057
1058  ChangeLog            |    5 +++++
1059  weblogin/Makefile.am |    8 ++------
1060  2 files changed, 7 insertions(+), 6 deletions(-)
1061
1062 commit d6e2759a76fe6d5284862de4686c62ad39697615
1063 Author: Neutron Soutmun <neo.neutron@gmail.com>
1064 Date:   Tue Dec 9 15:21:47 2008 +0700
1065
1066     Add weblogin/Makefile.am to install with package
1067     
1068     2008-12-09  Neutron Soutmun <neo.neutron@gmail.com>
1069     
1070         * +weblogin/Makefile.am: Add makefile for weblogin to install with package.
1071         * configure.ac, Makefile.am: Update accordingly to weblogin/Makefile.am.
1072         * NEWS: Change release date to 2008-12-09 due to forgot to install weblogin.
1073
1074  ChangeLog            |    6 +++++
1075  Makefile.am          |    2 +-
1076  NEWS                 |    2 +-
1077  configure.ac         |    1 +
1078  weblogin/Makefile.am |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++
1079  5 files changed, 64 insertions(+), 2 deletions(-)
1080
1081 commit 1e9d893a4cea2d3af765e9272d8fc67be5add0af
1082 Author: Neutron Soutmun <neo.neutron@gmail.com>
1083 Date:   Wed Dec 3 21:39:51 2008 +0700
1084
1085     Update NEWS, TODO and released
1086     
1087     2008-12-03  Neutron Soutmun <neo.neutron@gmail.com>
1088     
1089         * -INSTALL: Drop file the automake --add-missing will create it automatically.
1090         * +TODO: Add TODO list.
1091         * NEWS: Update the 0.1.1 released.
1092
1093  ChangeLog |    6 ++++++
1094  NEWS      |   29 +++++++++++++++++++++++++++++
1095  TODO      |    3 +++
1096  3 files changed, 38 insertions(+), 0 deletions(-)
1097
1098 commit ced0165ec003f62981e745e2eac2ee6dc380680c
1099 Author: Neutron Soutmun <neo.neutron@gmail.com>
1100 Date:   Wed Dec 3 19:59:07 2008 +0700
1101
1102     Carefully handle the signal, exit gracefully
1103     
1104     2008-12-03  Neutron Soutmun <neo.neutron@gmail.com>
1105     
1106         * src/rahunasd.c: Fix the malfunction rh_sighandler(), handle only SIGTERM and
1107           adjust the code to let the program really exit gracefully.
1108
1109  ChangeLog      |    5 +++++
1110  src/rahunasd.c |   31 +++++++++++++++----------------
1111  2 files changed, 20 insertions(+), 16 deletions(-)
1112
1113 commit 77b34156955024e8dac2efd5943a48eea9bfa23f
1114 Author: Neutron Soutmun <neo.neutron@gmail.com>
1115 Date:   Wed Dec 3 17:33:24 2008 +0700
1116
1117     Fix the worst case kill process pid < 0
1118     
1119     2008-12-03  Neutron Soutmun <neo.neutron@gmail.com>
1120     
1121         * src/rahunasd.c: Fix the worst case that the pid < 0 (fail) is parsed into
1122           the rh_sighandler() which the program must ignore this trigger.
1123
1124  ChangeLog      |    5 +++++
1125  src/rahunasd.c |    6 +++---
1126  2 files changed, 8 insertions(+), 3 deletions(-)
1127
1128 commit 4590221e844df7e6c86b4cba54a71486a71f14fd
1129 Author: Neutron Soutmun <neo.neutron@gmail.com>
1130 Date:   Wed Dec 3 16:28:13 2008 +0700
1131
1132     Use :retab to conver tab to 2 spaces
1133     
1134     2008-12-03  Neutron Soutmun <neo.neutron@gmail.com>
1135     
1136         * src/rahunasd.{c,h}, src/rh-config.h, src/rh-ipset.{c,h},
1137           src/rh-task-ipset.c, src/rh-task-memset.c, src/rh-task.h,
1138           src/rh-xmlrpc-cmd.c, src/rh-xmlrpc-server.{c,h}:
1139           Use :retab to convert tab to 2 spaces.
1140
1141  ChangeLog              |    7 ++
1142  src/rahunasd.c         |  239 ++++++++++++++++++++++++------------------------
1143  src/rahunasd.h         |   14 ++--
1144  src/rh-config.h        |    6 +-
1145  src/rh-ipset.c         |  200 ++++++++++++++++++++--------------------
1146  src/rh-ipset.h         |   64 +++++++-------
1147  src/rh-task-ipset.c    |    2 +-
1148  src/rh-task-memset.c   |   26 +++---
1149  src/rh-task.h          |    2 +-
1150  src/rh-xmlrpc-cmd.c    |   26 +++---
1151  src/rh-xmlrpc-server.c |  122 ++++++++++++------------
1152  src/rh-xmlrpc-server.h |   18 ++--
1153  12 files changed, 366 insertions(+), 360 deletions(-)
1154
1155 commit b0eb270e37f52bae3060da805a0ca264ede0b6ae
1156 Author: Neutron Soutmun <neo.neutron@gmail.com>
1157 Date:   Mon Dec 1 09:57:59 2008 +0700
1158
1159     Fix example/firewall.sh.in, excluded ip not work
1160     
1161     2008-12-01  Neutron Soutmun <neo.neutron@gmail.com>
1162     
1163         * example/firewall.sh.in:
1164           - Fix the syntax error in excluded ip rules.
1165           - Fix the malfunction of whitespace trim in the get_config_value() by
1166             only left and right trim rather than trim every whitespace. This error
1167             affect the excluded value which have many values whitespace separated.
1168           - Fix $N malform declaration cause of the Usage message never show.
1169
1170  ChangeLog              |    9 +++++++++
1171  example/firewall.sh.in |   12 ++++++------
1172  2 files changed, 15 insertions(+), 6 deletions(-)
1173
1174 commit 336404817c988958d3bf96e039e214a681bd48d0
1175 Author: Neutron Soutmun <neo.neutron@gmail.com>
1176 Date:   Fri Nov 28 02:30:12 2008 +0700
1177
1178     Add default language setting for weblogin
1179     
1180     2008-11-28  Neutron Soutmun <neo.neutron@gmail.com>
1181     
1182         * weblogin/config.php, weblogin/locale.php: Add default language setting.
1183
1184  ChangeLog           |    4 ++++
1185  weblogin/config.php |    1 +
1186  weblogin/locale.php |    5 +++++
1187  3 files changed, 10 insertions(+), 0 deletions(-)
1188
1189 commit 4d2c06ee915febc5138d22096dc2708ffda8fd35
1190 Author: Neutron Soutmun <neo.neutron@gmail.com>
1191 Date:   Fri Nov 28 01:52:54 2008 +0700
1192
1193     Fix mem free, replace free() with rh_free()
1194     
1195     2008-11-28  Neutron Soutmun <neo.neutron@gmail.com>
1196     
1197         * src/rh-ipset.c: Fix mem free by replace free() with rh_free() for the
1198           variable allocated memory by rh_malloc() which prevent the double free.
1199
1200  ChangeLog      |    5 +++++
1201  src/rh-ipset.c |   16 +++++++++-------
1202  2 files changed, 14 insertions(+), 7 deletions(-)
1203
1204 commit 1ed397241d9ed1ddd03b3b508165a5993c045e9c
1205 Author: Neutron Soutmun <neo.neutron@gmail.com>
1206 Date:   Fri Nov 28 00:58:34 2008 +0700
1207
1208     Add multilingual weblogin, adjust rahunas template
1209     
1210     2008-11-28  Neutron Soutmun <neo.neutron@gmail.com>
1211     
1212         * weblogin/locale.php, weblogin/locale/*, +weblogin/messages.php,
1213           weblogin/login.php, weblogin/logout.php:
1214           Add multilingual weblogin base on PHP gettext, now supported languages are
1215           Thai and English.
1216         * weblogin/loading.gif, weblogin/note.txt:
1217           Change the loading animation picture which now is the hourclass spinning
1218           downloaded from www.clipartpoint.com. (Free to use it on website)
1219         * -weblogin/rahu-{loading,waiting}.gif: Remove unused pictures.
1220         * weblogin/templates/*/rahunas.css: Add new customized CSS for each template
1221           which now can customized independently from the core.
1222         * weblogin/templates/rahunas/rahunas.html: Adjust the rahunas template.
1223
1224  ChangeLog                                     |   14 +++
1225  weblogin/index.php                            |   13 ++-
1226  weblogin/loading.gif                          |  Bin 10833 -> 25156 bytes
1227  weblogin/locale.php                           |   59 +++++++++++++
1228  weblogin/locale/messages.po                   |  105 ++++++++++++++++++++++
1229  weblogin/locale/th_TH/LC_MESSAGES/messages.mo |  Bin 0 -> 2988 bytes
1230  weblogin/locale/th_TH/LC_MESSAGES/messages.po |  107 +++++++++++++++++++++++
1231  weblogin/login.php                            |  116 +++++++++++++------------
1232  weblogin/logout.php                           |  115 +++++++++++--------------
1233  weblogin/messages.php                         |   20 ++++
1234  weblogin/note.txt                             |    2 +
1235  weblogin/rahu-loading.gif                     |  Bin 4208 -> 0 bytes
1236  weblogin/rahu-waiting.gif                     |  Bin 4051 -> 0 bytes
1237  weblogin/templates/kkulogin/rahunas.css       |   39 ++++++++
1238  weblogin/templates/kkuwifi/rahunas.css        |   39 ++++++++
1239  weblogin/templates/rahunas/rahunas.css        |   39 ++++++++
1240  weblogin/templates/rahunas/rahunas.html       |    2 +-
1241  17 files changed, 544 insertions(+), 126 deletions(-)
1242
1243 commit 3ae1e3374e1d38f56fc35eb9d5b7d582abb7824a
1244 Author: Neutron Soutmun <neo.neutron@gmail.com>
1245 Date:   Thu Nov 27 16:30:09 2008 +0700
1246
1247     Adjust weblogin config and beautify php code
1248     
1249     2008-11-27  Neutron Soutmun <neo.neutron@gmail.com>
1250     
1251         * weblogin/config.php:
1252           - Adjust the weblogin config value to satisfy the default settings of
1253             RahuNAS.
1254           - Set rahunas theme to be default theme.
1255         * weblogin/{indedx,login,logout}.php,
1256           weblogin/{rahu_radius.class,rahu_xmlrpc.class,xmlrpc_service}.php:
1257           - Convert tab to 2 spaces (Beautify code for text editor compatibility).
1258
1259  ChangeLog                      |   10 ++
1260  weblogin/config.php            |   26 +++---
1261  weblogin/index.php             |    2 +-
1262  weblogin/login.php             |   74 +++++++-------
1263  weblogin/logout.php            |   70 +++++++-------
1264  weblogin/rahu_radius.class.php |  220 ++++++++++++++++++++--------------------
1265  weblogin/rahu_xmlrpc.class.php |   72 +++++++-------
1266  weblogin/xmlrpc_service.php    |   28 +++---
1267  8 files changed, 256 insertions(+), 246 deletions(-)
1268
1269 commit b4a26aabb88b85808593bdd8ad8a81533ec24a36
1270 Author: Neutron Soutmun <neo.neutron@gmail.com>
1271 Date:   Thu Nov 27 15:56:06 2008 +0700
1272
1273     Adjust example/* to autogenerated on build time
1274     
1275     2008-11-27  Neutron Soutmun <neo.neutron@gmail.com>
1276     
1277         * -example/rahunas.{default,init,conf}, -example/{firewall,bandwidth}.sh
1278           +example/rahunas.{default,init,conf}.in,
1279           +example/{firewall,bandwidth}.sh.in:
1280           - Raname the wrapper script and example config files to .in which all of
1281             them will be autogenerated on build time with the respective prefix path.
1282         * configure.ac: Add the files above to AC_CONFIG_FILES.
1283
1284  ChangeLog                  |    9 +
1285  configure.ac               |    5 +
1286  example/bandwidth.sh       |  155 -----------------
1287  example/bandwidth.sh.in    |  158 +++++++++++++++++
1288  example/firewall.sh        |  399 -------------------------------------------
1289  example/firewall.sh.in     |  404 ++++++++++++++++++++++++++++++++++++++++++++
1290  example/rahunas.conf       |  100 -----------
1291  example/rahunas.conf.in    |  100 +++++++++++
1292  example/rahunas.default    |    8 -
1293  example/rahunas.default.in |    8 +
1294  example/rahunas.init       |   76 ---------
1295  example/rahunas.init.in    |   79 +++++++++
1296  12 files changed, 763 insertions(+), 738 deletions(-)
1297
1298 commit 907730d5f0a9b31441da6f7b449d91a67e92b7d1
1299 Author: Neutron Soutmun <neo.neutron@gmail.com>
1300 Date:   Thu Nov 27 02:11:40 2008 +0700
1301
1302     Add the liblcfg to handle config file
1303     
1304     2008-11-27  Neutron Soutmun <neo.neutron@gmail.com>
1305     
1306         [ Suriya Soutmun ]
1307         * +lcfg/lcfg_static.{h,c}, +lcfg/Makefile.am, +src/rh-config.c,
1308           src/rahunasd.{h,c}:
1309           Add liblcfg and their implementation to satisfy RahuNAS requirement.
1310         * Makefile.am, configure.ac, src/Makefile.am:
1311           Add the lcfg and their implementation to build config and makefile.
1312     
1313         [ Neutron Soutmun ]
1314         * +example/rahunas.conf: Add example config file.
1315         * -example/rahunas.firewall, -example/rahunas.bandwidth,
1316           +example/firewall.sh, +example/bandwidth.sh:
1317           - Rename the wrapper script.
1318           - Adjust the firewall.sh to satisfy the config implementation.
1319         * example/rahunas.default:
1320           Remove the parts the moved to the config file.
1321         * src/rh-ipset.c, src/rh-task-ipset.c, src/rh-xmlrpc-cmd.c:
1322           Update accordingly to new config implementation.
1323
1324  ChangeLog                 |   20 +
1325  Makefile.am               |    2 +-
1326  configure.ac              |    1 +
1327  example/bandwidth.sh      |  155 ++++++
1328  example/firewall.sh       |  399 +++++++++++++++
1329  example/rahunas.bandwidth |  155 ------
1330  example/rahunas.conf      |  100 ++++
1331  example/rahunas.default   |   55 +--
1332  example/rahunas.firewall  |  374 --------------
1333  lcfg/Makefile.am          |    3 +
1334  lcfg/lcfg_static.c        | 1209 +++++++++++++++++++++++++++++++++++++++++++++
1335  lcfg/lcfg_static.h        |   55 ++
1336  src/Makefile.am           |    6 +-
1337  src/rahunasd.c            |   19 +-
1338  src/rahunasd.h            |    1 +
1339  src/rh-config.c           |   77 +++
1340  src/rh-config.h           |   43 +-
1341  src/rh-ipset.c            |    4 +-
1342  src/rh-task-ipset.c       |    6 +-
1343  src/rh-xmlrpc-cmd.c       |    5 +-
1344  20 files changed, 2075 insertions(+), 614 deletions(-)
1345
1346 commit 0cb7b249ab7bbd9c8135bf3302e8faae6ec53066
1347 Author: Neutron Soutmun <neo.neutron@gmail.com>
1348 Date:   Wed Nov 26 14:22:20 2008 +0700
1349
1350     Fix the malfunction filter deleting
1351     
1352     2008-11-26  Neutron Soutmun <neo.neutron@gmail.com>
1353     
1354         * example/rahunas.bandwidth: Fix the script delete all filters rather than
1355           the specified flowid.
1356
1357  ChangeLog                 |    5 +++++
1358  example/rahunas.bandwidth |   10 ++++++----
1359  2 files changed, 11 insertions(+), 4 deletions(-)
1360
1361 commit 2b289a2e6753f91b7e66243147a1ac6f27f93e03
1362 Author: Neutron Soutmun <neo.neutron@gmail.com>
1363 Date:   Wed Nov 26 12:11:35 2008 +0700
1364
1365     Move rahunas.* wrapper scripts to example dir
1366     
1367     2008-11-26  Neutron Soutmun <neo.neutron@gmail.com>
1368     
1369         * -rahunas.{init,default,firewall,bandwidth},
1370           +example/rahunas.{init,default,firewall,bandwidth}:
1371           Move rahunas.* wrapper scripts to example dir.
1372
1373  ChangeLog                 |    6 +
1374  example/rahunas.bandwidth |  153 ++++++++++++++++++
1375  example/rahunas.default   |   59 +++++++
1376  example/rahunas.firewall  |  374 +++++++++++++++++++++++++++++++++++++++++++++
1377  example/rahunas.init      |   76 +++++++++
1378  rahunas.bandwidth         |  153 ------------------
1379  rahunas.default           |   59 -------
1380  rahunas.firewall          |  374 ---------------------------------------------
1381  rahunas.init              |   76 ---------
1382  9 files changed, 668 insertions(+), 662 deletions(-)
1383
1384 commit e55edf4bb72502279c7404db4f9f73d9b33015fb
1385 Author: Neutron Soutmun <neo.neutron@gmail.com>
1386 Date:   Wed Nov 26 12:05:42 2008 +0700
1387
1388     Remove old RAHUNAS_VERSION definition
1389     
1390     2008-11-26  Neutron Soutmun <neo.neutron@gmail.com>
1391     
1392         * configure.ac: Remove old RAHUNAS_VERSION which now replaced by
1393           AC_SUBST(RAHUNAS_VERSION, major.minor.micro).
1394
1395  ChangeLog    |    5 +++++
1396  configure.ac |    1 -
1397  2 files changed, 5 insertions(+), 1 deletions(-)
1398
1399 commit 83ebe9bc38aa3fa85605831531071e3546adc32c
1400 Author: Neutron Soutmun <neo.neutron@gmail.com>
1401 Date:   Tue Nov 25 20:19:36 2008 +0700
1402
1403     Add bandwidth shaping support
1404     
1405     2008-11-25  Neutron Soutmun <neo.neutron@gmail.com>
1406     
1407         * rahunas.default:
1408           Add bandwidth shaping support by using the IMQ and iproute2.
1409         * rahunas.firewall:
1410           Adjust to prevent the re-init firewall that cause the failure on the
1411                 stop process.
1412         * rahunas.init:
1413           Adjust the firewall script caller.
1414         * +rahunas.bandwidth: Add the rahunas bandwidth wrapper script.
1415     
1416         * src/rh-task-bandwidth.{h,c}: Add bandwidth shaping task which response to
1417           the WISPr-Bandwidth-Max-{Up,Down} that reply from RADIUS.
1418         * src/rahunasd.h: Add bandwidth_slot_id into members structure.
1419         * src/rh-task-dbset.c:
1420           - Add bandwidth_* into dbset_row structure.
1421           - Add insert, fetch and restore code of bandwidth_* from DB into dbset_row
1422             structure.
1423           - Change task priority to 10. (Lowest priority now).
1424         * src/rh-task-ipset.c:
1425           Change task priority to 30.
1426         * src/rh-task-memset.c:
1427           Change task priority to 40. (Highest priority).
1428         * src/rh-task.c:
1429           Include and register new task, bandwidth task.
1430         * src/rh-task.h:
1431           Change the bandwidth_max_* type from long to unsigned long.
1432         * src/Makefile.am:
1433           Update accordingly to bandwidth task implementation.
1434         * weblogin/logout.php:
1435           Update CSS style for loginbox background.
1436         * weblogin/templates/kkulogin/kkulogin.html:
1437           Update KKU-Login template.
1438         * data/rahunas.db:
1439           Alter the schema of dbset table to support bandwidth fields.
1440
1441  ChangeLog                                 |   36 +++
1442  data/rahunas.db                           |  Bin 3072 -> 3072 bytes
1443  rahunas.bandwidth                         |  153 +++++++++++++
1444  rahunas.default                           |    4 +
1445  rahunas.firewall                          |   26 +++-
1446  rahunas.init                              |    9 +-
1447  src/Makefile.am                           |    2 +
1448  src/rahunasd.h                            |    1 +
1449  src/rh-task-bandwidth.c                   |  331 +++++++++++++++++++++++++++++
1450  src/rh-task-bandwidth.h                   |   11 +
1451  src/rh-task-dbset.c                       |   35 +++-
1452  src/rh-task-ipset.c                       |    2 +-
1453  src/rh-task-memset.c                      |    2 +-
1454  src/rh-task.c                             |    3 +
1455  src/rh-task.h                             |    4 +-
1456  weblogin/logout.php                       |    2 +-
1457  weblogin/templates/kkulogin/kkulogin.html |    4 +
1458  17 files changed, 610 insertions(+), 15 deletions(-)
1459
1460 commit 15a4e97807a23ec22dfeb0542aaa28728b689716
1461 Author: Neutron Soutmun <neo.neutron@gmail.com>
1462 Date:   Thu Nov 20 16:37:09 2008 +0700
1463
1464     Add excluded IP support
1465     
1466     2008-11-20  Neutron Soutmun <neo.neutron@gmail.com>
1467     
1468         * rahunas.firewall: Add excluded IP support.
1469
1470  ChangeLog        |    4 ++++
1471  rahunas.firewall |   26 +++++++++++++++++++-------
1472  2 files changed, 23 insertions(+), 7 deletions(-)
1473
1474 commit 8f099d6cf204334522362a8eef3adb5e07f688cc
1475 Author: Neutron Soutmun <neo.neutron@gmail.com>
1476 Date:   Wed Nov 19 02:16:17 2008 +0700
1477
1478     Fixed half-close socket in rh-xmlrpc-cmd
1479     
1480     2008-11-19  Neutron Soutmun <neo.neutron@gmail.com>
1481     
1482         * src/rh-xmlrpc-cmd.c: Fixed half-close socket, cause of the socket stay in
1483           the CLOSE_WAIT state (TCP resources starvation by mistake - forgot to close
1484           the socket).
1485
1486  ChangeLog           |    6 ++++++
1487  src/rh-xmlrpc-cmd.c |   22 ++++++++++++----------
1488  2 files changed, 18 insertions(+), 10 deletions(-)
1489
1490 commit 2aec40fdd60728ab45ce2a606bca16ff903d96ae
1491 Author: Neutron Soutmun <neo.neutron@gmail.com>
1492 Date:   Tue Nov 18 17:37:52 2008 +0700
1493
1494     Fix syslog flooding by shutdown() socket error
1495     
1496     2008-11-18  Neutron Soutmun <neo.neutron@gmail.com>
1497     
1498         * src/rh-ipset.c:
1499           Do not warning in syslog when the shutdown() and close() socket, fix syslog     flooding.
1500
1501  ChangeLog      |    5 +++++
1502  src/rh-ipset.c |   14 ++++----------
1503  2 files changed, 9 insertions(+), 10 deletions(-)
1504
1505 commit 59d8d7c52024d97ae04580a3b24782eaf370fa15
1506 Author: Neutron Soutmun <neo.neutron@gmail.com>
1507 Date:   Fri Nov 14 11:10:33 2008 +0700
1508
1509     Fixed too many open files and session-timeout
1510     
1511     2008-11-14  Neutron Soutmun <neo.neutron@gmail.com>
1512     
1513         * src/rh-ipset.c:
1514           Fixed the too many open files due to the uncleanly close sockets.
1515         * src/rh-task-dbset.c:
1516           Fixed the too many open temporary files due to unclosed connections.
1517         * src/rh-xmlrpc-server.c:
1518           Fixed the Session-Timeout handler which it does not set the session_timeout
1519           in members data to 0 when the Session-Timeout is not set.
1520
1521  ChangeLog              |   10 ++++++++++
1522  src/rh-ipset.c         |    6 ++++++
1523  src/rh-task-dbset.c    |    6 ++++++
1524  src/rh-xmlrpc-server.c |   11 +++++++----
1525  4 files changed, 29 insertions(+), 4 deletions(-)
1526
1527 commit 1896dee479eae5bb18ce876773b3f32ff8f36ade
1528 Author: Neutron Soutmun <neo.neutron@gmail.com>
1529 Date:   Wed Nov 12 12:32:51 2008 +0700
1530
1531     substring the request url on display in logout.php
1532     
1533     2008-11-12  Neutron Soutmun <neo.neutron@gmail.com>
1534     
1535         * weblogin/logout.php: Substring the request url to shorten the line
1536           when it length longer than 20 chars.
1537
1538  ChangeLog           |    5 +++++
1539  weblogin/logout.php |    3 ++-
1540  2 files changed, 7 insertions(+), 1 deletions(-)
1541
1542 commit bce70864aab3506a820c9496736a32ff4bf1ec9c
1543 Author: Neutron Soutmun <neo.neutron@gmail.com>
1544 Date:   Tue Nov 11 12:27:38 2008 +0700
1545
1546     Modify firewall script and add new login template
1547     
1548     2008-11-11  Neutron Soutmun <neo.neutron@gmail.com>
1549     
1550         * rahunas.{default,firewall}: Add supporting for DHCP and DNS forwarding,
1551           Proxy, Transparent-Proxy and the Natwork Address Translation (Masquerading).
1552         * weblogin/templates/rahunas/*: Add new login template for rahunas,
1553           "My inspiration" - featuring by my daughter, "Music".
1554         * weblogin/{login,logout}.php: Adjust to support new template.
1555
1556  ChangeLog                                     |    8 ++
1557  rahunas.default                               |   38 +++++++-
1558  rahunas.firewall                              |  122 +++++++++++++++++++++---
1559  weblogin/config.php                           |    1 +
1560  weblogin/login.php                            |    4 +-
1561  weblogin/logout.php                           |    4 +-
1562  weblogin/templates/rahunas/images/rahunas.png |  Bin 0 -> 160054 bytes
1563  weblogin/templates/rahunas/images/rahunas.xcf |  Bin 0 -> 1276972 bytes
1564  weblogin/templates/rahunas/rahunas.html       |   48 ++++++++++
1565  9 files changed, 201 insertions(+), 24 deletions(-)
1566
1567 commit 0d27863e1a2f4901713c95d52945ac881232b58b
1568 Author: Neutron Soutmun <neo.neutron@gmail.com>
1569 Date:   Thu Nov 6 14:15:01 2008 +0700
1570
1571     Add Session-Timeout support, prepare bandwidth var
1572     
1573     2008-11-06  Neutron Soutmun <neo.neutron@gmail.com>
1574     
1575         * src/rahunas.{h,c}, src/rh-task-memset.c, rh-task.h, src/rh-xmlrpc-server.c:
1576                 Add Session-Timeout support
1577     
1578         * weblogin/login.php, weblogin/logout.php, weblogin/rahu_radius.class.php,
1579           weblogin/rahu_xmlrpc.class.php:
1580           Add Session-Timeout support and prepare the WISPr-Bandwidth-Max-{Down,Up}.
1581
1582  ChangeLog                      |    9 +++++++++
1583  src/rahunasd.c                 |   17 ++++++++++++++---
1584  src/rahunasd.h                 |    3 +++
1585  src/rh-task-memset.c           |    8 ++++++++
1586  src/rh-task.h                  |    3 +++
1587  src/rh-xmlrpc-server.c         |   27 +++++++++++++++++++++++++--
1588  weblogin/login.php             |   14 +++++++++++---
1589  weblogin/logout.php            |    8 +++++++-
1590  weblogin/rahu_dictionary.php   |   26 ++++++++++++++++++++++++++
1591  weblogin/rahu_radius.class.php |   32 ++++++++++++++++++++++++++------
1592  weblogin/rahu_xmlrpc.class.php |   12 ++++++++----
1593  11 files changed, 140 insertions(+), 19 deletions(-)
1594
1595 commit 8aa7b5adf4c77422bc8604ed5dbca5993772cd39
1596 Author: Neutron Soutmun <neo.neutron@gmail.com>
1597 Date:   Mon Nov 3 01:16:16 2008 +0700
1598
1599     Adjust firewall script for cleanly start and stop
1600     
1601     2008-11-03  Neutron Soutmun <neo.neutron@gmail.com>
1602     
1603         * rahunas.firewall:
1604           - Adjust the firewall to define new chain for easy start and stop.
1605           - The firewall now cleanly start and stop by do not disturb other rules
1606             than this script done.
1607         * rahunas.init: Update respectively to rahunas.firewall changes.
1608
1609  ChangeLog        |    8 ++
1610  rahunas.firewall |  291 +++++++++++++++++++++++++++++++++++++++---------------
1611  rahunas.init     |   11 ++-
1612  3 files changed, 229 insertions(+), 81 deletions(-)
1613
1614 commit 82099d441fa7e589a332c3ba630a7faeddf56d57
1615 Author: Neutron Soutmun <neutron@rahunas.kku.net>
1616 Date:   Fri Oct 24 15:47:16 2008 +0700
1617
1618     Add new ignoremac feature and adjust weblogin.
1619     
1620     2008-10-24  Neutron Soutmun <neo.neutron@gmail.com>
1621     
1622         * src/rahunasd.h, src/rh-xmlrpc-server.c:
1623           Empty MAC Address now substitute by DEFAULT_MAC (00:00:00:00:00:00) to
1624                 support the new ignoremac feature (Tested with the OSPF Routing Protocol).
1625     
1626         * weblogin/config.php, weblogin/index.php, weblogin/login.php,
1627           weblogin/logout.php:
1628                 - Add supporting for https port number other than default 443.
1629                 - Default https port for RahuNAS is 8443.
1630     
1631         * rahunas.firewall:
1632           - Adjust the wrong connmark from 10 to 0x2;
1633           - Remove unnecessary command.
1634
1635  ChangeLog              |   15 +++++++++++++++
1636  rahunas.firewall       |    6 ++----
1637  src/rahunasd.h         |    2 ++
1638  src/rh-xmlrpc-server.c |   10 ++++++++--
1639  weblogin/config.php    |    1 +
1640  weblogin/index.php     |    7 +++----
1641  weblogin/login.php     |    5 +++--
1642  weblogin/logout.php    |    6 ++++--
1643  8 files changed, 38 insertions(+), 14 deletions(-)
1644
1645 commit d1be87500d54c0667874c9b11886b2686413633a
1646 Author: Neutron Soutmun <neo.neutron@gmail.com>
1647 Date:   Thu Oct 16 16:31:42 2008 +0700
1648
1649     Add the PHP web login
1650     
1651     2008-10-16  Neutron Soutmun <neo.neutron@gmail.com>
1652     
1653         * +weblogin/*: Add the PHP web login.
1654
1655  ChangeLog                                      |    4 +
1656  weblogin/.htaccess                             |    4 +
1657  weblogin/config.php                            |   18 ++
1658  weblogin/getmacaddr.php                        |   60 +++++++
1659  weblogin/header.php                            |    5 +
1660  weblogin/index.php                             |   45 +++++
1661  weblogin/loading.gif                           |  Bin 0 -> 10833 bytes
1662  weblogin/login.php                             |  194 +++++++++++++++++++++
1663  weblogin/logout.php                            |  218 ++++++++++++++++++++++++
1664  weblogin/rahu-loading.gif                      |  Bin 0 -> 4208 bytes
1665  weblogin/rahu-waiting.gif                      |  Bin 0 -> 4051 bytes
1666  weblogin/rahu_radius.class.php                 |  206 ++++++++++++++++++++++
1667  weblogin/rahu_xmlrpc.class.php                 |   65 +++++++
1668  weblogin/templates/kkulogin/images/bg.gif      |  Bin 0 -> 846 bytes
1669  weblogin/templates/kkulogin/images/head01.gif  |  Bin 0 -> 1329 bytes
1670  weblogin/templates/kkulogin/images/kku.gif     |  Bin 0 -> 10141 bytes
1671  weblogin/templates/kkulogin/images/tail01.gif  |  Bin 0 -> 1347 bytes
1672  weblogin/templates/kkulogin/kkulogin.html      |   94 ++++++++++
1673  weblogin/templates/kkuwifi/images/bg_02.jpg    |  Bin 0 -> 1451 bytes
1674  weblogin/templates/kkuwifi/images/bullet01.gif |  Bin 0 -> 53 bytes
1675  weblogin/templates/kkuwifi/images/button02.jpg |  Bin 0 -> 2914 bytes
1676  weblogin/templates/kkuwifi/images/note.jpg     |  Bin 0 -> 10039 bytes
1677  weblogin/templates/kkuwifi/images/w2_01.jpg    |  Bin 0 -> 22018 bytes
1678  weblogin/templates/kkuwifi/images/w2_02.jpg    |  Bin 0 -> 49959 bytes
1679  weblogin/templates/kkuwifi/images/w2_03.jpg    |  Bin 0 -> 71529 bytes
1680  weblogin/templates/kkuwifi/images/w2_04.jpg    |  Bin 0 -> 17817 bytes
1681  weblogin/templates/kkuwifi/kkuwifi.html        |  149 ++++++++++++++++
1682  weblogin/xmlrpc_service.php                    |   82 +++++++++
1683  28 files changed, 1144 insertions(+), 0 deletions(-)
1684
1685 commit bb6aa015dfc870f0dcd29ea031588890999b8013
1686 Author: Neutron Soutmun <neo.neutron@gmail.com>
1687 Date:   Thu Oct 16 16:09:14 2008 +0700
1688
1689     Add rahunas.init
1690
1691  rahunas.init |    2 +-
1692  1 files changed, 1 insertions(+), 1 deletions(-)
1693
1694 commit 4fdd19812ed0468d0560dd0e2b18f804a4c17fc8
1695 Author: Neutron Soutmun <neo.neutron@gmail.com>
1696 Date:   Thu Oct 16 16:06:39 2008 +0700
1697
1698     Remove unused rahunas.in
1699     
1700     2008-10-16  Neutron Soutmun <neo.neutron@gmail.com>
1701     
1702         * -rahunas.in: Remove unnecessary.
1703
1704  ChangeLog  |    4 +++
1705  rahunas.in |   68 ------------------------------------------------------------
1706  2 files changed, 4 insertions(+), 68 deletions(-)
1707
1708 commit de2e0e7903b47c53c601455ed54d78eaa17f6a96
1709 Author: Neutron Soutmun <neo.neutron@gmail.com>
1710 Date:   Thu Oct 16 15:39:43 2008 +0700
1711
1712     Add data/rahunas.db, changes in ChangeLog.
1713
1714  ChangeLog       |    6 ++++++
1715  data/rahunas.db |  Bin 3072 -> 3072 bytes
1716  2 files changed, 6 insertions(+), 0 deletions(-)
1717
1718 commit 1ade179cf87fe3f8aba4862327e0f232e240e0da
1719 Author: Neutron Soutmun <neo.neutron@gmail.com>
1720 Date:   Thu Oct 16 15:33:31 2008 +0700
1721
1722     Add default config, init and firewall script
1723     
1724     2008-10-16  Neutron Soutmun <neo.neutron@gmail.com>
1725     
1726         * +rahunas.{init.default,firewall}: Add the support scripts for do the
1727           initialize daemon, firewall and daemon config.
1728         * data/rahunas.db: Remove the tested data from db.
1729
1730  rahunas.default  |   27 ++++++++++++
1731  rahunas.firewall |  117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1732  rahunas.init     |   68 +++++++++++++++++++++++++++++++
1733  3 files changed, 212 insertions(+), 0 deletions(-)
1734
1735 commit f51abe393259f4b3a94cea5d277c2dd5865696ee
1736 Author: Neutron Soutmun <neo.neutron@gmail.com>
1737 Date:   Fri Oct 10 03:26:19 2008 +0700
1738
1739     Add the database session backups task
1740     
1741     2008-10-10  Neutron Soutmun <neo.neutron@gmail.com>
1742     
1743         * configure.ac:
1744           - Add the module checking for libgda which require to build the new
1745             database session backups (sqlite3).
1746           - Add the major, minor and micro variables to easy handle the future
1747             version bump.
1748           - Add VERSION and PROGRAM variables which will be used in the core program.
1749           - Add data/Makefile.
1750                 - Add src/include/linux/netfilter_ipv4/Makefile to include it in the
1751                   distribution. (make dist-*)
1752         * src/rahunasd.{h,c}: Update the code which using VERSION and PROGRAM
1753                   corresponding to the build config.
1754         * +data/Makefile.am, +data/rahunas.db, Makefile.am:
1755           Add data dir which now contains sqlite3 db file and update makefile.
1756         * +src/rh-task-dbset.{h,c}:
1757           Add the database session backups task.
1758         * src/Makefile.am:
1759           - Update corresponding to the new database session backups task.
1760           - Add missing header files to rahunasd_SOURCES which they are not included
1761                   in the distribution. (make dist-*)
1762         * src/rh-config.h: Define DB_NAME which using by task-dbset.
1763         * src/rh-task-ipset.c:
1764           - Update taskprio from 1 to 2 for the appropriate
1765             point of working which now the ipset is the middle priority task.
1766           - Update the positions of the logmsg. (Debuging purpose)
1767         * src/rh-task-memset.c:
1768           - Update taskprio from 2 to 3 for the appropriate
1769             point of working which now the memset is the most priority task.
1770           - Update the positions of the logmsg. (Debuging purpose)
1771         * src/rh-task.{h,c}:
1772           - Change the way to handle the tasklist from singly linked-list to the
1773             GList from GLib which can handle the forward and backward link. (Doubly
1774                   linked-list), the tasks eq. stopservice, stopsess, cleanup need to start
1775             from the least priority first. (Prevent the most significant data in
1776             memset was deleted which will cause the failures of the other tasks that
1777                         depend on it.
1778           - Update the struct task structure by remove unneeded *next which now we
1779             handle the task list by the GList.
1780         * src/rh-xmlrpc-server.c: Move the req.id and req.req_opt to the inner of
1781           the condition checking because of their values not even use if the
1782           conditions are not true.
1783         * +src/include/linux/netfilter_ipv4/Makefile.am: Add the header files in this
1784           dir to EXTRA_DIST which they will be distribute in the distribution.
1785
1786  ChangeLog                                    |   45 +++
1787  Makefile.am                                  |    2 +-
1788  configure.ac                                 |   19 +-
1789  data/Makefile.am                             |    5 +
1790  data/rahunas.db                              |  Bin 0 -> 3072 bytes
1791  src/Makefile.am                              |   32 ++-
1792  src/include/linux/netfilter_ipv4/Makefile.am |    3 +
1793  src/rahunasd.c                               |    2 +-
1794  src/rahunasd.h                               |    2 -
1795  src/rh-config.h                              |    2 +
1796  src/rh-task-dbset.c                          |  360 ++++++++++++++++-----
1797  src/rh-task-ipset.c                          |    6 +-
1798  src/rh-task-memset.c                         |    5 +-
1799  src/rh-task.c                                |  147 ++++-----
1800  src/rh-task.h                                |    5 +-
1801  src/rh-xmlrpc-server.c                       |    5 +-
1802  xmlrpc/Makefile.in                           |  448 --------------------------
1803  17 files changed, 454 insertions(+), 634 deletions(-)
1804
1805 commit cf90d9f4e60f515ae835451b841ce4df92ca1a34
1806 Author: Neutron Soutmun <neo.neutron@gmail.com>
1807 Date:   Fri Sep 12 18:56:30 2008 +0700
1808
1809     Add the tasks list concept
1810     
1811     2008-09-12  Neutron Soutmun <neo.neutron@gmail.com>
1812     
1813         * +src/rh-task-*.{h,c}:
1814                 - Add the tasks concept of the workers. eg. memset, ipset,
1815             dbset and etc.
1816           - Each tasks provide the function to handle each events,
1817                         eg. init, start and stop service, start and stop session.
1818         * src/rahunas.{h,c}, src/rh-ipset.{h,c}, src/rh-utils.{h,c},
1819           src/rh-xmlrpc-server.c:
1820           Change respectively to new tasks concept and do code beautifier.
1821         * +src/rh-config.h: Move the configuration definitions from rahunasd.h.
1822         * src/Makefile.am: Change respectively to properly build the tasks concept.
1823         * AUTHORS: Add Suriya Soutmun to the author team.
1824
1825  AUTHORS                |    1 +
1826  ChangeLog              |   14 +++
1827  src/Makefile.am        |    5 +-
1828  src/rahunasd.c         |  263 +++--------------------------------------------
1829  src/rahunasd.h         |   26 ++---
1830  src/rh-config.h        |   27 +++++
1831  src/rh-ipset.c         |   85 +++++++++++++++-
1832  src/rh-ipset.h         |    7 ++
1833  src/rh-task-dbset.c    |  182 +++++++++++++++++++++++++++++++++
1834  src/rh-task-dbset.h    |   12 ++
1835  src/rh-task-ipset.c    |  146 +++++++++++++++++++++++++++
1836  src/rh-task-ipset.h    |   12 ++
1837  src/rh-task-memset.c   |  195 +++++++++++++++++++++++++++++++++++
1838  src/rh-task-memset.h   |   12 ++
1839  src/rh-task.c          |  186 ++++++++++++++++++++++++++++++++++
1840  src/rh-task.h          |   75 ++++++++++++++
1841  src/rh-utils.c         |    1 +
1842  src/rh-utils.h         |    1 -
1843  src/rh-xmlrpc-server.c |   68 +++---------
1844  19 files changed, 998 insertions(+), 320 deletions(-)
1845
1846 commit b1bb912de56607e397dd65f43cce29f66f79a172
1847 Author: Neutron Soutmun <neo.neutron@gmail.com>
1848 Date:   Wed Sep 3 01:32:54 2008 +0700
1849
1850     Child signal handler, radius accounting on reboot
1851     
1852     2008-09-03  Neutron Soutmun <neo.neutron@gmail.com>
1853     
1854         * src/rahunasd.{h,c}:
1855           - Handle the signal and when child process is stopped or restart,
1856             send the stop accounting to Radius with NAS Reboot code.
1857         * +src/rh-radius.h: Add predefined termination code of Radius.
1858         * src/rh-xmlrpc-cmd.{h,c}: Change send_xmlrpc_stopacct() API, which provide
1859           the ability to send the cause of the stop accounting.
1860
1861  ChangeLog           |    9 +++
1862  src/rahunasd.c      |  139 +++++++++++++++++++++++++++++++++------------------
1863  src/rahunasd.h      |   12 ++++-
1864  src/rh-radius.h     |   30 +++++++++++
1865  src/rh-xmlrpc-cmd.c |   12 +++--
1866  src/rh-xmlrpc-cmd.h |    3 +-
1867  6 files changed, 149 insertions(+), 56 deletions(-)
1868
1869 commit 9c2bbecb9759d371e20a8cf371d294767121790a
1870 Author: Neutron Soutmun <neo.neutron@gmail.com>
1871 Date:   Tue Sep 2 20:17:12 2008 +0700
1872
1873     Add header for rh-{utils,xmlrpc-cmd}
1874     
1875     2008-09-02  Neutron Soutmun <neo.neutron@gmail.com>
1876     
1877         * src/rh-xmlrpc-cmd.h, src/rh-utils.h: Add header definitions.
1878
1879  ChangeLog           |    4 ++++
1880  src/rh-utils.h      |    5 +++++
1881  src/rh-xmlrpc-cmd.h |    6 +++---
1882  3 files changed, 12 insertions(+), 3 deletions(-)
1883
1884 commit 2d4b30a1d4c58387ef376326ae78744ea9c49cac
1885 Author: Neutron Soutmun <neo.neutron@gmail.com>
1886 Date:   Tue Sep 2 19:42:51 2008 +0700
1887
1888     Add xmlrpc client command sender
1889     
1890     2008-09-02  Neutron Soutmun <neo.neutron@gmail.com>
1891     
1892         * +src/rh-xmlrpc-cmd.{h,c}: Add new xmlrpc client command sender.
1893         * src/rahunasd.c: Move the send_xmlrpc_stopacct() code to rh-xmlrpc-cmd.
1894         * src/Makefile.am: Update accordingly to new change.
1895
1896  ChangeLog           |    6 +++++
1897  src/Makefile.am     |    1 +
1898  src/rahunasd.c      |   51 +--------------------------------------------
1899  src/rh-xmlrpc-cmd.c |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++
1900  src/rh-xmlrpc-cmd.h |   11 +++++++++
1901  5 files changed, 76 insertions(+), 50 deletions(-)
1902
1903 commit 519335242b7470dc89e5e91d52582195e45396f2
1904 Author: Neutron Soutmun <neo.neutron@gmail.com>
1905 Date:   Mon Sep 1 17:53:20 2008 +0700
1906
1907     Remove unused functions, memory handler
1908     
1909     2008-09-01  Neutron Soutmun <neo.neutron@gmail.com>
1910     
1911         * src/rahunasd.c: Remove unnecessary functions.
1912         * src/rh-xmlrpc-server.c: Free the allocated memory of the the vars that
1913           calling rh_string_get_sep().
1914
1915  ChangeLog              |    6 +++
1916  src/rahunasd.c         |   88 ------------------------------------------------
1917  src/rh-xmlrpc-server.c |   33 +++++++++++------
1918  3 files changed, 27 insertions(+), 100 deletions(-)
1919
1920 commit 12686296a0e00688288092cda40598010f20765e
1921 Author: Neutron Soutmun <neo.neutron@gmail.com>
1922 Date:   Sun Aug 31 02:14:57 2008 +0700
1923
1924     Add utility functions
1925     
1926     2008-08-31  Neutron Soutmun <neo.neutron@gmail.com>
1927     
1928         * +src/rh-utils.{h,c}: Add new utility functions.
1929         * src/rahunasd.{h,c}:
1930           - Move rh_malloc() and rh_free() to rh-utils.
1931           - include file rh-utils.h which now provide rh_{malloc,free}().
1932         * src/rh-ipset.c: include file rh-utils.h.
1933         * src/rh-xmlrpc-server.c:
1934           - Implement new function rh_string_get_sep() which more clean looking code.
1935         * src/Makefile.am: Update accordingly to new change.
1936
1937  ChangeLog              |   11 +++++++
1938  src/Makefile.am        |    3 +-
1939  src/rahunasd.c         |   25 +----------------
1940  src/rahunasd.h         |    3 --
1941  src/rh-ipset.c         |    1 +
1942  src/rh-utils.c         |   71 ++++++++++++++++++++++++++++++++++++++++++++++++
1943  src/rh-utils.h         |   12 ++++++++
1944  src/rh-xmlrpc-server.c |   50 +++++++---------------------------
1945  8 files changed, 108 insertions(+), 68 deletions(-)
1946
1947 commit bc408385bb5f639a83ce50f33837671db99b5185
1948 Author: Neutron Soutmun <neo.neutron@gmail.com>
1949 Date:   Mon Aug 25 22:30:47 2008 +0700
1950
1951     Do close the socket after the ipset request
1952     
1953     2008-08-25  Neutron Soutmun <neo.neutron@gmail.com>
1954     
1955         * src/rh-ipset.c:
1956           - Shutdown will not close the socket after finish the request,
1957             try close() to done.
1958
1959  ChangeLog      |    6 ++++++
1960  src/rh-ipset.c |    6 ++++--
1961  2 files changed, 10 insertions(+), 2 deletions(-)
1962
1963 commit 494c48e9eb92df77541776b33e66985a9c03ab47
1964 Author: Neutron Soutmun <neo.neutron@gmail.com>
1965 Date:   Sat Aug 23 13:02:57 2008 +0700
1966
1967     Shutdown the socket after ipset request
1968     
1969     2008-08-23  Neutron Soutmun <neo.neutron@gmail.com>
1970     
1971         * src/rh-ipset.c:
1972           - Shutdown the socket after finish the request.
1973           - Log the errno of the failure of the kernel_getsocket() to syslog for
1974             later debuging.
1975
1976  ChangeLog      |    7 +++++++
1977  src/rh-ipset.c |    8 ++++++--
1978  2 files changed, 13 insertions(+), 2 deletions(-)
1979
1980 commit 6f9f304b9690532266b69b538e784f628345f213
1981 Author: Neutron Soutmun <neo.neutron@gmail.com>
1982 Date:   Sat Aug 23 02:55:53 2008 +0700
1983
1984     Fix try to open the socket until over limit
1985     
1986     2008-08-23  Neutron Soutmun <neo.neutron@gmail.com>
1987     
1988         * src/rahunasd.h:
1989           - Fix typo the project name, it is shame.
1990           - Change POLLING interval from 30 seconds to 60 seconds,
1991             try to prevent the socket access overload.
1992         * src/rh-ipset.{h,c}:
1993           - Try to open the socket until over the limit GETSOCK_TRIES before exit with            EXIT_FAILURE status.
1994
1995  ChangeLog      |    9 +++++++++
1996  src/rahunasd.h |    4 ++--
1997  src/rh-ipset.c |   22 +++++++++++++++++-----
1998  src/rh-ipset.h |    1 +
1999  4 files changed, 29 insertions(+), 7 deletions(-)
2000
2001 commit ff1a85e6e39d18e4a172ee1c715d9d659f54d694
2002 Author: Neutron Soutmun <neo.neutron@gmail.com>
2003 Date:   Fri Aug 22 11:42:47 2008 +0700
2004
2005     Segfault prevention
2006     
2007     2008-08-22  Neutron Soutmun <neo.neutron@gmail.com>
2008     
2009         * src/rahunasd.c, src/rh-xmlrpc-server.c:
2010           - Rename dummy to termstring (make sense).
2011           - More preventing the segfault due to print NULL string pointer.
2012
2013  ChangeLog              |    6 ++++++
2014  src/rahunasd.c         |   19 +++++++++++--------
2015  src/rh-xmlrpc-server.c |   14 +++++++-------
2016  3 files changed, 24 insertions(+), 15 deletions(-)
2017
2018 commit 9a8cbea7fb6bdf2f8317ac8b0599ffd7d10c2b9d
2019 Author: Neutron Soutmun <neo.neutron@gmail.com>
2020 Date:   Thu Aug 21 12:25:09 2008 +0700
2021
2022     Segfault prevention due to NULL printing
2023     
2024     2008-08-21  Neutron Soutmun <neo.neutron@gmail.com>
2025     
2026         * src/rahunasd.{h,c}, src/rh-xmlrpc-server.c:
2027           - Prevent the segfault due to the log printing username and session_id
2028             pointing to NULL.
2029           - Implement the ipset Flush set command.
2030         * src/rh-ipset.{h,c}: Add code to support ipset Flush set command.
2031         * + rahunas.in: Add init script example.
2032
2033  ChangeLog              |    9 +++++
2034  rahunas.in             |   68 ++++++++++++++++++++++++++++++++++++++
2035  src/rahunasd.c         |   84 +++++++++++++++++++++++++++++++++--------------
2036  src/rahunasd.h         |   38 +++++++++++-----------
2037  src/rh-ipset.c         |   14 +++++++-
2038  src/rh-ipset.h         |    2 +
2039  src/rh-xmlrpc-server.c |   22 +++++++++---
2040  7 files changed, 186 insertions(+), 51 deletions(-)
2041
2042 commit 940b7164fee2c46618ac60a14f649090e0e5825f
2043 Author: Neutron Soutmun <neo.neutron@gmail.com>
2044 Date:   Thu Aug 21 00:22:02 2008 +0700
2045
2046     Remove the including of ipset-control.h
2047     
2048     2008-08-21  Neutron Soutmun <neo.neutron@gmail.com>
2049     
2050         * src/rahunasd.c: Remove the including to ipset-control.h which not exist now.
2051
2052  ChangeLog      |    4 ++++
2053  src/rahunasd.c |    1 -
2054  2 files changed, 4 insertions(+), 1 deletions(-)
2055
2056 commit 4779ef2ad69195f0e8b3c5eb6d2ab82ef0d178f9
2057 Author: Neutron Soutmun <neo.neutron@gmail.com>
2058 Date:   Thu Aug 21 00:17:12 2008 +0700
2059
2060     Add .../ip_set*.h, resolve FTBFS
2061     
2062     2008-08-21  Neutron Soutmun <neo.neutron@gmail.com>
2063     
2064         * src/include/linux/netfilter_ipv4/ip_set*.h:
2065           add to resolve FTBFS when clone from git (forgot to commit last time).
2066
2067  ChangeLog                                         |    7 +-
2068  src/include/linux/netfilter_ipv4/ip_set.h         |  499 +++++++++++++++++++++
2069  src/include/linux/netfilter_ipv4/ip_set_rahunas.h |   45 ++
2070  3 files changed, 550 insertions(+), 1 deletions(-)
2071
2072 commit 80e39d7f90a349fc628223c0a231a3728da74118
2073 Author: Neutron Soutmun <neo.neutron@gmail.com>
2074 Date:   Thu Aug 21 00:09:13 2008 +0700
2075
2076     Implement native ipset request (netlink request)
2077     
2078     2008-08-21  Neutron Soutmun <neo.neutron@gmail.com>
2079     
2080         * src/rahunasd.{h,c}, src/rh-ipset.{h,c}, src/rh-xmlrpc-server.c:
2081           Implement the native ipset command, the codes are adapted from ipset
2082           userspace program.
2083         * src/ipset-control.{h,c}: Removed as they are replaced by new native ipset
2084           implementation.
2085         * src/Makefile.am: Adjust to support new native ipset implementation.
2086
2087  ChangeLog              |    9 +
2088  src/Makefile.am        |   10 +-
2089  src/Makefile.in        |  421 ------------------------------------------------
2090  src/ipset-control.c    |  139 ----------------
2091  src/ipset-control.h    |   23 ---
2092  src/rahunasd.c         |  261 +++++++++++++++++-------------
2093  src/rahunasd.h         |    8 +-
2094  src/rh-ipset.c         |  320 ++++++++++++++++++++++++++++++++++++
2095  src/rh-ipset.h         |   91 +++++++++++
2096  src/rh-xmlrpc-server.c |  136 ++++++++++------
2097  10 files changed, 670 insertions(+), 748 deletions(-)
2098
2099 commit 9bcbb39e77274e7b57e807c3856eaca7ad30ed41
2100 Author: Neutron Soutmun <neo.neutron@gmail.com>
2101 Date:   Wed Aug 20 00:30:46 2008 +0700
2102
2103     Using DP() instead of logmsg() for RH_DEBUG msg
2104     
2105     2008-08-20  Neutron Soutmun <neo.neutron@gmail.com>
2106     
2107         * src/rahunas.{h,c}:
2108           - Replace logmsg which using RH_DEBUG to new DP().
2109
2110  ChangeLog      |    5 +++++
2111  src/rahunasd.c |   30 +++++++++++++++---------------
2112  src/rahunasd.h |    2 +-
2113  3 files changed, 21 insertions(+), 16 deletions(-)
2114
2115 commit c49eed4dcca7c974def967e082190300d3835322
2116 Author: Neutron Soutmun <neo.neutron@gmail.com>
2117 Date:   Wed Aug 20 00:12:03 2008 +0700
2118
2119     Add predefine RH_LOG_{LEVEL,NORMAL}
2120     
2121     2008-08-20  Neutron Soutmun <neo.neutron@gmail.com>
2122     
2123         * src/rahunas.h:
2124           - Add predefine RH_LOG_LEVEL and set it to RH_LOG_NORMAL.
2125           - Remove unneccessary code.
2126
2127  ChangeLog      |    6 ++++++
2128  src/rahunasd.h |   13 +------------
2129  2 files changed, 7 insertions(+), 12 deletions(-)
2130
2131 commit 7610792a5f12277c6b1b7043d4a3dc18355bffbb
2132 Author: Neutron Soutmun <neo.neutron@gmail.com>
2133 Date:   Wed Aug 20 00:08:07 2008 +0700
2134
2135     Add timemsg() for logging
2136     
2137     2008-08-20  Neutron Soutmun <neo.neutron@gmail.com>
2138     
2139         * src/rahunas.h:
2140           - Add timemsg(), static funtion returning the time message for logging.
2141           - Adjust DP() for the DEBUG logging, which activate by define RH_DEBUG in
2142             compilation time.
2143     
2144         * src/rahunas.c:
2145           - Adjust logmsg() to use the new timemsg().
2146
2147  ChangeLog      |   10 +++++++++
2148  src/rahunasd.c |   18 +---------------
2149  src/rahunasd.h |   62 ++++++++++++++++++++++++++++++++-----------------------
2150  3 files changed, 47 insertions(+), 43 deletions(-)
2151
2152 commit 1e3eada120a4707336e838eac0384f12d2e61031
2153 Author: Neutron Soutmun <neo.neutron@gmail.com>
2154 Date:   Tue Aug 19 23:17:51 2008 +0700
2155
2156     Do pipe the stderr stream to logfile
2157     
2158     2008-08-19  Neutron Soutmun <neo.neutron@gmail.com>
2159     
2160         * src/rahunas.{h,c}:
2161           - pipe stderr stream to logfile.
2162     
2163         * src/rahunas.h:
2164           - Add minor version numbering to VERSION.
2165           - Change MAX_MEMBERS from dec to hex.
2166
2167  ChangeLog      |    9 +++++++++
2168  src/rahunasd.c |   22 ++++++++--------------
2169  src/rahunasd.h |    4 ++--
2170  3 files changed, 19 insertions(+), 16 deletions(-)
2171
2172 commit 4d5414be312c5c56d30626b4bb38872c118ccd12
2173 Author: Neutron Soutmun <neo.neutron@gmail.com>
2174 Date:   Tue Aug 19 22:49:00 2008 +0700
2175
2176     First import
2177     
2178     2008-08-19  Neutron Soutmun <neo.neutron@gmail.com>
2179     
2180         * === First import the project ===
2181
2182  AUTHORS                         |    1 +
2183  COPYING                         |  339 +++++++++++++++++++
2184  ChangeLog                       |    3 +
2185  Makefile.am                     |    1 +
2186  autogen.sh                      |    5 +
2187  config.h.in                     |  111 ++++++
2188  configure.ac                    |   47 +++
2189  src/Makefile.am                 |    8 +
2190  src/Makefile.in                 |  421 +++++++++++++++++++++++
2191  src/ipset-control.c             |  139 ++++++++
2192  src/ipset-control.h             |   23 ++
2193  src/rahunasd.c                  |  701 +++++++++++++++++++++++++++++++++++++++
2194  src/rahunasd.h                  |   80 +++++
2195  src/rh-xmlrpc-server.c          |  217 ++++++++++++
2196  src/rh-xmlrpc-server.h          |   29 ++
2197  xmlrpc/Makefile.am              |   29 ++
2198  xmlrpc/Makefile.in              |  448 +++++++++++++++++++++++++
2199  xmlrpc/README                   |   63 ++++
2200  xmlrpc/test-xmlrpc-client-php.c |   60 ++++
2201  xmlrpc/test-xmlrpc-client.c     |   71 ++++
2202  xmlrpc/test-xmlrpc-server.c     |  132 ++++++++
2203  xmlrpc/xmlrpc-client.c          |  279 ++++++++++++++++
2204  xmlrpc/xmlrpc-server.c          |  411 +++++++++++++++++++++++
2205  xmlrpc/xmlrpc.h                 |   85 +++++
2206  24 files changed, 3703 insertions(+), 0 deletions(-)