Edit arp message
Peter Silva
peter at bsqt.homeip.net
Sat Apr 30 14:50:23 UTC 2016
or... you can use 'arp'.
arp -h
Usage:
arp [-vn] [<HW>] [-i <if>] [-a] [<hostname>] <-Display ARP
cache
arp [-v] [-i <if>] -d <host> [pub] <-Delete ARP
entry
arp [-vnD] [<HW>] [-i <if>] -f [<filename>] <-Add entry from
file
arp [-v] [<HW>] [-i <if>] -s <host> <hwaddr> [temp] <-Add
entry
arp [-v] [<HW>] [-i <if>] -Ds <host> <if> [netmask <nm>] pub
<-''-
-a display (all) hosts in alternative (BSD)
style
-s, --set set a new ARP entry
-d, --delete delete a specified entry
-v, --verbose be verbose
-n, --numeric don't resolve names
-i, --device specify network interface (e.g. eth0)
-D, --use-device read <hwaddr> from given device
-A, -p, --protocol specify protocol family
-f, --file read new entries from file or from
/etc/ethers
<HW>=Use '-H <hw>' to specify hardware address type. Default: ether
List of possible hardware types (which support ARP):
ash (Ash) ether (Ethernet) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) rose (AMPR ROSE) arcnet (ARCnet)
dlci (Frame Relay DLCI) fddi (Fiber Distributed Data Interface) hippi
(HIPPI)
irda (IrLAP) x25 (generic X.25) eui64 (Generic EUI-64)
On Sat, Apr 30, 2016 at 10:46 AM, Peter Silva <peter at bsqt.homeip.net> wrote:
> so this is a developer question, and not user support?
>
> Are you looking for this:
> http://vafer.org/blog/20040905200347/
>
> I just googled 'arp library c'
>
> libpcap is a good place to start.
>
>
> On Sat, Apr 30, 2016 at 10:39 AM, Amer <amer7777 at hotmail.com> wrote:
>
>>
>>
>> Sent from my iPhone
>>
>> > On Apr 30, 2016, at 5:04 PM, Karl Auer <kauer at biplane.com.au> wrote:
>> >
>> >> On Sat, 2016-04-30 at 16:39 +0300, Amer wrote:
>> >> The ARP messages either request/respond are very useful in
>> >> wired/wireless networks. In my problem we want to utilize THA.
>> >> Unfortunately, there is no other alternative cause our target is the
>> >> THA field and we want to utilize its bytes in our communication.
>> >
>> > Perhaps there is a language problem here. Let me try a few variations:
>> >
>> > Why do you want to "utilize the THA"?
>> >
>> > What is the ultimate reason for wanting to change the THA on an
>> > outgoing ARP packet?
>> >
>> > What *end result* do you seek?
>> >
>> > What are you doing this *for*?
>> >
>> > It looks to me as if you are trying to use ARP as a covert channel.
>> >
>> > Regards, K.
>> >
>> > --
>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> > Karl Auer (kauer at biplane.com.au)
>> > http://www.biplane.com.au/kauer
>> > http://twitter.com/kauer389
>> >
>> > GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
>> > Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
>> >
>> >
>> >
>> >
>> > --
>> > ubuntu-users mailing list
>> > ubuntu-users at lists.ubuntu.com
>> > Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>> >
>>
>> Yes exactly, as you have mentioned in your email.
>> I would like to use ARP as a covert channel.
>>
>> Best regards,
>> Amer
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160430/77b6d071/attachment.html>
More information about the ubuntu-users
mailing list