Re: Rewriting wimax calling-station-id with perl
Hi, All Thanks a bunch for this. I have tested both the ubuntu and CentOS/RedHat variants successfully on separate machines, integrated with postgresql. (The mysql was a typo incited by a previous install of freeradius-mysql). Ironically, i also managed to build deb packages from the 2.1.12 git source separately which included wimax, mysql and postgresql modules. Thanks, in particular, to Fajar for taking the time to update the ppa. Cheers, JamesTM Irrationally held truths may be more harmful than reasoned errors. - Thomas H. Huxley On 10/07/2011 10:13 AM, freeradius-users-requ...@lists.freeradius.org wrote: Of course there are. In RHEL5 the package is called freeradius2 and is prebuilt with wimax an mysql. The current version is 2.1.7, but if you wait a little while for the 5.8 update the latest 2.1.12 will be available. -- John Dennis jden...@redhat.com On 10/07/2011 10:13 AM, freeradius-users-requ...@lists.freeradius.org wrote: I've updated the package on https://launchpad.net/~freeradius/+archive/stable (the update is Natty-only for now), which adds freeradius-experimental package. It has rlm_wimax, rlm_sql_sqlite, rlm_caching, and more. If you're still having problem compiling yourself and don't mind using unsupported ppa, you can use that. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Rewriting wimax calling-station-id with perl
Hi, Apologies for the late response. Our mail system went down at a terrible time! From: Johan Meiringjmeir...@pcservices.co.za Subject: Re: Rewriting wimax calling-station-id with perl Which version of debian do you need packages for? I am trying to install it on ubuntu 11.04 server. If there are rpm packages suitable for CentOS 5.x prebuilt with wimax and mysql, i would take that! With respect to Alan's observation: But why worry about a deb package? Just install it from source. That works. Alan DeKok. Installing from source also dies when I make with the same libtool error on my ubuntu server 11.04 install. I know i have to add 'rlm_wimax' to src/modules/stable to have it compile, but the Make fails with or without this entry. Adding the suggestive -DIE_LIBTOOL_DIE to CFLAGS makes no difference Regards JamesTM - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Rewriting wimax calling-station-id with perl
On Thu, Oct 6, 2011 at 9:42 PM, James T. Mugauri ja...@africonnect.co.zm wrote: Installing from source also dies when I make with the same libtool error on my ubuntu server 11.04 install. I know i have to add 'rlm_wimax' to src/modules/stable to have it compile, but the Make fails with or without this entry. Adding the suggestive -DIE_LIBTOOL_DIE to CFLAGS makes no difference You mean even in the default config (without editing src/modules/stable) the make fails? Something's wrong with your system then. What was the error message? Did you try latest 2.1.12? Did you have build-essential installed? -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Rewriting wimax calling-station-id with perl
On 10/06/2011 10:42 AM, James T. Mugauri wrote: I am trying to install it on ubuntu 11.04 server. If there are rpm packages suitable for CentOS 5.x prebuilt with wimax and mysql, i would take that! Of course there are. In RHEL5 the package is called freeradius2 and is prebuilt with wimax an mysql. The current version is 2.1.7, but if you wait a little while for the 5.8 update the latest 2.1.12 will be available. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Rewriting wimax calling-station-id with perl
On Thu, Oct 6, 2011 at 9:42 PM, James T. Mugauri ja...@africonnect.co.zm wrote: I am trying to install it on ubuntu 11.04 server. If there are rpm packages suitable for CentOS 5.x prebuilt with wimax and mysql, i would take that! I've updated the package on https://launchpad.net/~freeradius/+archive/stable (the update is Natty-only for now), which adds freeradius-experimental package. It has rlm_wimax, rlm_sql_sqlite, rlm_caching, and more. If you're still having problem compiling yourself and don't mind using unsupported ppa, you can use that. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Rewriting wimax calling-station-id with perl
Hi, As you are undoubtedly aware, the ubuntu/debian package of freeradius comes without the wimax module (despite having the wimax module) installed. My own attempts to compile/install/build deb package for ubuntu always die with the infamous undefined reference to `lt_preloaded_symbols' that apparently has even Alan opting to forsake libtool. Because many people would still like to implement mac authentication on a wimax network, I was wondering whether the c subroutine that does this in the module: /* *Fix Calling-Station-Id. Damn you, WiMAX! */ vp = pairfind(request-packet-vps, PW_CALLING_STATION_ID); if (vp (vp-length == 6)) { int i; uint8_t buffer[6]; memcpy(buffer, vp-vp_octets, 6); /* *RFC 3580 Section 3.20 says this is the preferred *format. Everyone *SANE* is using this format, *so we fix it here. */ for (i = 0; i 6; i++) { fr_bin2hex(buffer[i], vp-vp_strvalue[i * 3], 1); vp-vp_strvalue[(i * 3) + 2] = '-'; } vp-vp_strvalue[(5*3)+2] = '\0'; vp-length = (5*3)+2; DEBUG2(rlm_wimax: Fixing WiMAX binary Calling-Station-Id to %s, buffer); } can be easily translated to perl to rewrite the calling-station-id (only when it does not meet the standard), as that module works fine and is correctly compiled? If so, would anyone here be able to mash up a few lines of perl code to this end? Please? I, unfortunately am not familiar enough with c to translate the logic behind the code above flawlessly. Hopefully, JamesTM Irrationally held truths may be more harmful than reasoned errors. - Thomas H. Huxley On 10/05/2011 02:10 PM, freeradius-users-requ...@lists.freeradius.org wrote: Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-requ...@lists.freeradius.org You can reach the person managing the list at freeradius-users-ow...@lists.freeradius.org When replying, please edit your Subject line so it is more specific than Re: Contents of Freeradius-Users digest... Today's Topics: 1. Re: FreeRadius with Eduroam - Accounting (Alan DeKok) 2. Re: MySQL and FreeRADIUS environment (tonimanel) 3. Re: FreeRadius with Eduroam - Accounting (Phil Mayers) 4. Mac access mixed ldap access same NAS (Alejandro Gandara) 5. Re: MySQL and FreeRADIUS environment (Fajar A. Nugraha) 6. Re: MySQL and FreeRADIUS environment (tonimanel) 7. MySQL and FreeRADIUS environment (tonimanel) 8. Re: MySQL and FreeRADIUS environment (Alan DeKok) 9. Re: MySQL and FreeRADIUS environment (tonimanel) -- Message: 1 Date: Wed, 05 Oct 2011 12:09:39 +0200 From: Alan DeKokal...@deployingradius.com Subject: Re: FreeRadius with Eduroam - Accounting To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Message-ID:4e8c2ce3.7000...@deployingradius.com Content-Type: text/plain; charset=ISO-8859-1 Arran Cudbard-Bell wrote: It's a bad way of doing it. At least with replicate every accounting packet has a chance... Using Acct-Delay-Time you'll end up dumping anywhere between 1-15 seconds accounting data for all realms if one realm is unreachable. shrug if (Packet-Transmit-Counter 5) { ok } else { ... proxy ... } If the home server doesn't get it after 5 tries, throw it away. In 2.1.10 later, IIRC. Alan DeKok. -- Message: 2 Date: Wed, 5 Oct 2011 03:49:16 -0700 (PDT) From: tonimanelantoniofernan...@fabergames.com Subject: Re: MySQL and FreeRADIUS environment To: freeradius-users@lists.freeradius.org Message-ID:1317811756198-4872269.p...@n5.nabble.com Content-Type: text/plain; charset=us-ascii My FreeRADIU version is 2.1.10 on Debian. Suggest me update? Or is a valid verstion to work and implement freeradius replication with radrelay? Thanks, -- View this message in context: http://freeradius.1045715.n5.nabble.com/MySQL-and-FreeRADIUS-environment-tp4845985p4872269.html Sent from the FreeRadius - User mailing list archive at Nabble.com. -- Message: 3 Date: Wed, 05 Oct 2011 11:50:12 +0100 From: Phil Mayersp.may...@imperial.ac.uk Subject: Re: FreeRadius with Eduroam - Accounting To: freeradius-users@lists.freeradius.org Message-ID:4e8c3664.5070...@imperial.ac.uk Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 05/10/11 09:56, Arran Cudbard-Bell wrote: On 5 Oct 2011, at 10:40, Phil Mayers wrote: On 10/05/2011 09:26 AM, Alan DeKok wrote: Phil Mayers wrote: I guess that's ok, in that it stops an
Re: Rewriting wimax calling-station-id with perl
On 2011/10/05 08:15 PM, James T Mugauri wrote: Hi, As you are undoubtedly aware, the ubuntu/debian package of freeradius comes without the wimax module (despite having the wimax module) installed. My own attempts to compile/install/build deb package for ubuntu always die with the infamous undefined reference to `lt_preloaded_symbols' that apparently has even Alan opting to forsake libtool. Which version of debian do you need packages for? -- Johan Meiring Cape PC Services CC Tel: (021) 883-8271 Fax: (021) 886-7782 Before acting on this email or opening any attachments you should read Cape PC Service's email disclaimer at: http://www.pcservices.co.za/disclaimer.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html