Score:1

How to fix "xt_hashlimit: size too large, truncated to 1048576" showing in dmesg?

ng flag

Ubuntu 18.04
Bash 4.4.0

The command dmesg -T shows the following over and over again:

[Wed Jul  7 18:24:50 2021] xt_hashlimit: size too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: size too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: size too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: size too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: size too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576
[Wed Jul  7 18:24:50 2021] xt_hashlimit: max too large, truncated to 1048576

Where can I set this so this message does not appear any longer?

hr flag
It looks like this is likely related to the `hashlimit` [iptables extension](https://ipset.netfilter.org/iptables-extensions.man.html). Do you recall configuring such an iptables rule?
Curious Sam avatar
ng flag
@steeldriver In my `/etc/rc.local` file I do load /sbin/modprobe xt_recent `/sbin/modprobe ip_conntrack`, `/sbin/modprobe ip_conntrack_ftp`.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.