Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

POC: Adding config based ports #229

Merged
merged 8 commits into from
May 6, 2019
Merged

Conversation

ryanolee
Copy link

@ryanolee ryanolee commented Apr 28, 2019

What is this?

This PR is a preposed solution to the issues outlined here #228. It aims to add more customisation to the ports exposed when using the -f option.

How does it work?

A new set of options (--allow-config and --allow-config-json) have been added. These options load a JSON config object that gets converted into a series of ip table rules that get loaded before the firewall to exclude certain ports.

Current state

This code had been tested in a docker env (which I can add to a separate PR if there is interest in that) that does not fully cover all of the code In this PR. More testing will be needed on this front if we do want to go forwards with this idea. Additionally we will likely want to add testing around this before merging

Let me know if this is set up ok as it is my first real Open Source PR 😄!

Any commentary on it would be of great help

jotyGill and others added 8 commits September 13, 2018 11:06
This resolve the issue jotyGill#208 :
This remove the "/" in the regex and order the server by only mean ping if the mean deviation is not present.
added missing space to __main__ for dhcp options to OpenVPN
@ryanolee ryanolee changed the base branch from master to test May 4, 2019 23:57
@jotyGill
Copy link
Owner

jotyGill commented May 6, 2019

Again thank you for putting time into this.

my first real Open Source PR smile!
Welcome! (setup looks good to me)

I'll merge this now to apply my changes on top. we'll see what breaks.

@jotyGill jotyGill merged commit cebdeea into jotyGill:test May 6, 2019
@ryanolee
Copy link
Author

ryanolee commented May 7, 2019

🙏

@jotyGill jotyGill mentioned this pull request Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants