Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.development.system > #777

Re: ioctl SIOCGARP failed! errno: 6

From Rainer Weikusat <rweikusat@talktalk.net>
Newsgroups comp.os.linux.development.system
Subject Re: ioctl SIOCGARP failed! errno: 6
Date 2018-06-08 22:24 +0100
Message-ID <87po11m0od.fsf@doppelsaurus.mobileactivedefense.com> (permalink)
References <5341a907-dabd-43e6-bdb8-2725edb893ad@googlegroups.com> <125b8430-87ba-49c2-92fe-7da934539907@googlegroups.com>

Show all headers | View raw


Ohm Trivedi <ohmtrivedi@gmail.com> writes:
> On Friday, June 8, 2018 at 1:24:04 PM UTC-4, Ohm Trivedi wrote:
>> I am a graduate student and I am trying to use this tool, Hershelplus (https://github.com/zk7/hershelplus/tree/master/multi-platform), for OS fingerprinting.
>> 
>> The tool attempts to send an ARP request to destination MAC, but it fails. The output is as follows:
>> 
>> ohmtrivedi@ohm-HP-ENVY:~/Documents/ms-thesis/hershelplus$ sudo ./hershelplus 420OS_db.txt 420OS_mapping.txt 186.32.55.31 80
>> 
>> Reading from 420OS_db.txt...
>> Stored 21000 signatures in map
>> Starting Live fingerprinting of 186.32.55.31:80...
>> Listing system adapters:
>> 
>> 1. enx00e151b0014d at 10.15.15.111
>> 
>> 2. lo at 127.0.0.1
>> 
>> Enter the adapter number between 1 and 2: 1
>> 
>> -----------------------------------------------
>> Opening device enx00e151b0014d
>> Adapter enx00e151b0014d opened successfully
>> Local MAC Address Is: 00--31-81--80-01-77
>> Local IP: 10.15.15.111
>> ioctl SIOCGARP failed! errno: 6
>> Creation of Send Packet failed
>> Error getting fingerprint
>> 
>> The error "ioctl SIOCGARP failed! errno: 6" is coming from file LiveFingerprinter.cpp, line# 600. (https://github.com/zk7/hershelplus/blob/master/multi-platform/LiveFingerprinter.cpp)
>> 
>> I can't find any resources on internet which can tell me what this error is about. Hope someone can help me out here. I am not very experienced in Linux/C++.
>
> Thanks for your help. After communicating with the developer of this
> tool, it was found that there is a bug in the
> tool. (https://github.com/zk7/hershelplus/issues/1)

IOW, the guy is just about as clueless as you claim to be as he's using
undocumented ioctls without determining what they actually do ...

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Find similar


Thread

ioctl SIOCGARP failed! errno: 6 Ohm Trivedi <ohmtrivedi@gmail.com> - 2018-06-08 10:24 -0700
  Re: ioctl SIOCGARP failed! errno: 6 Rainer Weikusat <rweikusat@talktalk.net> - 2018-06-08 20:32 +0100
  Re: ioctl SIOCGARP failed! errno: 6 Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-06-08 19:42 +0000
    Re: ioctl SIOCGARP failed! errno: 6 Ohm Trivedi <ohmtrivedi@gmail.com> - 2018-06-08 13:48 -0700
      Re: ioctl SIOCGARP failed! errno: 6 Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-06-09 07:24 +0000
        Re: ioctl SIOCGARP failed! errno: 6 Ohm Trivedi <ohmtrivedi@gmail.com> - 2018-06-09 18:53 -0700
          Re: ioctl SIOCGARP failed! errno: 6 Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-06-10 06:05 +0000
          Re: ioctl SIOCGARP failed! errno: 6 Rainer Weikusat <rweikusat@talktalk.net> - 2018-06-10 17:54 +0100
  Re: ioctl SIOCGARP failed! errno: 6 Ohm Trivedi <ohmtrivedi@gmail.com> - 2018-06-08 13:45 -0700
    Re: ioctl SIOCGARP failed! errno: 6 Rainer Weikusat <rweikusat@talktalk.net> - 2018-06-08 22:24 +0100

csiph-web