40541920f4Adds a harvester that binds to a specific local TCP port and demultiplexes the accepted connections between the components that used it.
boris
2014-08-29 08:28:13 +00:00
c23438f8c2Add a CandidateTcpType field to candidate.
boris
2014-08-29 08:28:04 +00:00
026bfff995Saves TCP sockets in NetAccessManager on the basis of both the local and remote address, in order to allow multiple Sockets/Connectors for a single local address.
boris
2014-08-29 08:27:56 +00:00
3c34615d2bAdds an InputStream to MultiplexedSocket.
boris
2014-08-29 08:27:49 +00:00
c95952f0b2More thorough checks for RTP packets, make sure that no false-positives come from DTLS for example (fix inaccurate loss calculations and "RTP loss >5%" messages being logged).
boris
2014-08-29 08:27:42 +00:00
be112c1aaeSaves trickled remote candidates in the remoteCandidate list in Component. Checks for duplicates before adding new candidates.
boris
2014-08-29 08:27:36 +00:00
cf6d78208fAppends a representation of the system time to the generated ufrag-s, in order to decrease the chance of local collisions.
boris
2014-08-29 08:27:30 +00:00
c0e7cd56d6Adds methods to access the sockets of a CandidatePair.
boris
2014-08-29 08:27:20 +00:00
5108d99220Minor comment and whitespace fixes.
boris
2014-08-29 08:27:11 +00:00
595727b406Removes the 'transport' field from Component, because an ICE component might have candidates with different protocols. Removes a duplicate method.
boris
2014-08-29 08:27:03 +00:00
9b9fbb71d0Minor cleanup.
boris
2014-08-29 08:26:51 +00:00
eac04a777dAdds createConnectionIdAttribute() in AttributeFactory class. Patch by Aakash Garg.
paweldomas
2014-08-21 16:27:12 +00:00
5d10a21a96Adds getter for localAddress in BlockingRequestSender. Patch by Aakash Garg.
paweldomas
2014-08-21 16:07:55 +00:00
f16e86d1a6Adds setStunStack setter method in Agent class. Patch by Aakash Garg.
paweldomas
2014-08-21 16:03:21 +00:00
97f2938200Adds implementation of equals and hashCode methods to LongTermCredential class. Patch by Aakash Garg.
paweldomas
2014-08-21 16:00:18 +00:00
24fbe7213cFixes bug with offset not being taken into account when decoding LifetimeAttribute. Patch by Aakash Garg.
paweldomas
2014-08-21 15:52:08 +00:00
c25c0915b5Adds a method that allows to check if there is a MultiplexedDatagramSocket for a particular DatagramPacketFilter.
boris
2014-08-05 14:06:30 +00:00
08766354dcImplements RtcpDemuxPacketFilter.
boris
2014-07-30 10:41:54 +00:00
2da5150e14Minor formatting/spelling fixes.
boris
2014-07-30 10:41:46 +00:00
bc8ab03637Fixes the compilation on JDK 8.
lubomir.marinov
2014-07-25 06:14:43 +00:00
a3caa371aaFixes Agent.getHarvestCount() to actually return count and not duration/time. Reported by Luca Antonioli.
lubomir.marinov
2014-07-23 11:10:21 +00:00
ee4721960bEnsures 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.
lubomir.marinov
2014-07-22 22:05:28 +00:00
3e6ddf0f16PseudoTCP performance improvements - patch by Carl Hasselskog.
paweldomas
2014-06-26 19:26:16 +00:00
8949f3f318Adds method to generate Reservation-Token and overrides toString method in ReservationTokenAttribute. Patch by Aakash Garg.
paweldomas
2014-06-15 19:20:52 +00:00
d6b41e2251Adds 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.
paweldomas
2014-06-15 19:10:50 +00:00
30b940732fAdds function to check if message is ChannelData Message in ChannelData class. Patch by Aakash Garg.
paweldomas
2014-06-15 18:27:42 +00:00
c15ad072e0Adds createDataIndication method to MessageFactory. Patch by Aakash Garg.
paweldomas
2014-06-15 12:47:06 +00:00
19890097f4Modifies 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.
paweldomas
2014-06-10 16:33:16 +00:00
7dda8ef7b2Adds method overload of sendRequestAndWaitForResponse and changes class access modifier. Patch by Aakash Garg.
paweldomas
2014-06-09 19:59:50 +00:00
33030a48ecFixes bug in decodeAttributeBody and adds static fields in RequestedTransportAttribute class. Patch by Aakash Garg.
paweldomas
2014-06-09 19:52:57 +00:00
d8a5d8016dAdds ALLOCATE_REFRESH_REQUEST request code field to Message class. Patch by Aakash Garg.
paweldomas
2014-06-09 19:40:15 +00:00
9739220564Renames createPermissionResponse and fixes createChannelBindErrorResponse in MessageFactory. Patch by Aakash Garg.
paweldomas
2014-06-09 19:35:21 +00:00
dce1981d7cFixes bug in decode method of ChannelNumberAttribute. Adds method for validating channel value range. Patch by Aakash Garg.
paweldomas
2014-06-09 06:28:32 +00:00
7ccec75461Updates the HostCandidateHarvester class Javadoc according to the Jitsi coding conventions.
gp
2014-06-03 07:56:31 +00:00
3b15ee7cb6Fixes yet another deadlock involving StunClientTransaction#cancel(boolean). Reported by Carl Hasselskog.
lubomir.marinov
2014-06-02 18:40:02 +00:00
53d69cd963Moves 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.
gp
2014-05-30 15:02:31 +00:00
d8552464e0Adds a StackProperties.initialize() method that initializes and validates the allowed/blocked interface list.
gp
2014-05-28 12:29:16 +00:00
e14e8b6a9fAdds two configuration properties that give the possibility to define lists of allowed or lists of blocked interfaces for host candidate allocation.
gp
2014-05-28 10:27:59 +00:00
ed918505b8Fixes 'Deadlock in StunStack/StunClientTransaction' reported by Carl Hasselskog.
lubomir.marinov
2014-05-27 21:22:50 +00:00
ec427382e9Renames Message.addAttribute method to putAttribute.
paweldomas
2014-05-27 08:48:13 +00:00
fa9ccc92efAdds default overloads of the methods for creating permission error responses. Patch by Aakash Garg.
paweldomas
2014-05-13 19:52:55 +00:00
e48e56303cAdds unit test for TURN attributes and minor fixes. Patch by Aakash Garg.
paweldomas
2014-05-13 19:49:45 +00:00
67033a0f70Adds new STUN methods to be used by TURN server. Patch by Aakash Garg.
paweldomas
2014-05-10 14:20:57 +00:00
92b64183d6Adds connection ID and requested address family attributes to be used by TURN server. Patch by Aakash Garg.
paweldomas
2014-05-10 13:58:02 +00:00
a63f66ac12Adds error codes to be used by TURN server. Patch by Aakash Garg.
paweldomas
2014-05-10 13:36:35 +00:00
4f23fb021dDetermines whether ice4j is running on an Amazon EC2 instance by trying to connect via HTTP.
boris
2014-05-07 15:22:19 +00:00
b8b11d13b5Cleans 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.
lubomir.marinov
2014-04-29 20:28:28 +00:00
6370fbca8fImproves logging.
boris
2014-03-07 20:02:07 +00:00
fa3e6c8357Adds support for socket timeouts. Contributed by Enrico Marocco
emcho
2014-03-04 11:26:39 +00:00
945dcae9c0Calling ec2metadata seems to be causing issues on some machines. Changes detection to just work by detecting if it's there.
emcho
2014-03-02 02:37:44 +00:00
ed46200858Fixes warnings about unused imports.
lubomir.marinov
2014-02-24 07:34:49 +00:00
3707dbc975adds a NAT mapping harvester test case
emcho
2014-02-21 10:52:08 +00:00
55082823ddAdds a harvester for Amazon AWS EC2 instances. Adds a mapping harvester for manual configuration on NATed servers. Removes legacy support for Google ICE. Hooray
emcho
2014-02-21 00:45:49 +00:00
9eb8f7ec0aRemoves test classes from output jar file.
paweldomas
2014-02-11 10:38:23 +00:00
58f9e29c82Uses a single Thread per StunStack to expire StunServerTransactions in order to reduce the total number of utilized Threads.
lubomir.marinov
2014-02-11 07:54:43 +00:00
987512ede1Uses a Thread pool for StunClientTransaction in order to improve performance.
lubomir.marinov
2014-02-10 07:38:55 +00:00
d5c2fa6c8dFixes the Ant target rebuild, warnings.
lubomir.marinov
2014-01-03 12:13:52 +00:00
4c132cccd6Simplifies code for the purposes of readability.
lubomir.marinov
2014-01-03 11:23:41 +00:00
8b3280cf93Work in progress on emission Trickle ICE support
emcho
2013-12-03 12:33:16 +00:00
ce75f1e7b1Logs a couple of debug messages to warn about potential programming errors.
lubomir.marinov
2013-11-29 19:57:16 +00:00
062e335b38Prevents host candidates with loopback addresses. Patch by Emil Ivov.
lubomir.marinov
2013-11-26 12:48:37 +00:00
1071e0890cCommits Jakub Adamek patch that improves logging and fixes reaction on InterruptedException.
paweldomas
2013-11-21 19:02:25 +00:00
9964e3f296Extracts PTCP into separate test suite. Adds debug PTCP sample target.
paweldomas
2013-11-21 18:55:20 +00:00
afd937ee54Commits Carl Hasselskog patch for feeding PTCP stack's clock with valid time values.
paweldomas
2013-11-21 18:51:46 +00:00
24a6f9a95dCommits comibned Carl Hasselskog and Jakub Adamek patches for PTCP deadlock fix.
paweldomas
2013-11-21 18:41:42 +00:00
137de02c4fFixes an issue which could cause CPU starvation while receiving from MultiplexingDatagramSocket.
lubomir.marinov
2013-11-20 08:55:51 +00:00
140de712e7Returns null instead of "null" String from getHostAddress. Adds a check for null in toString().
paweldomas
2013-11-14 09:02:30 +00:00
a83c5b4be5Optimizes the calculation of CandidatePair priority.
lubomir.marinov
2013-11-13 21:45:04 +00:00
c73c5ef83dFixes a failure to close a Socket.
lubomir.marinov
2013-11-13 21:44:08 +00:00
8cfe630e79Loops on copy of parent checklist to prevent ConcurrentModificationException.
paweldomas
2013-11-13 20:48:21 +00:00
f0cb093ff3Fixes NPE when InetAddress is null in TransportAddress.getHostAddress().
paweldomas
2013-11-13 20:43:04 +00:00
d304978b6dApplies Jakub Adamek patch that adds NO_KEEP_ALIVES property which can be used to disable STUN keep alives.
paweldomas
2013-09-18 07:20:33 +00:00
d61650957aApplies Jakub Adamek patch that fixes Pseudo TCP on Android, improves logging and fixes serious bug in the int read() method.
paweldomas
2013-09-18 06:53:26 +00:00
08633a3b66Applies Jakub Adamek patch that skips unnecessary nomination.
paweldomas
2013-09-17 11:54:32 +00:00
db9a4f2debApplies Jakub Adamek fix for recognizing TURN packets.
paweldomas
2013-09-17 11:44:21 +00:00
25de80c37cApplies Jakub Adamek patch that increases keep alive Tr value from 3 to 15 seconds recommended as minimum in RFC6263.
paweldomas
2013-09-17 11:37:25 +00:00
f959ccfeb1Applies logging improvements patch submitted by Jakub Adamek.
paweldomas
2013-09-17 11:20:51 +00:00