7 ms·
I want to add a few notes useful for packet crafting. AWS, Google Cloud, and Azure don't work at layer 2 (Ethernet) as expected since they provide services at l
by wslh 8y ago
I want to add a few notes useful for packet crafting. AWS, Google Cloud, and Azure don't work at layer 2 (Ethernet) as expected since they provide services at layer 3 and up.
For example, if you modify the MAC destination address it will not work in AWS. To be able to do that you should disable source/destination checks as is specified in [1].
The last time I checked you cannot do that in Google Cloud or Microsoft Azure.
When we experienced this issue, Reddit was the best resource for answers. I put the Reddit threads as they can help others working in projects requiring packet crafting:
https://www.reddit.com/r/sysadmin/comments/51xypj/vpc_amazon_virtual_private_cloud_issues_with/ https://www.reddit.com/r/sysadmin/comments/51xypj/vpc_amazon...
https://www.reddit.com/r/networking/comments/51y52n/aws_vpc_issues_with_crafted_network_packets/ https://www.reddit.com/r/networking/comments/51y52n/aws_vpc_...
https://www.reddit.com/r/sysadmin/comments/533e14/google_compute_engine_issues_with_crafted_network/ https://www.reddit.com/r/sysadmin/comments/533e14/google_com...
[1] https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#EIP_Disable_SrcDestCheck https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Ins...
- CloudNetworking 8y agoAnd for those curious as to how/why this works this way, Azure has published papers on their virtual switch: https://www.microsoft.com/en-us/research/project/azure-virtual-filtering-platform/#!publications https://www.microsoft.com/en-us/research/project/azure-virtu...