rahunas
6 years agoFix rahunas netsnmp module crash from invalid records
Neutron Soutmun [Sun, 18 Aug 2013 15:39:22 +0000]
Fix rahunas netsnmp module crash from invalid records

[rahunas-netsnmp]
* netsnmp-module/rhsnmp.c:
  - Skip the invalid records as it made the rahunas netsnmp module
    crash.

Signed-off-by: Neutron Soutmun <neo.neutron@gmail.com>

6 years agoFix bandwidth slot reservation from misbehavior
Neutron Soutmun [Sun, 18 Aug 2013 15:28:45 +0000]
Fix bandwidth slot reservation from misbehavior

[rahunasd]
* src/rh-task-bandwidth.c:
  - The reservation slots are not initialized.
  - Bandwith slot reservation could run into the infinite loop,
    to prevent this issue, keep seeding of random number change every loop.
  - The process does not clear the reservation when the user logout.

Signed-off-by: Neutron Soutmun <neo.neutron@gmail.com>

6 years agoFix the ifbs setup failed for some networks
Neutron Soutmun [Sun, 18 Aug 2013 15:24:23 +0000]
Fix the ifbs setup failed for some networks

[rahunasd]
* src/rh-config.c:
  - The process could not differentiate vlanA and vlanAx or
    vlanAxx, then treats them all as the same network.
    Fix by compare the whole string of interface's name with configured
    networks list.
  - Fix the ifb reservation as it could not reach the 64 networks due
    to the 1 << 63 is overflow, it should be 1llu << 63 instead.

Signed-off-by: Neutron Soutmun <neo.neutron@gmail.com>

6 years ago=== Release 0.2.5 ===
Neutron Soutmun [Mon, 13 May 2013 07:37:09 +0000]
=== Release 0.2.5 ===

[build]
- Bump version to 0.2.5
- Update Changelog

[weblogin]
- Update po files

Signed-off-by: Neutron Soutmun <neo.neutron@gmail.com>

6 years agoFix DNS interception in "bridge" mode
Neutron Soutmun [Wed, 10 Apr 2013 14:31:49 +0000]
Fix DNS interception in "bridge" mode

Signed-off-by: Neutron Soutmun <neo.neutron@gmail.com>

6 years agoShould only intercept the DNS request from clients
Neutron Soutmun [Fri, 8 Mar 2013 05:49:41 +0000]
Should only intercept the DNS request from clients

7 years agoAdd DNS intercept option and fix bashisms
Neutron Soutmun [Wed, 7 Nov 2012 08:45:47 +0000]
Add DNS intercept option and fix bashisms

7 years agoFix typo, escape username and password
Neutron Soutmun [Sun, 2 Sep 2012 02:44:40 +0000]
Fix typo, escape username and password

7 years ago=== Release 0.2.4 ===
Neutron Soutmun [Thu, 30 Aug 2012 01:41:23 +0000]
=== Release 0.2.4 ===

7 years agoUpdate weblogin translation template files
Neutron Soutmun [Thu, 30 Aug 2012 01:38:08 +0000]
Update weblogin translation template files

7 years agoBump version to 0.2.4
Neutron Soutmun [Thu, 30 Aug 2012 01:35:46 +0000]
Bump version to 0.2.4

7 years agoFix the helper scripts get stuck
Neutron Soutmun [Thu, 30 Aug 2012 01:30:20 +0000]
Fix the helper scripts get stuck

* tools/rahunas-{bandwidth,firewall,weblogin-config-update}.in:
  - The helper scripts get stuck in the case that serviceclass enabled
    but no any config files in /etc/rahunas/serviceclass.d.
    The 'cat' and 'grep' without any files parameter cause this bug.

7 years ago=== Release 0.2.3 ===
Neutron Soutmun [Wed, 29 Aug 2012 04:35:44 +0000]
=== Release 0.2.3 ===

- Update weblogin translation files

7 years agoFix conntrack cut bugs and ignore firewall warnings
Neutron Soutmun [Mon, 27 Aug 2012 04:04:38 +0000]
Fix conntrack cut bugs and ignore firewall warnings

* tools/rahunas-conntrack.in:
  - Parsing the client's ip to function.
  - Fix the calling of conntrack tool by wrapping with su command that
    it forks properly now.
  - Reduce the DELAY time to 1.
* tools/rahunas-firewall.in:
  - Ignore warning of non-existent service class rules in table raw
    and rawnat.
* weblogin/login.php:
  - Add the success login redirection time delay to 2 seconds as it
    is needed for the conntrack tool to finish their work.

7 years ago=== Release 0.2.2 ===
Neutron Soutmun [Mon, 20 Aug 2012 02:05:12 +0000]
=== Release 0.2.2 ===

- Update weblogin translation files

7 years agoUpdate weblogin pot/po file
Neutron Soutmun [Mon, 20 Aug 2012 02:03:00 +0000]
Update weblogin pot/po file

7 years ago=== Release 0.2.1 ===
Neutron Soutmun [Mon, 20 Aug 2012 01:54:52 +0000]
=== Release 0.2.1 ===

7 years agoBump version to 0.2.1
Neutron Soutmun [Mon, 20 Aug 2012 01:30:04 +0000]
Bump version to 0.2.1

7 years agoAlso checking for "Password Has Expired" reply message
Neutron Soutmun [Thu, 28 Jun 2012 03:17:24 +0000]
Also checking for "Password Has Expired" reply message

7 years agoMove serviceclass rules to policy setup
Neutron Soutmun [Wed, 27 Jun 2012 13:33:03 +0000]
Move serviceclass rules to policy setup

* tools/rahunas-firewall.in:
  - Move seviceclass rules to policy setup as it make the firewall
    script cleanup the rules properly.

7 years agoFix the conntrack cut did not forked and delay as expect
Neutron Soutmun [Wed, 27 Jun 2012 10:08:23 +0000]
Fix the conntrack cut did not forked and delay as expect

7 years agoShow session remain time instead of session time for timed limit user
Neutron Soutmun [Wed, 27 Jun 2012 04:51:49 +0000]
Show session remain time instead of session time for timed limit user

* weblogin/logout.php:
  - Show session remain time instead of session time for timed limit user.
* weblogin-po/rahunas-weblogin.pot, weblogin-po/th.po:
  - Update translation for new string.

7 years agoPrevent double submission and PHP session is no needed now
Neutron Soutmun [Wed, 27 Jun 2012 04:00:35 +0000]
Prevent double submission and PHP session is no needed now

* weblogin/{login,logout}.php:
  - Prevent double submission by adding onsubmit() function handler which the
    second submit would be rejected.
  - Rearrange the code to hide the form on the data was submitted.
* weblogin/login.php:
  - Drop <body onload='...'> and let the templates to done it by themself.
* weblogin/rahu_i18n.class.php:
  - Drop PHP session and replaces by cookies.
* weblogin/rahu_radius.class.php:
  - Drop all PHP session implementation as it is no needed.

7 years agoDelay for 5 seconds before cut-off the client's conntracks
Neutron Soutmun [Mon, 25 Jun 2012 16:08:04 +0000]
Delay for 5 seconds before cut-off the client's conntracks

7 years agoFix the service class slot id reservation failed
Neutron Soutmun [Thu, 21 Jun 2012 15:37:13 +0000]
Fix the service class slot id reservation failed

* src/rh-task-serviceclass.c (_sc_get_slot_id):
  - The SQL for slot id selection is incorrect, it should not return any
    rows for none of slot reserved for specified id.

7 years agoUsing vserver id as nas port to support darksolar control panel
Neutron Soutmun [Thu, 21 Jun 2012 09:59:58 +0000]
Using vserver id as nas port to support darksolar control panel

* weblogin/{login,logout,xmlrpc_service}.php:
  - Using vserver id as nas port for RADIUS accounting.
* weblogin/rahu_radius.class.php:
  - Value of RADIUS_NAS_PORT should be passed as int.

7 years agoRevert "Redirecting with 302 Move temporary instead of javascript."
Neutron Soutmun [Wed, 20 Jun 2012 11:07:43 +0000]
Revert "Redirecting with 302 Move temporary instead of javascript."

This reverts commit bf193dec6b6e73b6f697bb3e9ce1e2cb6c13d113.

* Javascript could delay the request and virtually drop the non-brower
  clients.

7 years agoChange excluded traffic connmark to 6
Neutron Soutmun [Wed, 20 Jun 2012 10:55:43 +0000]
Change excluded traffic connmark to 6

* tools/rahunas-firewall.in:
  - Change excluded traffic connmark to 6.
  - Do not redirect the traffic with connmark 6 to intecepting http
    proxy.

7 years agoRedirecting with 302 Move temporary instead of javascript.
Neutron Soutmun [Mon, 18 Jun 2012 17:07:09 +0000]
Redirecting with 302 Move temporary instead of javascript.

7 years agoAdd connection tracking cutter
Neutron Soutmun [Mon, 18 Jun 2012 05:09:53 +0000]
Add connection tracking cutter

* configure.ac, src/Makefile.am, tools/Makefile.am:
  - Add connection tracking cutter.
* src/rh-task-connection.{h,c}:
  - Connection cut on start/stop session.
* tools/rahunas-conntrack.in:
  - Wrapper script. (requires conntrack tools from conntrack package)

7 years agoFix compiler warning
Neutron Soutmun [Sun, 17 Jun 2012 04:10:37 +0000]
Fix compiler warning

7 years agoSync rahunas ipset header and fix compiler warning
Neutron Soutmun [Sun, 17 Jun 2012 04:04:52 +0000]
Sync rahunas ipset header and fix compiler warning

* src/ipset/ip_set_rahunas_ipiphash.h:
  - Sync rahunas ipset ipiphash header.
* src/ipset/ip_set_{rahunas,rahunas_ipiphash}.h:
  - Fix compiler warning.

7 years agoCorrect the definition of task ipset header declaration
Neutron Soutmun [Sat, 16 Jun 2012 14:47:22 +0000]
Correct the definition of task ipset header declaration

7 years agoweblogin: Update login/logout and bump copyright years
Neutron Soutmun [Mon, 6 Feb 2012 06:25:28 +0000]
weblogin: Update login/logout and bump copyright years

7 years agoweblogin: Workaround for IE9
Neutron Soutmun [Wed, 28 Dec 2011 08:34:21 +0000]
weblogin: Workaround for IE9

* weblogin/templates/rahunas-bootstrap/rahunas-bootstrap.html:
  - Change DOCTYPE to html without any further attributes which is a
    declaration for HTML5.
  - The page show blank screen on IE9, just workaround by also load the
    html5.js even loading on IE9.

8 years agoMerge branch 'feature/squid-auth-helper-mt' into develop
Neutron Soutmun [Thu, 6 Oct 2011 09:29:36 +0000]
Merge branch 'feature/squid-auth-helper-mt' into develop

8 years agosquid-auth-helper multi-threaded support
Neutron Soutmun [Thu, 6 Oct 2011 09:19:04 +0000]
squid-auth-helper multi-threaded support

  * tools/squid-auth-helper.c:
    - Support the concurrency > 1 in squid config setting. Could reduce
      the children to get more memory back as it is not necessary to
      spawn children much to serve the same scale now.
    - Create up to 8 threads to serve the requests.

8 years agoFix memleaks on client socket fail
Neutron Soutmun [Tue, 4 Oct 2011 13:18:59 +0000]
Fix memleaks on client socket fail

  * xmlrpc/xmlrpc-client.c (gnet_xmlrcp_client_new):
    - Fix memleaks on client socket fail.

8 years agoChange default weblogin template to rahunas-bootstrap
Neutron Soutmun [Tue, 4 Oct 2011 10:36:00 +0000]
Change default weblogin template to rahunas-bootstrap

  * example/rahunas-vserver.conf.in:
    - Change default weblogin template to rahunas-bootstrap.

8 years agoUpdate weblogin pot file and Thai translation
Neutron Soutmun [Tue, 4 Oct 2011 10:27:26 +0000]
Update weblogin pot file and Thai translation

  * weblogin-po/rahunas-weblogin.pot:
    - Update.
  * weblogin-po/th.po:
    - Merge and update Thai translation.

8 years agoUpdate wording in the change password page
Neutron Soutmun [Tue, 4 Oct 2011 10:18:16 +0000]
Update wording in the change password page

  * weblogin/chpwd.php, weblogin/user.class.php:
    - Update wording.

8 years agoMerge branch 'feature/new-weblogin' into develop
Neutron Soutmun [Tue, 4 Oct 2011 10:11:36 +0000]
Merge branch 'feature/new-weblogin' into develop

8 years agoForgot to add POTFILES.in
Neutron Soutmun [Tue, 4 Oct 2011 10:10:05 +0000]
Forgot to add POTFILES.in

  * weblogin-po/POTFILES.in:
    - Forgot to add POTFILES.in, the file list the translateable string
      files.

8 years agoSet language regarding Accept-Language HTTP header
Neutron Soutmun [Mon, 3 Oct 2011 14:14:41 +0000]
Set language regarding Accept-Language HTTP header

  * weblogin/rahu_i18n.class.php (getAcceptLanguage):
    - Add private method to get/parse/manipulate the user accept language and
      get one of them that we have supported.
  * weblogin/rahu_i18n.class.php (localeSetup):
    - Using the info from getAcceptLanguage() to set the language for user on
      initial.

8 years agoUpdate the old patterns to support new design
Neutron Soutmun [Mon, 3 Oct 2011 07:46:59 +0000]
Update the old patterns to support new design

* weblogin/templates/{rahunas,kkulogin,kkuwifi}:
    - Update to support new weblogin design.

8 years agoAdd new weblogin template "rahunas-bootstrap"
Neutron Soutmun [Mon, 3 Oct 2011 07:15:53 +0000]
Add new weblogin template "rahunas-bootstrap"

* templates/rahunas-bootstrap/*:
    - The twitter-bootstrap web framework + s3slider based weblogin template,
      fully support the new weblogin design.

8 years agoAdd i18n, render class
Neutron Soutmun [Mon, 3 Oct 2011 07:10:33 +0000]
Add i18n, render class

* weblogin/rahu_i18n.class.php, rahu_langsupport.php:
    - Add i18n class which replaces the old locale codes.
  * weblogin/rahu_render.class.php:
    - Add render class which provides the functions of template rendering.
  * weblogin/locale.php:
    - Drop as unneeded, replaced by i18n class.
  * weblogin/login.php, weblogin/logout.php, weblogin/chpwd.php:
    - Change accordingly to i18n and render class.
    - The languages list now should be replaced the "<!-- LanguageList -->" in
      the template.
    - Also replace the "<!-- ChangePassword -->" with the change password link.

8 years agoUse autopoint to manage the weblogin translation
Neutron Soutmun [Sat, 1 Oct 2011 06:03:28 +0000]
Use autopoint to manage the weblogin translation

  * configure.ac:
    - Add AM_GNU_GETTEXT{_VERSION} to initialize gettext.
    - Add weblogin-po/Makefile.in to AC_CONFIG_FILES.
  * autogen.sh:
    - Add autopoint.
  * config.h.in:
    - Update accordingly to new generated by autopoint.
  * weblogin/messages.po, weblogin/th_TH/*:
    - Drop as unneeded.
  * weblogin/locale/*, weblogin-po/*:
    - Move weblogin/locale to weblogin-po.
  * weblogin-po/LINGUAS:
    - Add th to the languages list.
  * weblogin-po/Makevars, weblogin-po/rahunas-weblogin.pot:
    - Add initial setup for gettext translation build.
  * weblogin-po/th.po:
    - Migrate old translation.
  * Makefile.am:
    - Add weblogin-po to SUBDIRS.
  * .gitignore, weblogin-po/.gitignore:
    - Ignore auto-generated files by autopoint.

8 years agoInstall rh-checkrad as sbin scripts
Neutron Soutmun [Fri, 30 Sep 2011 04:38:05 +0000]
Install rh-checkrad as sbin scripts

  * configure.ac:
    - Add netsnmp-module/scripts/rh-checkrad to AC_CONFIG_FILES.
  * netsnmp-module/rh-checkrad.in:
    - Rename rh-checkrad to rh-checkrad.in
    - Make the script using the path from configure on build time.
  * netsnmp-module/Makefile.am:
    - Install rh-checkrad as sbin scripts.

8 years agoAdd timeout to checkrad script
Neutron Soutmun [Thu, 29 Sep 2011 08:04:29 +0000]
Add timeout to checkrad script

  * netsnmp-module/scripts/rh-checkrad:
    - Add timeout and retry.

8 years agoAdd sample checkrad script for RahuNAS
Neutron Soutmun [Thu, 29 Sep 2011 07:01:50 +0000]
Add sample checkrad script for RahuNAS

  * netsnmp-module/Makefile.am, scripts/rh-checkrad:
    - Add sample checkrad script for RahuNAS.

8 years agoShould send the client ip to radius instead
Neutron Soutmun [Thu, 29 Sep 2011 05:07:42 +0000]
Should send the client ip to radius instead

  * weblogin/rahu_radius.class.php (rahu_radius_acct):
    - Should send the client ip to radius instead.

8 years agoUpdate login table on database updated
Neutron Soutmun [Wed, 28 Sep 2011 19:11:57 +0000]
Update login table on database updated

  * netsnmp-module/Makefile.am:
    - Define RAHUNAS_DB.
  * netsnmp-module/rhsnmp.c (rh_update_data, rh_remove_old_data_set,
    rh_add_new_data_set):
    - Make function static.
  * netsnmp-module/rhsnmp.c (rh_update_data):
    - Notify the update-thread when the database has been updated.
    - Still update every 30 seconds which beware the missing events.

8 years agoUpdate .gitignore
Neutron Soutmun [Wed, 28 Sep 2011 17:56:31 +0000]
Update .gitignore

  * .gitignore:
    - Update to ignore config.guess, config.h.in~, config.sub ltmain.sh.

8 years agoAdd netsnmp-module
Neutron Soutmun [Wed, 28 Sep 2011 17:50:55 +0000]
Add netsnmp-module

  * configure.ac:
    - Add AC_CONFIG_MACRO_DIR.
    - Add AC_PROG_LIBTOOL, LT_INIT.
    - Drop AC_PROG_RANLIB as superseded by AC_PROG_LIBTOOL.
    - Add --enable-netsnmp-module and check for "net-snmp-config" on
      enabled.
    - Add netsnmp-module/Makefile to AC_CONFIG_FILES.
  * Makefile.am:
    - Add netsnmp-module to SUBDIRS.
  * autogen.sh:
    - Add libtoolize.
  * config.h.in:
    - Updated.
  * netsnmp-module/*:
    - Add netsnmp-module and drafted RAHUNAS-MIB.

8 years agoUpdate the database schema
Neutron Soutmun [Wed, 28 Sep 2011 17:40:54 +0000]
Update the database schema

  * data/rahunas.db:
    - Update the database schema, add service_class (string) and
      service_class_slot_id (int).

8 years agoAdd rh_ prefix to major,minor,micro define
Neutron Soutmun [Wed, 28 Sep 2011 17:37:23 +0000]
Add rh_ prefix to major,minor,micro define

  * configure.ac:
    - Add rh_ prefix to major, minor, micro define to prevent the
      confusion as they are used in libtool scripts.

8 years agoSwitch to sqlite3 native API
Neutron Soutmun [Wed, 28 Sep 2011 17:27:38 +0000]
Switch to sqlite3 native API

  * configure.ac:
    - Drop libgda check.
    - Add libsqlite3 check.
  * src/Makefile.am:
    - Drop libgda cflags/libs.
    - Add libsqlite3 cflags/libs.
    - Rename RAHUNAS_DB_DIR to RAHUNAS_DB which now declare the fullpath
      to db file.
  * src/rh-task-dbset.c, src/rh-task-serviceclass.c:
    - Migrate to libsqlite3 native API.

8 years agoAdd mode to open() as it's required for hardening build
Neutron Soutmun [Wed, 28 Sep 2011 17:10:48 +0000]
Add mode to open() as it's required for hardening build

  * src/rh-utils.c (rh_openlog, rh_writepid):
    - Add mode to the third arguments of open() as it's required for
      hardening build if the flags O_CREAT is present. Mode is currently
      set to 0744 for both log and pid file.
    - Add missing header include (sys/types.h).

8 years agoFix session_id is empty in case already in session
Neutron Soutmun [Tue, 13 Sep 2011 08:23:06 +0000]
Fix session_id is empty in case already in session

  * weblogin/rahu_radius.class.php (gen_session_id):
    - Fix session_id is empty by mistake in the case that the session_id already
      in the session variable. Should set the $this->session_id too.

8 years agoDestroy object after used.
Suriya Soutmun [Mon, 26 Sep 2011 11:19:01 +0000]
Destroy object after used.

  * weblogin/chpwd.php:
    - unset object after not use it.

8 years agoAdd change password page.
Suriya Soutmun [Mon, 26 Sep 2011 11:08:55 +0000]
Add change password page.

  * weblogin/{chpwd.php, radius-dbconfig.php, user.class.php}:
    - chpwd.php is a password changer page after password has been changed it
      will redirect to login page.
    - radius-dbconfig.php is a config file store detail to connect to
      radius database backend.
    - user.class.php is a class file to create a radius database connection
      object and use it to check and change password.

8 years agoRemove white-spaces from the username
Neutron Soutmun [Tue, 13 Sep 2011 07:21:45 +0000]
Remove white-spaces from the username

  * weblogin/login.php:
    - Remove white-spaces from the username

8 years agoPrevent double login, invalid logout/update info
Neutron Soutmun [Wed, 7 Sep 2011 11:23:16 +0000]
Prevent double login, invalid logout/update info

  * weblogin/rahu_radius.class.php (gen_session_id):
    - Keep the generated session_id in the session variable to prevent the
      double login with different session_id by mistake.
  * weblogin/rahu_radius.class.php (rahu_radius_acct):
    - Do not permit the requests that have no session_id.

8 years agoFix program die on SIGPIPE
Neutron Soutmun [Wed, 7 Sep 2011 10:25:29 +0000]
Fix program die on SIGPIPE

  * src/rahunasd.c (main):
    - Program should ignore SIGPIPE.

8 years ago=== Release 0.2.0 === master
Neutron Soutmun [Tue, 21 Jun 2011 09:47:10 +0000]
=== Release 0.2.0 ===

8 years agoAdd config.h.in back after accidentally removed.
Neutron Soutmun [Tue, 21 Jun 2011 06:31:28 +0000]
Add config.h.in back after accidentally removed.

8 years agoFix compiler warnings
Neutron Soutmun [Tue, 21 Jun 2011 04:08:58 +0000]
Fix compiler warnings

  * src/rahunasd.c:
    - Declare termstring = "" instead.
  * src/rh-ipset.{h, c}:
    - Declare unsigned variable as unsigned int instead.
  * src/rh-ipset.c (set_ipiphash_adtip):
    - Fix typo which should call set_ipiphash_adtip_nb() instead.
  * src/rh-serviceclass.c, src/rh-task-serviceclass.c:
    - Include string.h to fix the compiler warnings.
  * src/rh-serviceclass.{h,c}:
    - Replace struct main_server and struct serviceclass with RHMainServer and
      RHSvClass respectively.
  * src/rh-task-ipset.c (set_cleanup):
    - Fix wrong type casting.
  * src/rh-task-memset.c (startsess):
    - Fix compiler warnnings on assigning "const char *" to "char *" variable.
  * src/rh-task-serviceclass.c:
    - Fix compiler warnnings on rh_free().
    - Free member->mapping_ip before assign new data.
  * src/Makefile.am:
    - Add src/ipset/*.h headers to makefile which they should included in
      tarball.

8 years agoCherry-picks the code from 0.1.x branch
Neutron Soutmun [Mon, 20 Jun 2011 15:46:42 +0000]
Cherry-picks the code from 0.1.x branch

  * The codes have been refactor and fix the compiler warnings.
  * Adjust the codes for new API changes from 0.1.x branch.

9 years agoDo not kill farpd if state file does not exists
Neutron Soutmun [Tue, 3 Aug 2010 04:33:34 +0000]
Do not kill farpd if state file does not exists

9 years agoUpdate weblogin messages and translations
Neutron Soutmun [Mon, 2 Aug 2010 11:27:04 +0000]
Update weblogin messages and translations

9 years agoClass-Of-Service description return to weblogin
Neutron Soutmun [Mon, 2 Aug 2010 11:03:02 +0000]
Class-Of-Service description return to weblogin

  * Serviceclass description return to weblogin and display to user.
  * "Expired" was renamed to "Session End".
  * Session Time now display in human readable form.

9 years agoDon't show error for invalid serviceclass request
Neutron Soutmun [Mon, 2 Aug 2010 09:52:57 +0000]
Don't show error for invalid serviceclass request

9 years agoAdd fakearpd setup and update example configs
Neutron Soutmun [Mon, 2 Aug 2010 09:11:13 +0000]
Add fakearpd setup and update example configs

  * Add fakearpd setup into firewall script.
  * Update example configs.
  * Login page should get the SERVICECLASS_ATTRIBUTE from config.

9 years agoFix database not update
Neutron Soutmun [Sun, 1 Aug 2010 04:03:04 +0000]
Fix database not update

  * Fix database not update due to not enough buffer space for string.
  * Fix daemon that could not start on RH_DEBUG is defined (Debug mode).

9 years agoBump version to 0.2.0
Neutron Soutmun [Sun, 1 Aug 2010 02:38:58 +0000]
Bump version to 0.2.0

  * Bump version to 0.2.0 as next release which does not backward compattible
    with the old 0.1.x at all.
  * 0.2.x should setup on Debian GNU/Linux Squeeze or later only.

9 years agoFix and update serviceclass
Neutron Soutmun [Sat, 31 Jul 2010 12:35:13 +0000]
Fix and update serviceclass

  * XML-RPC server correctly parsing the class-of-service parameter.
  * Update firewall script to fix the rules of service class support
    do not work as expect.
  * Fix serviceclass task which segfault on stop session.

9 years agoRemove unused VIP_* from weblogin config update
Neutron Soutmun [Fri, 30 Jul 2010 11:07:26 +0000]
Remove unused VIP_* from weblogin config update

9 years agoAdd implementation of class-of-service
Neutron Soutmun [Thu, 29 Jul 2010 16:34:53 +0000]
Add implementation of class-of-service

  * Add new implementation of class-of-service which respect to the RADIUS
    Attribute "WISPr-Billing-Class-Of-Service"
  * Remove the concept of vip users and use the class-of-service concept which
    more flexibility instead.
  * Update the firewall script which "--option ! xxx" is deprecated and should
    replaced by "! --option xxx".
  * Update the firewall script to support the serviceclass concept.
  * Update weblogin which should send the class-of-service name when RADIUS
    return this attribute back.
  * src/include has been removed (no needs).

9 years agoAdd example/rahunas-serviceclass.conf.in
Neutron Soutmun [Sat, 3 Jul 2010 15:56:12 +0000]
Add example/rahunas-serviceclass.conf.in

9 years agoAdd serviceclass config
Neutron Soutmun [Sat, 3 Jul 2010 15:44:35 +0000]
Add serviceclass config

9 years agoFix incorrect data from set
Neutron Soutmun [Wed, 2 Jun 2010 13:33:16 +0000]
Fix incorrect data from set

9 years agoSuppressed warning message of libgda
Neutron Soutmun [Tue, 1 Jun 2010 10:27:58 +0000]
Suppressed warning message of libgda

  * Suppressed warning message of libgda, only existent objects which parsing to
    *_unref () function.

9 years agoFix dbset failed to query
Neutron Soutmun [Tue, 1 Jun 2010 07:16:46 +0000]
Fix dbset failed to query

  * Could not query to database due to invalid parser, should create parser.

9 years agoAdd ipset headers, rahunas updated struct changes
Neutron Soutmun [Tue, 1 Jun 2010 06:36:43 +0000]
Add ipset headers, rahunas updated struct changes

9 years agoUpdate IPSET_VERSION to 4.2
Neutron Soutmun [Tue, 1 Jun 2010 02:52:25 +0000]
Update IPSET_VERSION to 4.2

9 years agoMigrating to libgda-4, some APIs changes
Neutron Soutmun [Sun, 30 May 2010 10:23:04 +0000]
Migrating to libgda-4, some APIs changes

  * Migrating to libgda-4, some APIs changes (no backward compatibility)
  * libgda-3 stop supporting at 0.1.7

9 years agoDo nothing when no vipuser request
Neutron Soutmun [Tue, 25 May 2010 04:37:05 +0000]
Do nothing when no vipuser request

9 years agoAdd tools/rahunas-vipmap.in
Neutron Soutmun [Tue, 11 May 2010 17:52:29 +0000]
Add tools/rahunas-vipmap.in

9 years agoAdd new task the vipmap task
Neutron Soutmun [Tue, 11 May 2010 17:34:20 +0000]
Add new task the vipmap task

9 years agoAdd vip_ip field into dbset table in database
Neutron Soutmun [Tue, 11 May 2010 10:56:57 +0000]
Add vip_ip field into dbset table in database

9 years agoAdd vipmap to rahunas config
Neutron Soutmun [Tue, 11 May 2010 10:46:20 +0000]
Add vipmap to rahunas config

  * Add vipmap to rahunas config.
  * firwall script now setup the vipmap properly.

9 years agoIgnore error warning on kill farpd process
Neutron Soutmun [Tue, 11 May 2010 08:16:41 +0000]
Ignore error warning on kill farpd process

9 years agoAdd vipmap to config and scripts
Neutron Soutmun [Tue, 11 May 2010 06:19:48 +0000]
Add vipmap to config and scripts

10 years agoBump version to 0.1.8
Neutron Soutmun [Sat, 19 Sep 2009 11:46:23 +0000]
Bump version to 0.1.8

10 years ago=== Release 0.1.7 === rahunas-0.1.7
Neutron Soutmun [Sat, 19 Sep 2009 11:45:30 +0000]
=== Release 0.1.7 ===

10 years agoYet another fix firewall script for _ext_fw
Neutron Soutmun [Sat, 19 Sep 2009 11:40:33 +0000]
Yet another fix firewall script for _ext_fw

  * Keep the external interfaces list in state file for inter-call process

10 years agoFix firewall script to stop _ext_fw properly
Neutron Soutmun [Sat, 19 Sep 2009 11:05:11 +0000]
Fix firewall script to stop _ext_fw properly

10 years agoBump version to 0.1.7
Neutron Soutmun [Sat, 19 Sep 2009 09:20:28 +0000]
Bump version to 0.1.7

10 years ago=== Release 0.1.6 === rahunas-0.1.6
Neutron Soutmun [Sat, 19 Sep 2009 09:13:38 +0000]
=== Release 0.1.6 ===