如果这是一个分层架构,为什么我们必须改变 IPv6 中的应用层?
如果TCP/IP是一个适当的分层架构,为什么我们需要更改应用层中的所有应用程序才能将底层协议IP从版本4更改为版本6?
If TCP/IP is a proper layered architecture why do we need to change all the applications in the application layer in order to change a bottom layer protocol IP from version 4 to version 6?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(3)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如果应用程序开发良好并且确实分层,那么它就不必更改。不幸的是,许多应用程序使用较低层的详细信息,例如用于访问控制、日志记录等的 IP 地址。在许多情况下这是可以理解的,但它确实破坏了分层架构...
http://www.stipv6.nl/whitepaper-ip-aspecten-software
并且不要忘记像常规输入验证这样的事情表达式和用户界面仅处理 IPv4 表示法(提供四个地址输入框或在某些位置自动插入点等)。
If the application is well-developed and really layered then it should not have to change. Unfortunately many applications use lower-layer details like IP addresses for access control, logging etc. In many cases understandable, but it does indeed break the layered architecture...
The basics are covered in http://www.stipv6.nl/whitepaper-ip-aspecten-software
And don't forget things like input validation with regular expressions and user interfaces that only handle IPv4 notation (providing four input boxes for the address or automatically inserting dots at certain places etc).