542 Commits

Author SHA1 Message Date
paweldomas
5d10a21a96 Adds getter for localAddress in BlockingRequestSender. Patch by Aakash Garg. 2014-08-21 16:07:55 +00:00
paweldomas
f16e86d1a6 Adds setStunStack setter method in Agent class. Patch by Aakash Garg. 2014-08-21 16:03:21 +00:00
paweldomas
97f2938200 Adds implementation of equals and hashCode methods to LongTermCredential class. Patch by Aakash Garg. 2014-08-21 16:00:18 +00:00
paweldomas
24fbe7213c Fixes bug with offset not being taken into account when decoding LifetimeAttribute. Patch by Aakash Garg. 2014-08-21 15:52:08 +00:00
boris
c25c0915b5 Adds a method that allows to check if there is a MultiplexedDatagramSocket for a particular DatagramPacketFilter. 2014-08-05 14:06:30 +00:00
boris
08766354dc Implements RtcpDemuxPacketFilter. 2014-07-30 10:41:54 +00:00
boris
2da5150e14 Minor formatting/spelling fixes. 2014-07-30 10:41:46 +00:00
lubomir.marinov
bc8ab03637 Fixes the compilation on JDK 8. 2014-07-25 06:14:43 +00:00
lubomir.marinov
a3caa371aa Fixes Agent.getHarvestCount() to actually return count and not duration/time. Reported by Luca Antonioli. 2014-07-23 11:10:21 +00:00
lubomir.marinov
ee4721960b Ensures that the lengths of the values of the ice-ufrag and ice-pwd attributes conform to RFC 5245 15.4. "ice-ufrag" and "ice-pwd" Attributes. Reported by Philipp Hancke. 2014-07-22 22:05:28 +00:00
paweldomas
3e6ddf0f16 PseudoTCP performance improvements - patch by Carl Hasselskog. 2014-06-26 19:26:16 +00:00
paweldomas
8949f3f318 Adds method to generate Reservation-Token and overrides toString method in ReservationTokenAttribute. Patch by Aakash Garg. 2014-06-15 19:20:52 +00:00
paweldomas
d6b41e2251 Adds Constructor overload, sendChannelData method, sendUdpMessage method, and other functions for TurnStack and relaying in StunStack. Adds new messageEvent classes with their listener interfaces. Patch by Aakash Garg. 2014-06-15 19:10:50 +00:00
paweldomas
30b940732f Adds function to check if message is ChannelData Message in ChannelData class. Patch by Aakash Garg. 2014-06-15 18:27:42 +00:00
paweldomas
c15ad072e0 Adds createDataIndication method to MessageFactory. Patch by Aakash Garg. 2014-06-15 12:47:06 +00:00
paweldomas
19890097f4 Modifies class access level for RawMessage, StunClientTransaction and StunServerTransaction so that they can be reused for the purpose of implementing TURN server. Patch by Aakash Garg. 2014-06-10 16:33:16 +00:00
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