Feature #11380
closed
PHP shell playback script to modify Alias contents
Added by Viktor Gurov almost 4 years ago.
Updated over 3 years ago.
Category:
Aliases / Tables
Plus Target Version:
21.05
Description
It would be very helpful
/etc/phpshellsessions/aliasmod script with a syntax:
aliasmod <add/del> <Aliasname> <Entry>
examples:
add to Alias:
aliasmod add PublicDNS 77.88.8.8
remove from Alias:
aliasmod del MyServers 192.168.1.33
- Status changed from New to Pull Request Review
- Assignee set to Viktor Gurov
- Target version set to CE-Next
- Status changed from Pull Request Review to Feedback
PR has been merged. Thanks!
- % Done changed from 0 to 100
Hi,
Would you mind putting an option to add a description on alias and entries?
Cheers,
- Target version changed from CE-Next to 2.6.0
- Status changed from Feedback to Resolved
Tested in
2.6.0-DEVELOPMENT (amd64)
built on Sat May 08 01:04:01 EDT 2021
FreeBSD 12.2-STABLE
Works as described. I can add and remove IPs or Host entries to existing Host(s) type IP aliases. It doesn't add anything to Network(s) types, Port(s), etc.
Marking the ticket resolved.
- Plus Target Version set to 21.05
Already present on 21.05 builds.
- Subject changed from pfSsh.php script to modify Alias to PHP shell playback script to modify Alias contents
Updating subject for release notes.
- Target version changed from 2.6.0 to 2.5.2
Also available in: Atom
PDF