Last active
September 12, 2019 15:36
-
-
Save 4383/4cf5ace3e9451e4825b7974ed76c0379 to your computer and use it in GitHub Desktop.
Drop rabbitmq trafic
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
sudo iptables -I 1 INPUT -p tcp --sport 5672 --j DROP # source | |
sudo iptables -I 1 INPUT -p tcp --dport 5672 --j DROP # destination | |
<wait for heartbeat failures> | |
sudo iptables -D INPUT 1 | |
sudo rabbitmqctl -p test list_queues name messages messages_unacknowledged | grep reply | |
reply_f4b9a59c84b04857ae8ed992c618eaba 0 0 | |
reply_bef3bbc2619247b0b287d19bfd685de3 0 0 | |
reply_e6151828c288457e9cc01e5e6167e4e3 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment