• Stefy Lanza (nextime / spora )'s avatar
    Fix request ID generation to ensure uniqueness · 891795a3
    Stefy Lanza (nextime / spora ) authored
    - Added proper seeding of random number generator with time and PID
    - Prevents duplicate request IDs across program runs
    - Uses srand() with combination of current time and process ID
    - Ensures each tunnel session gets a truly unique request ID
    - Added thread-safe seeding with static flag to prevent reseeding
    - Fixed potential security issue with predictable request IDs
    - Improved randomness quality for tunnel identification
    891795a3
Name
Last commit
Last update
templates Loading commit data...
wsssh-server/debian Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
image.jpg Loading commit data...
requirements.txt Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init Loading commit data...
wssshc_watcher.sh Loading commit data...
wssshd.conf.example Loading commit data...
wssshd.init Loading commit data...
wssshd.py Loading commit data...