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

[WIP] Openwrt firewall #162

Draft
wants to merge 45 commits into
base: master
Choose a base branch
from
Draft

[WIP] Openwrt firewall #162

wants to merge 45 commits into from

Commits on Apr 2, 2019

  1. Configuration menu
    Copy the full SHA
    a89c7e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. Configuration menu
    Copy the full SHA
    8b7493e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Configuration menu
    Copy the full SHA
    e49605e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5cfddcc View commit details
    Browse the repository at this point in the history
  3. Establish OpenWRT firewall rule parser

    This commit adds a firewall rule UCI parser to the OpenWRT backend. This commit
    includes:
        - Fixing test_default.py to use the new parser
        - New tests in test_firewall.py
    jonathanunderwood committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    29957e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    495b22a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f792d6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6d09ae8 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Configuration menu
    Copy the full SHA
    9c08c8c View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. Add OpenWRT firewall redirect handling

    This commit:
        - Adds a schema for redirects
        - Adds a renderer and parser for redirects
        - Adds initial tests for redirects
    jonathanunderwood committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a9cb284 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2020

  1. Fix redirect weekdays and monthdays handling

    Treat these parameters as an array, and drop support for negating
    the values with a "!" in JSON as it is unneeded.
    jonathanunderwood committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    b9cf322 View commit details
    Browse the repository at this point in the history
  2. Enable negation when parsing monthdays and weekdays

    This change enables parsing of the "!" character for monthdays
    and weekdays paraemters of a firewall redirect object when present
    in UCI configuration.
    
    This change does not add support for negation in NetJSON config.
    jonathanunderwood committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    3dd9f67 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9aff7a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b21ac81 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    986a49f View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2020

  1. Configuration menu
    Copy the full SHA
    c5a79ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51a254f View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2020

  1. Refactor the OpenWRT schema for ease of reading

    This commit decomposes the OpenWRT schema, splitting out the firewall part. This
    makes evolving the schema easier.
    jonathanunderwood committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    f0aac95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    976ecea View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Configuration menu
    Copy the full SHA
    ec27da2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d82e0e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b3438c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f6c0fc View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2021

  1. Configuration menu
    Copy the full SHA
    4c134bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4aa5e9e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e65f06c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84787b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    89d80b0 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2021

  1. Configuration menu
    Copy the full SHA
    2bd9f08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd7186f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3413b94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4f18cf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    657f03b View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. Configuration menu
    Copy the full SHA
    fe2404a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc7dc88 View commit details
    Browse the repository at this point in the history
  3. [openwrt] Fix firewall defaults parser

    The defaults section can be empty, so when parsing UCI to netjson
    it is necessary to remove the defaults section if it is empty.
    jonathanunderwood committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    f15cf3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    47e5530 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2021

  1. Configuration menu
    Copy the full SHA
    006b196 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89a4bed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    775707c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    81b17a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2021

  1. Configuration menu
    Copy the full SHA
    07305f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2536dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3b51afe View commit details
    Browse the repository at this point in the history
  4. [openwrt] Remove config_name handling in firewall

    This removes the remnants of an attempt to manage older firewall
    configurations from before the firewall schema was introduced.
    However, this handling was incomplete and flawed, and so this code
    is pointless.
    jonathanunderwood committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    8c6ac92 View commit details
    Browse the repository at this point in the history