You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an option (-o) to allow outputting the results of mitm6 into a log file. I find this to be very useful for my scenario since tee'ing the output of mitm6 doesn't seem to actually do anything until mitm6 closes. For my use case, I need to monitor mitm6's output in realtime and terminate it depending on conditions.
You may consider adding a UTC timestamp by default into the outfile. I prefer %Y-%M-%DT%h:%m:%sZ (e.g., 2022-08-11T12:04:01Z) which is ISO 8601 compliant. This way if someone were to pushback on what time/date something happened, I can provide the exact timeline for them. I used to previously do the below until I realized tee doesn't work with mitm6 (but works with other tools):
(date && sudo mitm6 ...) 2>&1 | tee -a 'mitm6.txt'
You may consider adding a UTC timestamp by default into the outfile. I prefer %Y-%M-%DT%h:%m:%sZ (e.g., 2022-08-11T12:04:01Z) which is ISO 8601 compliant. This way if someone were to pushback on what time/date something happened, I can provide the exact timeline for them. I used to previously do the below until I realized tee doesn't work with mitm6 (but works with other tools):
(date && sudo mitm6 ...) 2>&1 | tee -a 'mitm6.txt'
Exactly. Thanks for this information and the change above. I've made updated my local copy as well to include this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added an option (
-o) to allow outputting the results of mitm6 into a log file. I find this to be very useful for my scenario sincetee'ing the output of mitm6 doesn't seem to actually do anything until mitm6 closes. For my use case, I need to monitor mitm6's output in realtime and terminate it depending on conditions.