Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering Destination Unreachable ICMP messages #202

Open
tbrettallen opened this issue Jan 14, 2025 · 1 comment
Open

Filtering Destination Unreachable ICMP messages #202

tbrettallen opened this issue Jan 14, 2025 · 1 comment

Comments

@tbrettallen
Copy link

tbrettallen commented Jan 14, 2025

I have just setup a Flare-VM with FakeNet and I am having an issue with the logs being filled with the following:

01/13/25 04:30:58 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:02 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:05 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:08 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:14 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:17 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:20 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:24 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131
01/13/25 04:31:27 PM [ Diverter] ICMP type 3 code 1 192.168.1.131->192.168.1.131

192.168.1.131 is the machine's network address, it's on an isolated network with the gateway set to 192.168.1.1 (does not exist), and I believe these Destination Unreachable ICMPs are a result of the "internet_detector.exe"; which is making requests to unreachable destinations.

Is it possible to Filter these out of the logs?

@tinajohnson
Copy link
Contributor

tinajohnson commented Jan 21, 2025

If you are using the executable, we don't have a config setting to control these kind of logs. If you are executing FakeNet from source code and can tweak the source code, the logging level can be set here (remember that changing the logging level would affect other logs from the DiverterBase class as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants