All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@idosch.org>
To: Marco Berizzi <pupilla@libero.it>
Cc: netdev@vger.kernel.org
Subject: Re: eth_send of ARP packet returned -1 rather than expected 42
Date: Mon, 7 Jan 2019 18:01:38 +0200	[thread overview]
Message-ID: <20190107160138.GA28451@splinter> (raw)
In-Reply-To: <192839025.1062412.1546874790862@mail.libero.it>

On Mon, Jan 07, 2019 at 04:26:30PM +0100, Marco Berizzi wrote:
> Hi Folks,
> 
> I'm getting this message when I run nmap 7.70 with
> linux 4.20
> 
> Starting Nmap 7.70 ( https://nmap.org ) at 2019-01-07 16:15 CET
> Initiating ARP Ping Scan at 16:15
> Scanning 10.81.104.82 [1 port]
> WARNING: eth_send of ARP packet returned -1 rather than expected 42 (errno=22: Invalid argument)
> WARNING: eth_send of ARP packet returned -1 rather than expected 42 (errno=22: Invalid argument)

Not sure it's the same issue, but can you test with commit 6b8d95f1795c
("packet: validate address length if non-zero")? It's in mainline
already and queued for -stable.

See similar report here:
https://www.spinics.net/lists/netdev/msg541807.html

> Completed ARP Ping Scan at 16:15, 0.42s elapsed (1 total hosts)
> Nmap scan report for 10.81.104.82 [host down]
> Read data files from: /usr/bin/../share/nmap
> Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
> Nmap done: 1 IP address (0 hosts up) scanned in 0.46 seconds
>            Raw packets sent: 2 (56B) | Rcvd: 0 (0B)
> root@Calimero:/tmp# uname -a
> Linux Calimero 4.20.0 #1 SMP Fri Dec 28 11:16:37 CET 2018 x86_64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz GenuineIntel GNU/Linux
> 
> Linux 4.20-rc5 was fine:
> 
> Starting Nmap 7.70 ( https://nmap.org ) at 2019-01-07 16:22 CET
> Initiating ARP Ping Scan at 16:22
> Scanning 10.68.68.56 [1 port]
> Completed ARP Ping Scan at 16:22, 0.02s elapsed (1 total hosts)
> Initiating Parallel DNS resolution of 1 host. at 16:22
> Completed Parallel DNS resolution of 1 host. at 16:22, 0.01s elapsed
> Initiating SYN Stealth Scan at 16:22
> Scanning 10.68.68.56 [1000 ports]
> Discovered open port 22/tcp on 10.68.68.56
> Completed SYN Stealth Scan at 16:22, 0.03s elapsed (1000 total ports)
> Nmap scan report for 10.68.68.56
> Host is up (0.000081s latency).
> Not shown: 999 closed ports
> PORT   STATE SERVICE
> 22/tcp open  ssh
> MAC Address: FC:4D:D4:2E:CD:81 (Universal Global Scientific Industrial)
> 
> Read data files from: /usr/bin/../share/nmap
> Nmap done: 1 IP address (1 host up) scanned in 0.16 seconds
>            Raw packets sent: 1001 (44.028KB) | Rcvd: 1001 (40.032KB)
> root@Tarvos:~# uname -a
> Linux Tarvos 4.20.0-rc5 #1 SMP Wed Dec 5 17:16:15 CET 2018 x86_64 Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz GenuineIntel GNU/Linux
> 
> Any feedback are welcome.
> Thanks in advance
> 
> Marco

  reply	other threads:[~2019-01-07 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-07 15:26 eth_send of ARP packet returned -1 rather than expected 42 Marco Berizzi
2019-01-07 16:01 ` Ido Schimmel [this message]
2019-01-08  9:48   ` Marco Berizzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190107160138.GA28451@splinter \
    --to=idosch@idosch.org \
    --cc=netdev@vger.kernel.org \
    --cc=pupilla@libero.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.