ChangeLog 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. Version 1.999.126:
  2. - NCD: modules: sleep: interpret empty string time as no sleeping, add sleep(ms_start) with one argument
  3. - NCD: modules: add log module for message logging using the BLog system
  4. - NCD: implement the "include" and "include_guard" directives, which allow separating reusable code into files
  5. - NCD: modules: call2: implement call_with_caller_target(), which makes it easier to write reusable code that calls back user-provided code
  6. - NCD: modules: call2: remove call2_if(), call2_ifelse(), embcall2(), embcall2_if(), embcall2_ifelse()
  7. - NCD: modules: add sys.start_process(), which implements starting and controlling external processes and reading/writing their stdout/stdin
  8. - tun2socks: implement SOCKS password authentication
  9. - NCD: track the depth of values and limit the maximum depth. This avoids stack overflow with very deeply nested values.
  10. - NCD: modules: add substr()
  11. - NCD: process_manager: add 2-argument start() method which doesn't take a process identifier
  12. - NCD: process_manager: allow process identifiers to be any value not just strings
  13. - NCD: multidepend, depend_scope: fix immediate effect order when a depend finishes backtracking
  14. - NCD: add depend_scope module to do exactly what the multidepend module does, but with separate non-global dependency name scopes
  15. - NCD: multidepend: allow dependency names to be any value not just strings
  16. - NCD: implement value::insert(what) for appending to a list
  17. - NCD: change the format of addresses in sys.request_server() and sys.request_client() to be the same as in the socket module
  18. - NCD: add socket module (sys.connect() and sys.listen())
  19. - NCD: fix bug where duplicate template/process names would not be detected and weird behaviour would result
  20. - NCD: add backtrack_point() for simple backtracking
  21. - NCD: add file_open() for more complete file I/O
  22. - NCD: implement parse_ipv6_addr() and parse_ipv6_cidr_addr()
  23. - NCD: port to Emscripten/Javascript, for the in-browser demo
  24. - NCD: many performance and memory usage improvements
  25. - NCD: add assert_false()
  26. - NCD: don't link to OpenSSL to for random number generator. Use /dev/urandom instead to generate XIDs for DHCP.
  27. - NCD: deprecate ip_in_network() and instead add net.ipv{4,6}.addr_in_network(), net.ipv{4,6}.ifnot_addr_in_network()
  28. - NCD: implement some IPv6 modules: net.ipv6.addr(), net.ipv6.route()
  29. - NCD: support CIDR style addr/prefix addresses in various modules
  30. - NCD: recognize Elif and Else with capital first letter to be consistent with other reserved keywords
  31. Version 1.999.123:
  32. - NCD: performance improvements related to finding modules for statements
  33. - NCD: performance improvements related to resolving object names
  34. - NCD: performance improvements related to instantiating statement arguments
  35. - NCD: add value::replace_this() and value::replace_this_undo()
  36. - NCD: add value::reset()
  37. - NCD: add value::replace() and value::replace_undo()
  38. - Port to compile with MSVC for Windows.
  39. - NCD: add Foreach clause
  40. - NCD: implement _caller in spawn(), add spawn::join()
  41. - NCD: add explode()
  42. - NCD: add hard_reboot() and hard_poweroff()
  43. - NCD: add file_stat() and file_lstat()
  44. - 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.
  45. - NCD: small performance improvement
  46. Version 1.999.121:
  47. - NCD: improve error handling semantics; see http://code.google.com/p/badvpn/source/detail?r=1376
  48. - 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.
  49. - NCD: some more performance improvements
  50. - NCD: some performance improvements (~30% faster interpretation of cpu-bound code)
  51. - NCD: implemented If..elif..else clause.
  52. - NCD: net.backend.wpa_supplicant: fix to work with wpa_supplicant>=1.0
  53. Version 1.999.115:
  54. - NCD: Many improvements; new statements, including call(), alias(), foreach(), choose().
  55. Version 1.999.113:
  56. - NCD: when starting child processes, make sure that file descriptors for standard
  57. streams are always open in the child, by opening /dev/null if they are not.
  58. - Improve build system to allow selective building of components.
  59. By default, everything is built, unless -DBUILD_NOTHING_BY_DEFAULT=1 is given.
  60. Individual components can then be enabled or disabled using -DBUILD_COMPONENT=1
  61. and -DBUILD_COMPONENT=0.
  62. - When starting any BadVPN program, make sure that file descriptors for standard
  63. streams are always open in the child, by opening /dev/null if they are not.
  64. - NCD: net.backend.wpa_supplicant(): add 'bssid' and 'ssid' variables to allow
  65. determining what wireless network wpa_supplicant connected to.
  66. - NCD: net.backend.wpa_supplicant(): do not require the user to start wpa_supplicant via
  67. stdbuf, but do it automatically.
  68. Version 1.999.111:
  69. - Improved protocol such that peers can use SSL when comminicating via the server. This
  70. improves security, as compromising the server will not allow the attacker to see secret
  71. data shared by peers (in particular, encryption keys and OTP seeds when in UDP mode).
  72. Compatibility is preserved if an only if the following conditions are met:
  73. - The server is using the latest version.
  74. - If the network is using SSL, all clients using the new version are using the
  75. "--allow-peer-talk-without-ssl" command line option.
  76. Be aware, however, that using the "--allow-peer-talk-without-ssl" option negates the
  77. security benefits of the new SSL support - not only between pairs of peers where one
  78. peer is using the old version, but also between pairs where both peers are capable
  79. of SSL. This is because the server can re-initialize the pair, telling them not to use
  80. SSL.
  81. Version 1.999.107:
  82. - Added Windows IOCP support, removing the limitation on ~64 connections. This is important
  83. for tun2socks, which may have to handle several hundred connections.
  84. Version 1.999.105.2:
  85. - Fixed an assertion failure in tun2socks related to sending data to SOCKS.
  86. Version 1.999.101.3:
  87. - Fixed UDP transport on Windows 7 which didn't work (was only tested on XP).
  88. Version 1.999.101:
  89. - Fixed a protocol issue present in versions <=1.999.100.3. Compatibility is preserved in
  90. case of a new server and old clients, but it is not possible to connect to an old server
  91. with a new client.