ENUM 2006. 5. 16 이병희 [email protected]. 이병희 2 ENUM 등장배경 다양한 주소체계...

18
ENUM 2006. 5. 16 이이이 [email protected]

Transcript of ENUM 2006. 5. 16 이병희 [email protected]. 이병희 2 ENUM 등장배경 다양한 주소체계...

Page 1: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

ENUM

2006. 5. 16이병희

[email protected]

Page 2: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

2

ENUM 등장배경

다양한 주소체계 존재 , 중복 및 유일성을 보장하지 못하는 문제점

tel:+46-8-971234

mailto:[email protected]

tel:+46-706051234

With ENUM (E.164 Number Mapping)

tel:+46-8-971234

mailto:[email protected]

tel:+46-706051234

Need only one numbertel:+46-706051234 ENUM

Page 3: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

3

E.164

ITU-T Recommendation E.164: The international public telecommunication numbering plan

Linked to treaty obligations (specific roles and obligations defined for ITU Member States and TSB Director)

Defines number structure and functionality for three principal categories of numbers Geographic Areas (including country codes) Global Services Networks

Types of E.164 Geographic areas

ITU Member States, including integrated numbering plan involving more than one (e.g., +1)

Global Services e.g., UIFN Freephone Numbers (+800)

Networks Global Mobile Systems (+881 + 1 digit IC) Shared code for Networks (+ 882 + 2 digit IC)

Groups of Countries e.g., ETNS

Page 4: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

4

ENUM Overview

ENUM

DNS 기반으로 다양한 서비스들을 통합 , 연결 하는

서비스

ENUM 서비스

User ENUM

DNS 기반으로 인터넷 전화사업자간

연동기반을 제공

기반기술 ENUM

Carrier ENUM

Page 5: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

5

ENUM Overview (User ENUM)

Look up what services are available for an E.164 number (or private dialing plan) in a decentralized way with distributed management of the different levels in the lookup process through Transformation of E.164 numbers into domain name Use of existing DNS service

+82-2-2186-4500+82-2-2186-4500

0.0.5.4.6.8.1.2.2.8.e164.arpa0.0.5.4.6.8.1.2.2.8.e164.arpa

www.nida.or.krwww.nida.or.kr [email protected]@nida.or.kr 02-2186-450002-2186-4500 011-123-4567011-123-4567

Transformation

DNS Lookup

Page 6: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

6

ENUM Overview (Carrier/Infrastructure ENUM) 전세계에 분산 구성된 DNS 를 기반 , 번호 해석을 통한 인터넷

전화 사업자간 위치정보 제공 인터넷 전화 사업자간 상호 연동 지원

ITSP 070 – 123

abc.co.kr

ITSP 070 - 456

def.co.krENUM DNSENUM DNS

SSWSSW OSPOSP

call : 070-456-1234

RootRoot

.e164.arpa.e164.arpa

.2.8.2.8

4.3.2.1.4.5.6.0.7.04.3.2.1.4.5.6.0.7.0

SSW ( Soft switch) : 이종 프로토콜 변환 OSP (Open Settlement Protocol) : 상호 정산체계 제공

Page 7: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

7

DNS for ENUM

ENUM 서비스는 DNS 를 기반으로 계층 0 , 1 , 2 로 구분

e164.arpa 를 위한 최상위 Zone 각 국가에 대한 포인터 관리

E.164 번호를 위한 네임서버 주소관리 E.164 번호에 따른 고유성 보장 데이터 처리 인증 Tier 1 Registry 를 가리키는 포인터를 Tier 0 e164.arpa 에 제공 각 국가가 관리

트랜잭션 인증을 포함한 NAPTR 레코드의 데이터 관리 Tier 1 Registry 에 Tier 2 ENUM DNS Provider 의 포인터를 제공

Page 8: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

8

DNS for ENUM

계층 1, 2 구역 파일 구성 원칙 Tier 1 에 전화번호 FQDN 이 저장

중복 방지 , 분쟁 해결 , 인증 확인 DNS Query 에 대한 응답이 빨라야 한다 전화 번호 국번 등이 변경 , 통합 시 DNS 에 적용이 신속하게

이루어져야 한다 . ENUM 정보 변경 시 DNS 에 신속하게 반영

Tier 1 파일 구성 2.8.e164.arpa 영역파일 Upper layer 국내 착신지번호별 구역 파일 Sub layer

Tier 2 파일 구성 ENUM 정보 구성

Page 9: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

9

NAPTR RR and ENUM

DNS Message Format

DNS Resource Records The data associated with domain names are contained in resource records, or

RRs. 각 RR 은 한가지의 정보를 갖고 있음 각 Type 에 따른 RR

SOA Record (Start Of Authority): 해당 도메인에 대해 네임서버가 인증 (authoritative) 된 자료를 갖고 있음을 의미

NS(Name Server) Record: 해당 도메인에 대한 delegation 하는 네임서버를 지시 A Record: 도메인에 IPv4 주소를 mapping AAAA Record: 도메인에 IPv6 주소를 mapping CNAME Record: 도메인에 대한 또 다른 이름 설정 MX(Mail eXchanger) Record: 해당 호스트의 메일 라우팅 경로를 조정 PTR(Pointer) Record: IP 주소를 domain name 으로 reverse mapping 해 주며 , Reverse

Zone 파일에서 사

HeaderHeader

QuestionQuestion

AnswerAnswer

AuthorityAuthority

AdditionalAdditional

Question : question for the name server Answer : RRs answering the question Authority : RRs pointing toward an authority Additional : RRs holding additional information

Page 10: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

10

NAPTR RR and ENUM

NAPTR Resource Record A DNS RR which specifies a regular expression based rewrite rule that

will produce a new domain label or Uniform Resource Identifier (URI). the resulting domain label or URI may be used

in subsequent queries for the Naming Authority Pointer(NAPTR) resource records (to delegate the name lookup)

or as the output of the entire process for which this system is used This allows the DNS to be used to lookup services for a wide variety of

resource names (including URIs) which are not in domain name syntax. Main Applications

URI resolution ENUM NAME (Dynamic)NAME (Dynamic)

TYPETYPE

CLASSCLASS

TTLTTL

RDLENGTHRDLENGTH

RDATA (Dynamic)RDATA (Dynamic)

ORDERORDER

PREFERENCEPREFERENCE

FLAGSFLAGS

SERVICESERVICE

REGEXPREGEXP

REPLACEMENTREPLACEMENT

NAPTR RR FormatDNS RR Format

Page 11: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

11

NAPTR RR and ENUM

NAPTR RR Format Order: the order in which the NAPTR records MUST be processed in

order to accurately represent the order list of Rules The ordering is from lowest to highest Should be selected based on the combination of the Preference values and

Services offered, if two records have same order values Preference: the order in which NAPTR records with equal Order values

SHOULD be processed A client MAY look at records with higher Preference values if it has a good

reason to do so such as not supporting some protocol or service very well Flags: controls whether the rewriting rule is terminated or not (empty flags)

Application-specific single character (e.g, “u” in ENUM) Services: specifies the Service Parameters applicable to this delegation

path Up to the Application Specification to specify the value (e.g. tel, sip, mailto)

Page 12: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

12

NAPTR RR and ENUM

NAPTR RR Format Regexp: a substitute expression that is applied to the original string held

by the client on order to construct the next domain name lookup Replacement: a <domain-name> which is the next domain-name to query

for depending on the potential values found in the flags field Use when the regular expression is a simple replacement operation

Page 13: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

13

Communication between DNS and ENUM Client

ENUM

Registrant

ENUMENUM

RegistrarRegistrar

Subscribe

ENUMENUM

ServerServer

Zone File

Update

1. ENUM 번호 변환1.5.5.4.6.8.1.2.2.2.8.e164.arpa

2. ENUM 번호 전송QR(0), QNAME, QTYPE=NAPTR

3. ENUM 관련정보 수신QR(1), ANSWER

4. 정보 리스트 작성 , 출력http, mailto, SIP…etc

ENUM Client

QueryResponse

ENUM 번호 입력+82-2-2186-4551

ENUM User

국가코드 IDDD 를 포함한 완전한 형태의 E.164 번호를 찾음

Ex : +82-2-2186-4551 문자 제거 (+, - 와 같은 문자를 제거 )

Ex : 82221864551 점 (“.”) 으로 숫자 구분

Ex : 8.2.2.2.1.8.6.4.5.5.1 숫자의 순서를 바꿈

Ex : 1.5.5.4.6.8.1.2.2.2.8 최상위 계층과 함께 계층화된 주소체계로 변환

Ex : 1.5.5.4.6.8.1.2.2.2.8.e164.arpa

Page 14: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

14

ENUM Query Message

35(0x0023)

1(0x0001)

question section

header section

Page 15: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

17

Infrastructure ENUM

e164 번호를 가지고 CSP (Communication Service Providers) 가 선택된 peer 그룹 내 또는 다른 CSP 들과 호스팅을 위한 정보

CSP 내부 또는 네트워크 간 라우팅 정보 제공을 목적으로 ENUM 개념을 적용한 기술

User ENUM 과 Infrastructure ENUM 의 계층구조는 호환되지 않음

주요 이슈 Infrastructure ENUM User ENUM

참여 결정 CSP 국가 , ENUM 가입자

정보 요구자 CSP only 선택적 정보

정보 제공자 CSPs ENUM 가입자

정보 갱신자 번호를 서비스하는 CSP ENUM Registrar

정보 저장 방법 All E.164 번호를 저장 (no opt-in)

가입자 별 opt-in

정보 접근자 CSPs only Any

정보 조회 통계 Yes No

도메인 정의 No yes

Infrastructure ENUM 과 User ENUM 비교

Page 16: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

18

Types of Infrastructure ENUM

CSP-Internal Infrastructure ENUM CSP Intranet 에서만 접근 가능

인트라넷에서 사용자 또는 라우팅을 위한 서비스를 찾기 위해 다른 CSPs, Public Internet, 인트라넷에서 PSTN 에 대한 GW 등과 연결을

위한 border elements 를 찾기 위해 인트라넷에서 CSP 간 ENUM 기술을 활용하여 중계 DB 에 접근하기 위해

적당한 DNS 도메인이 활용되고 private 또는 부분적 public DNS 로 구성

Page 17: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

19

Types of Infrastructure ENUM

CSP-Shared Infrastructure ENUM 시스템 구축에 참가한 모든 CSP 가 DNS data 를 이용하며 public

DNS 에 포함될 수 있으며 접근가능 여부 등은 정책 결정에 따름 CSP 가 다른 CSPs 와의 border elements 연결을 위해 활용 end-user 와 다른 CSP 의 end-user 간 직접 연결에는 적용되지 않음

Page 18: ENUM 2006. 5. 16 이병희 icebyung@hufs.ac.kr. 이병희 2 ENUM 등장배경 다양한 주소체계 존재, 중복 및 유일성을 보장하지 못하는 문제점 tel:+46-8-971234

이병희이병희 <<[email protected]@hufs.ac.kr>>

20

Types of Infrastructure ENUM

Global (Common) Infrastructure ENUM 참여한 CSP 들이 호스트 할 수 있는 모든 e164 번호가 포함된 하나의

common 시스템 공유