Bug #120 asks us to use the true MAC addresses of LAN local remote hosts, since some programs use this information. These commits introduces this for ARP, NTP, UDP and TCP, while it is still missing for ICMP. Jon Maloy (4): netlink: Add function to extract mac addresses from arp table arp: respond with true mac address of LAN local remote hosts udp: forward external source mac address through tap interface tcp: forward external source mac address through tap interface arp.c | 9 ++++++++ flow.c | 13 ++++++++++- flow.h | 2 ++ fwd.c | 2 +- fwd.h | 3 ++- ndp.c | 11 ++++++++++ netlink.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ netlink.h | 1 + tcp.c | 5 ++++- tcp_buf.c | 27 +++++++++++------------ tcp_internal.h | 2 +- tcp_vu.c | 5 ++--- udp.c | 29 +++++++++++-------------- 13 files changed, 130 insertions(+), 38 deletions(-) -- 2.48.1