T-pot not finding the right network interface after reboot #1726
Replies: 3 comments
-
there is a service file called "tpot.service" for tpot in the : /etc/systemd/system folder i * think * you just add the timer option:
so it would look something like this:
|
Beta Was this translation helpful? Give feedback.
-
it would be somethign like this.. this should at least give you a place to start. |
Beta Was this translation helpful? Give feedback.
-
Have not solved it yet, will post back if I find a solution. Some solutions I am trying/tried:
I think the best solution would be if one could specify the interface in the configuration file for tpotce. |
Beta Was this translation helpful? Give feedback.
-
Hi and good continuing!
It seems that on my network the main host interface is not ready before T-Pot is started, hence the docker instances just finds interface docker0 after the daily reboot. By restarting it manually (systemctl restart tpot) after reboot it finds the right interface.
Some docker instances has a command for greping the interface name from a list produced by the command /sbin/ip. It would be easily solved by being able to define the interface in a configuration file for tpot.
Example:
In the file tpotce/docker/suricata/Dockerfile you find in the end:
CMD SURICATA_CAPTURE_FILTER=$(update.sh $OINKCODE) && exec suricata -v -F $SURICATA_CAPTURE_FILTER -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }')
At reboot this command does not find the main interface but docker0.
Tried solutions:
Thanks for a great product!! Love it!
Beta Was this translation helpful? Give feedback.
All reactions