Question

Why my mac address is not in the iptable log info?

  • Posted February 11, 2015

Here is one of my iptables log info:

Feb 8 12:08:44 change kernel: [115096.483275] [UFW BLOCK] IN=eth0 OUT= MAC=a1:a2:a3:a4:a5:a6:4c:96:14:ff:df:f0:08:00 SRC=x1:x2:x3:x4:x5:X6 DST=y1:y2:y3:y4:y5:y6 LEN=52 TOS=0x00 PREC=0x00 TTL=115 ID=15618 DF PROTO=TCP SPT=6718 DPT=80 WINDOW=8192 RES=0x00 SYN URGP=0

src =x1:x2:x3:x4:x5:X6 is my ip DST=y1:y2:y3:y4:y5:y6 is my vps ip

MAC=a1:a2:a3:a4:a5:a6:b1:b2:b3:b4:b5:b6 neither a1:a2:a3:a4:a5:a6 nor b1:b2:b3:b4:b5:b6 is my mac address, why ?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You most likely made a mistake when you compared the MAC addresses.

Showing us the actual log line as well as the output of “ip addr” should confirm this.