System ARP cache reader
0

Configure Feed

Select the types of activity you want to include in your feed.

*: relicense author-original packages MIT -> ISC

Standardise on ISC (matching irmin and mirage, and the repo majority):
flip (license MIT) to (license ISC) in each dune-project, regenerate
the opam files, swap LICENSE.md to the ISC text, and update the
SPDX-License-Identifier headers. memtrace and ocaml-xdg keep their
license: they are vendored Jane Street code, not ours to relicense.

+16 -22
+12 -18
LICENSE.md
··· 1 - MIT License 1 + ISC License 2 2 3 - Copyright (c) 2025 Thomas Gazagnaire 3 + Copyright (c) 2026 Thomas Gazagnaire <thomas@gazagnaire.org> 4 4 5 - Permission is hereby granted, free of charge, to any person obtaining a copy 6 - of this software and associated documentation files (the "Software"), to deal 7 - in the Software without restriction, including without limitation the rights 8 - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 - copies of the Software, and to permit persons to whom the Software is 10 - furnished to do so, subject to the following conditions: 11 - 12 - The above copyright notice and this permission notice shall be included in all 13 - copies or substantial portions of the Software. 5 + Permission to use, copy, modify, and distribute this software for any 6 + purpose with or without fee is hereby granted, provided that the above 7 + copyright notice and this permission notice appear in all copies. 14 8 15 - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 - SOFTWARE. 9 + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+1 -1
arp-cache.opam
··· 5 5 "Read the host ARP cache to resolve IPv4 addresses to MAC addresses, without external dependencies. Uses /proc/net/arp on Linux and arp -a on macOS/BSD. The line parsers are pure OCaml." 6 6 maintainer: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 7 7 authors: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 8 - license: "MIT" 8 + license: "ISC" 9 9 tags: ["org:blacksun" "network"] 10 10 homepage: "https://tangled.org/gazagnaire.org/ocaml-arp-cache" 11 11 bug-reports: "https://tangled.org/gazagnaire.org/ocaml-arp-cache/issues"
+1 -1
dune-project
··· 2 2 (using mdx 0.4) 3 3 (name arp-cache) 4 4 (source (tangled gazagnaire.org/ocaml-arp-cache)) 5 - (license MIT) 5 + (license ISC) 6 6 (authors "Thomas Gazagnaire <thomas@gazagnaire.org>") 7 7 (maintainers "Thomas Gazagnaire <thomas@gazagnaire.org>") 8 8
+1 -1
lib/arp_cache.ml
··· 1 1 (*--------------------------------------------------------------------------- 2 2 Copyright (c) 2025 Thomas Gazagnaire. All rights reserved. 3 - SPDX-License-Identifier: MIT 3 + SPDX-License-Identifier: ISC 4 4 ---------------------------------------------------------------------------*) 5 5 6 6 type entry = { ip : string; mac : string; interface : string option }
+1 -1
lib/arp_cache.mli
··· 1 1 (*--------------------------------------------------------------------------- 2 2 Copyright (c) 2025 Thomas Gazagnaire. All rights reserved. 3 - SPDX-License-Identifier: MIT 3 + SPDX-License-Identifier: ISC 4 4 ---------------------------------------------------------------------------*) 5 5 6 6 (** System ARP cache reader.