Subject: | http_this should not listen on all interfaces and IP addresses by default |
Hello
Thanks for http_this, it's very practical for testing. But, when starting,
http_this shows:
$ http_this --port 9099
Exporting '.', available at:
http://127.0.0.1:9099/
OTOH, it does also respond to queries on my IP address from another machine.
netstat shows:
$ sudo netstat -alpet |grep 9099
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
[...]
tcp 0 0 *:9099 *:* LISTEN dd 964449 28995/perl
So, app_this listen to all IP addresses, which is somewhat inconvenient from a
security point of view.
Could you modify http_this to listen only to 127.0.0.1 by default.
All the best