Skip to content

Commit

Permalink
Fix Ported for 201811 for master (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdosi authored Jun 24, 2020
1 parent 6d804ef commit ad7e36b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/roles/test/tasks/qos_sai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@
ansible_shell_type: docker
ansible_python_interpreter: docker exec -i bgp python

- name: Add iptables rule to drop BGP SYN Packet from peer so that we do not ACK back
shell: "iptables -A INPUT -j DROP -p tcp --destination-port bgp"
- name: Add iptables rule to drop BGP SYN Packet from peer so that we do not ACK back. Add at top so existing rules don't have precedence over it.
shell: "iptables -I INPUT 1 -j DROP -p tcp --destination-port bgp"
become: true

- name: Add ip6tables rule to drop BGP SYN Packet from peer so that we do not ACK back
shell: "ip6tables -A INPUT -j DROP -p tcp --destination-port bgp"
- name: Add ip6tables rule to drop BGP SYN Packet from peer so that we do not ACK back. Add at top so existing rules don't have precedence over it.
shell: "ip6tables -I INPUT 1 -j DROP -p tcp --destination-port bgp"
become: true

- meta: flush_handlers
Expand Down

0 comments on commit ad7e36b

Please sign in to comment.