Skip to main content

A Scalable Port Forwarding for P2P-Based Wi-Fi Applications

  • Conference paper
Wireless Algorithms, Systems, and Applications (WASA 2006)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 4138))

  • 709 Accesses

Abstract

A few killer applications that rocked the Internet community these years are peer-to-peer (P2P) file-sharing applications and VoIP (voice over Internet Protocol) telephony services. Unlike traditional client-and-server applications in which servers are services provider and by default should be public addressable, each peer in P2P networks can play both roles (client and server). However, legacy usage of the network address translation (NAT) module on most wireless access points (APs) causes new problems with emerging P2P communications especially in opposing APs (both peers of an Internet connection are behind AP) where each peer uses private Internet Protocol (IP) address and neither side has global visibility to each other. This article therefore examines such issue from three approaches, 1) leveraging the complexity of client application, 2) introducing additional intermediate gateways and protocols and 3) enhancing the wireless AP itself. Client-based solutions such as UDP/TCP hole-punching suffer from race condition while gateway-based solutions tend to incur overhead for interoperability and deployment. This paper proposes a scalable port forwarding (SPF) design for wireless AP, which introduces little or negligible time and space complexity, to significantly improve the connectivity and scalability of a conventional AP by 1) lessening the race condition of P2P traversals in opposing APs, 2) multiplexing the port numbers to exceed theoretical upper bound 65,535 and 3) allowing more servers to bind to a specific port.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Touch, J.D.: Those pesky NATs. IEEE Internet Computing 6(4), 96 (2002)

    Article  Google Scholar 

  2. Shieh, S.-P., Ho, F.-S., et al.: Network address translators: effects on security protocols and applications in the TCP/IP stack. IEEE Internet Computing 4(6), 42–49 (2000)

    Article  Google Scholar 

  3. Bidirectional peer-to-peer communication with interposing firewalls and NATs, Peer-to-peer working group (August 2001)

    Google Scholar 

  4. Gong, L.: JXTA: a network programming environment. IEEE Internet Computing 5(3), 88–95 (2001)

    Article  Google Scholar 

  5. Miller, B.A., Nixon, T.: Home networking with Universal Plug and Play. IEEE Communications Magazine 39(12), 104–109 (2001)

    Article  Google Scholar 

  6. Rosenberg, J., Huitema, C., Mahy, R., Weinberger, J.: STUN - Simple Traversal of UDP Through Network Address Translators, draft-ietf-midcom-stun-05 (work in progress) (December 2002), Available at: http://www.ietf.org/internet-drafts/draft-ietf-midcom-stun-05.txt

  7. Rosenberg, J., Weinberger, J., Mahy, R., Huitema, C.: Traversal Using Relay NAT (TURN), draft-rosenberg-midcom-turn-02 (work in progress) (October 2003), Available at: http://www.jdrosen.net/papers/draft-rosenberg-midcom-turn-02.html

  8. Kegel, D.: NAT and peer-to-peer networking (July 1999), Available at: http://alumnus.caltech.edu/~dank/peer-nat.html

  9. Holdrege, M., Srisuresh, P.: Protocol complications with the IP network address translator, RFC 3027 (January 2001)

    Google Scholar 

  10. Huitema., C.: Teredo: Tunneling IPv6 over UDP through NATs (June 2004), Internet-Draft available at: http://www.dfn-pca.de/bibliothek/standards/ietf/none/internet-drafts/draft-huitema-v6ops-teredo-02.txt

  11. Rosenberg, J.: Interactive connectivity establishment (ICE) (October 2003), Internet-Draft available at: http://www.jdrosen.net/papers/draft-rosenberg-sipping-ice-00.html

  12. Eppinger., J. L.: TCP connections for P2P apps: A software approach to solving the NAT problem, Technical Report CMU-ISRI-05-104, Carnegie Mellon University (January 2005)

    Google Scholar 

  13. Guha, S., Takeday, Y., Francis, P.: NUTSS: A SIP-based approach to UDP and TCP network connectivity. In: ACM SIGCOMM 2004 Workshops (August 2004)

    Google Scholar 

  14. Biggadike, A., Ferullo, D., Wilson, G., Perrig, A.: NATBLASTER: Establishing TCP connections between hosts behind NATs. In: ACM SIGCOMM Asia Workshop, Beijing, China (April 2005)

    Google Scholar 

  15. Baset, S.A., Schulzrinne, H.: An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol. In: Proceedings of the INFOCOM (2006)

    Google Scholar 

  16. Saroiu, S., Gummadi, P.K., Gribble, S.D.: A Measurement Study of Peer-to-Peer File Sharing Systems. In: Proceedings of Multimedia Computing and Networking 2002 (MMCN 2002), San Jose, CA (January 2002)

    Google Scholar 

  17. Lin, Y.-D., Wei, H.-Y., Yu, S.-T.: Building an Integrated Security Gateway: Mechanisms, Performance Evaluation, Implementation, and Research Issues. IEEE Communication Surveys and Tutorials, third quarter 4(1) (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Wu, MW., Huang, Y., Chen, IY., Lu, SK., Kuo, SY. (2006). A Scalable Port Forwarding for P2P-Based Wi-Fi Applications. In: Cheng, X., Li, W., Znati, T. (eds) Wireless Algorithms, Systems, and Applications. WASA 2006. Lecture Notes in Computer Science, vol 4138. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11814856_5

Download citation

  • DOI: https://doi.org/10.1007/11814856_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-37189-2

  • Online ISBN: 978-3-540-37190-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics