socketwrench icon indicating copy to clipboard operation
socketwrench copied to clipboard

Spoof different IPs for each connection to websocket server

Open josephmiller2000 opened this issue 5 years ago • 5 comments

right now, i see i can send message one by one selecting which username i want to send it,

is there any option to make the connection through tor network and multiple random names instead of creating sessions one by one.

josephmiller2000 avatar Mar 05 '19 16:03 josephmiller2000

Unfortunately, as of now, all connections/sessions have to be initiated manually, and messages have to be sent through one of these connections.

I am not sure how tor comes into the picture, could you elaborate a bit on what exactly you're looking for?

asleepysamurai avatar Mar 05 '19 16:03 asleepysamurai

just to spoof the IP, i need to set tor port manually, so whenever i turn ON your application and bind it with tor network to, connect through tor network, instead of my local ip. Hope you got my point?

josephmiller2000 avatar Mar 05 '19 17:03 josephmiller2000

So you want each connection to go through a different IP address?

asleepysamurai avatar Mar 05 '19 17:03 asleepysamurai

yes, that's right.

josephmiller2000 avatar Mar 05 '19 18:03 josephmiller2000

Unfortunately this is not possible currently.

Are you doing something using the IP address on the socket server? If yes, you can change the Connection Headers prior to each connection, and add an X-Forwarded-For header with the IP address you want to spoof.

However, since the headers are maintained at the server level, you'll have to change it prior to initiating each connection.

This sounds like a bit of an edge case, but I'll tag this as a feature request, and if it gets support from other users, I'll implement it.

asleepysamurai avatar Mar 05 '19 18:03 asleepysamurai