Skip to contentSkip to conversation

macipmap (ipset) matching

DISCUSSION Mr Dash Four 2 participants 3 messages Sep 28, 2010 – Sep 29, 2010

lore
Share & tools
lore
#0 lore raw

I am trying to employ and use this, but am unable to get any match whatsoever. I have registered my own (internal) network and the relevant mac addresses for each interface, but no joy. What could be the problem? Has anybody actually tried this?

#1 lore raw
Quoted 4 lines · Mr Dash Four

I am trying to employ and use this, but am unable to get any match whatsoever. I have registered my own (internal) network and the relevant mac addresses for each interface, but no joy. What could be the problem? Has anybody actually tried this?

Could you describe exactly what do you try to do? That is the set elements to be matched and the iptables rules you entered. Also, please note the "set" match and "SET" target netfilter kernel modules always use the source MAC address from the packet.

The ipset source tree contains a testsuite with tests against all set types.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary
#2 lore raw
Quoted 8 lines
Quoted 6 lines

I am trying to employ and use this, but am unable to get any match whatsoever. I have registered my own (internal) network and the relevant mac addresses for each interface, but no joy. What could be the problem? Has anybody actually tried this?

Could you describe exactly what do you try to do?

I am creating a match rule (I am using Shorewall), which matches both IP and mac addresses, but this match is never triggered, hence my initial query.

Quoted 2 lines

The ipset source tree contains a testsuite with tests against all set types.

Thanks for that - I will look at it and see if I could use it here.