Comments (10)
You want to change this line: https://github.com/mushorg/glutton/blob/master/system.go#L34
from glutton.
Did we confirm that you will get all ports when specifying the range?
from glutton.
might be worth making a system test via Docker
from glutton.
Default nmap scans top 1000 ports, so no ports missed, but a lot of errors in the logs
from glutton.
probably comes from: https://github.com/kung-foo/freki/blob/master/userconnhandler_tcp.go#L45
from glutton.
Updated title to reflect feedback
from glutton.
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.
@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.
You could also change g.logger.Info
to g.logger.Debug
and set Gluttons log level to info.
from glutton.
@t3chn0m4g3 do you want to try to reproduce this with the switch to TPROXY?
from glutton.
Related Issues (20)
- Error: multiple-value uuid.NewV4() in single-value context HOT 2
- Proxy and logging feature for Telnet HOT 6
- glutton as a sensor HOT 3
- Error while executing `go get github.com/mushorg/glutton` HOT 1
- Build error(s) HOT 5
- iptables, iptables-legacy, nft & buster HOT 5
- Glutton depends on lsof HOT 8
- Add a log message when a connection gets closed due to timeout HOT 1
- Set --var-dir on startup HOT 1
- 'build' failed HOT 4
- Store Malware Files
- Close connections after a set timeout HOT 3
- Support citrix (CVE-2019-19781)
- Is it possible to use images to teach how to install software HOT 1
- ARM64 support broken for latest master HOT 4
- SSH - intercept users with publickey authentication HOT 1
- double "msg" key blocks SIEM ingestion HOT 1
- Drop iptable rules before trying to shut down all connections HOT 1
- Use TPROXY instead of nfqueue HOT 2
- Add the transport protocol to the event payload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glutton.