-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix error logging to be less noisy for port scans #98
Comments
Did we confirm that you will get all ports when specifying the range? |
might be worth making a system test via Docker |
Default nmap scans top 1000 ports, so no ports missed, but a lot of errors in the logs |
probably comes from: https://github.com/kung-foo/freki/blob/master/userconnhandler_tcp.go#L45 |
Updated title to reflect feedback |
I have a comparable situation which I think might be related to new connections / drops in normal operation (no portscan). For every connection attempt I am getting a ...
... even if debug is set to Is there an easy way to tune that down or just log |
You want to change this line: https://github.com/mushorg/glutton/blob/master/system.go#L34 |
@glaslos Thank you, just got rid of ...
... and the log file is finally quiet when nothing is going on. |
You could also change |
@t3chn0m4g3 do you want to try to reproduce this with the switch to TPROXY? |
Deployed latest glutton on a Digital Ocean droplet (no docker) and ran basic nmap scan (all TCP ports). Would expect to see the results as all ports open, but some ports did not respond and many "use of closed network connection" errors were logged:
Logs:
The text was updated successfully, but these errors were encountered: