Commit Graph

  • e46ec4c494 Starts work on receiving semantics for Trickle ICE emcho 2013-06-26 01:53:45 +00:00
  • 207a963196 Completes a first version of offerer semantics for Trickle ICE. Organizes logging and stats a bit. emcho 2013-06-26 00:26:48 +00:00
  • c4278af39c Improves logging. Starts work on SDP utilities for use with SIP and WebRTC. Starts work on trickle ICE. emcho 2013-06-24 21:06:31 +00:00
  • e6f719c503 Adds timeout for reading the response from discovered devices. hristo 2013-04-25 14:56:58 +00:00
  • 26b72cbb20 Decreased receive buffer size in PseudoTcpSocketImpl that caused invalid packets to be logged into .pcap file. Filled missing javadoc. paweldomas 2013-03-22 11:49:34 +00:00
  • e4b0014b88 Applied part of the patch submitted by Carl Hasselskog on dev list. Fixed a NullPointerException that occurred for instance when an SSLSocket called getTcpNoDelay() on PseudoTCPSocket. PseudoTcpSocketImpl returned null but the SSLSocket assumed it would be true/false. Improved logging to better detect if someone is trying to get some other option that would return null. paweldomas 2013-03-22 11:41:26 +00:00
  • f665337062 Deals with developer unreliability issues (fixes wrong detection for ICE completion) emcho 2013-03-21 19:14:55 +00:00
  • a9d4dc4406 Keeps the Conn Check Server going until we free the agent at the end of a call, so that we can answer STUN binding requests (that Chrome's WebRTC impl seems to be using to determine if we're still there emcho 2013-03-21 00:30:42 +00:00
  • 4cc6d4ab72 Fixes warnings. lubomir.marinov 2012-12-12 01:21:04 +00:00
  • 362722f555 Prevents a NullPointerException in Connector#stop(). Removes a few @Override annotations from abstract method implementations because they are not compatible with Java 5. lubomir.marinov 2012-11-06 12:17:07 +00:00
  • 59f3034f00 Adds HarvestingTimeStat calls. chenzo 2012-10-09 07:42:39 +00:00
  • 19c2d4767c Improves harvesting time stats: 1) number of harvests and 2) total harvesting time for each harvesters. chenzo 2012-10-05 16:05:17 +00:00
  • 523236d6ce Corrects harvesting time for disabled harvester. chenzo 2012-10-05 14:11:19 +00:00
  • 9d94eba147 Updates rel-addr/rel-port management. chenzo 2012-10-05 12:34:11 +00:00
  • 672a43c017 Changes javadoc directory to match those of Jitsi and libjitsi for easier nightly generation emcho 2012-10-04 16:50:54 +00:00
  • 6cbdcae872 Adds extra function to export the total harvesting time. chenzo 2012-10-04 09:09:06 +00:00
  • ac5cf14be0 Adds extra function to export harvesting time. chenzo 2012-10-02 09:23:40 +00:00
  • e4c70ba522 Adds functions to get the host/reflexive/relayed address of the selected candidate pair. chenzo 2012-10-01 09:22:06 +00:00
  • 8f51251658 Applies first part of Carl Hasselskog patch: UPnP potential deadlock, Connector closing, CandidateHarvesterSet thread pool merged. chenzo 2012-09-12 10:03:22 +00:00
  • 0ee1c41582 Changes to Pseudo Tcp: - fixes bug with connect packet and disabled window scaling - disables window scaling by default - adds isConnected method in PseudoTcpSocket paweldomas 2012-09-04 18:20:24 +00:00
  • 40e8c691e1 Added support for timeout on read and write operations for PseudoTcpSocket paweldomas 2012-08-25 09:04:03 +00:00
  • 71e4dec419 Corrects connectivity check client nerver terminate (Jingle only). Reported by Lyubomir Marinov: org.ice4j.ice.ConnectivityCheckClient.run() will skip a check beat. chenzo 2012-08-24 15:07:32 +00:00
  • 3a470c287e Corrects the problem of truncated datagram packets at reception (for packets truncated by the java stack and not by the network). chenzo 2012-08-23 12:19:51 +00:00
  • da600aef0c Corrects STUN packet length computation as pointed outby Pawel Domas. chenzo 2012-08-22 09:12:51 +00:00
  • e161411a9b Improves detection of STUN packets (MAGIC_COOKIE and valid length header field). chenzo 2012-08-21 16:19:00 +00:00
  • 0856c4dfdf -fixes few bugs -code style improvements -added PseudoTcpSocketFactory(usage changed, see test.IcePseudoTcp example for reference) paweldomas 2012-08-21 14:24:10 +00:00
  • 139ac8a12f Handles TCP socket when closed by remote host (which previously triggers numerous illegal length excpetion). chenzo 2012-08-21 14:13:32 +00:00
  • 757aef02d4 -fixed race condition in notification about new data available for reading - default MTU set to 1450 paweldomas 2012-08-16 12:00:32 +00:00
  • 02a9f7e7af Includes ByteFifoBufferTest in the test suite paweldomas 2012-08-13 07:43:09 +00:00
  • 757ea6196c Fixes: - infinite recursion in write() of PseudoTcpOutputStream - write/read with offset of pseduo tcp streams Adds: - unit tests for all read/write methods of pseudo tcp streams paweldomas 2012-08-13 07:39:18 +00:00
  • f0dcc54a20 Removes Override annotations to fix compilation errors. Replaces tabs with spaces. lubomir.marinov 2012-08-12 17:40:08 +00:00
  • 2137c337ef Fixes pseudoTcp unit tests paweldomas 2012-08-11 07:43:28 +00:00
  • dfcde11376 Adds password support for google relayed candidate. chenzo 2012-08-10 13:34:49 +00:00
  • f2529200be - PseudoTcpSocketImpl extends java.net.SocketImpl - fixed example IcePseudoTcp - pseudo TCP tests are included in test suite paweldomas 2012-08-10 09:03:29 +00:00
  • 290572f32f - Adds Eclipse .project and .classpath files to ease the import of the project into the IDE. - Removes Override annotations on interface implementations to avoid compilation errors. - Overrides hashCode in a class which overrides equals in order to maintain the general contract of the hashCode method and to avoid possible (future) issues related to hashtables. lubomir.marinov 2012-07-30 21:12:49 +00:00
  • 12e275f640 Corrects null pointer exception when trying to log a packet whereas the socket is already closed. chenzo 2012-07-26 14:15:20 +00:00
  • 271dc3b9b4 Reduces log information about harvesting time. chenzo 2012-07-19 14:07:44 +00:00
  • fa8ec11955 Added pseudoTCP paweldomas 2012-07-18 13:38:19 +00:00
  • 46400e0009 Merges code about checking ports for HostCandidateHarvester. chenzo 2012-07-13 07:18:59 +00:00
  • 6d42555340 Adds log information about candidate harvest time for each harvester. chenzo 2012-07-11 16:33:03 +00:00
  • bdce4653bd Applies patch 5 and 6 from Daniel Pocock: [jitsi-dev] refreshing patches. chenzo 2012-07-11 13:10:15 +00:00
  • 5f278f72e4 Corrects disable IPv6 properties variable name (StackProperties) and its use (HostCandidateHarvester) as reported by Daniel Pocock. chenzo 2012-07-09 08:26:28 +00:00
  • 25574cea72 Applies patch 1, 2, 3, 4 and 7 from Daniel Pocock: [jitsi-dev] refreshing patches. chenzo 2012-07-06 15:39:46 +00:00
  • 891392e18a Puts the Agent into WAITING state when creating a new media stream. This way all incoming connectivity checks are added to the preDiscoveredPairsQueue until this Agent turn back intro RUNNING state. chenzo 2012-07-06 11:55:21 +00:00
  • c17fa4675a Corrects a java under MAC OSX bug when dealing with ipv6 local interface: the destination address (as well as the source address) under java / MAC OSX must have a scope ID, i.e. "fe80::1%en1". chenzo 2012-07-04 16:19:22 +00:00
  • 7634806e11 Corrects heap space consumption when TCP DelegatingSocket receives a packet with no data. chenzo 2012-06-28 14:18:40 +00:00
  • 525d7e14d1 Corrects reception of hole punch packets for TCP socket. chenzo 2012-06-22 15:57:34 +00:00
  • 5434a8ab41 Corrects detection of STUN packets if the current UDP datagram has no PDU. chenzo 2012-06-19 13:27:50 +00:00
  • b0c3647242 Corrects RTP adresses logged in pcap file. Adds an informational log when the RTP loss rate is > 5% (at most an entry each 5 seconds). chenzo 2012-06-12 16:11:06 +00:00
  • d5441d45f3 Corrects the received STUN packet address logged in pcap file. chenzo 2012-06-08 16:47:46 +00:00
  • 632d53ac67 Corrects logged addresses for relayed packets. chenzo 2012-05-29 13:16:17 +00:00
  • f36c7609a8 Moves UPnP search for WANIPConnection and WANPPPConnection when harvesting is started, to avoid block when harvester is created. damencho 2012-04-11 12:57:11 +00:00
  • c8d9101610 Fixes thread deadlock in ConnectivityCheckClent, this patch has been contributed by amrinder on the issues tracker of ice4j. seb 2012-03-09 11:06:25 +00:00
  • 163fead8ad Adds some patchs contributed by Daniel Pocock that adds additionnals logs and fixes some problems related to race conditions. seb 2012-03-09 10:18:51 +00:00
  • c6f54124d5 Adds CandidateExtendedType to list the different available methods to discover new Candidates: HOST, UPNP, STUN_PEER_REFLEXIVE, STUN_SERVER_REFLEXIVE, TURN_RELAYED, GOOGLE_TURN_RELAYED, GOOGLE_TCP_TURN_RELAYED and JINGLE_NODE. chenzo 2012-03-01 10:45:18 +00:00
  • e7aafa2e1a Fixes NPE. Catches an OutOfMemoryError related to a thread creation. Lower priority for IPv6 link-local candidate compared to IPv6 global ones. seb 2012-02-23 17:15:49 +00:00
  • 2591b21992 When receive a STALE-CREDENTIALS error, delay the reemission of the connectivity check for that candidate pair. Fix thread stopping when ICE Agent is free()d otherwise some threads (Stun4J Message Processor, StunKeepAliveThread, ...) stay even after the call is finished. seb 2012-02-07 13:29:51 +00:00
  • 8b759a4dd0 Fixes race condition when receiving a binding response from a peer and a binding request (for the same candidate pair). Also sends an 'stale credentials' error when receiving a check where username does not match any local ufrag/rfrag (typically it can happen when peer does not have finish processing transport-info/candidates IQ when STUN binding requests from other peer come. seb 2011-11-17 13:46:39 +00:00
  • 289651c38c Allows a GTalk controlled agent to nominate pair in ConnectivityCheckClient. seb 2011-11-15 10:46:27 +00:00
  • a9c1582deb Reduces logs output when ICE is completed. seb 2011-10-28 08:09:49 +00:00
  • 63915fab36 Logs only some debug information in certain state and don't log stacktrace for 'no route to host' exception. seb 2011-10-24 13:44:07 +00:00
  • cae2e2ec9c Fixes connection negociation in LAN for Google's ICE variant. seb 2011-10-18 09:50:30 +00:00
  • d6c1ab0097 Fixes blocking state connecting/incoming call. seb 2011-10-17 15:28:12 +00:00
  • bee319845b Fixes a problem with symmetrical NAT (detected with a test on 3G network). seb 2011-10-17 14:35:20 +00:00
  • 1d8fd98bd5 Fixes ICE failed case where Gmail user calls to Jitsi ones with SSLTCP only (when connecting to remote SSLTCP relay, the SSL handshake was not done). seb 2011-10-14 08:56:28 +00:00
  • ee0c31e444 Lower log level for keep-alive and useCandidate stuff. seb 2011-10-13 15:04:55 +00:00
  • 44fd1c4a06 Fixes cases with peer-reflexives Candidate as well as some calls initiated from Gmail. Fixes framing length calculation and some missing implemented methods reported by Ingo Bauersachs on dev mailing-list. seb 2011-10-13 14:51:33 +00:00
  • b6213785aa Handle correctly TCP framing header for both local and relayed TCP socket. Also check that we read framing length before passing up to applications. seb 2011-10-13 11:36:57 +00:00
  • 338409c769 Fixes Google's ICE with TCP transport. seb 2011-10-12 15:11:19 +00:00
  • fab4966215 CandidatePair can be updated with useCandidateReceived even if the state is not succeeded. seb 2011-10-10 12:57:51 +00:00
  • 3cc3c94b63 Search the candidate pair with local and remote frag rather than local and remote address for Google ICE. Handles the TCP connect in separate threads in order to not block the start of ICE. seb 2011-10-07 15:23:49 +00:00
  • 169e56c22f Fixes two deadlocks. Also do not answer to a Google's binding request if we do not know yet the local/remote ufrag (this case can happen if we receive binding checks before we start ICE connectivity checks) because it will in certain circumstances choose a different active candidates than the remote peer.. seb 2011-10-06 14:57:05 +00:00
  • ef03b44b3a Avoids getting to the nominators when a selected pair is available for a component. Fixes the way we know that a local pair is a relayed candidate for the FirstHostOrReflexive strategy. seb 2011-10-03 15:37:22 +00:00
  • dce3326061 Synchronized Message's attributes operations as it can cause ConcurrentModificationException sometime. seb 2011-09-23 08:15:00 +00:00
  • 547c568d9d Avoids send error message to transaction that has already sent a response. seb 2011-09-22 15:33:51 +00:00
  • 6d912a0fa1 Fixes case where LocalCandidate object has not ufrag set which can lead to NullPointerException. seb 2011-09-21 08:25:07 +00:00
  • 51e10fcf16 Adds additionnal logs. seb 2011-09-14 09:59:54 +00:00
  • 609929087d Adds a TCP connect timeout when creating ICE connectivity check list. seb 2011-09-12 09:52:20 +00:00
  • f8cb1a05b2 For standard ICE (RFC5245), send STUN binding indication keep-alives after ICE finished with COMPLETED state. seb 2011-09-09 15:52:37 +00:00
  • 03a1a11644 Supports for XOR-PEER-ADDRESS attribute for GTalk compatibility mode (as Empathy/libnice uses this attribute instead of MAPPED-ATTRIBUTE). seb 2011-09-08 11:15:03 +00:00
  • 47c73815a9 Fixes a recursion problem in Candidate.equals which happen by comparing two RelayedCandidates with same address/port. seb 2011-09-01 14:37:09 +00:00
  • 14e1a3f8a2 Fixes problem when UPnP is used with Google Talk call. seb 2011-08-08 15:39:38 +00:00
  • 67b8a98f57 Avoids GTalk's ICE state being TERMINATED. seb 2011-07-21 12:59:45 +00:00
  • 205df6ac70 Adds support for Google's TCP candidates as well as Google TURN TCP and SSLTCP harvesters. seb 2011-07-20 15:05:19 +00:00
  • c91bfae9b0 Fixes problems with server reflexives address checks (as all local candidates has their own ufrag we will not remove server reflexive candidates when pruning checklists. Handles STALE_CREDENTIALS error due to checks being sent too quickly to a remote peer that does not process candidates IQ yet. seb 2011-06-10 14:06:05 +00:00
  • 16617e7234 Find the GTalk CandidatePair based on its local and remote username. seb 2011-06-09 14:16:32 +00:00
  • b687bdb9eb Support of the Google ICE dialect (UDP only for now). seb 2011-06-09 08:47:22 +00:00
  • ab5a3f7b00 Handle only one nomination confirmed and thus selection of pair per Component. seb 2011-06-09 07:10:44 +00:00
  • b5e2234962 Source code formating for the attribute classes, fix buggy attribute length calculation, add attributes from _old_ TURN draft specification. seb 2011-06-03 14:39:08 +00:00
  • 768db27837 Fix a possible ConcurrentModificationException in CredentialsManager. seb 2011-05-26 14:21:49 +00:00
  • 17e931572e Add logs when a pair check fails (received binding error response, non-symmetric response, ...). seb 2011-05-25 06:53:24 +00:00
  • 518e661a82 Parallelize UPnP search for WANIPConnection and WANPPPConnection. seb 2011-05-19 06:49:03 +00:00
  • 36415b82c1 Fix typos. seb 2011-05-13 08:45:13 +00:00
  • 74aaab04a7 Update weupnp library. seb 2011-05-12 15:51:03 +00:00
  • e348e8a436 Additionnal logs for UPnP. seb 2011-05-12 10:11:39 +00:00
  • 44d286cdee Update weupnp lib (bring back HTTP timeout and reducing UPnP broadcast timeout). seb 2011-04-26 12:36:09 +00:00
  • 9353abd320 Add also the HostCandidate used for UPnP gathering as it is needed for peer reflexive detection. seb 2011-04-19 15:04:06 +00:00
  • 7dccafc489 Update weupnp lib (that add support for linux-igd), also code formatting and Javadoc fixes. seb 2011-04-19 08:41:48 +00:00
  • 9f872e3c27 Add weupnp.jar which works correctly on Windows (determine local address of a socket). seb 2011-02-24 17:24:12 +00:00
  • 0625a6c33a Attempt to read a maximum of 1500 bytes for the TURN ChannelData socket. seb 2011-02-24 17:03:06 +00:00