UFW (enable and iptables fails)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Invalid
|
Undecided
|
Unassigned | ||
ufw (Gentoo Linux) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, i have:
EDIT: more info that you request :D
net-firewall/
Latest version available: 1.4.16.3
Latest version installed: 1.4.16.3
x11tete11x@Jarvis ~ $ uname -r
3.6.8-gentoo
also i tried with two versions of ufw and iptables and same issue
i havent any problem to emerge (i already have in my kernel netfilter options)
and yes i have ipv6 active in my kernel
END EDIT :D
ufw 0.33-r1
kcm-ufw 0.4.3
when i run ufw enable:
ERROR: problem running ufw-init
iptables-restore: line 35 failed
ip6tables-restore: line 35 failed
Problem running '/etc/ufw/
Problem running '/etc/ufw/
then i do ufw reset and again ufw enable:
ERROR: problem running ufw-init
iptables-restore: line 11 failed
Problem running '/etc/ufw/
also i have a strage problem with frontend kcm-ufw, because i cant set "enable" when i just go back and go in again always show "disable", so i do eselect python set 1 (to choose python 2) and it works relatively good (because it says that it's working but ufw daemon just dont work)
here is the ebuild if helps http://
any suggest?
Im on Gentoo x64. Sorry i speak little english, thx!
EDIT: info requested:
Jarvis x11tete11x # cat /etc/ufw/
*filter
:ufw-user-input - [0:0]
:ufw-user-output - [0:0]
:ufw-user-forward - [0:0]
:ufw-before-
:ufw-before-
:ufw-before-
:ufw-user-
:ufw-user-
:ufw-user-
:ufw-after-
:ufw-after-
:ufw-after-
:ufw-logging-deny - [0:0]
:ufw-logging-allow - [0:0]
:ufw-user-limit - [0:0]
:ufw-user-
### RULES ###
### END RULES ###
### LOGGING ###
-A ufw-after-
-A ufw-after-
-I ufw-logging-deny -m conntrack --ctstate INVALID -j RETURN -m limit --limit 3/min --limit-burst 10
-A ufw-logging-deny -j LOG --log-prefix "[UFW BLOCK] " -m limit --limit 3/min --limit-burst 10
-A ufw-logging-allow -j LOG --log-prefix "[UFW ALLOW] " -m limit --limit 3/min --limit-burst 10
### END LOGGING ###
### RATE LIMITING ###
-A ufw-user-limit -m limit --limit 3/minute -j LOG --log-prefix "[UFW LIMIT BLOCK] "
-A ufw-user-limit -j REJECT
-A ufw-user-
### END RATE LIMITING ###
COMMIT
Jarvis x11tete11x # cat /etc/ufw/
*filter
:ufw6-user-input - [0:0]
:ufw6-user-output - [0:0]
:ufw6-user-forward - [0:0]
:ufw6-before-
:ufw6-before-
:ufw6-before-
:ufw6-user-
:ufw6-user-
:ufw6-user-
:ufw6-after-
:ufw6-after-
:ufw6-after-
:ufw6-logging-deny - [0:0]
:ufw6-logging-allow - [0:0]
:ufw6-user-limit - [0:0]
:ufw6-user-
### RULES ###
### END RULES ###
### LOGGING ###
-A ufw6-after-
-A ufw6-after-
-I ufw6-logging-deny -m conntrack --ctstate INVALID -j RETURN -m limit --limit 3/min --limit-burst 10
-A ufw6-logging-deny -j LOG --log-prefix "[UFW BLOCK] " -m limit --limit 3/min --limit-burst 10
-A ufw6-logging-allow -j LOG --log-prefix "[UFW ALLOW] " -m limit --limit 3/min --limit-burst 10
### END LOGGING ###
### RATE LIMITING ###
-A ufw6-user-limit -m limit --limit 3/minute -j LOG --log-prefix "[UFW LIMIT BLOCK] "
-A ufw6-user-limit -j REJECT
-A ufw6-user-
### END RATE LIMITING ###
COMMIT
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Thanks for reporting a bug. Can you provide the following: user/user. rules is an interesting location for the user rules. Is that the normal location on Gentoo? ufw/check- requirements (needs to be run as root. Also, the location may be different on gentoo) user/user. rules
* /etc/ufw/
* what is the output of the following command: /usr/share/
* attach /etc/ufw/