I was learning about spoofing attacks and now confused on IP and MAC addreses. I learned that every packets(TCP, ICMP, etc..) send from a computer have an Ethernet header which contain mac address of source and destination (Hope I'm right). Is mac address have anything to do with a computer to accept or reject a packet coming over internet? For example consider a situation:
I'm sending a spoofed packet (an HTTP GET request) with my target's ip address as IP source and port 12345, to google.com.
As i dont know the mac address of target, it is my mac address on Ethernet header of the packet as mac source.
google.com will send the HTTP response to target's IP on port 12345, will the target recieve that packet if it is listening on port 12345? Or will it be rejected due to false mac address?
And do the same apply on ICMP flooding attacks?