ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. Version 1.999.130:
  2. - Fix TUN/TAP operation with Linux kernel 3.19. See: https://bugzilla.kernel.org/show_bug.cgi?id=96381
  3. - ncd: modules/daemon: Implement custom retry time.
  4. - ncd: modules/daemon: Fix the "daemon crashed" log message to include module context.
  5. - ncd: modules: arithmetic: Don't fail immediately on arithmetic errors, expose their occurrence.
  6. - ncd: Add clock_get_ms function.
  7. - ncd: Implement a simple checksum function as used in the Sphereo blue tooth protocol.
  8. - ncd: socket: Implement support for opening serial ports.
  9. - ncd: Implement struct_decode.
  10. - ncd: Implement struct_encode function.
  11. - ncd: sys.evdev: Provide event code strings for EV_SYN if available.
  12. - ncd: modules: blocker: Implement initial_state argument.
  13. - ncd: modules: blocker: Expose the up-state as a variable.
  14. - ncd: Implement Do-Interrupt.
  15. - ncd: Implement Do.
  16. - ncd: Implement lazy evaluation in If clause.
  17. - ncd: Implement ifel function to support future lazy If.
  18. - ncd: Optimize value::append().
  19. - ncd: Implement backtrack_point::rgo.
  20. - ncd: modules: explode: Pass through external strings (avoid copy).
  21. - ncd: modules: explode: Implement compiling search strings.
  22. - ncd: modules: parse: Implement parse_hex_number.
  23. - ncd: Implement caret syntax sugar. ^a.b.c = {"a", "b", "c"}
  24. - ncd: Fix bugs with bad expectations of null-terminated strings.
  25. - ncd: Implement object reference infrastructure and objref module.
  26. - ncd: Remove ComposedString type along with the buffer module.
  27. - ncd: Implement Block syntax as syntax-sugar around inline_code().
  28. - ncd: modules: call: Implement inline_code calls.
  29. - ncd: modules: call: Fix bug in call_with_caller_target deinit.
  30. - ncd: modules: socket: close: Fix completion order vs closing.
  31. - ncd: Fix a bug that caused a bad assertion failure in file_write().
  32. - ncd: modules: socket: add read() eof variable
  33. - ncd: modules: socket: Implement _caller in client process.
  34. - ncd: Add --signal-exit-code option.
  35. - ncd: Implement syntax sugar @something = "something".
  36. - ncd: Fix crash with num_multiply(..., "0").
  37. - ncd: Infrastructure for built-in functions and implementation of many such functions.
  38. - ncd: Fix bad assertion regarding map values.
  39. Version 1.999.129:
  40. - ncd: modules: file_open: Fix typo in assertion.
  41. - server: Fix bug forgetting to call BSSLConnection_ReleaseBuffers(). Unless threads are enabled, this is an assert failure if NDEBUG is not defined an a non-issue otherwise.
  42. - ncd: Look for various programs in PATH instead of hardcoded paths.
  43. - Add compile-udpgw.sh.
  44. - ncd: modules: net_dns: Implement net.dns.resolvconf() forspecification of arbitrary resolv.conf lines
  45. Version 1.999.128:
  46. - tun2socks: add option --append-source-to-username to give the SOCKS server the source IP of the connection
  47. - tun2socks: IPv6 support, and updated to newer version of lwIP
  48. - tun2socks: fix some bugs/crashes
  49. - tun2socks, udpgw: transparent DNS forwarding, though no Windows support on udpgw side (contributed by Kerem Hadimli)
  50. - NCD: preliminary support for dynamically loading commands
  51. Version 1.999.127:
  52. - client, server: implement experimental support for performing SSL operations in worker threads. Currently it's rather inefficient.
  53. - NCD: modules: value: implement value::append() for appending to a list
  54. - NCD: modules: net_iptables: add single-argument form of append and insert commands, allowing for generic use
  55. - NCD: modules: net_iptables: implement net.iptables.insert() and net.ebtables.insert()
  56. - NCD: modules: sys_start_process: implement options, including username, term_on_deinit and deinit_kill_time
  57. - NCD: modules: sys_request_server: implement _caller in request handler
  58. - NCD: modules: add getenv()
  59. - NCD: modules: daemon: implement options, including username option
  60. - NCD: modules: runonce: add new options format with a map, implement username option
  61. - NCD: modules: add buffer(), which exposes a buffer with efficient appending and removing from the beginning.
  62. - NCD: add a new internal string representation called ComposedString. This allows modules to expose the concatenation of multiple memroy buffers as a single string value, efficiently.
  63. - fix many, hopefully all, strict aliasing violations. In particular, this fixes a bug where the DHCP client integrated into NCD won't work correctly, subject to optimization flags.
  64. - NCD: modules: sleep: interpret empty string as no sleeping, add sleep(ms_start) with one argument
  65. - NCD: modules: add log(), log_r() and log_fr() commands for logging via the BLog system
  66. Version 1.999.126:
  67. - NCD: modules: sleep: interpret empty string time as no sleeping, add sleep(ms_start) with one argument
  68. - NCD: modules: add log module for message logging using the BLog system
  69. - NCD: implement the "include" and "include_guard" directives, which allow separating reusable code into files
  70. - NCD: modules: call2: implement call_with_caller_target(), which makes it easier to write reusable code that calls back user-provided code
  71. - NCD: modules: call2: remove call2_if(), call2_ifelse(), embcall2(), embcall2_if(), embcall2_ifelse()
  72. - NCD: modules: add sys.start_process(), which implements starting and controlling external processes and reading/writing their stdout/stdin
  73. - tun2socks: implement SOCKS password authentication
  74. - NCD: track the depth of values and limit the maximum depth. This avoids stack overflow with very deeply nested values.
  75. - NCD: modules: add substr()
  76. - NCD: process_manager: add 2-argument start() method which doesn't take a process identifier
  77. - NCD: process_manager: allow process identifiers to be any value not just strings
  78. - NCD: multidepend, depend_scope: fix immediate effect order when a depend finishes backtracking
  79. - NCD: add depend_scope module to do exactly what the multidepend module does, but with separate non-global dependency name scopes
  80. - NCD: multidepend: allow dependency names to be any value not just strings
  81. - NCD: implement value::insert(what) for appending to a list
  82. - NCD: change the format of addresses in sys.request_server() and sys.request_client() to be the same as in the socket module
  83. - NCD: add socket module (sys.connect() and sys.listen())
  84. - NCD: fix bug where duplicate template/process names would not be detected and weird behaviour would result
  85. - NCD: add backtrack_point() for simple backtracking
  86. - NCD: add file_open() for more complete file I/O
  87. - NCD: implement parse_ipv6_addr() and parse_ipv6_cidr_addr()
  88. - NCD: port to Emscripten/Javascript, for the in-browser demo
  89. - NCD: many performance and memory usage improvements
  90. - NCD: add assert_false()
  91. - NCD: don't link to OpenSSL to for random number generator. Use /dev/urandom instead to generate XIDs for DHCP.
  92. - NCD: deprecate ip_in_network() and instead add net.ipv{4,6}.addr_in_network(), net.ipv{4,6}.ifnot_addr_in_network()
  93. - NCD: implement some IPv6 modules: net.ipv6.addr(), net.ipv6.route()
  94. - NCD: support CIDR style addr/prefix addresses in various modules
  95. - NCD: recognize Elif and Else with capital first letter to be consistent with other reserved keywords
  96. Version 1.999.123:
  97. - NCD: performance improvements related to finding modules for statements
  98. - NCD: performance improvements related to resolving object names
  99. - NCD: performance improvements related to instantiating statement arguments
  100. - NCD: add value::replace_this() and value::replace_this_undo()
  101. - NCD: add value::reset()
  102. - NCD: add value::replace() and value::replace_undo()
  103. - Port to compile with MSVC for Windows.
  104. - NCD: add Foreach clause
  105. - NCD: implement _caller in spawn(), add spawn::join()
  106. - NCD: add explode()
  107. - NCD: add hard_reboot() and hard_poweroff()
  108. - NCD: add file_stat() and file_lstat()
  109. - NCD: fix regex_replace() semantics. It was very broken because it did a complete replacement pass for every regex on the list, so it would match parts that have already been replaced, producing unexpected results.
  110. - NCD: small performance improvement
  111. Version 1.999.121:
  112. - NCD: improve error handling semantics; see http://code.google.com/p/badvpn/source/detail?r=1376
  113. - NCD: fix assertion failure in sys.evdev() if a device error occurs (e.g. device unplugged) while an event is being processed. Similar fix in some other modules, but these may not be reproducable.
  114. - NCD: some more performance improvements
  115. - NCD: some performance improvements (~30% faster interpretation of cpu-bound code)
  116. - NCD: implemented If..elif..else clause.
  117. - NCD: net.backend.wpa_supplicant: fix to work with wpa_supplicant>=1.0
  118. Version 1.999.115:
  119. - NCD: Many improvements; new statements, including call(), alias(), foreach(), choose().
  120. Version 1.999.113:
  121. - NCD: when starting child processes, make sure that file descriptors for standard
  122. streams are always open in the child, by opening /dev/null if they are not.
  123. - Improve build system to allow selective building of components.
  124. By default, everything is built, unless -DBUILD_NOTHING_BY_DEFAULT=1 is given.
  125. Individual components can then be enabled or disabled using -DBUILD_COMPONENT=1
  126. and -DBUILD_COMPONENT=0.
  127. - When starting any BadVPN program, make sure that file descriptors for standard
  128. streams are always open in the child, by opening /dev/null if they are not.
  129. - NCD: net.backend.wpa_supplicant(): add 'bssid' and 'ssid' variables to allow
  130. determining what wireless network wpa_supplicant connected to.
  131. - NCD: net.backend.wpa_supplicant(): do not require the user to start wpa_supplicant via
  132. stdbuf, but do it automatically.
  133. Version 1.999.111:
  134. - Improved protocol such that peers can use SSL when comminicating via the server. This
  135. improves security, as compromising the server will not allow the attacker to see secret
  136. data shared by peers (in particular, encryption keys and OTP seeds when in UDP mode).
  137. Compatibility is preserved if an only if the following conditions are met:
  138. - The server is using the latest version.
  139. - If the network is using SSL, all clients using the new version are using the
  140. "--allow-peer-talk-without-ssl" command line option.
  141. Be aware, however, that using the "--allow-peer-talk-without-ssl" option negates the
  142. security benefits of the new SSL support - not only between pairs of peers where one
  143. peer is using the old version, but also between pairs where both peers are capable
  144. of SSL. This is because the server can re-initialize the pair, telling them not to use
  145. SSL.
  146. Version 1.999.107:
  147. - Added Windows IOCP support, removing the limitation on ~64 connections. This is important
  148. for tun2socks, which may have to handle several hundred connections.
  149. Version 1.999.105.2:
  150. - Fixed an assertion failure in tun2socks related to sending data to SOCKS.
  151. Version 1.999.101.3:
  152. - Fixed UDP transport on Windows 7 which didn't work (was only tested on XP).
  153. Version 1.999.101:
  154. - Fixed a protocol issue present in versions <=1.999.100.3. Compatibility is preserved in
  155. case of a new server and old clients, but it is not possible to connect to an old server
  156. with a new client.