I have bee trying to find a way to get access to
the source MAC address through use of libipq. After looking at sources and docs,
all I have found is that there is a hw_addr entry in the ipq_packet_msg struct.
I modified the intercept.c program ot print it out, but whenever I do it comes
up null. The other entries that intercept.c prints out such as indev_name, hook,
etc. have actual information.
1 - Am I incorrect in assuming that hw_addr is
supposed to be the MAC address? If so where can I get the MAC address from
libipq?
2 - Does the MAC address get passed through the
queue mechanism? if not, how can I get the MAC address to a userspace program
using libipq or anything else?
I am sorry if this has been answered before, but I
even tried searching on google and have come up dry. Any help would be greatly
appreciated.
BTW, is there a searchable version of this mailing
list?
Iman Mayes
|
- Re: MAC address through libipq Iman Mayes
- Re: MAC address through libipq Martin MAURER