Last active
August 29, 2015 14:05
-
-
Save btashton/4e89b197dba704ae782f to your computer and use it in GitHub Desktop.
Docker udp traffic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tcpdump -i docker0 | |
21:37:59.981107 IP ip-172-17-0-61.ec2.internal.43650 > ip-10-0-0-208.ec2.internal.distinct: UDP, length 39 | |
21:37:59.981254 IP ip-172-17-42-1.ec2.internal.43069 > ip-172-17-0-59.ec2.internal.distinct: UDP, length 39 | |
21:38:00.005553 IP ip-172-17-0-59.ec2.internal.58820 > ip-172-17-42-1.ec2.internal.43069: UDP, length 5 | |
Client at ip-172-17-0-61 sent a request to ip-10-0-0-208 (eth0 address of docker host) | |
Host (docker0) at ip-172-17-42-1 forwarded packet to ip-172-17-0-59 (Server) | |
Server at ip-172-17-0-59 replied to ip-172-17-42-1.ec2 host (docker0) | |
This last packet should have continued on the Client at ip-172-17-0-61 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server 1: | |
Client in container | |
22:15:15.232501 IP 4a1ab882592b.54207 > server_ip.distinct: UDP, length 39 | |
22:15:17.241173 IP 4a1ab882592b.48634 > server_ip.distinct: UDP, length 39 | |
22:15:18.245134 IP 4a1ab882592b.54178 > server_ip.distinct: UDP, length 39 | |
Client host | |
21:15:19.249198 IP client_ip.36485 > server_ip.distinct: UDP, length 39 | |
21:15:19.270214 IP server_ip.44997 > client_ip.36485: UDP, length 5 | |
21:15:21.257885 IP client_ip.54031 > server_ip.distinct: UDP, length 39 | |
21:15:21.279453 IP server_ip.36413 > client_ip.54031: UDP, length 5 | |
21:15:22.261956 IP client_ip.41380 > server_ip.distinct: UDP, length 39 | |
21:15:22.283351 IP server_ip.57030 > client_ip.41380: UDP, length 5 | |
21:15:23.265899 IP client_ip.58178 > server_ip.distinct: UDP, length 39 | |
21:15:23.288483 IP server_ip.36819 > client_ip.58178: UDP, length 5 | |
21:15:25.274450 IP client_ip.47060 > server_ip.distinct: UDP, length 39 | |
Docker host 2: | |
Server log in container | |
2014-08-14 22:16:21,526 | INFO | server_threaded.py:50 | request from client_ip:43166 (39 bytes in, 5 bytes out, error=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment