nskinkel / oppy

A Tor client (onion proxy) implementation in Python
BSD 3-Clause "New" or "Revised" License
24 stars 3 forks source link

Need more intelligent circuit/stream ID assignments #96

Closed nskinkel closed 9 years ago

nskinkel commented 9 years ago

Currently oppy just uses a counter to assign IDs to circuits and streams that increments after every assignment. If, during one run of oppy without restarting, more than 65535 circuits or streams are created this will cause some icky and non-intuitive failures (the ID won't fit in 2 bytes anymore).

oppy needs better circuit/stream ID assignments that can both:

nskinkel commented 9 years ago

Fixed a while ago (forgot to close bug).