misc: Add the --listener-loopback-only command line option.
authorGabe Black <gabeblack@google.com>
Fri, 5 May 2017 23:53:42 +0000 (16:53 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 May 2017 16:44:30 +0000 (16:44 +0000)
commit8b4536556086e82f8edb2cea3ee391c9c3f25f6f
tree4d5e40fb811008dd202fd71c23aef1136ff25837
parent2d5296ce1974fe1b16ba62dda3f91dd25cc199e1
misc: Add the --listener-loopback-only command line option.

This option invokes the Listener::loopbackOnly() static function which
will make the port listeners bind to the loopback device exclusively and
ignore connections on other devices. That prevents external agents like
port scanners from disrupting simulations with spurious connections.

Change-Id: I46b22165046792a6f970826c109bdbce7db25c84
Reviewed-on: https://gem5-review.googlesource.com/3082
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/python/m5/main.py