576 Commits

Author SHA1 Message Date
paweldomas
7dda8ef7b2 Adds method overload of sendRequestAndWaitForResponse and changes class access modifier. Patch by Aakash Garg. 2014-06-09 19:59:50 +00:00
paweldomas
33030a48ec Fixes bug in decodeAttributeBody and adds static fields in RequestedTransportAttribute class. Patch by Aakash Garg. 2014-06-09 19:52:57 +00:00
paweldomas
d8a5d8016d Adds ALLOCATE_REFRESH_REQUEST request code field to Message class. Patch by Aakash Garg. 2014-06-09 19:40:15 +00:00
paweldomas
9739220564 Renames createPermissionResponse and fixes createChannelBindErrorResponse in MessageFactory. Patch by Aakash Garg. 2014-06-09 19:35:21 +00:00
paweldomas
dce1981d7c Fixes bug in decode method of ChannelNumberAttribute. Adds method for validating channel value range. Patch by Aakash Garg. 2014-06-09 06:28:32 +00:00
gp
7ccec75461 Updates the HostCandidateHarvester class Javadoc according to the Jitsi coding conventions. 2014-06-03 07:56:31 +00:00
lubomir.marinov
3b15ee7cb6 Fixes yet another deadlock involving StunClientTransaction#cancel(boolean). Reported by Carl Hasselskog. 2014-06-02 18:40:02 +00:00
gp
53d69cd963 Moves the StackProperties.initialize() method to HostCandidateHarvester.initializeInterfaceFilters(). Don\'t die if the host candidate interface filters have not been initialized. Instead, initialize them on demand. 2014-05-30 15:02:31 +00:00
gp
d8552464e0 Adds a StackProperties.initialize() method that initializes and validates the allowed/blocked interface list. 2014-05-28 12:29:16 +00:00
gp
e14e8b6a9f Adds two configuration properties that give the possibility to define lists of allowed or lists of blocked interfaces for host candidate allocation. 2014-05-28 10:27:59 +00:00
lubomir.marinov
ed918505b8 Fixes 'Deadlock in StunStack/StunClientTransaction' reported by Carl Hasselskog. 2014-05-27 21:22:50 +00:00
lubomir.marinov
3dc113edd8 Fixes warnings. Applies formatting. 2014-05-27 21:21:26 +00:00
paweldomas
ec427382e9 Renames Message.addAttribute method to putAttribute. 2014-05-27 08:48:13 +00:00
paweldomas
fa9ccc92ef Adds default overloads of the methods for creating permission error responses. Patch by Aakash Garg. 2014-05-13 19:52:55 +00:00
paweldomas
e48e56303c Adds unit test for TURN attributes and minor fixes. Patch by Aakash Garg. 2014-05-13 19:49:45 +00:00
paweldomas
67033a0f70 Adds new STUN methods to be used by TURN server. Patch by Aakash Garg. 2014-05-10 14:20:57 +00:00
paweldomas
92b64183d6 Adds connection ID and requested address family attributes to be used by TURN server. Patch by Aakash Garg. 2014-05-10 13:58:02 +00:00
paweldomas
a63f66ac12 Adds error codes to be used by TURN server. Patch by Aakash Garg. 2014-05-10 13:36:35 +00:00
boris
4f23fb021d Determines whether ice4j is running on an Amazon EC2 instance
by trying to connect via HTTP.
2014-05-07 15:22:19 +00:00
lubomir.marinov
b8b11d13b5 Cleans up the background Threads associated with TURN candidates more explicitly/aggressively/thoroughly in an attempt to mitigate a leak of such reported by Enrico Marocco. 2014-04-29 20:28:28 +00:00
boris
6370fbca8f Improves logging. 2014-03-07 20:02:07 +00:00
emcho
fa3e6c8357 Adds support for socket timeouts. Contributed by Enrico Marocco 2014-03-04 11:26:39 +00:00
emcho
945dcae9c0 Calling ec2metadata seems to be causing issues on some machines. Changes detection to just work by detecting if it's there. 2014-03-02 02:37:44 +00:00
lubomir.marinov
ed46200858 Fixes warnings about unused imports. 2014-02-24 07:34:49 +00:00
emcho
3707dbc975 adds a NAT mapping harvester test case 2014-02-21 10:52:08 +00:00
emcho
55082823dd Adds a harvester for Amazon AWS EC2 instances. Adds a mapping harvester for manual configuration on NATed servers. Removes legacy support for Google ICE. Hooray 2014-02-21 00:45:49 +00:00
lubomir.marinov
e597dac9e6 Fixes warnings. 2014-02-18 06:41:34 +00:00
lubomir.marinov
0278d355f9 Fixes a deadlock between Agent.free() and StunClientTransaction observed in Jitsi Videobridge. 2014-02-13 12:19:49 +00:00
paweldomas
2483f4dec8 Fixes run-xx targets. 2014-02-13 08:51:31 +00:00
paweldomas
9eb8f7ec0a Removes test classes from output jar file. 2014-02-11 10:38:23 +00:00
lubomir.marinov
58f9e29c82 Uses a single Thread per StunStack to expire StunServerTransactions in order to reduce the total number of utilized Threads. 2014-02-11 07:54:43 +00:00
lubomir.marinov
987512ede1 Uses a Thread pool for StunClientTransaction in order to improve performance. 2014-02-10 07:38:55 +00:00
lubomir.marinov
d5c2fa6c8d Fixes the Ant target rebuild, warnings. 2014-01-03 12:13:52 +00:00
lubomir.marinov
4c132cccd6 Simplifies code for the purposes of readability. 2014-01-03 11:23:41 +00:00
emcho
8b3280cf93 Work in progress on emission Trickle ICE support 2013-12-03 12:33:16 +00:00
lubomir.marinov
ce75f1e7b1 Logs a couple of debug messages to warn about potential programming errors. 2013-11-29 19:57:16 +00:00
lubomir.marinov
062e335b38 Prevents host candidates with loopback addresses. Patch by Emil Ivov. 2013-11-26 12:48:37 +00:00
paweldomas
1071e0890c Commits Jakub Adamek patch that improves logging and fixes reaction on InterruptedException. 2013-11-21 19:02:25 +00:00
paweldomas
9964e3f296 Extracts PTCP into separate test suite. Adds debug PTCP sample target. 2013-11-21 18:55:20 +00:00
paweldomas
afd937ee54 Commits Carl Hasselskog patch for feeding PTCP stack's clock with valid time values. 2013-11-21 18:51:46 +00:00
paweldomas
24a6f9a95d Commits comibned Carl Hasselskog and Jakub Adamek patches for PTCP deadlock fix. 2013-11-21 18:41:42 +00:00
lubomir.marinov
137de02c4f Fixes an issue which could cause CPU starvation while receiving from MultiplexingDatagramSocket. 2013-11-20 08:55:51 +00:00
paweldomas
140de712e7 Returns null instead of "null" String from getHostAddress. Adds a check for null in toString(). 2013-11-14 09:02:30 +00:00
lubomir.marinov
a0f6622934 Fixes typos, warnings, repetitive method invocations. 2013-11-13 21:46:37 +00:00
lubomir.marinov
a83c5b4be5 Optimizes the calculation of CandidatePair priority. 2013-11-13 21:45:04 +00:00
lubomir.marinov
c73c5ef83d Fixes a failure to close a Socket. 2013-11-13 21:44:08 +00:00
paweldomas
8cfe630e79 Loops on copy of parent checklist to prevent ConcurrentModificationException. 2013-11-13 20:48:21 +00:00
paweldomas
f0cb093ff3 Fixes NPE when InetAddress is null in TransportAddress.getHostAddress(). 2013-11-13 20:43:04 +00:00
paweldomas
d304978b6d Applies Jakub Adamek patch that adds NO_KEEP_ALIVES property which can be used to disable STUN keep alives. 2013-09-18 07:20:33 +00:00
paweldomas
d61650957a Applies Jakub Adamek patch that fixes Pseudo TCP on Android, improves logging and fixes serious bug in the int read() method. 2013-09-18 06:53:26 +00:00