Giter Site home page Giter Site logo

Comments (10)

glaslos avatar glaslos commented on May 24, 2024 1

You want to change this line: https://github.com/mushorg/glutton/blob/master/system.go#L34

from glutton.

glaslos avatar glaslos commented on May 24, 2024

Did we confirm that you will get all ports when specifying the range?

from glutton.

kung-foo avatar kung-foo commented on May 24, 2024

might be worth making a system test via Docker

from glutton.

david-watson avatar david-watson commented on May 24, 2024

Default nmap scans top 1000 ports, so no ports missed, but a lot of errors in the logs

from glutton.

kung-foo avatar kung-foo commented on May 24, 2024

probably comes from: https://github.com/kung-foo/freki/blob/master/userconnhandler_tcp.go#L45

from glutton.

glaslos avatar glaslos commented on May 24, 2024

Updated title to reflect feedback

from glutton.

t3chn0m4g3 avatar t3chn0m4g3 commented on May 24, 2024

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 ...

{"level":"info","ts":1523885848.9937115,"caller":"glutton/system.go:34","msg":"[system  ] running Go routines: 16 and open files: 9","sensorID":"ce2600c6-62dd-47e8-b4cd-507e83081847"}

... even if debug is set to false.

Is there an easy way to tune that down or just log [log.tcp ]-related events?

from glutton.

t3chn0m4g3 avatar t3chn0m4g3 commented on May 24, 2024

@glaslos Thank you, just got rid of ...

			case <-ticker.C:
				openFiles := countOpenFiles()
				runningRoutines := countRunningRoutines()
				g.logger.Info(fmt.Sprintf("[system  ] running Go routines: %d and open files: %d",
					openFiles, runningRoutines))

... and the log file is finally quiet when nothing is going on.

from glutton.

glaslos avatar glaslos commented on May 24, 2024

You could also change g.logger.Info to g.logger.Debug and set Gluttons log level to info.

from glutton.

glaslos avatar glaslos commented on May 24, 2024

@t3chn0m4g3 do you want to try to reproduce this with the switch to TPROXY?

from glutton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.