Menu

#4 Poor detection of local IP address

open
nobody
Fuzzers (2)
5
2008-10-31
2008-10-31
No

Hello

I had some trouble running VoIPER v0.07 on a fresh installation of Debian Lenny, the fuzzer was sending a loopback address (127.0.1.1) in the Contact parameter of the REGISTER message.

I traced it back to fuzzer/fuzzer_parents.py:225 :
self.local_ip = socket.gethostbyname(socket.gethostname())
On a default setup of Debian, it appears that socket.gethostname() returns "debian" or whatever was specified on the installer, and thus socket.gethostbyname(...) will give 127.0.1.1 according to /etc/hosts.

Please, can you improve this detection mecanism, add a new argument to fuzzer.py, or a variable in voiper.config to override local_ip ?

Thanks!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →