Project

General

Profile

Actions

Feature #11380

closed
VG VG

PHP shell playback script to modify Alias contents

Feature #11380: PHP shell playback script to modify Alias contents

Added by Viktor Gurov over 5 years ago. Updated over 5 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

RB Updated by Renato Botelho over 5 years ago Actions #2

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

RB Updated by Renato Botelho over 5 years ago Actions #3

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

VG Updated by Viktor Gurov over 5 years ago Actions #4

  • % Done changed from 0 to 100

Applied in changeset commit:861d6eef97bc14679db7818a33cd9193ffe2eaf6.

TK Updated by Thiago Augusto Koroll over 5 years ago Actions #5

Hi,

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

Cheers,

JP Updated by Jim Pingle over 5 years ago Actions #6

  • Target version changed from CE-Next to 2.6.0

ML Updated by Max Leighton over 5 years ago Actions #7

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

JP Updated by Jim Pingle over 5 years ago Actions #8

  • Plus Target Version set to 21.05

Already present on 21.05 builds.

JP Updated by Jim Pingle over 5 years ago Actions #9

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

Updating subject for release notes.

JP Updated by Jim Pingle over 5 years ago Actions #10

  • Target version changed from 2.6.0 to 2.5.2
Actions

Also available in: Atom