Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Iptables and UFW issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Mon Nov 04, 2019 11:40 am    Post subject: Iptables and UFW issue Reply with quote

in my rc.conf log having this error:
* Starting ufw ...
ip6tables-restore: line 142 failed

Problem running '/etc/ufw/before6.rules'
* Failed to start ufw.
[ !! ]
* ERROR: ufw failed to start

Code:

sudo /usr/share/ufw/check-requirements
Has python: pass (binary: python2.7, version: 2.7.16, py2)
Has iptables: pass
Has ip6tables: pass

Has /proc/net/dev: pass
Has /proc/net/if_inet6: pass

This script will now attempt to create various rules using the iptables
and ip6tables commands. This may result in module autoloading (eg, for
IPv6).
Proceed with checks (Y/n)? Y
== IPv4 ==
Creating 'ufw-check-requirements'... done
Inserting RETURN at top of 'ufw-check-requirements'... done
TCP: pass
UDP: pass
destination port: pass
source port: pass
ACCEPT: pass
DROP: pass
REJECT: pass
LOG: pass
hashlimit: FAIL
error was: iptables: No chain/target/match by that name.
limit: pass
ctstate (NEW): pass
ctstate (RELATED): pass
ctstate (ESTABLISHED): pass
ctstate (INVALID): pass
ctstate (new, recent set): pass
ctstate (new, recent update): pass
ctstate (new, limit): pass
interface (input): pass
interface (output): pass
multiport: pass
comment: pass
addrtype (LOCAL): pass
addrtype (MULTICAST): pass
addrtype (BROADCAST): pass
icmp (destination-unreachable): pass
icmp (source-quench): pass
icmp (time-exceeded): pass
icmp (parameter-problem): pass
icmp (echo-request): pass


I am guessing has to do with hashlimit.. Am I missing a module in Kernel?
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 451
Location: France

PostPosted: Mon Nov 04, 2019 12:42 pm    Post subject: Reply with quote

Hello.

Most probably... Some insight here ?

++
Gi)
Back to top
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Mon Nov 04, 2019 4:08 pm    Post subject: Reply with quote

Well now I am getting this error

Has ip6tables: ERROR: could not find 'ip6tables'

in my /etc/default/ufw I have IPV6="no"

I want to disable Ipv6 and thought I done so.

However, when I check UFW status says active.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum