Re: [RADIATOR] DefineFormattedGlobalVar issues after upgrade to 4.17

2017-01-26 Thread Patrik Forsberg
Well this seems to be not true except for the session database ? For example I have the same "%D" for dictionary and there it seems to be working in the same way it did for 4.13 ? O well I'll go for this for now.. just wanted to check if it was a bug or a feature :) Regards, Patri

[RADIATOR] Adding vendor identifier from sql/file ?

2017-02-20 Thread Patrik Forsberg
important is that it has to be working for both tacacs and radius .. so I can use it as handler trigger.. Regards, Patrik Forsberg ___ radiator mailing list radiator@lists.open.com.au http://lists.open.com.au/mailman/listinfo/radiator

[RADIATOR] Feature request of sort: client, nas and proxy IP for Blacklisted users ?

2017-03-27 Thread Patrik Forsberg
log. Would it be possible to add NAS IP, Client IP and possibly the Proxy(if one was used) IP to the log message ? "Access rejected for 88: Blacklisted" is sort of anonymous .. Regards Patrik Forsberg ___ radiator mailing list radiator@li

Re: [RADIATOR] matching based on one value of an attribute multiple times in request

2017-07-13 Thread Patrik Forsberg
Hello, Just throwing out an idea - You could do a pre handler hook that combines all incoming OSC-Authorize-Group values into a single value sorted so you know how they will appear to the handler. I'm not a fan of hooks but in this case it might be a working workaround :) Regards, Patrik

Re: [RADIATOR] Attributes not Defined Vendor 24757

2017-10-20 Thread Patrik Forsberg
-EXCEEDED 19 VENDORATTR 24757 WIMAX-Qos-Rate-Inbound156 string VENDORATTR 24757 WIMAX-Qos-Rate-Outbound 157 string Can't find one for 146 tho.. Something like that - no guarantees.. Regards, Patrik Forsberg From: radiator [mailto:radiator-boun

[RADIATOR] Gossip and Tacacs

2018-05-23 Thread Patrik Forsberg
(which would be preferred) ? --- Regards, Patrik Forsberg ___ radiator mailing list radiator@lists.open.com.au http://lists.open.com.au/mailman/listinfo/radiator

Re: [RADIATOR] Gossip and Tacacs

2018-05-23 Thread Patrik Forsberg
> > I was wondering if the Gossip framework will make any difference for > > Tacacs Authorization vs. Authentication ? That is if the radiator > > process is killed for whatever reason will the Gossip framework help > > it Authorize new requests ? or even help another server to authorize > > the

Re: [RADIATOR] Change order in how "include" reads files in a directory ?

2018-07-17 Thread Patrik Forsberg
Nm.. figured it out.. RTFM ;) Lexicon.. --- Regards, Patrik > -Original Message- > From: radiator On Behalf Of Patrik > Forsberg > Sent: den 17 juli 2018 16:14 > To: radiator@lists.open.com.au > Subject: [RADIATOR] Change order in how "include" reads file

[RADIATOR] Check for Client-Id with regexp ?

2018-09-17 Thread Patrik Forsberg
that optional value ? a.k.a. AddToRequest OSC-Device-Identifier="SpecialClient" And in the user clause say '' username1 Password=luser1,OSC-Device-Identifier="SpecialClient" '' ? Or do I have to make a special for this user case ? --- Rega

Re: [RADIATOR] Check for Client-Id with regexp ?

2018-09-17 Thread Patrik Forsberg
Hello, Resolved this issue myself :) [0-9]{1,3} doesn't work tho so my final solution is NAS-IP-Address = /10\.0\.0\..*/ as check item. Or " username1 Password=luser1,NAS-IP-Address = /10\.0\.0\..*/ " --- Regards, Patrik Forsberg > -Original Message- > From: rad

Re: [RADIATOR] How to log authorizations of user commands?

2019-08-27 Thread Patrik Forsberg
hit so far does that innate. It is also, kind of, logged in the radiator logfile but I'd say it's safer to get it from accounting. --- Regards, Patrik Forsberg From: radiator On Behalf Of beheerinfra...@kpn.com Sent: den 26 augusti 2019 11:04 To: radiator@lists.open.com.au Cc: beheerinfra

[RADIATOR] Strange behaviour with FarmSize 0

2020-12-08 Thread Patrik Forsberg
mSize 0 is because I have FarmSize as a variable so I wouldn't have to change the configuration more then necessary) --- Best Regards, Patrik Forsberg ___ radiator mailing list radiator@lists.open.com.au https://lists.open.com.au/mailman/listinfo/radiator

[RADIATOR] Lock Tacacs server to master instance

2020-12-08 Thread Patrik Forsberg
esn't seem to help. --- Best Regards, Patrik Forsberg ___ radiator mailing list radiator@lists.open.com.au https://lists.open.com.au/mailman/listinfo/radiator

[RADIATOR] Minor improvement to radpwtst and tacacsplustest

2020-11-24 Thread Patrik Forsberg
Hello, Made a minor patch for radpwtst and tacacsplustest so they work if you symlink them from their original directories as well.. (use RealBin instead of Bin from FindBin package). Thought I'd share it if someone else has the same issue I did  Regards, Patrik radpw.patch Description:

Re: [RADIATOR] Lock Tacacs server to master instance

2020-12-09 Thread Patrik Forsberg
Hello, That's more or less what I ended up doing.. but would be a nice feature if tacacs can't become more like radius/radsec and use gossip for session data :> //Patrik > -Original Message- > From: Hugh Irvine > Sent: den 10 december 2020 04:40 > To: Patrik Forsberg

Re: [RADIATOR] ERR: AuthLDAP2 Could not open LDAP connection to AD domain controllers

2021-01-17 Thread Patrik Forsberg
Hello, Try using port 389 for non-ssl or 636 for ssl - even if the server is DC atm. --- Best Regards, Patrik From: radiator On Behalf Of Hirayama, Pat Sent: den 16 januari 2021 00:56 To: radiator@lists.open.com.au Subject: [RADIATOR] ERR: AuthLDAP2 Could not open LDAP connection to AD domain

[RADIATOR] Tacacsplus and OSC-Authorize-Group

2021-04-28 Thread Patrik Forsberg
Hello, I’m looking at using AuthorizeGroupAttr and the attribute OSC-Authorize-Group to add commands a user is (not )allowed to run when using tacacs.. but I can’t find any documentation on how to add multiple rules to this attribute ? Adding the same multiple times are, of course, not working

Re: [RADIATOR] Tacacsplus and OSC-Authorize-Group

2021-04-29 Thread Patrik Forsberg
p = "deny service=shell cmd=*",\ OSC-Authorize-Group = "permit .* {priv-lvl=15}" Thanks for your reply it cleared that up ?? --- Regards, Patrik Forsberg -Original Message- From: radiator On Behalf Of Heikki Vatiainen Sent: den 28 april 2021 17:47 To: radiator@list

[RADIATOR] Using unix crypto ?

2021-04-13 Thread Patrik Forsberg
then “bad password”).. and the passwordlog shows the correct password being received and the hash is what is expected from the sql.. so it is apparent that it is Radiator that decides that the password is wrong for some reason.. --- Best Regards, Patrik Forsberg

Re: [RADIATOR] Using unix crypto ?

2021-04-14 Thread Patrik Forsberg
, Patrik Forsberg wrote: > I’m trying to use something like $2y$ crypto from a sql query but .. > either I’ve failed in generation of the hash (using php password_hash) > or something is missing to allow Radiator to verify against this hash .. > so I’m wondering if there are any package th

[RADIATOR] Debian Bullseye support ?

2021-08-17 Thread Patrik Forsberg
handshake key 0xce00080, needed 0xed00080) “. So.. my question is if you have any plans to release a Debian Bullseye package for “utilxs” ? --- Best Regards, Patrik Forsberg ___ radiator mailing list radiator@lists.open.com.au https://lists.open.com.au

Re: [RADIATOR] Debian Bullseye support ?

2021-08-18 Thread Patrik Forsberg
> > I recently, today, upgraded one of our radiator machines to Debian > > Bullseye and everything worked as it should except when I tried to > > start Radiator. > > > > It fails for the radiator-radius-utilxs_2.3-1 package with “ > > lib/Radius/UtilXS.c: loadable library and perl binaries are

Re: [RADIATOR] SNMP MIB for radiator

2021-08-24 Thread Patrik Forsberg
Hello, Don’t know if you got any response to this but I believe Radiator uses the default Radius MIB (https://datatracker.ietf.org/doc/draft-ietf-radius-servmib/). --- Best Regards, Patrik From: radiator On Behalf Of rohan.he...@cwjamaica.com Sent: den 24 augusti 2021 04:09 To:

[RADIATOR] radiator.service/radiator@.service enhancement

2021-08-27 Thread Patrik Forsberg
Hello, Thought I’d share a small but nice feature enhancement to systemD’s radiator.service/radiator@.service. Might be an idea to add to the standard distribution  Do systemctl edit radiator.service (and later radiator@.service if you use multi-instance variation) Add “ [Service]

Re: [RADIATOR] Debian Bullseye support ?

2021-08-23 Thread Patrik Forsberg
> The UtilXS Bullseye package is now available from packages and repos. Hello, I must be blind .. I can't see it ? xenial, buster, stretch, focal and bionic but not bullseye ? Thanks, Patrik ___ radiator mailing list radiator@lists.open.com.au

[RADIATOR] Reload Clients cache list ?

2021-10-14 Thread Patrik Forsberg
Hello, Are there any kill signal or similar to trigger a reload of the clients cache in radiator without having to restart the whole process or the usual reload of configuration as that seem a bit heavy just to reload the clients ? (should be said that I have all clients in a sql database) ---

Re: [RADIATOR] Reload Clients cache list ?

2021-10-14 Thread Patrik Forsberg
Hello, Yes I'm aware of that but there is no way to manually force an update prior to the RefreshPeriod trigger ? --- Regards, Patrik Forsberg > -Original Message- > From: Hugh Irvine > Sent: den 14 oktober 2021 10:51 > To: Patrik Forsberg > Cc: radiator@lists.open.c

Re: [RADIATOR] Reload Clients cache list ?

2021-10-20 Thread Patrik Forsberg
Hello, Looks very nice, thanks! ?? --- Regards, Patrik Forsberg > -Original Message- > From: radiator On Behalf Of Heikki > Vatiainen > Sent: den 20 oktober 2021 11:49 > To: radiator@lists.open.com.au > Subject: Re: [RADIATOR] Reload Clients cache list ? >

[RADIATOR] builddbm/buildsql and FindBin ?

2021-11-08 Thread Patrik Forsberg
Hi, Was looking over the builddm tool as I was trying to build a dbm db.. and found out that it doesn’t use the same directory detection as radpwtst and so forth. I simply copy/pasted the BEGIN clause from radpwtst and that seem to have done the trick  Might be worth putting into the next

Re: [RADIATOR] Accounting Hook ?

2022-02-17 Thread Patrik Forsberg
gh Irvine > Sent: den 14 februari 2022 10:38 > To: Patrik Forsberg > Cc: radiator@lists.open.com.au > Subject: Re: [RADIATOR] Accounting Hook ? > > > Patrik - > > When setting up this sort of system, Include files and GlobalVar’s are your > friend. > > Let me

Re: [RADIATOR] Accounting Hook ?

2022-02-17 Thread Patrik Forsberg
. (Tried it in PreProcessingHook as well with the same result) --- Best Regards, Patrik > -Original Message- > From: radiator On Behalf Of Patrik > Forsberg > Sent: den 17 februari 2022 14:50 > To: Hugh Irvine > Cc: radiator@lists.open.com.au > Subject: Re: [RADI

Re: [RADIATOR] Accounting Hook ?

2022-02-17 Thread Patrik Forsberg
for the help! ?? --- Best Regards, Patrik > -Original Message- > From: radiator On Behalf Of Patrik > Forsberg > Sent: den 18 februari 2022 08:21 > To: radiator@lists.open.com.au > Subject: Re: [RADIATOR] Accounting Hook ? > > Hm weird I tried that and it didn't work ..

Re: [RADIATOR] Accounting Hook ?

2022-02-17 Thread Patrik Forsberg
> From: radiator On Behalf Of Heikki > Vatiainen > Sent: den 17 februari 2022 18:15 > To: radiator@lists.open.com.au > Subject: Re: [RADIATOR] Accounting Hook ? > > On 17.2.2022 17.13, Patrik Forsberg wrote: > > > The extra data seem to be injected into the accounti

Re: [RADIATOR] Accounting Hook ?

2022-02-14 Thread Patrik Forsberg
age- > From: Hugh Irvine > Sent: den 11 februari 2022 22:24 > To: Patrik Forsberg > Cc: radiator@lists.open.com.au > Subject: Re: [RADIATOR] Accounting Hook ? > > > Hi Patrik - > > Good to hear from you as always. > > I recommend running separate instances for

[RADIATOR] Accounting Hook ?

2022-02-11 Thread Patrik Forsberg
Hello, Is there a hook I can use to rewrite the accounting record ? Looking at the manual the closest I can find is PreProcessingHook ? I’m trying to create a more generic accounting setup but the way I use it I only need specific records from the accounting package and depending on vendor this

[RADIATOR] Typo in the 4.26 manual

2022-05-24 Thread Patrik Forsberg
To Radiator team – Found a minor typo in the 4.26 reference manual  Under section 3.62 – AuthBY “ AuthBy OPT is suitable for authenticating 802.1X Wired and Wireless access with custom one-time password and token card authentication systems. “ Believe it should be “ AuthBy OTP is suitable for

[RADIATOR] Small patches (ServerTACPLUS.pm and builddbm)

2022-07-05 Thread Patrik Forsberg
Hello, I was so happy when I saw “ServerTACACSPLUS log level for client initiated connection terminations is now DEBUG. It's normal for the client to close TACACS+ connection.” In 4.26-10 but quickly realized that it doesn’t block the message I was out to get rid of .. so I made a patch for

[RADIATOR] LogTraceId error in LogFILE.pm

2022-06-30 Thread Patrik Forsberg
Hello, During troubleshooting I enabled “LogTraceId” and “AutoClass uuid” in Handler. After this I get “Use of uninitialized value $trace_id in concatenation (.) or string at /opt/radiator/radiator/Radius/LogFILE.pm line 93.” when doing kill USR1/USR2. (same log shows up without the “AutoClass

[RADIATOR] AuthBy OpenID or SAML ?

2023-09-15 Thread Patrik Forsberg via radiator
Hello, Are there any pre-made examples of using OpenID or SAML to authenticate users ? I noticed a SAML2 in goodies but I can’t find the SAML2 AuthBy clause in the documentation ? --- Best Regards, Patrik ___ radiator mailing list

[RADIATOR] Debian Bookworm

2023-08-24 Thread Patrik Forsberg via radiator
Hello, Do you have a package of Radiator UtilX for Debian Bookworm ? --- Best Regards, Patrik ___ radiator mailing list radiator@lists.open.com.au https://lists.open.com.au/mailman/listinfo/radiator

Re: [RADIATOR] Debian Bookworm

2023-08-24 Thread Patrik Forsberg via radiator
Nm, bullseye package worked  --- Best Regards, Patrik From: radiator On Behalf Of Patrik Forsberg via radiator Sent: Thursday, August 24, 2023 10:17 AM To: radiator@lists.open.com.au Subject: [RADIATOR] Debian Bookworm Hello, Do you have a package of Radiator UtilX for Debian Bookworm

[RADIATOR] Blacklist issue

2023-08-22 Thread Patrik Forsberg via radiator
Hello, I’m using the ”blacklist” knob in an authby to reject people I don’t like  I had an issue this weekend where the user “DEFAULT” was added to the list of users, for some reason, and after that no one could login anymore. After deleting this user all went back to normal again .. Question..

Re: [RADIATOR] Blacklist issue

2023-08-22 Thread Patrik Forsberg via radiator
for the username DEFAULT instead that is perfect.. --- Best Regards, Patrik From: Hugh Irvine Sent: Tuesday, August 22, 2023 12:33 PM To: Patrik Forsberg ; radiator@lists.open.com.au Subject: Re: [RADIATOR] Blacklist issue Hey Patrik - Very good to hear from old friends! As it happens

[RADIATOR] RadSec proxy ?

2023-12-20 Thread Patrik Forsberg via radiator
Hi, This might no longer be correct but a few versions back I tried to do like the following Client Radius Host -> RadSec -> Radius Proxy -> RadSec -> Inner Radius Host -> auth check The data received by the “Inner Radius Host” were totally corrupted for some reason and the only way I could