1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893
|
<pre>Network Working Group F. Le
Request for Comments: 4487 CMU
Category: Informational S. Faccin
B. Patil
Nokia
H. Tschofenig
Siemens
May 2006
<span class="h1">Mobile IPv6 and Firewalls: Problem Statement</span>
Status of This Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
Abstract
This document captures the issues that may arise in the deployment of
IPv6 networks when they support Mobile IPv6 and firewalls. The
issues are not only applicable to firewalls protecting enterprise
networks, but are also applicable in 3G mobile networks such as
General Packet Radio Service / Universal Mobile Telecommunications
System (GPRS/UMTS) and CDMA2000 networks.
The goal of this document is to highlight the issues with firewalls
and Mobile IPv6 and act as an enabler for further discussion. Issues
identified here can be solved by developing appropriate solutions.
<span class="grey">Le, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Abbreviations ...................................................<a href="#page-4">4</a>
<a href="#section-4">4</a>. Overview of Firewalls ...........................................<a href="#page-4">4</a>
5. Analysis of Various Scenarios Involving MIP6 Nodes and
Firewalls .......................................................<a href="#page-6">6</a>
5.1. Scenario Where the Mobile Node Is in a Network
Protected by Firewall(s) ...................................<a href="#page-7">7</a>
5.2. Scenario Where the Correspondent Node Is in a
Network Protected by Firewall(s) ...........................<a href="#page-9">9</a>
5.3. Scenario Where the HA Is in a Network Protected by
Firewall(s) ...............................................<a href="#page-12">12</a>
5.4. Scenario Where the MN Moves to a Network Protected by
Firewall(s) ...............................................<a href="#page-12">12</a>
<a href="#section-6">6</a>. Conclusions ....................................................<a href="#page-13">13</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-14">14</a>
<a href="#section-8">8</a>. Acknowledgements ...............................................<a href="#page-14">14</a>
<a href="#section-9">9</a>. References .....................................................<a href="#page-14">14</a>
<a href="#section-9.1">9.1</a>. Normative References ......................................<a href="#page-14">14</a>
<a href="#section-9.2">9.2</a>. Informative References ....................................<a href="#page-14">14</a>
<a href="#appendix-A">Appendix A</a>. Applicability to 3G Networks ..........................<a href="#page-15">15</a>
<span class="grey">Le, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Network elements such as firewalls are an integral aspect of a
majority of IP networks today, given the state of security in the
Internet, threats, and vulnerabilities to data networks. Current IP
networks are predominantly based on IPv4 technology, and hence
firewalls have been designed for these networks. Deployment of IPv6
networks is currently progressing, albeit at a slower pace.
Firewalls for IPv6 networks are still maturing and in development.
Mobility support for IPv6 has been standardized as specified in <a href="./rfc3775">RFC</a>
<a href="./rfc3775">3775</a>. Given the fact that Mobile IPv6 is a recent standard, most
firewalls available for IPv6 networks do not support Mobile IPv6.
Unless firewalls are aware of Mobile IPv6 protocol details, these
security devices will interfere with the smooth operation of the
protocol and can be a detriment to deployment.
Mobile IPv6 enables IP mobility for IPv6 nodes. It allows a mobile
IPv6 node to be reachable via its home IPv6 address irrespective of
any link that the mobile attaches to. This is possible as a result
of the extensions to IPv6 defined in the Mobile IPv6 specification
[<a href="#ref-1" title=""Mobility Support in IPv6"">1</a>].
Mobile IPv6 protocol design also incorporates a feature termed Route
Optimization. This set of extensions is a fundamental part of the
protocol that enables optimized routing of packets between a mobile
node and its correspondent node and therefore optimized performance
of the communication.
In most cases, current firewall technologies, however, do not support
Mobile IPv6 or are not even aware of Mobile IPv6 headers and
extensions. Since most networks in the current business environment
deploy firewalls, this may prevent future large-scale deployment of
the Mobile IPv6 protocol.
This document presents in detail some of the issues that firewalls
present for Mobile IPv6 deployment, as well as the impact of each
issue.
<span class="grey">Le, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
Return Routability Test (RRT): The Return Routability Test is a
procedure defined in <a href="./rfc3775">RFC 3775</a> [<a href="#ref-1" title=""Mobility Support in IPv6"">1</a>]. It is performed prior to the
Route Optimization (RO), where a mobile node (MN) instructs a
correspondent node (CN) to direct the mobile node's data traffic
to its claimed care-of address (CoA). The Return Routability
procedure provides some security assurance and prevents the misuse
of Mobile IPv6 signaling to maliciously redirect the traffic or to
launch other attacks.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Abbreviations</span>
This document uses the following abbreviations:
o CN: Correspondent Node
o CoA: Care of Address
o CoTI: Care of Test Init
o HA: Home Agent
o HoA: Home Address
o HoTI: Home Test Init
o HoT: Home Test
o MN: Mobile Node
o RO: Route Optimization
o RRT: Return Routability Test
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Overview of Firewalls</span>
The following section provides a brief overview of firewalls. It is
intended as background information so that issues with the Mobile
IPv6 protocol can then be presented in detail in the following
sections.
There are different types of firewalls, and state can be created in
these firewalls through different methods. Independent of the
adopted method, firewalls typically look at five parameters of the
traffic arriving at the firewalls:
<span class="grey">Le, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
o Source IP address
o Destination IP address
o Protocol type
o Source port number
o Destination port number
Based on these parameters, firewalls usually decide whether to allow
the traffic or to drop the packets. Some firewalls may filter only
incoming traffic, while others may also filter outgoing traffic.
According to <a href="./rfc2647#section-3.29">Section 3.29 of RFC 2647</a> [<a href="#ref-2" title=""Benchmarking Terminology for Firewall Performance"">2</a>], stateful packet filtering
refers to the process of forwarding or rejecting traffic based on the
contents of a state table maintained by a firewall. These types of
firewalls are commonly deployed to protect networks from different
threats, such as blocking unsolicited incoming traffic from the
external networks. The following briefly describes how these
firewalls work since they can create additional problems with the
Mobile IPv6 protocol as described in the subsequent sections.
In TCP, an MN sends a TCP SYN message to connect to another host in
the Internet.
Upon receiving that SYN packet, the firewall records the source IP
address, the destination IP address, the Protocol type, the source
port number, and the destination port number indicated in that packet
before transmitting it to the destination.
When an incoming message from the external networks reaches the
firewall, it searches the packet's source IP address, destination IP
address, Protocol type, source port number, and destination port
number in its entries to see if the packet matches the
characteristics of a request sent previously. If so, the firewall
allows the packet to enter the network. If the packet was not
solicited from an internal node, the packet is blocked.
When the TCP close session packets are exchanged or after some
configurable period of inactivity, the associated entry in the
firewall is deleted. This mechanism prevents entries from remaining
when TCP are abruptly terminated.
A similar entry is created when using UDP. The difference with this
transport protocol is that UDP is connectionless and does not have
packets signaling the initiation or termination of a session.
Consequently, the duration of the entries relies solely on timers.
<span class="grey">Le, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Analysis of Various Scenarios Involving MIP6 Nodes and Firewalls</span>
The following section describes various scenarios involving MIP6
nodes and firewalls and also presents the issues related to each
scenario.
The Mobile IPv6 specifications define three main entities: the mobile
node (MN), the correspondent node (CN), and the home agent (HA).
Each of these entities may be in a network protected by one or many
firewalls:
o <a href="#section-5.1">Section 5.1</a> analyzes the issues when the MN is in a network
protected by firewall(s)
o <a href="#section-5.2">Section 5.2</a> analyzes the issues when the CN is in a network
protected by firewall(s)
o <a href="#section-5.3">Section 5.3</a> analyzes the issues when the HA is in a network
protected by firewall(s)
The MN may also be moving from an external network, to a network
protected by firewall(s). The issues of this case are described in
<a href="#section-5.4">Section 5.4</a>.
Some of the described issues (e.g., Sections <a href="#section-5.1">5.1</a> and <a href="#section-5.2">5.2</a>) may require
modifications to the protocols or to the firewalls, and others (e.g.,
<a href="#section-5.3">Section 5.3</a>) may require only that appropriate rules and
configuration be in place.
<span class="grey">Le, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Scenario Where the Mobile Node Is in a Network Protected by</span>
<span class="h3"> Firewall(s)</span>
Let's consider MN A, in a network protected by firewall(s).
+----------------+ +----+
| | | HA |
| | +----+
| | Home Agent
| +---+ +----+ of A +---+
| | A | | FW | | B |
| +---+ +----+ +---+
|Internal | External
| MN | Node
| |
+----------------+
Network protected
Figure 1: Issues between MIP6 and firewalls when MN is in a network
protected by firewalls
A number of issues need to be considered:
Issue 1: When MN A connects to the network, it should acquire a local
IP address (CoA) and send a Binding Update (BU) to its Home Agent
to update the HA with its current point of attachment. The
Binding Updates and Acknowledgements should be protected by IPsec
ESP according to the MIPv6 specifications [<a href="#ref-1" title=""Mobility Support in IPv6"">1</a>]. However, as a
default rule, many firewalls drop IPsec ESP packets because they
cannot determine whether inbound ESP packets are legitimate. It
is difficult or impossible to create useful state by observing the
outbound ESP packets. This may cause the Binding Updates and
Acknowledgements between the mobile nodes and their home agent to
be dropped.
Issue 2: Let's now consider a node in the external network, B, trying
to establish a communication with MN A.
* B sends a packet to the mobile node's home address.
* The packet is intercepted by the MN's home agent, which tunnels
it to the MN's CoA [<a href="#ref-1" title=""Mobility Support in IPv6"">1</a>].
* When arriving at the firewall(s) protecting MN A, the packet
may be dropped since the incoming packet may not match any
existing state. As described in <a href="#section-4">Section 4</a>, stateful inspection
packet filters (for example) typically drop unsolicited
incoming traffic.
<span class="grey">Le, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
* B will thus not be able to contact MN A and establish a
communication.
Even though the HA is updated with the location of an MN,
firewalls may prevent correspondent nodes from establishing
communications when the MN is in a network protected by
firewall(s).
Issue 3: Let's assume a communication between MN A and an external
node B. MN A may want to use Route Optimization (RO) so that
packets can be directly exchanged between the MN and the CN
without passing through the HA. However, the firewalls protecting
the MN might present issues with the Return Routability procedure
that needs to be performed prior to using RO.
According to the MIPv6 specifications, the Home Test message of
the RRT must be protected by IPsec in tunnel mode. However,
firewalls might drop any packet protected by ESP, since the
firewalls cannot analyze the packets encrypted by ESP (e.g., port
numbers). The firewalls may thus drop the Home Test messages and
prevent the completion of the RRT procedure.
Issue 4: Let's assume that MN A successfully sends a Binding Update
to its home agent (resp. correspondent nodes) -- which solves
issue 1 (resp. issue 3) -- and that the subsequent traffic is sent
from the HA (resp. CN) to the MN's CoA. However there may not be
any corresponding state in the firewalls. The firewalls
protecting A may thus drop the incoming packets.
The appropriate states for the traffic to the MN's CoA need to be
created in the firewall(s).
Issue 5: When MN A moves, it may move to a link that is served by a
different firewall. MN A might be sending a BU to its CN;
however, incoming packets may be dropped at the firewall, since
the firewall on the new link that the MN attaches to does not have
any state that is associated with the MN.
The issues described above result from the fact that the MN is behind
the firewall. Consequently, the MN's communication capability with
other nodes is affected by the firewall rules.
<span class="grey">Le, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Scenario Where the Correspondent Node Is in a Network Protected by</span>
<span class="h3"> Firewall(s)</span>
Let's consider an MN in a network, communicating with a Correspondent
Node C in a network protected by firewall(s). There are no issues
with the presence of a firewall in the scenario where the MN is
sending packets to the CN via a reverse tunnel that is set up between
the MN and HA. However, firewalls may present different issues to
Route Optimization.
+----------------+ +----+
| | | HA |
| | +----+
| | Home Agent
| +---+ +----+ of B
| |CN | | FW |
| | C | +----+
| +---+ | +---+
| | | B |
| | +---+
+----------------+ External Mobile
Network protected Node
by a firewall
Figure 2: Issues between MIP6 and firewalls when a CN is in a network
protected by firewalls
The following issues need to be considered:
Issue 1: The MN (MN B) should use its Home Address (HoA B) when
establishing the communication with the CN (CN C), if MN B wants
to take advantage of the mobility support provided by the Mobile
IPv6 protocol for its communication with CN C. The state created
by the firewall protecting CN C is therefore created based on the
IP address of C (IP C) and the home address of Node B (IP HoA B).
The states may be created via different means, and the protocol
type as well as the port numbers depend on the connection setup.
Uplink packet filters (1)
Source IP address: IP C
Destination IP address: HoA B
Protocol Type: TCP/UDP
Source Port Number: #1
<span class="grey">Le, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
Destination Port Number: #2
Downlink packet filters (2)
Source IP address: HoA B
Destination IP address: IP C
Protocol Type: TCP/UDP
Source Port Number: #2
Destination Port Number: #1
Nodes C and B might be topologically close to each other, while
B's home agent may be far away, resulting in a trombone effect
that can create delay and degrade the performance. MN B may
decide to initiate the route optimization procedure with Node C.
Route optimization requires MN B to send a Binding Update to Node
C in order to create an entry in its binding cache that maps the
MN's home address to its current care-of-address. However, prior
to sending the binding update, the mobile node must first execute
a Return Routability Test:
* Mobile Node B has to send a Home Test Init (HoTI) message via
its home agent and
* a Care of Test Init (COTI) message directly to its
Correspondent Node C.
The Care of Test Init message is sent using the CoA of B as the
source address. Such a packet does not match any entry in the
protecting firewall (2). The CoTi message will thus be dropped by
the firewall.
The HoTI is a Mobility Header packet, and as the protocol type
differs from the established state in the firewall (see (2)), the
HoTI packet will also be dropped.
As a consequence, the RRT cannot be completed, and route
optimization cannot be applied. Every packet has to go through
Node B's home agent and tunneled between B's home agent and B.
<span class="grey">Le, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
+----------------+
| +----+ HoTI (HoA) +----+
| | FW |X<---------------|HA B|
| +----X +----+
| +------+ | ^ CoTI & HoTI ^
| | CN C | | | dropped by FW |
| +------+ | | | HoTI
| | | |
| | | CoTI (CoA)+------+
| | +------------------| MN B |
+----------------+ +------+
Network protected External Mobile
by a firewall Node
Figure 3: Issues with Return Routability Test
Issue 2: Let's assume that the Binding Update to the CN is
successful; the firewall(s) might still drop packets that are:
1. coming from the CoA, since these incoming packets are sent
from the CoA and do not match the Downlink Packet filter (2).
2. sent from the CN to the CoA if uplink packet filters are
implemented. The uplink packets are sent to the MN's CoA and
do not match the uplink packet filter (1).
The packet filters for the traffic sent to (resp. from) the CoA
need to be created in the firewall(s).
Requiring the firewalls to update the connection state upon
detecting Binding Update messages from a node outside the network
protected by the firewall does not appear feasible or desirable,
since currently the firewall does not have any means to verify the
validity of Binding Update messages and therefore to modify the
state information securely. Changing the firewall states without
verifying the validity of the Binding Update messages could lead
to denial of service attacks. Malicious nodes may send fake
binding updates, forcing the firewall to change its state
information, and therefore leading the firewall to drop packets
from the connections that use the legitimate addresses. An
adversary might also use an address update to enable its own
traffic to pass through the firewall and enter the network.
Issue 3: Let's assume that the Binding Update to the CN is
successful. The CN may be protected by different firewalls, and
as a result of the MN's change of IP address, incoming and
outgoing traffic may pass through a different firewall. The new
<span class="grey">Le, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
firewall may not have any state associated with the CN, and
incoming packets (and potentially outgoing traffic as well) may be
dropped at the firewall.
Firewall technology allows clusters of firewalls to share state
[<a href="#ref-3" title=""Check Point NG VPN-1/ Firewall-1 Advanced Configuration and Troubleshooting"">3</a>]. This, for example, allows the support of routing asymmetry.
However, if the previous and the new firewalls, through which the
packets are routed after the Binding Update has been sent, do not
share state, this may result in packets being dropped at the new
firewall. As the new firewall does not have any state associated
with the CN, incoming packets (and potentially outgoing traffic as
well) may be dropped at the new firewall.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Scenario Where the HA Is in a Network Protected by Firewall(s)</span>
In the scenarios where the home agent is in a network protected by
firewall(s), the following issues may exist:
Issue 1: If the firewall(s) protecting the home agent block ESP
traffic, much of the MIPv6 signaling (e.g., Binding Update, HoT)
may be dropped at the firewall(s), preventing MN(s) from updating
their binding cache and performing Route Optimization, since
Binding Update, HoT, and other MIPv6 signaling must be protected
by IPsec ESP.
Issue 2: If the firewall(s) protecting the home agent block
unsolicited incoming traffic (e.g., as stateful inspection packet
filters do), the firewall(s) may drop connection setup requests
from CNs, and packets from MNs.
Issue 3: If the home agent is in a network protected by several
firewalls, an MN/CN's change of IP address may result in the
passage of traffic to and from the home agent through a different
firewall that may not have the states corresponding to the flows.
As a consequence, packets may be dropped at the firewall.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Scenario Where the MN Moves to a Network Protected by Firewall(s)</span>
Let's consider an HA in a network protected by firewall(s). The
following issues need to be investigated:
Issue 1: Similarly to issue 1 described in <a href="#section-5.1">Section 5.1</a>, the MN will
send a Binding Update to its home agent after acquiring a local IP
address (CoA). The Binding Updates and Acknowledgements should be
protected by IPsec ESP according to the MIPv6 specifications [<a href="#ref-1" title=""Mobility Support in IPv6"">1</a>].
However, as a default rule, many firewalls drop ESP packets. This
may cause the Binding Updates and Acknowledgements between the
mobile nodes and their home agent to be dropped.
<span class="grey">Le, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
Issue 2: The MN may be in a communication with a CN, or a CN may be
attempting to establish a connection with the MN. In both cases,
packets sent from the CN will be forwarded by the MN's HA to the
MN's CoA. However, when the packets arrive at the firewall(s),
the incoming traffic may not match any existing state, and the
firewall(s) may therefore drop it.
Issue 3: If the MN is in a communication with a CN, the MN may
attempt to execute an RRT for packets to be route optimized.
Similarly to issue 3, <a href="#section-5.1">Section 5.1</a>, the Home Test message that
should be protected by ESP may be dropped by firewall(s)
protecting the MN. Firewall(s) may as a default rule drop any ESP
traffic. As a consequence, the RRT cannot be completed.
Issue 4: If the MN is in a communication with a CN, and assuming that
the MN successfully sent a Binding Update to its CN to use Route
Optimization, packets will then be sent from the CN to the MN's
CoA and from the MN's CoA to the CN.
Packets sent from the CN to the MN's CoA may, however, not match
any existing entry in the firewall(s) protecting the MN, and
therefore be dropped by the firewall(s).
If packet filtering is applied to uplink traffic (i.e., traffic
sent by the MN), packets sent from the MN's CoA to the CN may not
match any entry in the firewall(s) either and may be dropped as
well.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Conclusions</span>
Current firewalls may not only prevent route optimization but may
also prevent regular TCP and UDP sessions from being established in
some cases. This document describes some of the issues between the
Mobile IPv6 protocol and current firewall technologies.
This document captures the various issues involved in the deployment
of Mobile IPv6 in networks that would invariably include firewalls.
A number of different scenarios are described, which include
configurations where the mobile node, correspondent node, and home
agent exist across various boundaries delimited by the firewalls.
This enables a better understanding of the issues when deploying
Mobile IPv6 as well as the issues for firewall design and policies to
be installed therein.
<span class="grey">Le, et al. Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
This document describes several issues that exist between the Mobile
IPv6 protocol and firewalls.
Firewalls may prevent Mobile IP6 signaling in addition to dropping
incoming/outgoing traffic.
If the firewall configuration is modified in order to support the
Mobile IPv6 protocol but not properly configured, many attacks may be
possible as outlined above: malicious nodes may be able to launch
different types of denial of service attacks.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Acknowledgements</span>
We would like to thank James Kempf, Samita Chakrabarti, Giaretta
Gerardo, Steve Bellovin, Henrik Levkowetz, and Spencer Dawkins for
their valuable comments. Their suggestions have helped improve both
the presentation and the content of the document.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. References</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Normative References</span>
[<a id="ref-1">1</a>] Johnson, D., Perkins, C., and J. Arkko, "Mobility Support in
IPv6", <a href="./rfc3775">RFC 3775</a>, June 2004.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-2">2</a>] Newman, D., "Benchmarking Terminology for Firewall Performance",
<a href="./rfc2647">RFC 2647</a>, August 1999.
[<a id="ref-3">3</a>] Noble, J., Doug, D., Hourihan, K., Hourihan, K., Stephens, R.,
Stiefel, B., Amon, A., and C. Tobkin, "Check Point NG VPN-1/
Firewall-1 Advanced Configuration and Troubleshooting", Syngress
Publishing Inc., 2003.
[<a id="ref-4">4</a>] Chen, X., Rinne, J., Wiljakka, J., and M. Watson, "Problem
Statement for MIPv6 Interactions with GPRS/UMTS Packet
Filtering", Work in Progress, January 2006.
<span class="grey">Le, et al. Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Applicability to 3G Networks</span>
In 3G networks, different packet filtering functionalities may be
implemented to prevent malicious nodes from flooding or launching
other attacks against the 3G subscribers. The packet filtering
functionality of 3G networks is further described in [<a href="#ref-4" title=""Problem Statement for MIPv6 Interactions with GPRS/UMTS Packet Filtering"">4</a>]. Packet
filters are set up and applied to both uplink and downlink traffic:
outgoing and incoming data not matching the packet filters is
dropped. The issues described in this document also apply to 3G
networks.
Authors' Addresses
Franck Le
Carnegie Mellon University
5000 Forbes Avenue
Pittsburgh, PA 15213
USA
EMail: franckle@cmu.edu
Stefano Faccin
Nokia Research Center
6000 Connection Drive
Irving, TX 75039
USA
EMail: sfaccinstd@gmail.com
Basavaraj Patil
Nokia
6000 Connection Drive
Irving, TX 75039
USA
EMail: Basavaraj.Patil@nokia.com
Hannes Tschofenig
Siemens
Otto-Hahn-Ring 6
Munich, Bavaria 81739
Germany
EMail: Hannes.Tschofenig@siemens.com
URI: <a href="http://www.tschofenig.com">http://www.tschofenig.com</a>
<span class="grey">Le, et al. Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc4487">RFC 4487</a> MIPv6 and Firewalls May 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Le, et al. Informational [Page 16]
</pre>
|