)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":26131,"name":"Eyal Leshem","email":"eyal.leshem@toganetworks.com","username":"leyal"},"change_message_id":"63c414676d63a050ea1097549fbbd54fc33ed6b5","unresolved":false,"context_lines":[{"line_number":7,"context_line":"ARP responder will reply in unicast"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"ARP responder did not modify eth_dst, which resulted in reply packet"},{"line_number":10,"context_line":"being a broadcast. If we install ARP responders for floating IPs, its"},{"line_number":11,"context_line":"better to reply in unicast."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Related-Bug: #1636829"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f201791_66df41d6","line":10,"updated":"2017-06-26 14:12:04.000000000","message":"Why those it\u0027s matter that it\u0027s floating ips?","commit_id":"e5eb59d3af65e1b654e111a74da92eff70c1b775"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"f7ce956ce6727c8ff5b3d96da73041bea96aa1b2","unresolved":false,"context_lines":[{"line_number":7,"context_line":"ARP responder will reply in unicast"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"ARP responder did not modify eth_dst, which resulted in reply packet"},{"line_number":10,"context_line":"being a broadcast. If we install ARP responders for floating IPs, its"},{"line_number":11,"context_line":"better to reply in unicast."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Related-Bug: #1636829"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f201791_43d1bb22","line":10,"in_reply_to":"5f201791_66df41d6","updated":"2017-06-27 08:44:55.000000000","message":"Because for ARPs facing the VMs, we dispatch the reply right back to the VM, and no one else will get the reply, but in case of a FIP, it is sent to the whole L2 broadcast domain (the provider network).","commit_id":"e5eb59d3af65e1b654e111a74da92eff70c1b775"}],"dragonflow/controller/common/arp_responder.py":[{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"96d965703d07021735de0e955bc50a35acd79261","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                   parser.NXActionRegMove(src_field\u003d\u0027arp_spa\u0027,"},{"line_number":66,"context_line":"                                          dst_field\u003d\u0027arp_tpa\u0027,"},{"line_number":67,"context_line":"                                          n_bits\u003d32),"},{"line_number":68,"context_line":"                   parser.NXActionRegMove(src_field\u003d\u0027eth_src\u0027,"},{"line_number":69,"context_line":"                                          dst_field\u003d\u0027eth_dst\u0027,"},{"line_number":70,"context_line":"                                          n_bits\u003d48),"},{"line_number":71,"context_line":"                   parser.OFPActionSetField(eth_src\u003dself.mac_address),"},{"line_number":72,"context_line":"                   parser.OFPActionSetField(arp_sha\u003dself.mac_address),"},{"line_number":73,"context_line":"                   parser.OFPActionSetField(arp_spa\u003dself.interface_ip),"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_e6ac63ee","line":70,"range":{"start_line":68,"start_character":9,"end_line":70,"end_character":53},"updated":"2017-06-26 22:09:14.000000000","message":"From the code, there is no place setting the eth_dst. But in a real env, the arp response seems to be unicast with original code. Not sure if there is some implicit 5 tuple fields swapped thing.\n\n[xiaohhui@fedora-df2 logs]$ sudo tcpdump -nei tap84174a97-bc arp\n\n05:58:47.158431 fa:16:3e:25:99:8f \u003e Broadcast, ethertype ARP (0x0806), length 42: Request who-has 10.0.0.1 (Broadcast) tell 20.0.0.10, length 28\n05:58:47.158973 fa:16:3e:f2:1d:e6 \u003e fa:16:3e:25:99:8f, ethertype ARP (0x0806), length 42: Reply 10.0.0.1 is-at fa:16:3e:f2:1d:e6, length 28","commit_id":"e5eb59d3af65e1b654e111a74da92eff70c1b775"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"7b3bd9ba9e778bdeb25dbd7abae3ae7982d67480","unresolved":false,"context_lines":[{"line_number":65,"context_line":"                   parser.NXActionRegMove(src_field\u003d\u0027arp_spa\u0027,"},{"line_number":66,"context_line":"                                          dst_field\u003d\u0027arp_tpa\u0027,"},{"line_number":67,"context_line":"                                          n_bits\u003d32),"},{"line_number":68,"context_line":"                   parser.NXActionRegMove(src_field\u003d\u0027eth_src\u0027,"},{"line_number":69,"context_line":"                                          dst_field\u003d\u0027eth_dst\u0027,"},{"line_number":70,"context_line":"                                          n_bits\u003d48),"},{"line_number":71,"context_line":"                   parser.OFPActionSetField(eth_src\u003dself.mac_address),"},{"line_number":72,"context_line":"                   parser.OFPActionSetField(arp_sha\u003dself.mac_address),"},{"line_number":73,"context_line":"                   parser.OFPActionSetField(arp_spa\u003dself.interface_ip),"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_c39cabc1","line":70,"range":{"start_line":68,"start_character":9,"end_line":70,"end_character":53},"in_reply_to":"5f201791_e6ac63ee","updated":"2017-06-27 08:36:58.000000000","message":"I\u0027ve tested this as well and got a broadcast reply.\n\n [stack@dimak-one dragonflow]$ sudo tcpdump -nei br-ex                                                                                                                                                                                          \n tcpdump: verbose output suppressed, use -v or -vv for full protocol decode\n listening on br-ex, link-type EN10MB (Ethernet), capture size 262144 bytes\n 08:28:12.192470 f2:d6:4d:aa:16:4d \u003e Broadcast, ethertype ARP (0x0806), length 42: Request who-has 172.24.4.24 (Broadcast) tell 172.24.4.1, length 28\n 08:28:12.192642 fa:16:3e:63:0a:10 \u003e Broadcast, ethertype ARP (0x0806), length 42: Reply 172.24.4.24 is-at fa:16:3e:63:0a:10, length 28\n\nThough what I did was a bit different, I probed the ARP responder installed by DNAT app for the floating IP.\n\nARP\u0027s RFC states that the reply should be unicast to the sender so I think we should add it to cover all cases.","commit_id":"e5eb59d3af65e1b654e111a74da92eff70c1b775"}]}
