大网数据广告活动
服务器运维问答

Does it make sense to only log 64 bit of IPv6 addresses for abuse purposes?

· 52CE 我爱测

Say I am operating a public service. Generally, people behave, but every once in a while someone does not, and it is usually good to know who you're receiving that blessing from. Hence, assuming that it's a good idea to keep trac…

问题原文

原帖链接 · Aaa · CC BY-SA 3.0

Say I am operating a public service. Generally, people behave, but every once in a while someone does not, and it is usually good to know who you're receiving that blessing from.

Hence, assuming

  • that it's a good idea to keep track of recent IPs your users use,
  • that service providers generally give their customers a /64 block, and
  • software such as radvd or even isc-dhcp-server assume they get nothing less than a /64 block
  • that due to privacy extensions, at least Windows allocates multiple addresses in the /64 block that it rotates between (allocating more as it goes on)

would it be a good idea to just throw away the final 64 bit of an IPv6 address, and just keep track of the first 64 bit?

已采纳解答

原帖链接 · EEAA · CC BY-SA 3.0

Logging the /64 will get you to the netblock owner, but if/when you actually engage with the real person that is responsible for that network, they're going to want the full /128. With statically-assigned addresses or DHCPv6, they are going to have logs of which machines got which IP addresses, and without the full address, the information you provide loses much of its utility.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-08-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。