Commit Graph

  • bd2f1db00c DatagramPeerIO: allow setting and unsetting handlers ambrop7 2011-03-20 09:37:44 +00:00
  • 81b1c0e14a client, server: use a sane SO_SNDBUF, Windows has problems with 1 ambrop7 2011-03-20 00:26:38 +00:00
  • 023c1245bf client, server: limit TCP send buffer where we do scheduling, or it is pointless to do because the socket's send buffer may grow very large ambrop7 2011-03-19 23:57:12 +00:00
  • 841aed29bb PacketPassPriorityQueue, PacketPassFairQueue: document flow busyness better ambrop7 2011-03-19 10:06:16 +00:00
  • 2a8a3b8d8d PacketPassInactivityMonitor: add PacketPassInactivityMonitor_SetHandler ambrop7 2011-03-19 09:23:30 +00:00
  • 123722a072 client: rename DataProtoDevice->DataProtoSource, DataProtoDest->DataProtoSink, DataProtoLocalSource->DataProtoFlow ambrop7 2011-03-18 19:46:46 +00:00
  • ad0d57c509 version 1.999.104rc1 ambrop7 2011-03-17 09:55:26 +00:00
  • eca5b73fd6 BThreadWork: support multiple worker threads ambrop7 2011-03-16 22:33:42 +00:00
  • e39dbd4fda Add notes on using encryption functions from non-main threads. ambrop7 2011-03-16 18:06:34 +00:00
  • 9d5a63d27c security: turn BSecurity_GlobalInit into BSecurity_GlobalInitThreadSafe ambrop7 2011-03-16 17:55:34 +00:00
  • 87b07fcebd security: add BSecurity_GlobalFree ambrop7 2011-03-16 16:52:17 +00:00
  • ca7bb87f96 client: call BSecurity_GlobalInit to initialize OpenSSL locking. Prevents random crashes when threads are used. ambrop7 2011-03-16 12:55:18 +00:00
  • 9de80f62cd BThreadWork: add BThreadWorkDispatcher_UsingThreads ambrop7 2011-03-16 12:52:08 +00:00
  • fc2ce39626 security: add BSecurity for initializing OpenSSL locking ambrop7 2011-03-16 12:46:19 +00:00
  • 6ee3e674e2 DebugObject: put a lock around increment and decrement. Fixes assertion failures when used when threads are enabled. ambrop7 2011-03-15 19:48:43 +00:00
  • c8ec8b4f1b minor changes ambrop7 2011-03-15 19:15:57 +00:00
  • 5a015fcb49 SPProtoDecoder: parallelize encryption and hashing using BThreadWork ambrop7 2011-03-15 00:49:20 +00:00
  • 644c1155c1 SPProtoEncoder: parallelize encryption and hashing using BThreadWork ambrop7 2011-03-14 22:53:13 +00:00
  • fb953a3050 BThreadWork: use a condition variable instead of a semaphore to pass works to the thread. Also use it to terminate the thread instead of cancelling. ambrop7 2011-03-14 22:04:40 +00:00
  • da0a122b53 client: add --threads option, default to zero threads ambrop7 2011-03-14 21:00:22 +00:00
  • 9213aa8373 BThreadWork: make pipe read end non-blocking ambrop7 2011-03-14 18:57:34 +00:00
  • 3de2af71eb tests: add threadwork_test ambrop7 2011-03-14 00:06:28 +00:00
  • f272be1cd2 OTPChecker: parallelize OTP generation using BThreadWork ambrop7 2011-03-14 00:04:26 +00:00
  • c97534f8e9 OTPGenerator: parallelize OTP generation using BThreadWork ambrop7 2011-03-13 23:55:06 +00:00
  • 48963af6f9 add BThreadWork ambrop7 2011-03-13 23:35:29 +00:00
  • 6f95696566 ChunkBuffer2: add ChunkBuffer2_calc_blocks for computing the number of blocks, checking for overflows ambrop7 2011-03-13 12:42:42 +00:00
  • 600ee272bf version 1.999.103rc1 ambrop7 2011-03-12 13:22:20 +00:00
  • 5b8a1d3287 CMakeLists.txt: make sure int is at least 32 bits ambrop7 2011-03-12 13:21:45 +00:00
  • 09694b13ba Use system installed mswsock.h if possible. Fixes build with new mingw-w64 toolchains. ambrop7 2011-03-12 13:05:24 +00:00
  • 85256b3283 CMakeLists.txt: check for kqueue on FreeBSD ambrop7 2011-03-12 12:36:18 +00:00
  • 76f53f6510 FreeBSD support. ambrop7 2011-03-12 12:24:46 +00:00
  • 873b2c5163 CMakeLists.txt: fix if's ambrop7 2011-03-11 19:15:46 +00:00
  • 5e0f0c8e88 version 1.999.102rc1 ambrop7 2011-02-07 20:11:57 +00:00
  • cd61b3ce15 ncd: add list concatenation module ambrop7 2011-02-07 20:02:09 +00:00
  • 873710cc86 ncd: add module for logical operators ambrop7 2011-02-07 19:29:20 +00:00
  • 6db744d152 version 1.999.101.3 ambrop7 2011-02-04 17:49:22 +00:00
  • b6ab08596c BSocket: set control data pointer for WSASendMsg to NULL if there is no control data; fixes UDP transport on Windows 7 ambrop7 2011-02-04 17:48:39 +00:00
  • 8ce59ec63a version 1.999.101.2 ambrop7 2011-01-31 19:12:45 +00:00
  • 25e32c977b client: make sure CERT_DecodeCertPackage won't try to interpret the certificate as base64 ambrop7 2011-01-31 19:11:52 +00:00
  • a8220d73b8 minor changes ambrop7 2011-01-31 18:54:48 +00:00
  • 908d1cc0b8 fix compile ambrop7 2011-01-31 18:49:31 +00:00
  • 04f927ab39 misc/jenkins_hash: remove ambrop7 2011-01-31 18:46:09 +00:00
  • 93b5476b6e version 1.999.101.1 ambrop7 2011-01-31 17:38:22 +00:00
  • aa0aa09087 bproto: don't assign an unknown uint32_t to int, this may be undefined behaviour if the uint32_t is too large for the int (which it can be). ambrop7 2011-01-31 17:31:55 +00:00
  • 8444652d27 version 1.999.101 ambrop7 2011-01-29 18:00:11 +00:00
  • bcf7ceb42b minor changes ambrop7 2011-01-29 17:57:57 +00:00
  • ddedcd863a server: simplify managing the common name, avoid possible read of unititialized client ID in client_log() from client_init_io() before it is assigned ambrop7 2011-01-29 17:53:51 +00:00
  • 66d091fc25 client: include the common name of peers in output, now that we can extract it from the certificate ambrop7 2011-01-29 17:22:39 +00:00
  • 80a9510c0c Make the server send the original DER-encoded certificate of a peer to other peers, rather than re-encoding it. Preserve compatibility with old clients by still sending them the re-encoded certificate. ambrop7 2011-01-29 17:14:29 +00:00
  • 37589be576 server: log the common name of peers ambrop7 2011-01-28 22:34:32 +00:00
  • 651442956b version 1.999.100.3 ambrop7 2011-01-28 15:51:57 +00:00
  • 4d020a06ed scripts/copy_nss: copy programs too ambrop7 2011-01-28 15:42:59 +00:00
  • 521f7db90f remove some gccisms ambrop7 2011-01-28 15:35:44 +00:00
  • e63f91a893 DebugIn: remove ambrop7 2011-01-28 15:03:11 +00:00
  • 72a3900640 version 1.999.100.2 ambrop7 2011-01-28 10:28:23 +00:00
  • fca94bd6c8 client: make FrameDecider parameters tunable ambrop7 2011-01-28 10:27:59 +00:00
  • acee0448ff DPRelay: DPRelaySink_Init: remove reactor argument ambrop7 2011-01-27 22:55:38 +00:00
  • b5164440f8 ncd: update readme ambrop7 2011-01-27 10:39:44 +00:00
  • e30227ffd1 version 1.999.100.1 ambrop7 2011-01-26 17:21:56 +00:00
  • f13a0e9a0a DPRelay: don't require every peer to have its own buffer for the purpose of relaying to other peers; use just one global buffer ambrop7 2011-01-26 17:21:02 +00:00
  • 5288b69170 DataProto: minor cleanup ambrop7 2011-01-26 15:47:30 +00:00
  • 0b72590fb7 DataProto: use a job to report up/down events, instead of directly calling the handler from DataProtoDest_Received() ambrop7 2011-01-26 14:18:56 +00:00
  • 7f24efde2c client: when relaying frames, make sure the source peer ID is the peer sending the frame ambrop7 2011-01-26 13:24:45 +00:00
  • 0214f4e0c3 SPProtoEncoder: encode_packet should return void ambrop7 2011-01-25 09:46:47 +00:00
  • 9f153c5551 version 1.999.100 ambrop7 2011-01-25 01:21:52 +00:00
  • 42efd132d9 DPRelay: log creating and freeing relay flows ambrop7 2011-01-25 01:19:54 +00:00
  • 91936964b2 client: enable freeing relay flows based on inactivity ambrop7 2011-01-25 01:03:26 +00:00
  • b093b1d646 DPRelay: add support for freeing flows based on inactivity ambrop7 2011-01-25 01:00:27 +00:00
  • 0b49e90306 DataProto: DataProtoLocalSource: add inactivity reporting ambrop7 2011-01-25 00:51:05 +00:00
  • 471080e6cb DataProto: minor cleanup ambrop7 2011-01-25 00:24:21 +00:00
  • 2b0e753045 DataProto: remove dead code ambrop7 2011-01-23 17:56:43 +00:00
  • ffd4f656f9 DataProto: remove unused relaying code ambrop7 2011-01-23 14:50:49 +00:00
  • 512b33d5af client: don't allow relaying back ambrop7 2011-01-23 14:22:20 +00:00
  • d44f73e46a client: free link in peer_reset, do not require relay destinations to have a link ambrop7 2011-01-23 14:06:57 +00:00
  • c1d4b93336 client: implement relaying with DPRelay which makes use of DataProtoDevice ambrop7 2011-01-23 13:58:28 +00:00
  • 466da824b1 version 1.999.99.1 ambrop7 2011-01-22 10:32:08 +00:00
  • 1a8f08e0fc StreamPeerIO: don't print error details ambrop7 2011-01-22 09:46:46 +00:00
  • f2cbad72af don't log error details in error handlers PacketProtoDecoder: log errors ambrop7 2011-01-22 09:38:19 +00:00
  • d588473938 log errors where they occur ambrop7 2011-01-22 09:14:20 +00:00
  • d1e931fcb4 FlowError: pass an int error code instead of a void * ambrop7 2011-01-22 08:42:29 +00:00
  • eddb706974 DatagramPeerIO: init persistent I/O objects directly in Init ambrop7 2011-01-21 23:36:41 +00:00
  • fda152417e PacketRecvNotifier: remove ambrop7 2011-01-21 23:27:45 +00:00
  • d1ab2294b8 minor changes, move OTP warning to SPProtoEncoder ambrop7 2011-01-21 23:24:55 +00:00
  • cc5313d26d DatagramPeerIO: add max_frames argument for FragmentProtoAssembler. Change it from 1 to 4. ambrop7 2011-01-21 19:26:26 +00:00
  • 084597a46d minor changes ambrop7 2011-01-21 19:13:04 +00:00
  • 0557db2ac5 minor changes ambrop7 2011-01-21 16:13:06 +00:00
  • d10f2419ae version 1.999.99 ambrop7 2011-01-21 10:58:37 +00:00
  • a25377ac8e FragmentProtoDisassembler: fix assert ambrop7 2011-01-21 10:50:46 +00:00
  • d604b6ae51 minor changes ambrop7 2011-01-21 10:48:41 +00:00
  • 6953c4d39d oops... ambrop7 2011-01-20 12:31:25 +00:00
  • 7a353f2923 minor changes ambrop7 2011-01-20 12:30:39 +00:00
  • e4e49b9c7d minor changes ambrop7 2011-01-20 08:43:25 +00:00
  • 400a44356c version 1.999.99rc5 ambrop7 2011-01-16 16:02:17 +00:00
  • 20974460f8 BDHCPClient: use a socket filter to avoid processing all packets received on the interface ambrop7 2011-01-16 16:00:27 +00:00
  • 7f0f763fbf BSocket: add BSocket_SockFd ambrop7 2011-01-16 15:53:42 +00:00
  • 567a9963d0 version 1.999.99rc4 ambrop7 2011-01-16 13:58:35 +00:00
  • c50899fc1f ncd: add run module ambrop7 2011-01-16 13:55:29 +00:00
  • 1caa56c976 ncd/modules/command_template: improve interface, use a struct ambrop7 2011-01-16 13:14:14 +00:00
  • 55d8881fde PacketPassFairQueue: add additional weight to packets ambrop7 2011-01-16 12:17:59 +00:00
  • 104fb40944 PacketPassPriorityQueue, PacketPassFairQueue: minor changes ambrop7 2011-01-16 11:33:59 +00:00