Boris Grozev
063767227e
Adds a missing header.
2016-03-23 16:18:39 -05:00
Boris Grozev
98dedf374c
Removes the cache as it is not in a working state.
2016-03-23 16:18:34 -05:00
Boris Grozev
e793404f7c
Enables statistics for the packet queue in SinglePortUdpHarvester's candidates' sockets.
2016-03-23 12:53:25 -05:00
Boris Grozev
0eb62c3931
Adds some utilities and the PacketQueue abstract class.
2016-03-23 12:53:20 -05:00
bgrozev
41ca35476e
Merge pull request #53 from jitsi/muxserversocketchannel-abandoned-cleanup
...
MuxServerSocketChannel abandoned cleanup
2016-03-09 22:44:30 -06:00
Lyubomir Marinov
779086c9df
More quickly deliver (control over) accepted sockets in simple cases.
2016-03-08 14:15:49 -06:00
Lyubomir Marinov
7e4f410287
Quickly closes client sockets which do not communicate in the format expected by the server.
2016-03-08 11:21:05 -06:00
Lyubomir Marinov
be1b937ba1
More aggressively weeds out abandoned sockets (in MuxServerSocketChannel scenarios).
2016-03-08 11:21:05 -06:00
Lyubomir Marinov
20f39c0037
De-duplicates a couple of methods (which I suspect are buggy and I expect it to be easier to fix the bugs if there is no duplication).
2016-03-08 11:21:05 -06:00
Lyubomir Marinov
91c7888085
Fixes warnings.
2016-03-08 11:20:58 -06:00
Lyubomir Marinov
902321c4e1
Splits a file into multiple files (for the purposes of readability).
2016-03-04 20:09:20 -06:00
Boris Grozev
9fb7d02869
Uses a fixed version of jitsi-universe.
2016-02-02 14:48:59 -06:00
damencho
8b70299567
Changes the behaviour of the harvester to work with tcp checks and at the same time with ssltcp checks which are sending pseudo SSL ClientHello. Checks for hello and if its missing continue processing as it is a tcp probe.
2015-12-02 17:29:48 -06:00
Ingo Bauersachs
88135aad3f
Merge pull request #34 from dpocock/dpocock-use-candidate-issue
...
Remove some hacks that call setUseCandidateReceived
2015-11-20 17:28:36 +01:00
Boris Grozev
c5866ca317
Decreases the log level of messages for unexpected packets, checks
...
expected STUN packets more thoroughly.
2015-11-17 21:21:56 -06:00
Ingo Bauersachs
5f0bf2090b
Merge pull request #44 from mondain/master
...
Added setting of packet port to 0 to prevent out-of-range error.
2015-11-12 13:53:34 +01:00
damencho
399ebcdf3b
Fixes SinglePort, broken after removing unused public address field.
2015-11-10 10:45:19 -06:00
damencho
9bd973f0a8
Merge pull request #45 from jitsi/mapping-harvesters
...
Updates mapping harvesters.
2015-11-09 09:59:17 -06:00
Boris Grozev
bd55b3645b
Simplify.
2015-11-08 10:09:56 -06:00
Boris Grozev
7a8b7ec2c3
Returns immediately if checks have already been done.
2015-11-08 10:05:18 -06:00
Boris Grozev
3a49e56475
Simplify code.
2015-11-07 12:12:11 -06:00
Boris Grozev
b228636412
Make the obtain*Addresses methods static again, because they modify
...
static fields and should obtain the lock on the class.
2015-11-07 12:08:51 -06:00
damencho
947f06ae22
Fixes some warnings.
2015-11-06 15:45:15 -06:00
damencho
6296d8dd4a
Adds stun mapping candidate harvester, that can be used to discover public address using a pre-configured stun server.
2015-11-06 15:28:31 -06:00
damencho
23fb8e1776
Removes commented code that was left behind in previous commits.
2015-11-06 14:21:55 -06:00
Paul Gregoire
39466ac70c
Added warning log entry for out of range port on packet
2015-11-06 08:43:58 -05:00
Paul Gregoire
3f9bf0b17c
Merged log message
2015-11-05 19:57:11 -05:00
damencho
3a1fee0aff
Rename MultiplexingTcpHostHarvester to TcpHarvester.
2015-11-05 15:34:46 -06:00
damencho
c03cfaa674
Removes adding mapped addresses as they are configured from the outside. They can be different settings for that, not only coming from aws harvester.
2015-11-05 15:28:03 -06:00
damencho
9512d303a2
Makes AwsCandidateHarvester reuses the harvest logic from super.
2015-11-05 15:19:26 -06:00
damencho
6a97941d68
Removes unused publicAddress field.
2015-11-05 13:55:03 -06:00
Paul Gregoire
d756d7d72a
Added setting of packet port to 0 to prevent out-of-range error.
2015-11-05 12:10:22 -05:00
Ingo Bauersachs
6c99040496
Make ice4j an OSGi bundle
2015-11-01 18:11:23 +01:00
Ingo Bauersachs
beaacef376
Merge pull request #42 from mondain/master
...
Adjusted MessageFactory to allow use by turnserver
2015-10-31 15:00:06 +01:00
Paul Gregoire
c0edd9cc97
Created alternate versions of createConnectRequest and createConnectionAttemptIndication to allow passing transaction id as bytes to permit use of the MessageFactory by turnserver.
2015-10-31 09:45:43 -04:00
Ingo Bauersachs
48a332bc37
Remove HTML and outdated links from readme
2015-10-31 00:17:09 +01:00
Ingo Bauersachs
7a17c4e453
Fix formatting of contribution from PR#30.
2015-10-30 23:55:25 +01:00
Ingo Bauersachs
bfa3b487d1
Merge pull request #30 from robertoandrade/bugfix/tcp-harvester-interface-reuse
...
Fixing MuxServerSocketChannel when binding to "anyLocalAddress" and attempting to reuse socket by binding a particular interface
2015-10-30 23:17:02 +01:00
Paul Gregoire
9e8c9690ed
Added builders to allow external use by other projects.
2015-10-30 22:56:03 +01:00
Ingo Bauersachs
5dbac4599d
Merge pull request #40 from mondain/master
...
Prevent test failure on systems that dont support window scaling.
2015-10-30 07:17:45 +01:00
Paul Gregoire
847f9a6e4e
Fixed to prevent failure with systems that dont support window scaling.
2015-10-28 11:03:31 -04:00
Ingo Bauersachs
da2194444c
Fix line endings in PseudoTCP code
2015-10-28 15:36:09 +01:00
Daniel Pocock
4b036f1264
Remove some hacks that call setUseCandidateReceived
2015-10-13 09:56:58 +02:00
Lyubomir Marinov
10b4e911ef
Allows the demultiplexing of packets into pseudo sockets installed after receipt of the packets in question. Removes duplication.
2015-10-05 23:13:38 -05:00
Lyubomir Marinov
a7418247f6
Fixes javadocs, warnings.
2015-10-05 23:12:30 -05:00
damencho
26296f3cbe
Updates the license headers and adds license file.
2015-10-01 15:28:55 -05:00
Boris Grozev
5c4ad56614
Revert "Does not retransmit StunClientTransaction-s over TCP." because
...
1. The particular implementation causes us to timeout client
transactions after 200ms.
2. We can't be certain that all legs of the connection use a reliable
transport (i.e. we may be connected via TCP to a TURN server, which
talks to the other side over UDP), so we should retransmit anyway.
This reverts commit 8a7f8c1eeaa22c475ec43d9468891afbead11413.
2015-09-30 16:55:30 -05:00
Ingo Bauersachs
afd095e67a
Ignore Eclipse project files
2015-09-07 17:36:03 +02:00
Lyubomir Marinov
6c14757ffe
Fixes javadocs.
2015-08-11 16:29:59 -05:00
Lyubomir Marinov
db7710396d
Upgrades the Ant compiler source and target from 1.5 to 1.6 because Ant ignores 1.5 as obsolete and our sources require 1.6 anyway.
2015-08-11 15:43:12 -05:00