tunnelserver is mixing packet streams

Bug #1396443 reported by Sam Stavinoha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
satori
Confirmed
Critical
Sam Stavinoha

Bug Description

When running multiple instances of satori.smb.SMBClient() with gateways, the tunnelserver backing the gateway was having its attributes overridden by every subsequent thread, which caused the existing instances to send their packets to the wrong host, causing ugly & random errors.

https://github.com/stackforge/satori/blob/5f7272abf7d44d5b3838eb0d9f6e23f416b5b60b/satori/tunnel.py#L130-L131

These attributes should be attached to either the Handler instance or the Server instance, not to the class.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.