OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: rolsch on June 23, 2024, 12:21:34 PM

Title: Firewall ‣ Aliases: URL: Spamhaus: Create Alias from JSON format
Post by: rolsch on June 23, 2024, 12:21:34 PM
Hello.

Source
https://docs.opnsense.org/manual/how-tos/edrop.html#
https://www.spamhaus.org/blocklists/do-not-route-or-peer/

QuoteFor long-term users of the DROP files in text format, we recommend you update your configuration with the above JSON files as soon as your cycles allow. If you require continued long-term use of a text file, the jq command can always be used to convert the JSON.
N.B. The text files are still being populated however, in time, these will be deprecated; users will be notified with ample notice before deprecation takes place.

User-Solution
https://forum.opnsense.org/index.php?topic=40660.msg199487#msg199487
- thanks "Legally a Shrimp"

My Question
Is this change planned for the "Firewall ‣ Aliases" Function?
Title: Re: Firewall ‣ Aliases: URL: Spamhaus: Create Alias from JSON format
Post by: Cerberus on June 24, 2024, 05:17:27 PM
I would like to see json support. Currently i get my Microsoft Azure Service List json with https://github.com/thedxt/IP-Downloader. Love to see something like that in OPNsense.
Title: Re: Firewall ‣ Aliases: URL: Spamhaus: Create Alias from JSON format
Post by: charles.adams on July 20, 2024, 03:05:26 AM
Quote from: Cerberus on June 24, 2024, 05:17:27 PM
I would like to see json support. Currently i get my Microsoft Azure Service List json with https://github.com/thedxt/IP-Downloader. Love to see something like that in OPNsense.

It would be nice, I'm sure they will support it before Spamhaus drops the text tables?
Title: Re: Firewall ‣ Aliases: URL: Spamhaus: Create Alias from JSON format
Post by: sebvonhelsinki on December 05, 2024, 09:51:06 AM
I agree that this should be implemented and I have opened a feature request on GitHub: https://github.com/opnsense/core/issues/8107