Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to simulate network problems #235

Closed
grafin opened this issue Jul 4, 2022 · 1 comment
Closed

Ability to simulate network problems #235

grafin opened this issue Jul 4, 2022 · 1 comment

Comments

@grafin
Copy link
Member

grafin commented Jul 4, 2022

Currently there is no way to block traffic between nodes when using UNIX sockets. For some test current approach to disconnect instances via box.cfg.replication doesn't work, because it closes the connection and the other side notices the disconnect almost immediately (e.g. tarantool/tarantool#7141).

In two words, I want something like:

sudo iptables -I INPUT -p tcp --sport 3301 -j DROP
sudo iptables -I INPUT -p tcp --dport 3301 -j DROP

But for UNIX sockets.

It would be great, if there was a 'proxy' helper which could block all traffic, without closing the connection.

@grafin grafin changed the title Ability to simultae network problems Ability to simulate network problems Jul 4, 2022
@sergos sergos added the teamS label Jul 22, 2022
@sergos sergos added teamX and removed teamS labels Oct 18, 2022
@TarantoolBot TarantoolBot removed the teamX label Jun 7, 2023
@grafin
Copy link
Member Author

grafin commented Sep 27, 2023

Done in faddd6c

@grafin grafin closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants