Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imgedit.py: do not open a port to the entire world
Since commit 464f4e0, imgedit.py opens runs qemu-nbd on a random port, but qemu-nbd needlessly listens to all interfaces - including potentially to connections from the outside world. While the practical risk is minimal (imgedit.py runs for very short duration), there is no need to take it at all - qemu-nbd should only listen to the 127.0.0.1 interface (see issue #709). And in turn, imgedit.py should contact 127.0.0.1 and not rely on the alias "localhost" working for ipv4 (see issue #534). Signed-off-by: Nadav Har'El <[email protected]> Message-Id: <[email protected]>
- Loading branch information