🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Shibuya, Nobuhiro Fri, 25 Jul 2008 14:14
めっちゃ珍しいカノニカル・ネイム
#5
Author: Shibuya, Nobuhiro
Date: Fri, 25 Jul 2008 14:14
25 lines
2116 bytes
http://www.jpcert.or.jp/at/2008/at080014.txt
に注意喚起が出ています。

小島さんのセキュリティホール・メモ mailing listで知った
めっちゃ珍しいカノニカル・ネイム

http://isc.sans.org/diary.html?storyid=4765
の真似を手元のWindows XP HomeのPCで試みたところ:

> set type=txt
> set timeout_30
> porttest.dns-oarc.net.
Server:  xxx.xxx.xxx.xxx
Address:  xxx.xxx.xxx.xxx

Non-authoritative answer:
porttest.dns-oarc.net   canonical name = z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.d.c.b.a.pt.dns-oarc.net
z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.d.c.b.a.pt.dns-oarc.net     text =
        "210.138.175.22 is GOOD: 26 queries in 2.9 seconds from 26 ports with std dev 16291.82"
z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.d.c.b.a.pt.dns-oarc.net     nameserver = ns.z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.d.c.b.a.pt.dns-oarc.net
>

というわけで、キャッシュ・ポイズニングにご注意召され。
-- 
mailto:shibuya@dd.iij4u.or.jp           渋谷伸浩
Re: めっちゃ珍しいカノニカル・ネイム
#6
Author: Shibuya, Nobuhiro
Date: Fri, 25 Jul 2008 14:25
11 lines
1703 bytes
"Shibuya, Nobuhiro" wrote:

> http://www.jpcert.or.jp/at/2008/at080014.txt
> に注意喚起が出ています。

> 小島さんのセキュリティホール・メモ mailing listで知った

間違えた。訂正。
正しくはDNSOPS mailing listでした。
-- 
mailto:shibuya@dd.iij4u.or.jp           渋谷伸浩
Re: めっちゃ珍しいカノニカル・ネイム
#7
Author: Masamichi Takatsu
Date: Mon, 28 Jul 2008 03:28
61 lines
4183 bytes
たかつです。

最初にこのチェック方法を見たとき、こちらからの1回の問い合わせ操作でどうやって
「26回の問い合わせについての統計調査」がわかるのか不思議だったのですが、
クライアント側の挙動を見ると

-1. porttest.dns-oarc.net の TXT を問い合わせる
→ z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.d.c.b.a.pt.dns-oarc.net. の CNAME だという返事が返ってくる

0. z.(略).a.pt.dns-oarc.net. を管理しているネームサーバについて、
    dns-oarc.net の NS に問い合わせる
→ a.pt.dns-oarc.net. を管理しているのは、
  ns.a.pt.dns-oarc.net だという返事が返ってくる

1. z.(略).a.pt.dns-oarc.net. を管理しているネームサーバについて、
    ns.a.pt.dns-oarc.net に問い合わせる
→ b.a.pt.dns-oarc.net. を管理しているのは、
  ns.b.a.pt.dns-oarc.net だという返事が返ってくる

2. z.(略).a.pt.dns-oarc.net. を管理しているネームサーバについて、
    ns.b.a.pt.dns-oarc.net に問い合わせる
→ c.b.a.pt.dns-oarc.net. を管理しているのは、
  ns.c.b.a.pt.dns-oarc.net だという返事が返ってくる

(略)

25. z.(略).a.pt.dns-oarc.net. を管理しているネームサーバについて、
    ns.y.x.(略).b.a.pt.dns-oarc.net に問い合わせる
→ z.(略).a.pt.dns-oarc.net. を管理しているのは、
  ns.z.(略).a.pt.dns-oarc.net だという返事が返ってくる

26. z.(略).a.pt.dns-oarc.net. の TXT を、
    ns.z.(略).a.pt.dns-oarc.net に問い合わせる
→ 1~26の問い合わせについてまとめたものが、TXT データとして返ってくる

って流れなんですね。なかなか面白い…


うちのネームサーバはプロバイダのものに forwarders 設定してるので、手元の
ネームサーバをアップデートしても、プロバイダ側が未対策だとどうしようも
ないんですよね。というわけで調べたところ

% dig +short porttest.dns-oarc.net TXT
z.y.x.w.v.u.t.s.r.q.p.o.n.m.l.k.j.i.h.g.f.e.d.c.b.a.pt.dns-oarc.net.
"203.139.160.73 is GOOD: 46 queries in 676.2 seconds from 46 ports with std dev 19089.69"

大丈夫でした。これで一安心。



ちなみに、ネームサーバの指定はできませんが、ブラウザが使用している
ネームサーバの挙動確認なら、
https://www.dns-oarc.net/oarc/services/dnsentropy
を見るのが、なかなかグラフィカルでわかりやすいです。



PROJECT TEAM DoGA 高津正道                            taka2@doga.jp
                     PROJECT TEAM DoGAのホームページ → http://doga.jp/
7月28日(月) 今日のマーフィーの法則	[ウィーバーの法則]
記者が何人かでタクシーに乗った場合には、前に座った記者が料金を払う。
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads