proxy - Generating requests which appear to be coming from multiple IP's -
we trying create simulation script need send tcp packet data server in way appears coming different ip every time. need emulate multiple devices ( different ip) sending data server. server creates new connection request coming in new ip. best possible way achieve ? there way of using proxy servers or sort of virtualization accomplish ?
what want use ip aliasing. allows create virtual network interfaces. each virtual interface can have 1 or more ip addresses assigned it.
this link shows how in linux.
link shows how in windows.
next clients need specify of addresses use. use getifaddrs() enumerate available addresses. use bind() system call on socket before connect(). way can have multiple clients , each 1 use different source ip address. post has details.
Comments
Post a Comment