Commit Graph

  • 4c5e1d6ad4 ncd: modules: net_dns: implement net.dns.resolvconf() forspecification of arbitrary resolv.conf lines ambrop7 2013-10-13 23:15:53 +00:00
  • 80e002aa74 ncd/examples/router/README: mention that a DNS server is started ambrop7 2013-10-13 21:04:03 +00:00
  • edd3faca44 ncd: add router example ambrop7 2013-10-13 21:02:10 +00:00
  • d225550b5c version 1.999.128 ambrop7 2013-08-30 16:53:12 +00:00
  • f59e6e2f69 Fix some MSVC build errors. ambrop7 2013-08-30 16:43:52 +00:00
  • 06b1ce9f1b Regenerate Bison parser to fix build on MSVC. ambrop7 2013-08-30 16:36:32 +00:00
  • 6656143955 BSSLConnection: fix build on MSVC ambrop7 2013-08-30 16:35:13 +00:00
  • f0a9004bc0 SLinkedList: optimize by allowing the prev and last pointers to be indeterminate when they aren't needed ambrop7 2013-06-07 12:20:20 +00:00
  • c8eef381f1 SLinkedList: add the list pointer argument to Next and Prev functions ambrop7 2013-05-20 22:05:00 +00:00
  • 82df26cdfc BPending: use MarkRemoved and IsRemoved instead of manual hacking with the next pointers ambrop7 2013-05-20 19:42:30 +00:00
  • f5ea2bdef7 SLinkedList: implement MarkRemoved and IsRemoved ambrop7 2013-05-20 19:40:22 +00:00
  • a53724cfc5 BPending: optimization, use RemoveFirst instead of Remove ambrop7 2013-05-17 13:30:41 +00:00
  • 31abf88633 SLinkedList: implement RemoveFirst and RemoveLast ambrop7 2013-05-17 13:27:56 +00:00
  • b72f37add9 tun2socks: add option to append source addresses to SOCKS usernam ambrop7 2013-05-02 14:44:58 +00:00
  • 1ba0000b7c udpgw: fix clang warning ambrop7 2013-05-01 13:29:03 +00:00
  • 77013d347b BAddr: add functions which return addresses ambrop7 2013-05-01 13:28:30 +00:00
  • c15c0247e2 ncd: add onoff_server example ambrop7 2013-04-23 13:16:08 +00:00
  • 24d05ee81f fix compile-tun2sock.sh after IPv6 support was added ambrop7 2013-04-22 16:24:06 +00:00
  • ed6449d06a tun2socks: IPv6 support. Includes updated lwIP version and udpgw program. ambrop7 2013-04-22 16:16:03 +00:00
  • c0b9b54be8 ncd: net_iptables: add ip6tables commands ambrop7 2013-04-22 15:11:29 +00:00
  • 58de02c375 tun2socks: use udp_check() ambrop7 2013-04-21 20:03:13 +00:00
  • adf6203e3c misc/udp_proto: add udp_check() ambrop7 2013-04-21 19:52:37 +00:00
  • 47fb330b96 tun2socks: fix an unlikely integer overflow, and some cosmetic changes ambrop7 2013-04-21 19:49:08 +00:00
  • 1e083d2e24 tun2socks: fix problematic pointer casting ambrop7 2013-04-21 17:11:44 +00:00
  • ea2a18f0e6 BAddr: add BAddr_CompareOrder() ambrop7 2013-04-19 23:07:32 +00:00
  • e414e84fa0 tun2socks: simplify code, no functional change ambrop7 2013-04-18 22:46:22 +00:00
  • 9065fe2626 tun2socks: simplify code, no functional change ambrop7 2013-04-18 22:45:06 +00:00
  • c0c430e10b tun2socks: simplify code, no functional change ambrop7 2013-04-18 22:43:12 +00:00
  • ccfe9881cf tun2socks: possible bug fix. In the lwip error callback, signal the client_dead dead-variable so that ERR_ABRT is returned to any chained callbacks (if that could happen in the first place). ambrop7 2013-04-18 22:41:40 +00:00
  • 65cdfeef06 tun2socks: fix possible crash when tcp_close() is called from within lwip callbacks. The problem is that tcp_close() may in certain cases immediately free the PCB, and we need to indicate such an event that to the lwip code calling the callbacks by returning ERR_ABRT, or the code assumes the PCB survived. Fix by always returning ERR_ABRT from callbacks if tcp_close() gets called. It appears that there are no ill effects if ERR_ABRT is returned even though tcp_close() didn't immedietely free the PCB. ambrop7 2013-04-18 22:35:44 +00:00
  • d551b48e32 tun2socks: fix possible crash due to the use of a wrong dead-variable ambrop7 2013-04-18 22:26:54 +00:00
  • 3d71375653 tun2socks: fix possible crash when the client side is lost before the SOCKS side manages to connect ambrop7 2013-04-18 21:02:50 +00:00
  • 1b918ff3df fix lwip logging after BLog API change ambrop7 2013-04-18 12:47:11 +00:00
  • e723832c13 ncd: modules: log: fix assertion failure from BLog API changes ambrop7 2013-04-10 20:41:05 +00:00
  • dbcb258a7f examples/cavl_test: add testing of associative operation feature ambrop7 2013-03-26 02:21:48 +00:00
  • a5c780c498 structure/CAvl: implement support for custom associative operations ambrop7 2013-03-26 02:19:11 +00:00
  • 52b529b761 misc/grow_array.h: allow passing zero capacity to GrowArray_Init(). ambrop7 2013-03-25 23:57:28 +00:00
  • 11230ecbf2 ncd: modules: process_manager: remove verbose logging ambrop7 2013-03-25 15:06:03 +00:00
  • 8b1ad6e6c3 misc/get_iface_info.h: fix incorrect error check ambrop7 2013-03-18 20:45:25 +00:00
  • efb684d588 misc/get_iface_info.h: add badvpn_ prefix to function ambrop7 2013-03-18 20:44:28 +00:00
  • abb03e15a5 BArpProbe, BDHCPClient: remove the old private get_iface_info() function ambrop7 2013-03-18 20:42:52 +00:00
  • 8f6285a281 DebugObject: BADVPN_THREAD_SAFE should be checked with if not ifdef. Also add check to make sure it's defined. ambrop7 2013-03-15 02:59:24 +00:00
  • 4049ee60aa DebugObject: use BADVPN_THREAD_SAFE to enable the counter mutex, not BADVPN_THREADWORK_USE_PTHREAD ambrop7 2013-03-15 02:56:35 +00:00
  • a2044b6ce7 misc/compare.h: add B_COMPARE2() macro ambrop7 2013-03-15 02:40:25 +00:00
  • 62ad4c0763 BTap: make a string in options a non-const char pointer so we can allocate and free it ambrop7 2013-03-15 02:38:09 +00:00
  • d6a643089d BTap: implement initialization from file descriptor ambrop7 2013-03-15 02:37:14 +00:00
  • cabd8abb7f BLog: add BContextLog macro ambrop7 2013-03-15 01:42:46 +00:00
  • 480d94d9dd ncd: NCDModule: implement NCDModuleInst_Backend_LogContext() ambrop7 2013-03-13 22:24:23 +00:00
  • 52b94d387c BLog: implement logging contexts ambrop7 2013-03-13 22:22:43 +00:00
  • e1cda2fad8 make sure plugin code doesn't have its own instances of global variables but uses the ones from the main program ambrop7 2013-03-13 22:13:51 +00:00
  • fc5d7678df DebugObject: don't declare extern global variables when they don't exist ambrop7 2013-03-13 22:00:22 +00:00
  • faa7a69c48 compile PIC versions of internal libraries, to be used by NCD plugins ambrop7 2013-03-13 15:06:47 +00:00
  • 126a47c586 ncd: add load_module() ambrop7 2013-03-13 14:53:15 +00:00
  • c55525c90e ncd: NCDInterpreter: implement loadmodule callback ambrop7 2013-03-13 14:49:10 +00:00
  • 675f8100b7 ncd: NCDInterpProcess: retry simple module lookups when a statement is about to be instantiated, this is needed for dynamic module loading ambrop7 2013-03-13 14:48:25 +00:00
  • 808bf4524e ncd: NCDModule: add interface for loading modules, currently a stub ambrop7 2013-03-13 14:46:44 +00:00
  • e363bd457d tun2socks, udpgw: transparent DNS support, contributed by Kerem Hadimli. No Windows support for now. ambrop7 2013-03-12 22:14:46 +00:00
  • 86b3cbc925 system: add BThreadSignal and BLockReactor ambrop7 2013-03-01 19:18:56 +00:00
  • 1d0e9dd5be BNetwork: make bnetwork_initialized variable non-static ambrop7 2013-03-01 19:12:19 +00:00
  • 6630a0c47e misc/grow_array.h: implement GrowArray_InitEmpty() and GrowArray_DoubleUpLimit() ambrop7 2013-03-01 19:06:53 +00:00
  • 3c5ae1b60b BMutex: cosmetic change, remove whitespace at end of line ambrop7 2013-03-01 19:02:29 +00:00
  • 46212f3fb9 BLog: implement thread-safety ambrop7 2013-03-01 18:58:34 +00:00
  • a6fb29f45c move BMutex to base/ and make BADVPN_THREAD_SAFE control whether it actually does anything ambrop7 2013-03-01 18:44:50 +00:00
  • 3c4f0f741c misc/dead.h: fix name conflicts with Android toolchain ambrop7 2013-02-06 17:26:17 +00:00
  • 0ae7645025 regenerate Bison parser for BPredicate with new Bison version ambrop7 2013-01-31 01:09:19 +00:00
  • 2ad19e172a version 1.999.127 ambrop7 2013-01-28 23:18:22 +00:00
  • fe29d46e2d update ChangeLog ambrop7 2013-01-28 23:17:46 +00:00
  • a23d1d7f84 client, server: implement experimental support for performing SSL operations in worker threads ambrop7 2013-01-28 15:00:41 +00:00
  • 645d6456d5 rename NCDRefTarget --> BRefTarget ambrop7 2013-01-28 13:06:59 +00:00
  • f3fd1055a6 move NCDRefTarget to misc/ ambrop7 2013-01-28 13:00:58 +00:00
  • 538a8a59a9 ncd/CMakeLists.txt: don't try to build non-existing file (forgotten in previous commit) ambrop7 2013-01-28 12:57:54 +00:00
  • 4fc7a12a79 ncd/NCDRefTarget: move implementation to header ambrop7 2013-01-28 12:55:08 +00:00
  • 9e3d14bfad ncd: modules: value: implement append() to list value. Not even I could remember that insert(x) appends to a list. ambrop7 2013-01-28 00:37:47 +00:00
  • cbbc16d23e ncd: modules: net_iptables: add single-argument form of append and insert commands, allowing for generic use ambrop7 2013-01-27 02:31:20 +00:00
  • 13bb8d8d31 ncd: modules: net_iptables: implement net.iptables.insert() and net.ebtables.insert() ambrop7 2013-01-27 02:14:03 +00:00
  • 61b17ec310 ncd: modules: sys_start_process: implement deinit_kill_time option ambrop7 2013-01-26 19:34:20 +00:00
  • 6b41f49023 ncd: modules: sys_start_process: implement term_on_deinit option ambrop7 2013-01-26 18:55:35 +00:00
  • aefe4561c5 ncd: modules: sys_start_process: implement process startup options like in runonce() in daemon() ambrop7 2013-01-26 18:35:38 +00:00
  • 705196709c ncd/extra/NCDBProcessOpts: add NCDBProcessOpts_Init2() which also returns the presence of keep_stdout and keep_stderr options ambrop7 2013-01-26 18:22:28 +00:00
  • bb7745ae70 ncd: modules: sys_request_server: oops, that previous commit claiming to implement _caller was completely wrong. This should be right. ambrop7 2013-01-26 02:18:47 +00:00
  • 797a2c9e6a ncd: modules: sys_request_server: implement _caller in request handler ambrop7 2013-01-26 01:56:46 +00:00
  • f97b2c4412 ncd-request: fix typo which broke the ncd-request program ambrop7 2013-01-26 01:21:27 +00:00
  • 4a9d8e2d9b update ChangeLog ambrop7 2013-01-26 00:19:55 +00:00
  • 4aa8e8ba30 ncd: modules: add getenv ambrop7 2013-01-26 00:19:16 +00:00
  • 4b43ab0eb5 add threadwork/BMutex ambrop7 2013-01-24 21:22:10 +00:00
  • 92c136587b ncd: implement --syntax-only argument for syntax check without executing the program ambrop7 2013-01-24 01:10:23 +00:00
  • 830133df03 ncd: modules: daemon: add support of process options using NCDBProcessOpts ambrop7 2013-01-23 23:15:37 +00:00
  • fd329507f5 ncd: modules: runonce: add support for new external process options format, effectively adding username option ambrop7 2013-01-23 23:04:14 +00:00
  • 3637943b28 ncd: add extra/NCDBProcessOpts for parsing options for starting external processes ambrop7 2013-01-23 22:59:05 +00:00
  • e458ccc1ef client/CMakeLists.txt: make sure we link to threadwork ambrop7 2013-01-23 03:37:19 +00:00
  • fa53618fa6 fix some pointer casts which are invalid in C++, to get compiling with MSVC working again ambrop7 2013-01-23 00:21:35 +00:00
  • c7d42bc280 client: make max_peers adjustible at runtime via command line ambrop7 2013-01-22 14:49:47 +00:00
  • 2ba003366d server: make max_clients adjustible at runtime via command line ambrop7 2013-01-22 13:29:31 +00:00
  • 1c8a90f165 version 1.999.127rc1 ambrop7 2013-01-19 20:31:09 +00:00
  • 9def212fa6 update ChangeLog ambrop7 2013-01-19 20:29:44 +00:00
  • b6d807d73f remove structure/LinkedList4.h, it won't be needed ambrop7 2013-01-19 20:19:37 +00:00
  • cdab8d3f4b ncd: tests: value.ncd: add some more testing with different representations of strings ambrop7 2013-01-19 20:17:49 +00:00
  • 220ef4115c ncd: tests: value.ncd: add some testing with buffer() to test working with ComposedString's ambrop7 2013-01-19 20:02:23 +00:00
  • c5c1ded1e2 ncd: tests: add strings.ncd ambrop7 2013-01-19 20:01:06 +00:00
  • ad442431af ncd: tests: add buffer.ncd ambrop7 2013-01-19 20:00:50 +00:00