Skip to content

Instantly share code, notes, and snippets.

Last active Sep 12, 2019
What would you like to do?
Drop rabbitmq trafic
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