Project

General

Profile

Actions

Feature #11380

closed

PHP shell playback script to modify Alias contents

Added by Viktor Gurov almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Aliases / Tables
Target version:
Start date:
02/07/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
21.05
Release Notes:
Default

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

Actions #2

Updated by Renato Botelho almost 4 years ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version set to CE-Next
Actions #3

Updated by Renato Botelho almost 4 years ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov almost 4 years ago

  • % Done changed from 0 to 100
Actions #5

Updated by Thiago Augusto Koroll almost 4 years ago

Hi,

Would you mind putting an option to add a description on alias and entries?

Cheers,

Actions #6

Updated by Jim Pingle over 3 years ago

  • Target version changed from CE-Next to 2.6.0
Actions #7

Updated by Max Leighton over 3 years ago

  • 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.

Actions #8

Updated by Jim Pingle over 3 years ago

  • Plus Target Version set to 21.05

Already present on 21.05 builds.

Actions #9

Updated by Jim Pingle over 3 years ago

  • Subject changed from pfSsh.php script to modify Alias to PHP shell playback script to modify Alias contents

Updating subject for release notes.

Actions #10

Updated by Jim Pingle over 3 years ago

  • Target version changed from 2.6.0 to 2.5.2
Actions

Also available in: Atom PDF