-
Notifications
You must be signed in to change notification settings - Fork 81
ARPAdvertiser
ARPAdvertiser — Click element; periodically generates ARP replies using information from an ARP table
ARPAdvertiser([DSTIP, DSTETH, SRCIP, SRCETH, CAPACITY])
Batching: Batching natively supported
Ports: no inputs, 1 output
Processing: push
For each entry in its ARP table, it periodically sends an ARP "reply" packet to DSTIP/DSTETH, claiming that SRCIP has ethernet address SRCETH. Generates the Ethernet header as well as the ARP header. The ARP table can be populated/evacuated through insert/delete/clean handlers.
Sends ARP packets to 18.26.4.1 (with ether addr 00-E0-2B-0B-1A-00) claiming that 18.26.4.99's ethernet address is 00-A0-C9-9C-FD-9C.
ARPAdvertiser(DSTIP 18.26.4.1, DSTETH 0:e0:2b:b:1a:0, SRCIP 18.26.4.99, SRCETH 00:a0:c9:9c:fd:9c)
-> ToDevice(eth0);
ARPAdvertiser is useful for ARP proxies. Normally, you should use ARPResponder rather than ARPAdvertiser.
- table (read-only) — Returns the current ARP table.
- count (read-only) — Returns the current number of ARP table entries.
- capacity (read-only) — Returns the current capacity of the ARP table.
- insert (write-only) — Inserts a new entry in the ARP table.
- delete (write-only) — Deletes an entry from the ARP table.
ARPFaker, ARPQuerier, ARPResponder
Generated by click-elem2man from ../elements/ethernet/arpadvertiser.hh:13
on 2023/07/28.