Menu

#5 use /dev/urandom not /dev/random

Unstable (example)
closed
nobody
None
5
2015-03-29
2012-12-27
No

/dev/random runs out of bytes and the stun client hangs. To fix this use /dev/urandom instead.

In stun.cxx apply the following patch
677c677
< int fd=open("/dev/urandom",O_RDONLY);
---
> int fd=open("/dev/random",O_RDONLY);

Discussion

  • Jan Willamowius

    Jan Willamowius - 2015-03-29

    patch applied

     
  • Jan Willamowius

    Jan Willamowius - 2015-03-29
    • status: open --> accepted
    • Group: --> Unstable (example)
     
  • Jan Willamowius

    Jan Willamowius - 2015-03-29
    • status: accepted --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.