Commit Graph

  • 947f06ae22 Fixes some warnings. damencho 2015-11-06 15:45:15 -06:00
  • 6296d8dd4a Adds stun mapping candidate harvester, that can be used to discover public address using a pre-configured stun server. damencho 2015-11-06 15:28:31 -06:00
  • 23fb8e1776 Removes commented code that was left behind in previous commits. damencho 2015-11-06 14:21:55 -06:00
  • 39466ac70c Added warning log entry for out of range port on packet Paul Gregoire 2015-11-06 08:43:58 -05:00
  • 3f9bf0b17c Merged log message Paul Gregoire 2015-11-05 19:57:11 -05:00
  • 3a1fee0aff Rename MultiplexingTcpHostHarvester to TcpHarvester. damencho 2015-11-05 15:34:46 -06:00
  • c03cfaa674 Removes adding mapped addresses as they are configured from the outside. They can be different settings for that, not only coming from aws harvester. damencho 2015-11-05 15:28:03 -06:00
  • 9512d303a2 Makes AwsCandidateHarvester reuses the harvest logic from super. damencho 2015-11-05 15:19:26 -06:00
  • 6a97941d68 Removes unused publicAddress field. damencho 2015-11-05 13:55:03 -06:00
  • d756d7d72a Added setting of packet port to 0 to prevent out-of-range error. Paul Gregoire 2015-11-05 12:08:50 -05:00
  • 6c99040496 Make ice4j an OSGi bundle Ingo Bauersachs 2015-11-01 18:06:31 +01:00
  • beaacef376 Merge pull request #42 from mondain/master Ingo Bauersachs 2015-10-31 15:00:06 +01:00
  • c0edd9cc97 Created alternate versions of createConnectRequest and createConnectionAttemptIndication to allow passing transaction id as bytes to permit use of the MessageFactory by turnserver. Paul Gregoire 2015-10-31 09:45:43 -04:00
  • 48a332bc37 Remove HTML and outdated links from readme Ingo Bauersachs 2015-10-31 00:17:09 +01:00
  • 7a17c4e453 Fix formatting of contribution from PR#30. Ingo Bauersachs 2015-10-30 23:55:25 +01:00
  • bfa3b487d1 Merge pull request #30 from robertoandrade/bugfix/tcp-harvester-interface-reuse Ingo Bauersachs 2015-10-30 23:17:02 +01:00
  • 9e8c9690ed Added builders to allow external use by other projects. Paul Gregoire 2015-10-29 21:20:45 -04:00
  • 5dbac4599d Merge pull request #40 from mondain/master Ingo Bauersachs 2015-10-30 07:17:45 +01:00
  • 847f9a6e4e Fixed to prevent failure with systems that dont support window scaling. Paul Gregoire 2015-10-28 11:03:31 -04:00
  • da2194444c Fix line endings in PseudoTCP code Ingo Bauersachs 2015-10-28 15:36:09 +01:00
  • 4b036f1264 Remove some hacks that call setUseCandidateReceived Daniel Pocock 2015-10-13 09:56:58 +02:00
  • 10b4e911ef Allows the demultiplexing of packets into pseudo sockets installed after receipt of the packets in question. Removes duplication. Lyubomir Marinov 2015-10-05 23:12:03 -05:00
  • a7418247f6 Fixes javadocs, warnings. Lyubomir Marinov 2015-10-01 13:27:18 -05:00
  • 26296f3cbe Updates the license headers and adds license file. damencho 2015-10-01 15:28:55 -05:00
  • 5c4ad56614 Revert "Does not retransmit StunClientTransaction-s over TCP." because 1. The particular implementation causes us to timeout client transactions after 200ms. 2. We can't be certain that all legs of the connection use a reliable transport (i.e. we may be connected via TCP to a TURN server, which talks to the other side over UDP), so we should retransmit anyway. Boris Grozev 2015-09-30 16:55:30 -05:00
  • afd095e67a Ignore Eclipse project files Ingo Bauersachs 2015-09-07 17:31:50 +02:00
  • 6c14757ffe Fixes javadocs. Lyubomir Marinov 2015-08-11 16:29:59 -05:00
  • db7710396d Upgrades the Ant compiler source and target from 1.5 to 1.6 because Ant ignores 1.5 as obsolete and our sources require 1.6 anyway. Lyubomir Marinov 2015-08-11 15:43:12 -05:00
  • f59d8c6dfc Reflects the adopted Maven standard directory layout in the Eclipse .classpath file. Removes Xalan as a compile-type dependency of the Eclipse project because it is not such a dependency anyway (Xalan is required by the Ant target test). Lyubomir Marinov 2015-08-11 14:47:48 -05:00
  • 9f03488376 Merge branch 'master' into bugfix/tcp-harvester-interface-reuse Roberto Andrade 2015-08-05 12:49:36 -04:00
  • 26200eab21 Fixes GitHub issue #19: NPE in MediaDescription#setAttribute() because CandidateAttribute#attribute is null. Lyubomir Marinov 2015-07-28 15:33:39 -05:00
  • 7072173ed3 Fixes GitHub issue #22: CandidateAttribute.clone() causes NullPointerException. Lyubomir Marinov 2015-07-28 11:56:35 -05:00
  • 75c2a52f9e Fixes GitHub issue #24: Wrong preference for choosing default candidate (not in accordance with rfc5245). Lyubomir Marinov 2015-07-28 11:35:07 -05:00
  • 469f045b9b Fixes GitHub issue #25: DATA_INDICATION encode error with STUN(TURN). Lyubomir Marinov 2015-07-28 09:16:33 -05:00
  • 1960ab615a Moves the src and test directories to their respective Maven standard directory layout locations. Lyubomir Marinov 2015-07-28 08:56:13 -05:00
  • 4d08a7764f Moves the src and test directories to their respective Maven standard directory layout locations. Lyubomir Marinov 2015-07-28 08:48:27 -05:00
  • 71b27db69f Adds jitsi-maven-repository, avoids jitsi-universe prerequisite. Lyubomir Marinov 2015-07-27 13:49:35 -05:00
  • b8ff856e29 - Adding logic for MuxServerSocketChannel to be aware of "anyLocalAddress" instances in cache and return matches when trying to build new ones to reuse the same underlying ServerSocketChannel - Testing the new bit of functionality Roberto Andrade 2015-07-25 10:21:01 -04:00
  • 0e715bd79a Allows the tie breaker value for an Agent to be set (patch my Matt Fredrickson). Boris Grozev 2015-07-24 18:15:35 -05:00
  • 8443e7e914 Fixes compilaiton using jdk older than 1.8 (based on Matt Fredrickson's patch). Boris Grozev 2015-07-20 11:14:17 -05:00
  • eb35310969 Compares tie breakers as unsigned longs to as RFC5245 mandates. Based on Matt Fredrickson's report and patch. Fixes #28. Boris Grozev 2015-07-20 10:58:31 -05:00
  • 1ba6076431 Fixes types. Boris Grozev 2015-07-20 10:17:16 -05:00
  • 8862d9cc5a Removes obsolete source code. Lyubomir Marinov 2015-07-15 16:47:20 -05:00
  • 84f8559d35 Changes the URL of the ice4j project from Google Code to GitHub. Lyubomir Marinov 2015-07-14 13:17:00 -05:00
  • fd0ca16423 Moves the content from the home page to README.md. Boris Grozev 2015-07-13 17:12:35 -05:00
  • ffa876fa04 Extends the ice4j Maven project from the jitsi-universe Maven project in order to inherit common characteristics such as groupId, dependency and plugin versions. lubomir.marinov 2015-07-10 19:39:33 +00:00
  • b67ebf259d Adds the PATCH method to HttpDemuxFilter (reported by peili on github: https://github.com/jitsi/jitsi-videobridge/issues/69#issuecomment-116845076). boris 2015-07-08 20:09:44 +00:00
  • eea3d27caa Adds Maven support. lubomir.marinov 2015-06-29 00:10:16 +00:00
  • a4f7d4ff8d Fixes a stack overflow reported by James B. Byrne, investigated by Danny van Heumen. lubomir.marinov 2015-06-19 20:41:36 +00:00
  • 50e8ac2616 Exposes the useHostHarvester flag of an Agent. boris 2015-06-02 12:22:42 +00:00
  • 8d96b29382 Fixes the address filtering for single-port UDP. boris 2015-06-02 12:22:32 +00:00
  • 1f4aeebe38 Supports server reflexive candidates for single-port UDP, and automatically detects mappings for EC2. boris 2015-06-02 12:22:23 +00:00
  • 471f91b364 Automatically adds a mapping for TCP when running on EC2. boris 2015-06-02 12:22:14 +00:00
  • 4f4b5005f9 Fix REQUEST_METHOD_MAX_LENGTH initialization. boris 2015-05-20 16:56:39 +00:00
  • e9398b9353 Restores building and running with a non-8 JDK after r499. lubomir.marinov 2015-05-14 12:44:00 +00:00
  • 446607e5d7 Allows a listening endpoint to be shared among multiple protocols (e.g. ICE-TCP, HTTP). lubomir.marinov 2015-05-01 07:58:40 +00:00
  • c7b8fd2e2b Fixes warnings. Adds javadocs. lubomir.marinov 2015-04-29 09:26:24 +00:00
  • bd3f6c663f Exposes the "logPacketToPcap" method, because it is used in Jitsi. boris 2015-03-30 12:19:27 +00:00
  • 3355481bf8 Drop the first packet instead of the last. boris 2015-03-30 10:49:39 +00:00
  • bb688bc896 Remove code (trying to) calculate and log RTP statistics. boris 2015-03-30 10:49:32 +00:00
  • b0c8e73b36 Minor formatting changes, make methods package-private. boris 2015-03-30 10:49:23 +00:00
  • 03c5f7c162 Renames the "reachable" flag to "alive" and adds additional comments explaining its purpose and usage. gp 2015-03-19 11:15:26 +00:00
  • b564f06732 Adds a "reachable" flag to the ConnectivityCheck*.java for debugging purposes. gp 2015-03-19 10:11:05 +00:00
  • 23d3b809cb Makes sure that threads in receive() get a SocketException when the socket closes. boris 2015-03-13 13:39:01 +00:00
  • cd826a1233 Treat the TERMINATED state the same as COMPLETED when handling binding responses. boris 2015-03-13 13:38:38 +00:00
  • 89fd7625fe Synchronize access to the Agent's state. Harden state checks to avoid bugs due to race conditions. Don't fire state change events unless the state indeed changed. Improve logging. boris 2015-03-13 13:38:19 +00:00
  • 4cb51d0302 Respects the IPv6 configuration in SinglePortUdpHarvester. Fixes typos. boris 2015-03-09 18:24:51 +00:00
  • f9ee7aedba Synchronizes access to an Agent's termination thread because of an observed race condition leading to calling start() twice. boris 2015-03-09 18:24:42 +00:00
  • 818cd10a2f Reduces the log level of logs when freeing an agent and its streams. boris 2015-03-09 18:24:33 +00:00
  • 7268fb7a75 Logs failures to get host candidates. boris 2015-03-09 18:24:19 +00:00
  • 7b21db735f Log a message and abort harvesting, rather than failing with an exception, in case harvesting is not possible due to the harvester not supporting Agents with multiple components. boris 2015-03-04 08:01:36 +00:00
  • 59deb864f7 Adds a utility method for creating single-port harvesters for the IP addresses considered "allowed" by ice4j. boris 2015-03-02 14:05:58 +00:00
  • ab81b469af Controls the use of the dynamic host harvester with a property instead of an API call. boris 2015-03-02 14:05:51 +00:00
  • 61d82e0885 Adds a UDP harvester using a single port. boris 2015-02-27 16:42:49 +00:00
  • a55f6c6be6 Supports multiple "host" harvesters. Allows the default dynamic harvester to be disabled. boris 2015-02-27 16:42:37 +00:00
  • 5ebfe11c55 Refactors NetAccessManager. Allows UDP sockets to be associated with a specific remote address. boris 2015-02-27 16:42:25 +00:00
  • f322f67f93 Refactors the finding of a CandidatePair's socket. boris 2015-02-27 16:42:15 +00:00
  • 6999ebc19d Removes code duplication. boris 2015-02-27 16:42:05 +00:00
  • 5e489a8f05 Fixes a (possible) NullPointerException. lubomir.marinov 2015-02-08 14:02:17 +00:00
  • 50dd346aaf Supports running an Agent without any remote candidates. boris 2015-01-22 16:12:07 +00:00
  • d9e14a6ba7 Fix deprecation warning. boris 2015-01-22 16:11:59 +00:00
  • 0c30dc7ae6 Fix a bug in Agent.getSelectedPair(), update documentation. boris 2015-01-22 16:11:54 +00:00
  • 7d58fe7a29 Supports address filtering for UDP host candidates. boris 2015-01-20 12:28:49 +00:00
  • 54f6fd3f86 Fixes technical errors in method invocations. Optimizes type checks on packet send and receive. lubomir.marinov 2014-11-12 14:12:37 +00:00
  • 088ca3609f Adds tcptype to all TCP candidates. boris 2014-10-14 19:01:14 +00:00
  • 004d962d71 Fixes a failure to detect end-of-stream/socket closed condition. De-registers channels from the selector when they time-out. boris 2014-10-14 12:26:29 +00:00
  • e273e24ee6 Attempts to respect DatagramSocket and Socket SO_RCVBUF and, thus, limits the possible retained memory. lubomir.marinov 2014-10-14 12:16:39 +00:00
  • 872bf7e8ef Does not use instanceof on each and every RTP packet. lubomir.marinov 2014-10-10 18:34:22 +00:00
  • 7b8d6b15a0 Adds a close method, makes threads daemon threads, removes an unnecessary field. boris 2014-10-10 13:16:10 +00:00
  • 1b24803c90 Reads in the pseudo SSL handshake and initial STUN packet in non-blocking mode. boris 2014-10-10 13:16:03 +00:00
  • a281457a37 Removes a superfluous "synchronized" block. boris 2014-10-09 11:51:10 +00:00
  • fc0b558497 Reduces the number of times that a received packet is internally copied. Reduces the scopes of synchronization blocks and breaks synchronization blocks into multiples on different objects. Optimizes hashtable iterations. Fixes warnings. lubomir.marinov 2014-10-09 09:47:26 +00:00
  • 9eca04ecad Adds an property to disable the use of IPv6 link local addresses for candidate allocation. boris 2014-10-03 12:29:38 +00:00
  • 707d258084 Implements lists of allowed and blocked IP addresses for use in TCP candidate allocation. boris 2014-10-03 12:29:29 +00:00
  • d937a29022 Treats ClosedChannelException as a fatal error and stops the Connector. boris 2014-10-02 13:15:20 +00:00
  • 868228b3f6 Names the TCP harvester read thread. boris 2014-10-02 13:15:13 +00:00
  • 7454ebd7c5 Fixes warnings. lubomir.marinov 2014-09-15 23:40:15 +00:00
  • 26c34b25b4 Allows additional addresses and/or ports to be configured. Purge the components map. boris 2014-09-09 14:46:16 +00:00
  • 5f67322b90 Exports the obtained local/public addresses via the getFace() and getMask() methods. boris 2014-09-09 14:46:09 +00:00
  • 89082b2c1a Take into account the transport protocol for mapped candidates. Preserve the isSSL flag. boris 2014-09-09 14:46:01 +00:00