arriven / db1000n

MIT License
1.18k stars 208 forks source link

Simplify logs #543

Closed Andrii-Asiox closed 2 years ago

Andrii-Asiox commented 2 years ago

Вітаю, я маю невеличку ферму телефонів на яких запущено db1000n і дуже не зручно дивитися на це простирадло логів. Чи могли б ви зробити спрощений режим де просто буде якась оцінка якості атаки, щоб було зрозуміло варто змінювати впн з'єднання чи ні. Дякую

arriven commented 2 years ago

So there are couple options to achieve something similar to what you need already:

PerchunPak commented 2 years ago

Чому в документації немає нічого про ці опції?

avoylenko commented 2 years ago

@PerchunPak i guess in most cases it's enough to run the binary without any provided options, but you can see all of them by running the db1000n instance with '-h' argument: ./db1000n -h

roman-kruglov commented 2 years ago

@arriven I'll implement it - an option to have only totals. I think it would be even better to have totals and each protocol as a target, something like:

http  | stats...
https | stats..
tcp | stats..
--------
total | stats..

Propose to call it -less-stats. Maybe fewer would be more grammatical, but I guess less is kinda more conventional for text..

roman-kruglov commented 2 years ago

Maybe a numeric options would be even better? Something like -less-stats=20 would mean "show less info when the number of targets is higher than 20".

roman-kruglov commented 2 years ago

Well, let's start with a simple boolean flag then https://github.com/arriven/db1000n/pull/552

roman-kruglov commented 2 years ago

it's merged, should be in the next release. Maybe we could close this issue now.

arriven commented 2 years ago

available in 0.9.10, thanks to @roman-kruglov