Pingfs:将你的数据存储在ICMP ping数据包中。
Pingfs: Stores your data in ICMP ping packets (2020)

原始链接: https://github.com/yarrick/pingfs

## pingfs:一种独特的云文件系统 pingfs 是 Erik Ekman 创建的一个实验性 Linux 文件系统,它将数据*完全*存储在通过互联网发送的 ICMP 回显请求包(ping)中。它利用原始套接字和 FUSE,需要 root 权限才能运行。 用户提供目标主机名/IP 地址的文件列表,pingfs 在挂载前会测试连接性。然后,它将文件数据编码到这些 ping 请求和响应中进行存储。虽然支持基本的文件操作,如创建、删除、读取、写入和重命名,但不支持目录、链接和时间戳。 **重要注意事项:** 性能极其缓慢——不适合局域网——并且数据丢失的可能性很高。它旨在作为概念验证,而不是实用的存储方式。 pingfs 采用宽松的许可协议免费提供,但附带明确的免责声明和责任限制。停止使用时,请使用 Ctrl+C 或 `fusermount -u`。

## Pingfs:在ICMP数据包中存储数据 - Hacker News 摘要 最近 Hacker News 的讨论集中在“Pingfs”项目([github.com/yarrick](https://github.com/yarrick))上,该项目在 ICMP ping 数据包中存储数据。这次讨论引发了人们对早期计算限制的回忆——例如 ZX Spectrum 等机器的小内存可以放入单个 IP 数据包中——以及过去缓慢的数据加载时间。 用户将其与历史数据存储方法(如水银延迟线存储器)相提并论,并指出该概念以非常规形式复兴。人们对早期互联网系统的“Ping of Death”漏洞以及如果 ping 失败可能导致数据损坏表示担忧。 讨论还强调了互联网名人 Tom7 的工作,他以在不寻常的介质中存储数据而闻名,以及 Michal Zalewski 的著作 *Silence on the Wire*,其中涵盖了类似的概念。 许多评论员指出,这将给网络路由器带来资源压力,并且依赖 ICMP 进行可靠存储是不切实际的。 将网络节点状态用作分布式内存系统也被简要探讨。
相关文章

原文
pingfs - "True cloud storage"
	by Erik Ekman <[email protected]>

pingfs is a filesystem where the data is stored only in the Internet itself,
as ICMP Echo packets (pings) travelling from you to remote servers and
back again.

It is implemented using raw sockets and FUSE, so superuser powers are required.
Linux is the only intended target OS, portability is not a goal.
Both IPv4 and IPv6 remote hosts are supported.

Compile by just running 'make'

How to start it:
- Create a textfile with hostname and IP addresses to target
- As root, run ./pingfs <filename> <mountpoint>
  It will resolve all hostnames, and then test each resolved address
  if it responds properly to a number of pings.
  Some statistics will be printed and then the filesystem will be mounted.
- Pingfs will stay in the foreground and print stats on packets and bytes
  each second.

How to stop it:
- Stop with ^C, and it should unmount itself.
- Otherwise unmount with fusermount -u <mountpoint>

Supported operations
- Creating/removing normal files
- Listing files
- Renaming files
- Reading/writing/truncating files
- Setting/getting file permissions

Unsupported operations
- Creating/removing directories
- Creating soft/hard links
- Timestamps (they are always 0)

Notes:
The performance is too low right now to handle LAN hosts, it will
lose data right away. Use pingfs with care.

License:

Copyright (c) 2013-2015 Erik Ekman <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
联系我们 contact @ memedata.com