mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-01 22:28:20 +00:00
Change log format (add timestamp)
This commit is contained in:
parent
27f1c4ba65
commit
26f74ad6a5
3 changed files with 69 additions and 39 deletions
25
README.md
25
README.md
|
@ -290,12 +290,27 @@ tcpdump: pcap_loop: The interface disappeared
|
|||
0 packets dropped by kernel
|
||||
```
|
||||
|
||||
### Logging Policy
|
||||
## Logging
|
||||
|
||||
* `ERR`: any error - will always be displayed.
|
||||
* `WARN`, `-v`: responses sent by `masscanned`.
|
||||
* `INFO`, `-vv`: packets not handled, packets ignored.
|
||||
* `DEBUG`, `-vvv`: all packets received and sent by `masscanned`.
|
||||
### Console Logger
|
||||
|
||||
**Verbs**:
|
||||
* `init`
|
||||
* `recv`
|
||||
* `send`
|
||||
* `drop`
|
||||
|
||||
#### ARP
|
||||
|
||||
```
|
||||
$ts arp $verb $operation $client_mac $client_ip $masscanned_mac $masscanned_ip
|
||||
```
|
||||
|
||||
#### Ethernet
|
||||
|
||||
```
|
||||
$ts eth $verb $ethertype $client_mac $masscanned_mac
|
||||
```
|
||||
|
||||
## To Do
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue