twitterのDNS Attackが、OCNのDNSキャッシュサーバーに残っていたので記録してみた。
[2013/8/28 18:44追記] キャッシュの中身、正しいものになったようです。
$ dig twimg.com ns @2001:380:0:4::1
; <<>> DiG 9.9.2-P1 <<>> twimg.com ns @2001:380:0:4::1
<# | |
.SYNOPSIS | |
ファイル名、ディレクトリ名のUNICODE結合文字を、普通の1文字に変換する | |
.DESCRIPTION | |
ファイル名、ディレクトリ名のUNICODE結合文字になっている部分を、普通の1文字に変換する。 | |
例えば、「か + ゛(濁点記号)」を、「が」に変換する。 | |
Macは、ファイル名をUNICODE結合文字で保存するが、Windowsは、普通の1文字で保存するので、 | |
MacからWindowsに、USBメモリーでファイルをコピーした際など、MacとWindowsのファイル交換時に |
IPv6 end points of Azure CDN don't respond to HTTP requests from particular networks.
The contents served from Azure CDN cannot be fetched from some IPv6 networks.
Actually clients of the affected network can establish IPv6 TCP connection with end points of Azure CDN, and can throw HTTP GET request. However end points of Azure CDN don't respond to the requests after that.
Azure CDN関連は、CDN担当と英語で直接やってくれ、ということで、英語の問い合わせを投げました。
# coding: utf8 | |
# オレオレ正規化処理 (Python3) | |
# 正規表現コンパイルをメソッドの外に書いたのでそこそこ速い | |
import re | |
import unicodedata | |
# inspired from https://github.com/neologd/mecab-ipadic-neologd/wiki/Regexp.ja | |
# 以下を参考させていただきました |
<?php | |
define('DB_HOST', '172.17.0.2'); | |
define('DB_USER', 'user'); | |
define('DB_PASS', 'pass'); | |
define('DB_NAME', 'backdoor'); | |
function h($str) { | |
return htmlspecialchars($str, ENT_QUOTES, 'UTF-8'); | |
} |
FROM node:10 | |
ENV YARN_VERSION 1.16.0 | |
ENV NPM_VERSION 6.9.0 | |
RUN set -ex \ | |
&& apt-get update \ | |
&& apt-get install -y --no-install-recommends rsync lftp jq nasm optipng pngquant zopfli ruby python-dev \ | |
&& rm -rf /var/lib/apt/lists/* |
server: | |
# ptr | |
local-zone: "arpa." transparent | |
local-zone: "google." transparent | |
local-zone: "google.com." transparent | |
local-zone: "google.co.jp." transparent | |
local-zone: "googleapis.com." transparent | |
local-zone: "googlegroups.com." transparent |