tunnelserver is mixing packet streams

Bug #1396443 reported by Sam Stavinoha on 2014-11-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
satori
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  Edit
Everyone can see this information.

Other bug subscribers