Why should we change the application layer in IPv6 if it is a layered architecture?

If TCP / IP is the proper layered architecture, why do we need to change all applications at the application level to change the lower layer IP protocol from version 4 to version 6?

+6
source share
3 answers

If an application is well developed and truly multi-layered, it should not change. Unfortunately, many applications use lower-level details such as IP addresses for access control, logging, etc. In many cases, it’s understandable, but it really destroys the layered architecture ...

The basics are described at http://www.stipv6.nl/whitepaper-ip-aspecten-software

And don't forget things like checking input with regular expressions and user interfaces that handle only IPv4 notation (providing four input fields for an address or automatically inserting dots in specific places, etc.).

+6
source

We would not have to change if people used getaddrinfo() and getnameinfo() .

But since their use requires 3 more lines of code, people have not used it before.

Meanwhile, they are slowly starting to do it ...

+4
source

I think the software at the application level does not care about the IP level at all, but, nevertheless, for security reasons, some applications must deal with the IP level (for example, access lists on web servers), so we need to update software to handle IPv6.

0
source

Source: https://habr.com/ru/post/909042/


All Articles