Commit Graph

  • 1358438efd Addtionnal logs: harvester type and server address for the selected components, and candidate type for each address gathered. seb 2011-02-24 10:31:01 +00:00
  • 67cd08ad0c Fix an infinite loop if UPnP AddPortMapping action never succeed. seb 2011-02-17 10:16:11 +00:00
  • 1db2650514 Update UPnP library (Add timeout for HttpURLConnection). seb 2011-01-13 12:21:26 +00:00
  • ad79151b1f Add UPnP harvester support. seb 2010-12-21 10:29:04 +00:00
  • 71c4c28298 Fix a mistake (using HostCandidate instead of RelayedCandidate). seb 2010-12-20 16:28:59 +00:00
  • 18e6036b97 Add a new nomination strategy which consists in nominate first host or server reflexive candidate. If relayed candidates are first validated, wait some time to see if no host or server reflexive candidates get validated and be nominated instead of relayed ones. Note that this strategy is not the default and thus need to be explicitely set via Agent's setNominationStrategy method to be used. seb 2010-12-17 17:44:27 +00:00
  • 47d0918dce Add some log outputs. seb 2010-12-13 17:20:13 +00:00
  • cfa0e2973d Change Candidate's get/setTurnServerAddress() to get/setRelayServerAddress() to be more generic in naming relays. Typos and text formatting. seb 2010-12-09 10:29:58 +00:00
  • 7e868bb3f1 Introduce PacketLogger, implementers can log all received or sent packets by the stack. damencho 2010-12-07 13:44:04 +00:00
  • 15b6780ccf * Fix a bug when the TURN ChannelData data is padded, it results of the ChannelData to be discarded; * Allow remote candidates to be injected while ICE processing is running; * Support different remote ufrag/password for streams. seb 2010-12-06 16:41:58 +00:00
  • fc3e411657 Initialize the Binding Response's MESSAGE-INTEGRITY attribute with the same username as the request. Now ice4j should correctly work with Empathy. seb 2010-11-29 16:22:54 +00:00
  • a16b8afe12 Add USERNAME and MESSAGE-INTEGRITY in connectivity check's Binding Response. seb 2010-11-26 16:41:29 +00:00
  • ed5856810a - Add a missing test about foundation to change \"frozen\" candidate pair state to \"waiting\"; - Nominee for a component are now obtained by looking in \"ValidList\" rather than \"CheckList\"; - Checks that are received before we start ours are triggered immediately when ICE state change to RUNNING; - Always use \"BASE\" transport address as source for sending and checking STUN request (peer reflexive cases); - Fix infinite recursivity in DelegatingDatagramSocket; - Various formatting, typos, 80-line cut and missing javadocs fix. seb 2010-11-25 16:03:44 +00:00
  • 7de929986c Makes it possible to complete connectivity establishment, create new streams, components and candidates and start a new connectivity establishment for them only. lubomir.marinov 2010-10-21 19:18:34 +00:00
  • 1d3ce5ee57 Starts the connectivity checks for a CheckList when a triggered check is scheduled. Otherwise, the Agent may run forever. lubomir.marinov 2010-10-14 19:37:18 +00:00
  • 7ff7ed83e9 Runs the harvests of local candidates performed by multiple CandidateHarvesters for a given Component in parallel in order to achieve faster overall harvesting. Additionally, disables a CandidateHarvester for an Agent when it fails so that it does not slow down the overall harvesting. lubomir.marinov 2010-10-14 10:41:55 +00:00
  • 3e28058a07 Fixes a suspicious #remove() of a CheckList from a List<IceMediaStream>. lubomir.marinov 2010-10-12 20:52:19 +00:00
  • 99e0572c06 Modifies the ICE Agent to not self-destruct upon termination and to rather advise explicit preparation for garbage collection. lubomir.marinov 2010-10-06 08:20:51 +00:00
  • 3f6e5c7564 Fixes warnings, javadocs, formatting. lubomir.marinov 2010-10-04 07:08:00 +00:00
  • a10d5e6687 Adds support for generations emcho 2010-09-28 11:26:00 +00:00
  • 5f4c05d699 Uses StunStack on a per-Agent basis. lubomir.marinov 2010-09-12 13:17:06 +00:00
  • 3d4de0f547 Enables relay through a TURN server using ChannelData messages. The implementation is not supposed to be active in run-sample because run-sample only sends connectivity checks through the relay and ICE recommends using ChannelData only after ICE has completed. The relay automatically switches from Send/Data indications to ChannelData messages when the first non-STUN message is sent through it. lubomir.marinov 2010-07-14 19:45:21 +00:00
  • dea667e8b5 Commits work in progress on relaying through a TURN server using ChannelData messages. The implementation seems to cause Mac OS X Snow Leopard to die so it is committed disabled for the purposes of easy transfer and testing on a more stable operating system. lubomir.marinov 2010-07-14 17:01:27 +00:00
  • 0bcec0c2f8 Adds/fixes javadocs. lubomir.marinov 2010-07-14 10:41:28 +00:00
  • 908f572707 Commits a meaningless modification as obviously there's some kind of a commit competition going on\!\!\! emcho 2010-07-13 13:46:51 +00:00
  • e06c86a5dc Brings back a .notifyAll() which wasn't supposed to be removed in r228. lubomir.marinov 2010-07-13 13:39:45 +00:00
  • 63911198a5 Removes a System.err.println. lubomir.marinov 2010-07-13 13:37:55 +00:00
  • 6bcdd91a09 Reverts the enabling of starting connectivity establishment of the remote peer in the run-sample Ant target. lubomir.marinov 2010-07-09 15:43:28 +00:00
  • 8928f9daa6 Implements relaying data through a TURN server for RelayedCandidate. lubomir.marinov 2010-07-09 15:41:07 +00:00
  • cad31b0304 Nothing really, mostly applies formatting. lubomir.marinov 2010-07-09 14:58:05 +00:00
  • 0e0e0086d1 Fix javadoc warnings. seb 2010-07-04 06:46:32 +00:00
  • 9495fe541a Fixes what looks like a race condition related to the starting of a connectivity check on a Candidate pair and processing its Response. lubomir.marinov 2010-07-01 02:39:19 +00:00
  • f15437c37b Implements harvesting of relayed candidates through TURN. lubomir.marinov 2010-06-30 06:58:16 +00:00
  • b4579547da Mostly, applies formatting. Fixes an instance of using String#getBytes without an encoding which is discouraged (and hasn't come up as a problem during testing yet). lubomir.marinov 2010-06-29 09:53:08 +00:00
  • c631805349 Fixes the verification of MESSAGE-INTEGRITY attribute values (which didn't seem to always work with the previous fix). lubomir.marinov 2010-06-29 09:46:27 +00:00
  • f57ba6870e Fixes a NullPointerException in the case of relayed candidates. lubomir.marinov 2010-06-29 09:45:27 +00:00
  • c859509daa Attempts to fix: - incorrect calculations of the MESSAGE-INTEGRITY attribute value when sending and receiving (e.g. the connectivity checks) STUN messages, - ArrayIndexOutOfBoundsException in EvenPortAttribute - a failure to take the padded attribute length into account when encoding Message into bytes which would cause the STUN messages to be incorrectly encoded. lubomir.marinov 2010-06-25 17:41:58 +00:00
  • 316e524a0f Fixes warnings, javadocs, formatting. Simplifies a few instances of cloning arrays. lubomir.marinov 2010-06-25 06:47:47 +00:00
  • 5dd7a39257 Fixes warnings in test/. lubomir.marinov 2010-06-25 06:43:19 +00:00
  • 579782bb0a Repairs an issue with conflict resolution emcho 2010-05-18 17:07:25 +00:00
  • f948c50706 fixes a ClassCastException when handling incoming checks emcho 2010-05-18 13:33:00 +00:00
  • 489b444b69 fixes a ClassCastException when handling incoming checks emcho 2010-05-18 13:31:54 +00:00
  • b954328af7 Various bug fixes emcho 2010-05-18 10:03:20 +00:00
  • e63a42e8f1 Various bug fixes emcho 2010-05-18 10:03:06 +00:00
  • 5875d4dec1 Repairs condition for a check list to enter the COMPLETED state. Was: every component needs to have a nominated candidate, Is: Every component needs to have a nominated candidate whose nomination check has succeeded emcho 2010-05-18 07:25:59 +00:00
  • 69ed45c7d3 Adds to new test applications that allow testing ice4j on separate work stations emcho 2010-05-18 07:25:45 +00:00
  • be0ab56e9c Fixes transaction management issues emcho 2010-05-18 07:25:15 +00:00
  • 8ce8be2cc8 Adds to new test applications that allow testing ice4j on separate work stations emcho 2010-05-18 07:24:58 +00:00
  • 1060228133 Adds a testing utility that allows running the ICE sample over two distinct stations. emcho 2010-05-18 07:24:47 +00:00
  • 7c1781eb7d Adds a testing utility that allows running the ICE sample over two distinct stations. emcho 2010-05-18 07:24:23 +00:00
  • 69805233d9 Adds sample sdp generation emcho 2010-05-18 07:24:02 +00:00
  • 95a59dbb2a Adds a nomination utility with, currently, two nomination strategies. emcho 2010-05-18 07:23:41 +00:00
  • b8c6760b96 Implements a default NOMINATE_FIRST_VALID nomination strategy. emcho 2010-05-18 07:23:15 +00:00
  • 1eb48f91a5 Starts work on custom nomination strategies emcho 2010-05-18 07:23:00 +00:00
  • 3e9d403472 Starts work on custom nomination strategies emcho 2010-05-18 07:22:37 +00:00
  • 795e0f0fd1 Fixes issues with ICE processing in a basic use case emcho 2010-05-08 21:39:56 +00:00
  • ef7a75fcc4 Fixes issues with ICE processing in a basic use case emcho 2010-05-08 21:39:39 +00:00
  • 7da2ab5222 In an effort to simplify use of the library Reduces visibility for a number of methods that user applications won't need to access. emcho 2010-05-08 21:39:25 +00:00
  • 90a9e347f7 Moves the connectivity check client and server into the ice package so that we could reduce visibility to methods that are not meant for users of the lib. emcho 2010-05-08 21:39:10 +00:00
  • ce396fc993 Partially implements termination procedures emcho 2010-05-08 21:38:48 +00:00
  • 3476b9194d Adds an IceProcessingState tracking to Agents emcho 2010-05-08 21:38:33 +00:00
  • 3c3f40a38f Adds an IceProcessingState to Agents emcho 2010-05-08 21:38:20 +00:00
  • ab877ab6f7 Commits work on pair nomination (Section 8.1.1). Work in progress emcho 2010-05-08 21:38:10 +00:00
  • 007d551863 Commits work on pair nomination (Section 8.1.1). Work in progress emcho 2010-05-08 21:38:00 +00:00
  • d30aa3b96f Commits work on pair nomination (Section 8.1.1). Work in progress emcho 2010-05-08 21:37:45 +00:00
  • 6ae8daa23d Implements support for Check List and Timer State Updates (RFC 5245 7.1.3.3.) emcho 2010-05-08 21:37:36 +00:00
  • 2ad5090e23 Implements support for Check List and Timer State Updates (RFC 5245 7.1.3.3.) emcho 2010-05-08 21:37:24 +00:00
  • 834b10cc69 Implements candidate nomination as per sections 7.2.1.5. and 7.2.3.2.4. from RFC 5245 emcho 2010-05-08 21:37:10 +00:00
  • 988de3fbff Implements client side support for Updating Pair States (RFC 5245: Section 7.1.3.2.3). So did the previous commit despite the wrong commit message emcho 2010-05-08 21:36:58 +00:00
  • 5067c4a462 Implements client side valid list construction (RFC 5245: Section 7.1.3.2.2) emcho 2010-05-08 21:36:45 +00:00
  • 7e2b709d28 Implements client side valid list construction (RFC 5245: Section 7.1.3.2.2) emcho 2010-05-08 21:36:30 +00:00
  • ba1fdf0a9d Adds support for client side discovery of PEER-REFLEXIVE-CANDIDATES. (RFC 5245: Section 7.1.3.2.1) emcho 2010-05-08 21:36:11 +00:00
  • 9fe7cce92e Completes failure handling. (RFC 5245: Section 7.1.3.1) emcho 2010-05-08 21:35:54 +00:00
  • bc285371e0 Implements client side role conflict detection and resolution (RFC 5245: Section 7.1.3.1) emcho 2010-05-08 21:35:41 +00:00
  • 91b3474a79 Implements server side role conflict detection and resolution (RFC 5245: Section 7.2.1.1) emcho 2010-05-08 21:35:21 +00:00
  • cc51f9ff21 Implements server side role conflict detection and resolution (RFC 5245: Section 7.2.1.1) emcho 2010-05-08 21:34:56 +00:00
  • 63aac5e6f9 Refactors the implementation of the ICE-CONTROLLING and ICE-CONRTOLLED attributes to avoir the 95% duplication between the two emcho 2010-05-08 21:34:35 +00:00
  • 6747c7cdcd Allows the application to trigger a 400 Bad Request response by throwing an IllegalArgumentException from within processRequest(). Responds with a 400 when incoming requests are missing the PRIORITY attribute emcho 2010-05-08 21:34:19 +00:00
  • acb573dbab Adds automatic generation of 500 Server Error responses in case of an exception during request processing. Renames requestReceived() to processRequest() for uniformity with response processing. emcho 2010-05-08 21:33:57 +00:00
  • 8a17ce9e25 Fixes problems related to the processing of padding in incoming stun messages emcho 2010-05-01 21:37:30 +00:00
  • 8c446d6f24 Completes support for automatically generating error responses emcho 2010-05-01 21:37:13 +00:00
  • 29c128ce74 Ongoing work on automatically generating some error responses emcho 2010-05-01 21:36:52 +00:00
  • 1d4945e563 Ongoing work on automatically generating some error responses emcho 2010-05-01 21:36:29 +00:00
  • 8f528bbafc Adds parsing for incoming priority attributes. Makes the ICE Agent only start the checks with a single stream Completes support for storing application data in transaction IDs so that we could keep in there references to CandidatePair-s emcho 2010-05-01 21:36:07 +00:00
  • f0a6ba00c9 Adds support for storing application data in transaction IDs so that we could keep in there references to CandidatePair-s emcho 2010-05-01 21:35:47 +00:00
  • 44e7266220 Adds support for computing of initial CandidatePair states in check lists. (section 5.7.4. of 5245 emcho 2010-05-01 21:35:37 +00:00
  • 1ff391f994 Adds support for computing of initial CandidatePair states in check lists. (section 5.7.4. of 5245 emcho 2010-05-01 21:35:24 +00:00
  • af8a7345a6 Adds support for computing of initial CandidatePair states in check lists. (section 5.7.4. of 5245 emcho 2010-05-01 21:35:13 +00:00
  • 40a0c3a03e Adds support for computing initial check list states. (sections 5.7.4., 7.1.3.2.3, 7.1.3. of 5245 emcho 2010-05-01 21:35:02 +00:00
  • 8d69aab45b Implements a connectivity check pace maker emcho 2010-05-01 21:34:50 +00:00
  • ea6c442e78 Adds timer methods emcho 2010-05-01 21:34:36 +00:00
  • 9d55baa594 Completes support for triggered checks and peer-reflexive candidate discovery emcho 2010-05-01 21:34:16 +00:00
  • 5574bd4433 Starts work on supporting triggered checks and peer-reflexive candidate discovery emcho 2010-04-28 22:31:32 +00:00
  • a3bd377fe7 Starts work on supporting triggered checks and peer-reflexive candidate discovery emcho 2010-04-28 22:31:18 +00:00
  • 9d07b54f05 Refactoring emcho 2010-04-28 22:31:08 +00:00
  • 96021cf134 Adds methods for discovering a local candidate based on a TransportAddress emcho 2010-04-28 22:30:53 +00:00
  • 045429921b Moves connectivity check client and server to a package of their own. Adds mechanism that allows connectivity check servers to report peer reflexive addresses emcho 2010-04-28 22:30:42 +00:00
  • 21cd44045f Fixes use of local credentials authority (now that was some tricky stuff to find). emcho 2010-04-27 23:32:34 +00:00
  • 75231a7e3e Delays necessity of a password for outgoing checks so that we could handle the OFFER check ANSWER case. emcho 2010-04-27 23:32:18 +00:00
  • 52541f4adf Splits candidate check handler into a client and a server. Delays necessity of a password for outgoing checks so that we could handle the OFFER check ANSWER case. emcho 2010-04-27 23:31:58 +00:00