Flussonic

Parallel_auth.erl with Flussonic 19.01

Our flussonic communicates with 3 backends - each is specified in the file “parallel_auth.erl” and this is specified in the flussonic.conf file.

Today we updated the server to version 19.01 - and this has broken this function

As a workaround, we added our busiest server’s IP to stalker authentication, but this still leaves the other two servers unable to authenticate.

What can we do to correct this issue OR downgrade to previous version?

Hi,

In first I recommend upload debug data https://flussonic.com/doc/troubleshooting#support and send UID to support https://flussonic.com/support

Also, you can try to configure several backends via auth_backend https://flussonic.com/doc/authorization/authorization-configurator#config

Hi
I downgraded to Flusonnic 18.11 to get things going again - however I want to test this in 18.11 before upgrading again.
Previously, I had an allow.txt which allowed some other IP addresses of other flussonic servers, this file contained 1.2.3.4 and 5.6.7.8 for example
I also had a backends.txt file with the Ministra auth URLs inside
These were specified by a line in the config file -
auth /etc/flussonic/parallel_auth.erl whitelist=allow.txt blacklist=deny.txt;

I understand this system is to be discontinued in 19.01 and this is the reason I had problem. Following the instruction in your link, I have removed the old “auth” line out of flussonic.conf, replacing this with the lines
auth_backend main {
allow ip 1.2.3.4;
allow ip 5.6.7.8;
backend http://ministra1/stalker_portal/server/api/chk_flussonic_tmp_link.php;
backend http://ministra2/stalker_portal/server/api/chk_flussonic_tmp_link.php;
}

However, when I reload flussonic - all IP’s have access to play streams - it is like system is totally open to everyone

I have the same problem too. Flussonic 18.11. Bu,t however, when I reload flussonic - No IP addresses will play a stream.

Hi,
After you configure your auth backend via configurator you need to enable it for stream.
For example:

auth_backend main {
  allow ip 1.2.3.4;
  allow ip 5.6.7.8;
  backend http://...;
  backend http://...;
}

stream my_stream {
  url udp://...;
  auth auth://main;
}