Public bug reported:

Ubuntu 18.04.4

man page for netdiscover doesn't describe switch -N, the switch to
suppress headers when output is sent to stdout. I have found this when I
was looking for a way how to store discovered devices to a file.
Recommended solution is to use -PN switch and redirect output to a file,
like this:

`$sudo neddiscover -i eth0 -PN | tee netdicover.log`

This is not perfect solution but it is usable. It would be nice to have
a switch that will create a detailed log file with timestamps. Such
logfile is necessary on bigger network where many devices are connected
and the discovered devices just cannot fit to a single screen...

Anyway, this bug report is about "-N" switch that is missing in manpage.
It is described at help output from netdiscover:


```
$ netdiscover -h
Netdiscover 0.3-pre-beta7 [Active/passive arp reconnaissance tool]
Written by: Jaime Penalba <jpenal...@gmail.com>

Usage: netdiscover [-i device] [-r range | -l file | -p] [-m file] [-s time] 
[-n node] [-c count] [-f] [-d] [-S] [-P] [-c]
  -i device: your network device
  -r range: scan a given range instead of auto scan. 192.168.6.0/24,/16,/8
  -l file: scan the list of ranges contained into the given file
  -p passive mode: do not send anything, only sniff
  -m file: scan the list of known MACs and host names
  -F filter: Customize pcap filter expression (default: "arp")
  -s time: time to sleep between each arp request (milliseconds)
  -n node: last ip octet used for scanning (from 2 to 253)
  -c count: number of times to send each arp reques (for nets with packet loss)
  -f enable fastmode scan, saves a lot of time, recommended for auto
  -d ignore home config files for autoscan and fast mode
  -S enable sleep time supression between each request (hardcore mode)
  -P print results in a format suitable for parsing by another program
  -N Do not print header. Only valid when -P is enabled.
  -L in parsable output mode (-P), continue listening after the active scan is 
completed

If -r, -l or -p are not enabled, netdiscover will scan for common lan
addresses.

```

** Affects: netdiscover (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888988

Title:
  man page for netdiscover doesn't describe option -N

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netdiscover/+bug/1888988/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to