← Back to team overview

p2psp team mailing list archive

Re: NAT Traversal Set of rules implementation

 

Hi!

On Sun, Jun 14, 2015 at 2:12 PM Max Mertens <max.mail@xxxxxxxxxx> wrote:

>  Hi everybody,
>

:


>
> I checked if I could test NAT traversal between my home router and
> university's internet, however at the university each client gets an own
> global IPv4 address with all ports open, so it is a Full Cone NAT type and
> a trivial example of NAT traversal.
>

You're lucky :-)


> Do you know if there are maybe some public NAT servers to test, or do you
> have a NAT testing setup for P2PSP development, or is NAT simulation with
> VMs and iptables enough?
>

For now, simulation is enough. However, as you thing, we should test the
"definitive" solution in a real SYM scenario. I'm pretty sure that the
University of Almería has one. Let me first check it and, if this is true,
we'll try to run your code here.


> Should I somewhere document the setup and iptables rules I am using, and
> the resulting tables as above, to make the test reproducible (maybe as a
> Readme in the repo)?
>

Yes. Please.


>
> Currently I am reading through a memo/RFC about "Symmetric NAT Traversal
> using STUN" [2] which divides NATs not only in FCN, (P)RCN, SYM but in 9
> categories, depending on source port allocation and incoming packet
> filtering. It also discusses methods to establish connections in the
> "no"-cases above (PRCN <-> SYM and SYM <-> SYM) by port prediction, which I
> would like to try out after implementing the NTS set of rules.
>

Good work!

Regards,
Vicente.

>  --
-- 
Vicente González Ruiz
Depto de Informática
Escuela Técnica Superior de Ingeniería
Universidad de Almería

Carretera Sacramento S/N
04120, La Cañada de San Urbano
Almería, España

e-mail: vruiz@xxxxxx
http://www.ual.es/~vruiz
tel: +34 950 015711
fax: +34 950 015486

Follow ups

References