| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Fri Apr 07, 2006 9:20 am Post subject: Xoops Module |
|
|
Hi,
Just thought I would mention here that I've created a module for Xoops that allows you to authenticate Icecast2 users against your Xoops userbase.
You can grab it from http://dev.xoops.org/modules/xfmod/project/?iceauth
The only bit that displays on your Xoops site is a block showing currently streams and a bash at the number of listeners.
Planned development includes a section allowing for requests etc.
Cheers! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Apr 07, 2006 1:54 pm Post subject: |
|
|
glad to see work in this area, I'm looking at ways to extend the auth engine to handle source client auth as well as listener auth.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Apr 07, 2006 3:34 pm Post subject: |
|
|
| Yeah... I started reading a version of the docs I found online somewhere that had stream_auth in it and it took me ages to work out why it wasn't working - having already written and tested the code!!! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Apr 07, 2006 4:00 pm Post subject: |
|
|
Try icecast 2.3-kh4 on http://mediacast1.com/~karl/ that has the current work if you want to test against your work.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Apr 08, 2006 2:21 pm Post subject: |
|
|
I'm about to start migrating to a new host. Will give it a bash after that.
Cheers! |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Mon Aug 25, 2008 10:18 am Post subject: |
|
|
And since I like to keep things in the right threads ...
I've found this module and have begun a substantial overhaul of it since I couldn't quite get it to work like I wanted it to on XOOPS 2.3 RC.
You can get the v0.21 release here:
http://home.underwood-hq.org/modules/wfdownloads/singlefile.php?cid=3&lid=6
This essentially does everything the IceAuth module did as far as authentication functions go. It also supports auth settings on a per-mountpoint basis. _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Fri Sep 05, 2008 9:12 pm Post subject: |
|
|
Updated to v0.3. Same link applies.
From the Changelog:
==[ Version 0.3 ]====[ 2008.09.05 ]==
Fixes:
* Group permissions were not saved on initial server insert since the array was not properly imploded.
Changes:
* DB: uhqiceauth_servers - Added fields for source auth counters.
* Module: Added isset() where appropriate. There should be almost no php errors in the module now.
* Admin: Index provides summary of servers and number of auth/accounting records.
* Admin: Added icons from the Crystal Project for users of the EXM interface.
* Admin: Server list ordered by server, port, and mountpoint.
Adds:
* DB: uhqiceauth_authtrail - Authentication & Accounting
* DB: uhqiceauth_accounting - Accouting for items not in the authtrail. Details in README.txt.
* Module: Pass/Fail hit counters for sources.
* Module: Log Source Authentication to DB.
* Module: Santization routine to run sanity against all known $_REQUEST variables used in SQL statements.
* Module: Added "listener_remove" action and accounting logging.
* Module: Added authentication logging for "listener_add" and "stream_auth".
* Module: Added icons for EXM interface for XOOPS 2.3 and ImpressCMS.
* Admin: Move server configuration to servers.php.
* Admin: Menu item for auth records.
* Admin: Basic authentication record with last 10 entries per type. Detail page per record is available.
* Admin: Menu item for accounting records.
* Admin: Basic accounting records.
* Admin: Headers that don't require the frameworks library ... from Zoullou.
* Admin: Check module for anonymous access, and reset if necessary. In admin/index.php. _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Sat Jul 11, 2009 7:53 pm Post subject: UHQ-IceAuth v0.5 released! |
|
|
Updated to v0.5. Same link applies.
From the changelog since the last reply:
==[ Version 0.5 ]====[ 2009.07.11 ]==
Fixes:
* Admin: Typo in text check blocks.
* Admin/Mount Records: Added a line break if there are no mountpoint records or active mountpoints.
Changes:
* Module: Update module name to "UHQ_IceAuth".
* Module: Changed parameter "hasMain" to 1. Updated scripts to change menu order/weight to "0" to hide it. This should keep any changes to the anonymous group from breaking IceCast's ability to reach the module. Appropriate detection and correction is still in place on the main module page since anonymous access to the module is required for its function.
Adds:
* Block: Add a block to display the current active mountpoints as they are known.
==[ Version 0.4 ]====[ 2008.10.21 ]==
Fixes:
* Floating text wasn't showing up on server list icons.
* Time function was returning incorrect values where seconds < 10.
Changes:
* DB: uhqiceauth_accounting - Added starttime, useragent, userip.
* Module: Modify listener_remove to handle additional fields in database.
* Module: Added generic "Insufficient Parameters" error message for multi-parameter requirements.
* Admin: Servers tab now called Mountpoints
* Admin: List icons now from the Crystal Project.
Adds:
* DB: uhqiceauth_mountlog - Logging of mount activities.
* DB: uhqiceauth_activemounts - List of active mountpoints.
* Module: Option "Not Used" for source authentication.
* Module: Handle mount logging for "mount_add" and "mount_remove".
* Admin: Menu item for mount records.
* Admin: Optional log delete on mountpoint removal.
* Admin: Basic stats for mount records, and active mount list.
* Admin: Remove mountpoint from active list ... good for stale mounts where a mount_remove is not received.
* Admin: Basic Accounting Stats (Today, last 24h, last 7d: Connections, TTSL, average time) _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
|
| Back to top |
|
 |
Liquid_Squelch
Joined: 11 Mar 2006 Posts: 56
|
Posted: Wed Jul 29, 2009 4:43 pm Post subject: |
|
|
| It would be awesome if this could also be ported to E107.. (which is the website type I use) |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Thu Jul 30, 2009 8:08 am Post subject: |
|
|
I've never written anything for another portal/CMS, so I'm not sure how hard it would actually be. A first glance at E107 suggests the module structure has some similarities, but that's about as far as I've gotten. _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Tue Mar 23, 2010 8:02 pm Post subject: UHQ-IceAuth v0.7 |
|
|
The XOOPS module has been updated again, now at v0.7. You can get it here:
http://xoops.underwood-hq.org/modules/wfdownloads/singlefile.php?cid=1&lid=3
I apologize for not posting for v0.6, so here is the changelog:
==[ version 0.7 ]====[ 2010.03.21 ]==
Fixes:
* Module: Time limits not being sent for undefined mountpoints when "Undefined Mount Handling" was set to "Always Allow", and a "Default Time Limit" set to something other than 0.
* Admin: Dynamic path changes to show icons under XOOPS 2.4 EXM/Oxygen.
Changes:
* DB: uhqiceauth_authtrail, added userrdns VARCHAR(64) to support Reverse DNS tracking.
* DB: uhqiceauth_authtrail, added authinfo INT to support standard authentication comments, failure reasons etc.
* Accounting database no longer used. The information was largely redundant to the authtrail anyway.
* Module: Improvements to DB failure reporting on some sections.
* Module: Admin/Mountpoints tab is now 100% template driven!
* Module: Admin/Authentication tab is now 100% template driven!
* Module: Admin/Authentication Details strings are now in the language files.
Adds:
* DB: uhqiceauth_uabans, single field which will contain explicitly banned user agents.
* Module: Ability to log reverse DNS along with user IP. Off by default.
* Module: Ability to disable admin update logging. These are typically how sources update info for non-Ogg streams. On by default.
* Moudle: Placeholder & database setup for useragent bans.
Notes:
* First release to be completed on a Mac.
* Development environment upgraded to XOOPS 2.4.4.
* First release to use a separate list of development notes and a test plan. This should help catch more bugs and whatnot before the 1.0 release which I would like to verify on multiple XOOPS-based platforms.
* Not as full of a release as I prefer to make, but it's been some time. That, and XOOPS 2.4 is out, which changes up some of the admin stuff.
==[ version 0.6 ]====[ 2009.11.08 ]==
Fixes:
* Admin: Fixed the button bar in the admin headers ... finally.
* Module: Time limits were not being sent for anonymous auth streams.
* Module: Invalid usernames could be logged to anonymous auth streams.
Changes:
* Admin/Mountpoints: Added intro add/delete to the mountpoint lists.
* DB: uhqiceauth_accounting, changed useragent to VARCHAR(96).
* DB: uhqiceauth_authtrail, changed useragent to VARCHAR(96).
* Module: In function uhqiceauth_header, only put HTML output, if $hdr_echo is not 0. Required to support intro push.
* readme.txt: Added section on intros.
Adds:
* Admin: Intros, new tab for intro file management.
* DB: uhqiceauth_intros, supporting a list of introductions.
* DB: unqiceauth_intromap, supports linking an introduction to a stream, with a sequence # to support multiple intros.
* DB: uhqiceauth_streampass, supports checking an alternate password for unencrypted stream logins.
* External Library: VLCcontrols by revolunet, used for preview playback (with some minor modifications).
* Module: Support "withintro" as introduced in Icecast 2.3.2-KH16. _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Sun Dec 19, 2010 5:57 am Post subject: UHQ-IceAuth 0.08 dropping on 12/20! |
|
|
After months and months of solid performance, I've picked up developing for my IceAuth module again, mostly to implement listener geolocation. There aren't a whole ton of changes, but here's what is set to be dropped on Monday:
==[ version 0.8 ]====[ 2010.12.20 ]==
Fixes:
* Intros won't go to pot if they're used on a mount with a time limit.
Changes:
* Module: If an intro is being used, be sure to set a content-type header when sending the intro downstream.
* Module: Tabs for Auth Records and Accounting Records have been renamed to Authentication and Accounting, respectively.
* Module: Includes are using more explicit file definitions, relying less on assumptions.
* Module: Admin section uses Frameworks for the header, if available.
* DB: uhqiceauth_authtrail, added support for geolocation by country code, region, and city.
* DB: uhqiceauth_authtrail, extended user agent length to 128 bytes.
* DB: uhqiceauth_uabans, extended user agent length to 128 bytes.
* DB: uhqiceauth_accounting, table has been removed as it hasn't been used in several revisions.
Adds:
* Module: Initial support for geolocation by IP. Requires UHQ-GeoLocate in order to leverage this feature.
Notes:
* Development environment now XOOPS 2.5.0!
* Updated the module logo! _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Wed Mar 02, 2011 12:02 am Post subject: UHQ-IceAuth v0.91 is out! |
|
|
Here's the information from the last two releases. Most recently, we have a bugfix release since there were a couple of things more closely enforced on PHP 5.3.5 (at least on my system, it seems):.
Download here:
http://xoops.underwood-hq.org/modules/wfdownloads/singlefile.php?cid=1&lid=3
==[ version 0.91 ]====[ 2011.03.01 ]==
Fixes:
* Module: Fixed a couple of assumptions in the mountpoint edit form.
* Module: Fixed diagnostic header output in auth.php, which may not work correctly when multiple headers are sent.
Notes:
* This is a minor bugfix release only.
==[ version 0.9 ]====[ 2011.01.06 ]==
Adds:
* Blocks: Stream Login, block displays UN/PW which can be used to authenticate to a stream. User resettable.
* Module: Basic tabs to support UA & IP Bans. Forms and functions are not yet written fully.
Fixes:
* Module: Fixed how UN/PW authentication is checked to actually use the streampass DB in all scenarios.
* Module: Deleting a monut point would fail because a depreciated function was removed in v0.8.
* Module: Removed brackets in the SQL definitions. I really need to test new installs a lot better.
* Template: Auth records will now show the correct constant if there is a failure.
Changes:
* Module: XOOPS Frameworks are now required.
* Module: Log reason for authentication failure in authtrail. Reason code is numeric and is assigned as follows:
101: Listener UN/PW Mismatch
102: Listener Group Mismatch
201: Source UN/PW Mismatch
202: Source Group Mismatch
203: Source Undefined/Unused
301: Banned User Agent
302: Banned IP Address
* Module: Username in the authtrail is left null unless there is an actual username set.
* Module: Collapsing a bit of redundant code.
* Module: All admin tabs now template driven, finally.
* Module: Templates formatted to look good in the XOOPS 2.5 default admin GUI. Earlier versions may look generously spaced apart.
* Module: Changed most instances of mountpoint to mount point, as it should be.
Notes:
* I apologize for the haste in releasing an incomplete v0.9, but the bug fixes are fairly significant. Admittedly, my QA errors focus mostly on incremental upgrades and not so much for fresh installs. _________________ ++I; |
|
| Back to top |
|
 |
iunderwood

Joined: 23 Aug 2008 Posts: 114 Location: Leicester, MA
|
Posted: Sat Jun 29, 2013 10:26 pm Post subject: v0.93 Release |
|
|
New goodies:
Release v0.93 :: 2013-06-29
Feature Adds
Now caputres and stores referers sent on a listener_add. (IceCast 2.3.3 KH)
User Agent bans are now allowed. This is a needle in a haystack search, where the needles are stored on the site, and the haystack is the UA reported by IceCast.
Code Changes
Converted to XOOPS 2.5.5 Admin GUI.
Fixes
Fixed a SQL query which prevented disconnect accounting from matching up a connection log entry in newer release of MySQL.
Notes
Development environment upgraded to XOOPS 2.5.6.
Code is now stored on GitHub!
v0.92 :: Not Released
Fixes
Module: Modified an accounting query which would fail when clocks change where daylight/standard time is used.
Notes
A bugfix release that was never actually released. _________________ ++I; |
|
| Back to top |
|
 |
|