OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: kyferez on July 09, 2021, 09:49:10 pm

Title: Alias - Disable Auto blocking enhancement and how to get all the current entries
Post by: kyferez on July 09, 2021, 09:49:10 pm
I need to copy out all the IPs in an alias. Is there any way to alter how it displays the IPs? I really, really dislike the auto-blocking format used because:

Can we at least have an option to disable the auto-blocking and maybe use a CSV or 1 entry per line format?
Also in the interim, is there any way to copy all the IPs it has in it now from the config?
Title: Re: Alias - Disable Auto blocking enhancement and how to get all the current entries
Post by: Fright on July 10, 2021, 04:16:08 pm
hi
could you please describe the problem in more detail? (with screenshots it would be even more convenient)
Title: Re: Alias - Disable Auto blocking enhancement and how to get all the current entries
Post by: newsense on July 10, 2021, 06:21:53 pm
hi
could you please describe the problem in more detail? (with screenshots it would be even more convenient)

Save/Download the configuration file and open it in a text editor.
Title: Re: Alias - Disable Auto blocking enhancement and how to get all the current entries
Post by: kyferez on July 10, 2021, 06:31:39 pm
hi
could you please describe the problem in more detail? (with screenshots it would be even more convenient)
See image. I've got a bunch of IPs in an Alias. Each IP is in a blueish gray box.

These boxes prevents editing them as text meaning I cannot easily organize them (without full delete and re-adding them) and they do not self-organize by octet.

You cannot edit an IP easily. You have to delete the entire IP address and reenter it. This is tedious for many IPs.

I can't copy the full list of IPs out of the field. Copy and paste do not work. Can we please have an option to simply leave them as text?

Thanks!
Title: Re: Alias - Disable Auto blocking enhancement and how to get all the current entries
Post by: Fright on July 10, 2021, 07:19:46 pm
@kyferez
what OPN version and browser?
copy\paste (browser depended) added in 21.1.5 afaik
https://github.com/opnsense/changelog/blob/8432aa1d2fd2092a2c80cd343402fe61c97db415/community/21.1/21.1.5#L34
Title: Re: Alias - Disable Auto blocking enhancement and how to get all the current entries
Post by: kyferez on July 11, 2021, 10:18:15 pm
@kyferez
what OPN version and browser?
copy\paste (browser depended) added in 21.1.5 afaik
https://github.com/opnsense/changelog/blob/8432aa1d2fd2092a2c80cd343402fe61c97db415/community/21.1/21.1.5#L34
Oops I read my version as 21.1 but was 20.1. I upgraded to the latest version and the Copy option does work. However the remainder of the items still exist, though I can at least more easily work around it by using the copy option.
1.   It's impossible to organize (without copy, manual organize, paste)
2.   It prevents editing the IP (or any item) once it becomes 'blocked'

I'd still like to request the ability to disable the "blocking" of the alias item.