Professional Documents
Culture Documents
outline
IP networking vs. Content networking CANA Others
Internet
Original motivation for Internet is to share computing resources
Remote login, file transfer
IP networking
Host-centric design Lookup-by-name
Indirection (from name to locator)
DNS Hosts only
C o n te n t n a m e
Content Name
/a.com/b.jpg
Next Hop
Router C
Next Hop
Router C
/a.com/b.jpg
co /a. B:
m/ b
. jp
What is an IP address?
IP address
An IP address originally indicates the endpoint
End-to-end principle Serves as both locator and identifier
Not identifier
Mobility, multi-homing,
Just locator
Not identifier
Transit-by-transit
Not end-to-end
Domain name (or public IP address) + port number (or its hint)
Static content, e.g. http://www.nytimes.com/logo.jpg Dynamic content, e.g. 20.30.40.50:4000
Network layer is renamed as transit layer Transport layer is extended to global layer
CID is added
CID is locatable and unique Additional content info (e.g. bit rate) helps other layers
Deep packet inspection is assumed for other layers
so l ci r i to
* Assume
Intra-domain
Publishers agent will be contacted by the solicitors agent Publishers agent will receive the content from the publisher
Will relay the content to the host via the hosts agent
Intra-domain
agent
publisher
Inter-domain
Gateway A requests the content to gateway B Gateway B will get the content from agent of publisher Then relay the content to gateway A Gateway A will relay the content to the agent of the host Gateways can cache contents ISP A
Gateway A Gateway B
ISP B
host
publisher
m e ssa g e to A 1 , i src : d st i ts s H 1 :A 1 ( the content C H2 belongs to H 2 ) 2 . A 1 m a ke s a C I e n try ( C H2 , B H1) to deliver content data 3. The content request message now has A1:A2 as src:dst IP addresses 4. C1 makes a CIB entry (CH2 , A1) to deliver content data
..
As content request message traverses, a content info base (CIB) entry is set up backwards to relay content data
Policing at agent
Agent can perform proactive measures
To help prevent DDOS attack E.g. solicitors cannot generate too many requests
Especially to the same server
CANA: advantages
End hosts behind NATs are now first class citizens
Private addresses are fine Mitigates issues of IP address exhaustion and routing scalability
Security, accountability are enhanced Mobility and multicast are better handled
Mobility in CANA
The serving agent will take care of L2 handoff If a host moves to a new agent,
Host detects content delivery failure
It sends a new content request message
The new agent will continue the flow by relaying content request message toward the publisher
Multicast in CANA
R e ve rse p a th fo rw a rd i g n E a si r a d d re ss m a n a g e m e n t e A: source E,G,D multicast recipients First E joins
C has (CA,E), A has (CA,C)
G joins
C has (CA,E and G)
NetFPGA
CPU
Mem ory
PCI
NetFPGA Driver
1GE 1.Design 1.Design 2.Simulate 2.Simulate L3 L2 In Q 3.Synthesize 1GE 3.Synthesize Par Par Mgm 4.Download 4.Download 1GE se se t Out My IP 1GE Q Bloc Look Mg k up 1GE mt Verilog modules interconnected by FIFO interfaces
FP G A
Memo ry
HTTP-GET flow
Cache miss
Content flow
User-level software Cache Router
URL Parser Cache Table
NetFPGA
NetFPGA
CANA: caching
User-level software Cache Router
URL Parser Cache Table
Registrate IP to forward Cache hit
Cache hit
NetFPGA
Experimental Scenarios
Content Router Legacy IP Router 1G Link
A
A A
A
Experimental Scenarios
A
Content Router Legacy IP Router 1G Link 100M Link Cached Content
A
A A A
Increase the number of clients Measures and compared with legacy IP network
Experimental Scenarios
Content Router Legacy IP Router 1G Link 100M Link
A1 A1
A1
A2
Cached Content
Mobility
A2
CANA: Conclusions
IP address loses its identifier role Content identifier is introduced instead Combination of IP address and CID can solve or mitigate many problems in Internet Incremental deployment Performance issues for contentawareness
Joint work with Kideok Cho, Munyoung Lee, Kunwoo Park, Yanghee Choi
IP networking
Lookup-by-name
DNS: Indirection from name to locator
DNS is extendible and highly available Distributed design, caching
DONA, PSIRP
Flat names for persistency
Content networking
Scalability, reachability issues
SCAN Overview
Content routers (C-routers) do IP and content routing
Each content has a content identifier (CID) Local content table (LCT): cached content files Content routing table (CRT): CIDs of the content files in neighbor C-routers CIDs are advertised by Bloom Filter (BF)
C-router Bloom filter
0 1 0 1
ci d
0 1 0 1 0
C-router
C-router will decay the bits of a BF probabilistically before exchanging content routing table (CRT) info
E.g. if decaying prob. is 0.5, around the half of the bits 1 will be randomly set to 0
Server
Content A
(2)
Content Request Scanning Request Content Response Range Request Content Delivery
(2) (2)
Content Request
(1 )
(3)
Content A
(5)
Content A
C-router Content
(1 ) (2) (3 )
Content Request Scanning Request Content Response Range Request Content Delivery
(4 )
(4 ) (4 ) (5)
Content A
(4 ) (5 )
41
Makes a copy & Does IP routing LCT lookup Can I afford scanning now? Yes
Forwarding Decision
Scanning
CID matched in LCT CRT lookup No Yes Forward the scan request to the matched interfaces Yes Respond to the end host
Done
42
Simulation Setup
GT-ITM: 1 transit and 5 stub domains
1*5+5*20 C-routers
100 servers among 1000 end hosts, Total 20,000 content files
10,000 different content files at 100 servers top 10% have avg. 10 copies at C-routers
SCAN vs. IP routing, IP with caching, SCAN w/o BF (C-info of BF size), SCAN-full
43
44
45
SCAN: Conclusions
IP networking and content networking (CN) have pros and cons A hybrid approach is proposed
IP networking is fallback Opportunistic CN is exploited
others
WAVE (1/2)
Content Distribution
storage cost has been and will be rapidly decreasing routers can be co-located with storage modules How to cache?
WAVE (2/2)
Content Diffusion
Popular content is replicated Chunk-based, incremental caching of content
Merits
Reduced delivery latency ISP incentives
Inter-ISP traffic reduction Traffic engineering Customized content delivery services
Location Database C - router Contents
End Host
i Proxy
Original Server
R1
C3
C1
C2
C3
R4
C2
R3
C1 C3
iCODE
Discussions
tkkw o n @ sn u . a c . kr
Agent compromise
Host
Receive AA message Private address (IPv4) and link local address (IPv6) No need to know destination address
Cannot contact DNS