nfc-anticol(1)
π nfc-anticol(1) β libnfc's examples π
okay bestie, gather round, because we're about to talk about anti-collision and it's genuinely so cool. this page lives in the libnfc's examples section of the manual, and it's giving "tiny tool, big brain energy" β¨
β¨ NAME β¨
nfc-anticol β a demonstration of the NFC anti-collision command line tool, based on libnfc. yes that's the whole name, she's concise and she knows it π
πΈ SYNOPSIS πΈ
nfc-anticol
that's it. no flags, no args, no drama. just vibes π¦
π DESCRIPTION π
so nfc-anticol is an anti-collision demonstration tool for ISO/IEC 14443-A tags, and the way it does this is by using custom constructed frames. periodt.
here's the tea: the very first frame has to be a short frame, which is only 7 bits long. seven. not eight. seven. π
and like... commercial SDK's often don't support sending frames that aren't a multiple of 8 bits (1 byte) long. which is a whole problem, because that makes it impossible to do the anti-collision yourself. so the developer has to rely on closed proprietary software and should just... hope it doesn't contain vulnerabilities during the anti-collision phase π (ngl that's not a vibe).
meanwhile, performing the anti-collision using custom frames could protect against a malicious tag that, for example, violates the standard by sending frames with unsupported lengths. so that's the slay part π₯
β οΈ but bestie, listen β note that this is only a demonstration tool. it can not handle multiple tags, because real life anti-collisions with multiple tags generate "messy" bits which are neither 0 nor 1. so it's a one-tag-at-a-time situation, fr fr π
π BUGS π
found something cursed? please report any bugs on the libnfc issue tracker at:
https://github.com/nfc-tools/libnfc/issues
the maintainers wanna know, i promise π«Ά
π LICENCE π
libnfcis licensed under the GNU Lesser General Public License (LGPL), version 3.libnfc-utilsandlibnfc-examplesare covered by the the BSD 2-Clause license.
(yes, "the the" β we keep the original's little quirks, no editing the queen π)
π AUTHORS π
Roel Verdult <roel@libnfc.org>
This manual page was written by Romuald Conty <romuald@libnfc.org>. It is licensed under the terms of the GNU GPL (version 2 or later).
and that's the whole page, bestie!! π this was libnfc, and the page is dated June 26, 2009 β a true classic, still iconic, still eating. mwah πβ¨π¦
π¦ where this page comes from
- alpine 3.24: libnfc-doc 1.8.0-r2 Β· LGPL-3.0-or-later
- arch rolling: libnfc 1.8.0-4 Β· LGPL-3.0-or-later
- debian bookworm: libnfc-examples 1.8.0-2 Β· LGPL-3.0-only
- debian trixie: libnfc-examples 1.8.0-3.1+b1 Β· LGPL-3.0-only
- fedora 43: libnfc-examples 1.8.0-12.fc43 Β· LGPL-3.0-or-later
- fedora 44: libnfc-examples 1.8.0-13.fc44 Β· LGPL-3.0-or-later
- nixos 26.05: libnfc 1.8.0
- nixpkgs unstable: libnfc 1.8.0
- ubuntu jammy: libnfc-examples 1.8.0-2 Β· LGPL-3.0-only
- ubuntu noble: libnfc-examples 1.8.0-3.1build1 Β· LGPL-3.0-only
- ubuntu questing: libnfc-examples 1.8.0-3.1build1
- ubuntu resolute: libnfc-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- ubuntu stonking: libnfc-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms