Database Normalization Process Overview

NATs Problem and STUN
107214005  田蕙瑜
1
NAT Introduction
NAT : Network Address Translation
In RFC 3489, there are 4 types of NAT:
Full Cone NAT
Restricted Cone NAT (Address Restricted Cone)
Port Restricted Cone NAT
Symmetric NAT
2
NAT Problem Example
Cannot handle embedded
IP addresses or ports
NAT only translate the
TCP/UDP Header
Cannot access internal
network services from the
public network
3
SIP Server
163.22.20.108
UA 101
192.168.2.14
NAT
REGISTER : 
101@192.168.2.14:7214
Registered  UAs Table
101@192.168.2.14:7214
Packet infomation  from Reference 6
NAT Solutions
Client
VPN 
(Virtual Private Network)
STUN 
(Simple Traversal of UDP
Through Netwoek Address
Translators)
RFC 3489
Works except symmetric NAT
TURN 
(Traversal Using Relay NAT)
ICE 
(Interactive Connectivity
Establish)
 
4
Gateway
ALG 
(Application
Layer Gateway)
UPnP 
(Universal Plug-
and-Play)
 
Server
RTP Proxy
 
STUN
5
Client
IP: 192.168.0.2
Port:16387
STUN Server
IP: 163.22.20.108
Port: 3478
NAT
Mapping Table
192.168.0.2:16387 <-> 17349
( for 163.22.20.108 )
IP: 10.22.22.179
Port: 17349
STUN
STUN Binding Reponse will include
MAPPED-ADDRESS
STUN Client IP
(after NAT)
SOURCE-ADDRESS
STUN Server IP
CHANGED-ADDRESS
STUN Server IP
6
STUN Demo
STUN Server
Public STUN Server List
stun.sipnet.net:3478
stun1.l.google.com:19302
angela.ncnu.org:3478
STUN Client
Webpage – 
Trickle ICE
Windows Application – 
WinSTUN
7
STUN with Symmetric NAT
8
Client
IP: 192.168.0.2
Port:16387
STUN Server
IP: 163.22.20.108
Port: 3478
Symmetric
NAT
Mapping Table
Kamailio
IP: 163.22.22.67
Port: 5060
192.168.0.2:16387 <-> 17349 ( for STUN Server)
192.168.0.2:16387 <-> 12345 ( for SIP Server )
Port: 17349
Port: 12345
Port Prediction
Port Preserving
Lots of NATs will allocate a
mapped port
Usaully the difference of
new mapped port is fixed
9
Picture from Reference 2
Reference
1.
ROSENBERG, Jonathan, et al. STUN-simple traversal of user datagram protocol (UDP)
through network address translators (NATs). 2003.
2.
GUHA, Saikat; FRANCIS, Paul. Characterization and measurement of tcp traversal through
nats and firewalls. In: Proceedings of the 5th ACM SIGCOMM Conference on Internet
Measurement. 2005. p. 18-18.
3.
GUHA, S., TAKEDA, Y., AND FRANCIS, P. NUTSS: A SIP-based Approach to UDP and TCP
Network Connectivity. In Proceedings of SIGCOMM’04 Workshops (Portland, OR, Aug. 2004),
pp. 43–48.
4.
Midcom, W.G., 2003. Symmetric NAT Traversal Using STUN, draft-takeda-symmetric-nat-
traversal-00. txt. IETF (2003-2006).
5.
穿越防火牆技術
6.
Sending of a SIP message without using STUN protocol
7.
Set up your STUN Server
10
NAT Problem Example
Cannot handle embedded
IP addresses or ports
NAT only translate the
TCP/UDP Header
Cannot access internal
network services from the
public network
11
SIP Server
163.22.20.108
UA Alice
10.22.22.23
UA Bob
163.22.20.24
NAT
REGISTER : Alice@10.22.22.23
Registered  UAs Table
Alice@10.22.22.23
Proxy Request (ask Alice)
Alice@10.22.22.23
Packet infomation  from Reference 6
NAT Solutions
STUN(Simple Traversal of
UDP Through Netwoek
Address Translators) - RFC
3489
TRUN(Traversal Using Relay
NAT)
ALG(Application Layer
Gatewqy)
ICE(Interactive Connectivity
Establish)
 
12
NAT Problem
Cannot handle embedded IP addresses or ports
NAT only translate the TCP/UDP Header
NAT cannot translate IP address or port
information embedded in the application data
Cannot access internal network services from the
public network 
13
Slide Note
Embed
Share

Database normalization plays a vital role in optimizing data efficiency and integrity by reducing redundancy. This content covers the importance of normalization, different normalization forms, top-down and bottom-up approaches, and the practical application through ER modeling. Dive into the world of database design with insights from subject matter experts.

  • Database
  • Normalization
  • Efficiency
  • ER Modeling
  • Database Design

Uploaded on Feb 28, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. NATs Problem and STUN 107214005 1

  2. NAT Introduction 2 NAT : Network Address Translation In RFC 3489, there are 4 types of NAT: Full Cone NAT Restricted Cone NAT (Address Restricted Cone) Port Restricted Cone NAT Symmetric NAT

  3. NAT Problem Example 3 Cannot handle embedded IP addresses or ports NAT only translate the TCP/UDP Header Registered UAs Table 101@192.168.2.14:7214 SIP Server 163.22.20.108 Cannot access internal network services from the public network NAT REGISTER : 101@192.168.2.14:7214 UA 101 192.168.2.14 Packet infomation from Reference 6

  4. NAT Solutions 4 Client Gateway Server VPN STUN ALG RTP Proxy (Virtual Private Network) (Application Layer Gateway) UPnP (Universal Plug- and-Play) (Simple Traversal of UDP Through Netwoek Address Translators) RFC 3489 Works except symmetric NAT TURN (Traversal Using Relay NAT) ICE (Interactive Connectivity Establish)

  5. STUN 5 IP: 10.22.22.179 Port: 17349 Client STUN Server IP: 163.22.20.108 Port: 3478 IP: 192.168.0.2 Port:16387 NAT Mapping Table 192.168.0.2:16387 <-> 17349 ( for 163.22.20.108 )

  6. STUN 6 STUN Binding Reponse will include MAPPED-ADDRESS STUN Client IP (after NAT) SOURCE-ADDRESS STUN Server IP CHANGED-ADDRESS STUN Server IP

  7. STUN Demo 7 STUN Server Public STUN Server List stun.sipnet.net:3478 stun1.l.google.com:19302 angela.ncnu.org:3478 STUN Client Webpage Trickle ICE Windows Application WinSTUN

  8. STUN with Symmetric NAT 8 STUN Server IP: 163.22.20.108 Port: 3478 Client Port: 17349 IP: 192.168.0.2 Port:16387 Symmetric NAT Kamailio IP: 163.22.22.67 Port: 5060 Port: 12345 Mapping Table 192.168.0.2:16387 <-> 17349 ( for STUN Server) 192.168.0.2:16387 <-> 12345 ( for SIP Server )

  9. Port Prediction 9 Port Preserving Lots of NATs will allocate a mapped port Usaully the difference of new mapped port is fixed Picture from Reference 2

  10. Reference 10 1. ROSENBERG, Jonathan, et al. STUN-simple traversal of user datagram protocol (UDP) through network address translators (NATs). 2003. 2. GUHA, Saikat; FRANCIS, Paul. Characterization and measurement of tcp traversal through nats and firewalls. In: Proceedings of the 5th ACM SIGCOMM Conference on Internet Measurement. 2005. p. 18-18. GUHA, S., TAKEDA, Y., AND FRANCIS, P. NUTSS: A SIP-based Approach to UDP and TCP Network Connectivity. In Proceedings of SIGCOMM 04 Workshops (Portland, OR, Aug. 2004), pp. 43 48. Midcom, W.G., 2003. Symmetric NAT Traversal Using STUN, draft-takeda-symmetric-nat- traversal-00. txt. IETF (2003-2006). Sending of a SIP message without using STUN protocol Set up your STUN Server 3. 4. 5. 6. 7.

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#