PPP to UMTS provider && incoming traffic (TCP, UDP)

Maciej Milewski milu at dat.pl
Wed Jan 18 09:05:30 UTC 2012


Dnia środa, 18 stycznia 2012 07:35:49 Matthias Apitz pisze:
> Thanks for your feedback; I think too, that UDP downstream is blocked if
> there is not upstream UDP initialized for the same socket pair; and VoIP
> is using different UDP ports for up- and downstream media (audio).
> 
> What I'm wondering is, how does Skype works (which is fine with my UMTS
> provider at the same time), have to check this with TCPDUMP...
> 
> 	matthias
Skype according to wikipedia[1] uses such scenario:
 1.  start
 2.  send UDP packet(s) to HC
 3.  if no response within 5 seconds then
 4.    attempt TCP connection with HC
 5.    if not connected then
 6.      attempt TCP connection with HC on port 80 (HTTP)
 7.      if not connected then
 8.        attempt TCP connection with HC on port 443 (HTTPS)
 9.        if not connected then
10.          attempts++
11.          if attempts==5 then
12.            fail
13.          else
14.            wait 6 seconds
15.            goto step 2
16.  Success

So it uses TCP and to obey blocked ports uses www traffic ports: 80 and 443.

[1] http://en.wikipedia.org/wiki/Skype_protocol

-- 
Maciej Milewski


More information about the freebsd-net mailing list