You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: Setting the source IP requires committing to either IPv4 or IPv6 and making a connection to one IP at a time, which means extra work when a domain name has multiple IPs. (Then again, std::net::TcpStream::connect() handles domains with multiple IPs by just trying them one at at time.)
The text was updated successfully, but these errors were encountered:
Options:
-p/--source-port <port>
— Set source port-s/--source-ip <ip>
— Set source IP addressThis can be done via
tokio::net::TcpSocket::bind()
.Problem: Setting the source IP requires committing to either IPv4 or IPv6 and making a connection to one IP at a time, which means extra work when a domain name has multiple IPs. (Then again,
std::net::TcpStream::connect()
handles domains with multiple IPs by just trying them one at at time.)The text was updated successfully, but these errors were encountered: