Score:0

Is there anything similar to hashlimit for mac address?

in flag

The hashlimit module works basically like ‘limit’ but can be used with source IP, destination port, destination IP and source port, thanks to the –-hashlimit-mode option. Is there anything similar that allows to use the mac address as well (something like "–-hashlimit-mode srcmac,dstmac")?

us flag
Could you describe what is the actual issue you are trying to solve?
Harry avatar
in flag
I'm trying to solve a message logging problem. Messages contain informations about the source and destination (IP address, port and mac address). I want to avoid the logging of two identical messages for a certain period of time and I can do this pretty well using hashlimit module, but it doesn't consider the mac address. So two messages with the same IP address and port but with different mac address will be considered identical and only one will be logged.
us flag
Why would there be different MAC addresses for a certain 5-tuple of L3/L4 address combination?
Harry avatar
in flag
Because the device has got more than one ethernet network card.
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.