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

Is there a way to set UA´s IP address and port? #3

Open
y-luis-rojo opened this issue Aug 8, 2018 · 1 comment
Open

Is there a way to set UA´s IP address and port? #3

y-luis-rojo opened this issue Aug 8, 2018 · 1 comment

Comments

@y-luis-rojo
Copy link
Contributor

From what I understood (apologize me if I am wrong), bbs starts UAs as OS processes with the same IP address and randomly assigned ports. Is there a way (having different interfaces) to assign specific IP address and ports to UAs?

What I want to achieve is to run all UAs in the same machine but with different IP addresses (different networks) and same port.

Thanks.

@Kaian
Copy link
Member

Kaian commented Aug 8, 2018

Hi!

IIRC, this can not be done with current steps. Accounts created in register and call steps use default library transports (which I think bind to all addresses)

But it could be done by adding some extra params to those steps or create a new one that configures a custom transport and creates the session account from it by using Lib.create_account_for_transport. Transportconfig allows configuration of port and bind_addr.

Regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants