+ All Categories
Home > Documents > Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems...

Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems...

Date post: 07-Sep-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
33
Message Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc) Conducted at SARA June 30, 2010 Michiel Timmers ([email protected]) Sebastian Carlier ([email protected])
Transcript
Page 1: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

Message Agents and IPv6interoperability problems

Research ProjectUniversiteit van Amsterdam

System and Network Engineering (MSc)Conducted at SARA

June 30, 2010

Michiel Timmers ([email protected])Sebastian Carlier ([email protected])

Page 2: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

2 / 33

Contents

● Research Question● Why● Intro ● Design problems with MX records in IPv4/IPv6 ● Implementation problems on clients● Things to keep in mind● Question

Page 3: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

3 / 33

Research Question

What e-mail architecture components and configurations introduce connectivity

problems in an IPv4/IPv6 mixed environment?

Page 4: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

4 / 33

Why

IPv6 on your public facing services will only become more and more important. Therefore study is needed to see where problems originate to be able to fix or avoid them.

Page 5: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

5 / 33

Test environment

● SARA network● /28 for IPv4 and /64 for IPv6

● OS3 Lab● /27 for IPv4 and /64 for IPv6

● Approximately 20 machines● Ubuntu 10.04, Windows, Mac OSX 10.6● Exim, Sendmail, Postfix, Exchange 2007 SP1

Page 6: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

6 / 33

Message Agents - Intro

Client(aMUA)

Client(rMUA)

SMTP Relay

MTA MTA

Mail Delivery(IMAP/POP3)

Page 7: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

7 / 33

Address Selection

IPv6

IPv6

IPv6IPv6

IPv4IPv4

IPv4

Step 1

Step 2

Message AgentMessage Agent

Step 3

Page 8: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

8 / 33

DNS A and AAAA

● Round robin for load balancing your services:● With MXs of equal preference● With multiple A or AAAA records

● RFC 3484 brakes this behaviour● Longest matching prefix (section 6, rule 9)● Draft “Things To Be Considered for RFC 3484 Revision”

● RFC 3484 does not recognize private IPv4 addresses as native (Section 6, rule 7)

Page 9: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

9 / 33

SMTP Relay - Problems

clientSMTP RelayIPv4-only

MTA: brainbird.nlIPv4/IPv6

From: [email protected] (IPv6)To: [email protected] (IPv4/IPv6)

Page 10: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

10 / 33

SMTP Relay - Problems

clientSMTP RelayIPv4-only

From: [email protected] (IPv6)To: [email protected] (IPv4/IPv6)

MTA: brainbird.nlIPv4/IPv6

Client will send message to SMTP Relay

Page 11: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

11 / 33

SMTP Relay - Problems

clientSMTP RelayIPv4-only

Try to send it to mx10 using IPv4

From: [email protected] (IPv6)To: [email protected] (IPv4/IPv6)

MTA: brainbird.nlIPv4/IPv6

Page 12: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

12 / 33

SMTP Relay - Problems

clientSMTP RelayIPv4-only

From: [email protected] (IPv6)To: [email protected] (IPv4/IPv6)

MTA: brainbird.nlIPv4/IPv6

Recipient address rejected: User unknown

Page 13: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

13 / 33

SMTP Relay - Problems

clientSMTP RelayIPv4-only

MTA: brainbird.nlIPv4/IPv6

MTA: skimbee.netIPv6-only

From: [email protected] (IPv6)To: [email protected] (IPv4/IPv6)

E-mail error needs to be send to sender,Not possible as domain is IPv6-only

Page 14: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

14 / 33

SMTP Relay - Problems

clientSMTP RelayIPv4-only

E-mail does not reach receiver and errorcode does not get returned to sender

MTA: skimbee.netIPv6-only

From: [email protected] (IPv6)To: [email protected] (IPv4/IPv6)

MTA: brainbird.nlIPv4/IPv6

Page 15: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

15 / 33

MX Routing - Problems

SMTP RelayIPv4-only

From: [email protected]: [email protected]

IPv4/IPv6mx10

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

mx10 is down

Page 16: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

16 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

No connectivity possible betweenSMTP Relay and mx20

From: [email protected]: [email protected]

SMTP RelayIPv4-only

IPv4/IPv6mx10

Page 17: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

17 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

Deliver to mx30

From: [email protected]: [email protected]

SMTP RelayIPv4-only

IPv4/IPv6mx10

Page 18: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

18 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

From: [email protected]: [email protected]

mx10 is still down

SMTP RelayIPv4-only

IPv4/IPv6mx10

Page 19: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

19 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

From: [email protected]: [email protected]

Deliver to mx20

SMTP RelayIPv4-only

IPv4/IPv6mx10

Page 20: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

20 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

From: [email protected]: [email protected]

mx10 is still down

SMTP RelayIPv4-only

IPv4/IPv6mx10

Page 21: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

21 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

From: [email protected]: [email protected]

E-mail error needs to be send to sender,Not possible as domain is IPv4-only

SMTP RelayIPv4-only

IPv4/IPv6mx10

MTA: skimbee.netIPv4-only

Page 22: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

22 / 33

MX Routing - Problems

IPv4/IPv6mx30 relay

IPv6-onlymx20 relay

From: [email protected]: [email protected]

E-mail does not reach receiver and errorcode does not get returned to sender

SMTP RelayIPv4-only

IPv4/IPv6mx10

Page 23: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

23 / 33

Implementation problems on clients

● Most of the implementation problems were found on the client side

● Clients don't implement RFC 3484 correctly● Windows will end up with the same metric for

tunnels and native

● Outlook 2007/2010 does not fall back to IPv4● Apple Mac OSX 10.6 is broken by design...

Page 24: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

24 / 33

Apple's mDNSResponder

● Introduced in Mac OSx 10.6 (Snow Leopard)● Simultaneous query for A and AAAA

● to speed up connectivity if there are DNS lookup problems

Query: A

Query: AAAA

Mac OSX 10.6 DNS Resolver

Page 25: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

25 / 33

Apple's mDNSResponder

● Introduced in Mac OSx 10.6 (Snow Leopard)● Simultaneous query for A and AAAA

● to speed up connectivity if there are DNS lookup problems

● Only accepts first response

Return: A

Return: AAAA

Mac OSX 10.6 DNS Resolver

Page 26: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

26 / 33

Apple's mDNSResponder

● This does not comply with RFC 3484.● Twice the amount of DNS queries on your resolver.● Clients will randomly access over IPv4 or IPv6

depending on what record is returned first.● This breaks many things

● No fall back possible!!!● Problems when only AAAA is available but A

“NOERROR” is returned first.

Page 27: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

27 / 33

Conclusion

● Reflecting back on our research question:

What e-mail architecture components and configurations introduce connectivity problems in an IPv4/IPv6 mixed environment?

Page 28: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

28 / 33

Conclusion - MTA

● No implementation problems.● Problems in IPv4/IPv6 mixed environments

when doing MX routing. RFC 3974.● Make sure YOU have implemented Dual-Stack

(IPv4/IPv6) so in all situations MTAs can reach you.

Page 29: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

29 / 33

Conclusion - MUA

● Clients will give the biggest problems.● Be careful before announcing AAAA for your SMTP

Relay and POP3/IMAP services.● Use a controlled environment to test impacted

behaviour

Page 30: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

30 / 33

Keep in mind

● Transition mechanism are unreliable and unpredictable ● Do not configure them on a server (disable them on

Windows Server 2008).● Do not make any services available over transition

mechanism, like configuring an AAAA that points to a Teredo interface!!!!

● RFC 4941 - Privacy addresses.● Double the amount of monitoring.

Page 31: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

31 / 33

Acknowledgments

● SARA● Ronald van der Pol● Freek Dijkstra

Page 32: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

32 / 33

Questions?

Page 33: Message Agents and IPv6 interoperability problemsMessage Agents and IPv6 interoperability problems Research Project Universiteit van Amsterdam System and Network Engineering (MSc)

33 / 33

References

● Wiki for this research

● Apple IPv6 problems

● Things To Be Considered for RFC 3484 Revision


Recommended