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

ferm_filter_domains: [ 'ip' ] still creates IPv6 rules. #13

Closed
htgoebel opened this issue Nov 17, 2014 · 2 comments
Closed

ferm_filter_domains: [ 'ip' ] still creates IPv6 rules. #13

htgoebel opened this issue Nov 17, 2014 · 2 comments
Labels

Comments

@htgoebel
Copy link
Contributor

Working around issue #11, I've set ferm_filter_domains: [ 'ip' ]. But this still creates a config-file for the ipv6-domain. Here is a snippet from near the top of generated /etc/ferm/ferm.conf

# Global firewall variables
@def $domains           = (ip);
@def $ipv4_enabled      = 1;
@def $ipv6_enabled      = 0;


# Base firewall for IPv4 and IPv6
domain (ip ip6) table filter {
@htgoebel htgoebel changed the title ferm_filter_domains: [ 'ip' ] still created IPv6 rules. ferm_filter_domains: [ 'ip' ] still creates IPv6 rules. Nov 17, 2014
@drybjed
Copy link
Member

drybjed commented Nov 17, 2014

Hah. It seems that I've adde the $domains variable but forgot to use it in correct places in main configuration file, weird... Thanks for the heads up, this is a major bug. I'll fix it as soon as possible.

@drybjed drybjed added the bug label Nov 17, 2014
@drybjed
Copy link
Member

drybjed commented Nov 18, 2014

Fixed by 6bac5a3.

@drybjed drybjed closed this as completed Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants