Skip to content

mxrouterctl: Implement hash:net ipset #464

Merged
merged 1 commit into from
May 13, 2025
Merged

mxrouterctl: Implement hash:net ipset #464

merged 1 commit into from
May 13, 2025

Commits on May 13, 2025

  1. mxrouterctl: Implement hash:net ipset

    Example:
    
        ipset('mpg-netze', 'hash:net', '/etc/local/mxrouter/blacklists/mpg-netze', 'counters');
        [...]
        rule('filter', 'wisnet-out', '-d 141.14.16.17 -p tcp --dport 80 -m set --match-set mpg-netze src -j ACCEPT');  # ohb.molgen.mpg.de
    
    With the file containing CIDR-Addresses and comments:
    
        [...]
        141.5.255.252/31
        141.5.255.254/31
        141.14.8.0/23
        [...]
    
    This change was done locally on bka on 8.5.2025, than forgotten, than
    disted away but was luckily collected by pbackup :-)
    donald committed May 13, 2025
    Configuration menu
    Copy the full SHA
    f8ae5d9 View commit details
    Browse the repository at this point in the history