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

Conversation

donald
Copy link
Collaborator

@donald donald commented May 13, 2025

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 donald force-pushed the mxrouter-add-ipash branch 2 times, most recently from 79fb374 to 6770fba Compare May 13, 2025 06:31
@donald donald changed the title mxrouterctl: Implement hash:ip ipsets mxrouterctl: Implement hash:net ipsets May 13, 2025
@donald donald changed the title mxrouterctl: Implement hash:net ipsets mxrouterctl: Implement hash:net ipset May 13, 2025
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 donald merged commit ccaa47a into master May 13, 2025
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant