classification of net 'mid-box'

本文详细介绍了网络地址转换(NAT)的基本概念及不同类型的NAT,包括基本NAT、Cone NAT(全锥形NAT、受限锥形NAT、端口受限锥形NAT)和对称NAT的工作原理及其特性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Note:

   This classification generally applies only to

 UDP traffic, since NATs and firewalls reject incoming TCP

 connection attempts unconditionally unless specifically configured to

 do otherwise.

 

Basic NAT

{

      A Basic NAT maps an internal host's private IP address to a

      public IP address without changing the TCP/UDP port

      numbers in packets crossing the boundary.  Basic NAT is generally

      only useful when the NAT has a pool of public IP addresses from

      which to make address bindings on behalf of internal hosts.

 

}else NAPT   (most commonly)

{

  Cone NAT

  {

Full Cone NAT

{

            After establishing a public/private port binding for a new

            outgoing session, a full cone NAT will subsequently accept

            incoming traffic to the corresponding public port from ANY

            external endpoint on the public network.  Full cone NAT is

            also sometimes called "promiscuous" NAT.

}or

        Restricted Cone NAT

{

            A restricted cone NAT only forwards an incoming packet directed to

            a public port if its external (source) IP address matches the

            address of a node to which the internal host has previously sent

            one or more outgoing packets.  A restricted cone NAT effectively

            refines the firewall principle of rejecting unsolicited incoming

            traffic, by restricting incoming traffic to a set of "known" 

            external IP addresses.

        }or

Port-Restricted Cone NAT

{

            A port-restricted cone NAT, in turn, only forwards an incoming

            packet if its external IP address AND port number match those of

            an external endpoint to which the internal host has previously

            sent outgoing packets.  A port-restricted cone NAT provides 

            internal nodes the same level of protection against unsolicited

            incoming traffic that a symmetric NAT does, while maintaining a

            private port's identity across translation.

}

  }else Symmetric NAT

  {

        A symmetric NAT, in contrast, does not maintain a consistent

        port binding  between (private IP, private port) and (public IP,

        public port) across all sessions. Instead, it assigns a new

        public port to each new session.  For example, suppose Client A

        initiates two outgoing sessions from the same port as above, one

        with S1 and one with S2.  A symmetric NAT might allocate the

        public endpoint 155.99.25.11:62000 to session 1, and then allocate

        a different public endpoint 155.99.25.11:62001, when the

        application initiates session 2.  The NAT is able to differentiate

        between the two sessions for translation purposes because the

        external endpoints involved in the sessions (those of S1

        and S2) differ, even as the endpoint identity of the client 

        application is lost across the address translation boundary.

  }

}

 

 摘自RFC2026,略有整理 (draft-ford-midcom-p2p-01)

 

by ga6840

内容概要:本文详细介绍了计算机求职面试的内容、技巧和备战策略,涵盖技术面、项目面、行为面三大部分。技术面重点在于算法和计算机基础知识,包括操作系统、网络、数据库等方面,并强调掌握高频算法题的解题方法和技巧。项目面要求候选人能够提炼项目的深度与亮点,运用STAR法则结构化描述项目经历,突出技术难点和解决方案。行为面主要考察候选人的软实力,如沟通能力、团队协作和解决问题的能力。高效备战策略方面,建议分阶段复习,优化简历,利用各种资源进行模拟面试。实战技巧部分提供了沟通心态管理、白板代码实战以及薪资谈判的具体指导。最后,文章还指出了常见误区,如盲目刷题、过度包装项目和忽视非技术问题的回答。 适合人群:计算机专业的应届毕业生和有工作经验的求职者,特别是希望进入互联网大厂、外企或独角兽企业的技术人员。 使用场景及目标:①帮助求职者理解计算机岗位面试的核心内容和技术要求;②提供系统的备考计划和资源推荐,提高面试准备效率;③传授面试实战技巧,增强求职者的自信心和表现力;④提醒求职者避免常见误区,确保面试过程顺利。 阅读建议:本文内容详实,建议读者按照文中提供的步骤逐步实施,结合自身实际情况调整策略。同时,注重实践练习,多参与模拟面试,不断总结经验教训,以提升面试成功率。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值