Categories
Network radius

Adding radsecproxy to OPNsense radius setup

As soon as the radius daemon on my OPNsense box was responding properly I decided to add radsecproxy. But before doing so I had to get an idea how things work together. So keep in mind, all I have right now is a basic freeradius setup that can authenticate users against LDAP (at least with […]

Categories
Firewall LDAP Linux Network radius Ubuntu VLAN

freeradius on OPNsense: Use VLAN based on LDAP group

The main challenge to do so, is to make this change permanent (as the OPNsense web frontend does not support that kind of config modification). So here’s a short wrap up of the things required: Now edit custom.users: Rebuild the template files and restart freeradius: And the tests results look like this: In my case […]

Categories
Linux Microsoft Samba Ubuntu Windows

Samba domain controller: raising (all kinds of) level

While trying to get radius working with my Samba domain controller, I was looking for a way to get attributes like radiusTunnelPrivateGroupId into it. In the end the solution was something completely different, but anyhow: Here’s what I did to raise the domain level (and as it turns out the function and forest level) of […]

Categories
Firewall Linux Network radius WIFI WPA2

Ubiquity WiFi with WPA2 Enterprise

Due to some hardware problems with my switches (cheap Chinese ones) I recently decided to switch my core home network to Ubiquity systems. Only 3 weeks later I had to realize that my old FritzBox had lost its 2.4 GHz WiFi (seems to be quite common and may obviously go unnoticed for a long time […]

Categories
Docker IdP Linux python Shibboleth SingleSignOn SSO Virtualization

pyFF – federation metadata processing at its best

As mentioned earlier I was going to replace thiss-mdq with pyFF for my SAML federation metadata query service. Comparison thiss-mdq / pyFF On its project site thiss-mdq describes itself as The thiss-mdq is a minimal implementation of MDQ that only supports JSON data. while pyFF considers itself “a SAML metadata aggregator written in python”. Both […]

Categories
IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Ubuntu

SAML discovery service

Federated services If you want to provide web bases services in a federated (SAML) environment, you’ll need a way for your users to select their home institution in order to log into the service using their local credentials. That service is called discovery service. What’s that discovery service doing? So what happens if a user […]

Categories
Apache Encryption IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Webserver

Apache SAML authentication with mod_shib (part 2)

There Multiple SPs on same apache vhost By default the helper scripts mentioned above use some default values like file names and local hostname. So in case you need multiple SPs within a single apache web service, we’ll need to generate key pairs and metadata for each of them and use more specific settings for […]

Categories
Apache Linux SAML Shibboleth SingleSignOn SSO Webserver

Migrate apache2 mod_auth_mellon to mod_shib

I once started protecting web sites using mod_auth_mellon. Back then it seemed much easier to implement it that way, however shibboleth / mod_shib is the default implementation and therefore seems to be the better choice on the long run. For a basic introduction have a look here. Existing mellon config In this example we’ll change […]

Categories
Debian Linux Ubuntu

Finding (and fixing) incompletely installed debian packages

Some time ago I ran into trouble while installing debian packages (something went wrong and a few packages claimed to be installed – their corresponding files however didn’t make it to disk). While I was able to fix most of them from time to time I still got random errors that – after some investigation […]

Categories
ffmpeg GPU Graphics Card Multimedia Uncategorized

Building ffmpeg with libva support

…supporting AMD and Intel GPUs. If everything went fine, the output of ffmpeg should look something like this: