Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Administrative interface #2

Closed
lolocohen opened this issue Mar 3, 2019 · 0 comments
Closed

Administrative interface #2

lolocohen opened this issue Mar 3, 2019 · 0 comments
Assignees
Labels
feature request suggestion for a new feature
Milestone

Comments

@lolocohen
Copy link
Owner

What is your idea?

It would be nice to be able to list defined entries, add new ones, modify or delete existing ones, while forward4j is running.

What are the expected benefits and drawbacks?

  • ability to change the configuration without interrupting forwarded traffic
  • forwarder4j could be run as a background service (e.g. Unix daemon or Windows service) and configuration changes wouldn't require a restart

Are you foreseeing any hurtles or drawbacks?

This will probably compelxify the code, with the administration part possibly bigger than the runtmle part.

Do you have suggestions on how to implement it?

  • keep it as simple as possible (KISS)
  • initial idea is to use raw socket communication on a configurable port, and send commands strings like:
    • ./f4j-admin.sh list to list all entries, possiblly with some kind of expression to filter the results
    • ./f4j-admin.sh +local_port=host:port to add a new entry or change an existing one
    • ./f4j-admin.sh -local_port to remove an existing entry
    • possibiltiy to send multiple commands, separated by some delimiter (|, ; or , ?)
@lolocohen lolocohen added the feature request suggestion for a new feature label Mar 3, 2019
@lolocohen lolocohen modified the milestones: v0.3, v0.4 Mar 3, 2019
lolocohen added a commit that referenced this issue Mar 7, 2019
lolocohen added a commit that referenced this issue Mar 7, 2019
@lolocohen lolocohen self-assigned this Apr 12, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request suggestion for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant