Why we have to change application layer in IPv6 if this is a layered architecture?

StackOverflow https://stackoverflow.com/questions/9389676

  •  29-10-2019
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

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).

다른 팁

We wouldn't have to change if people would use the getaddrinfo() and getnameinfo() functions.

But as their usage needs 3 more lines of code, people did not use it before.

Meanwhile, they slowly start doing so...

I Think application layer softwares in general doesn't care about IP layer, but however for security reasons some applications need to deal with IP layer (i.e. Access lists at Web servers), this why we need to upgrade software in order to handle IPv6.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top