This website requires JavaScript.
fd098c64fd
examples/substring_test.c: fix typo
ambrop7
2012-09-21 20:26:34 +00:00
92e9e8a8fa
version 1.999.124rc2
ambrop7
2012-09-09 12:28:42 +00:00
52e2fa7766
dhcpclient: use BRandom2 instead of BRandom_randomize. This removes the OpenSSL dependency from NCD.
ambrop7
2012-09-09 12:13:51 +00:00
5bea31f17c
add BRandom2
ambrop7
2012-09-09 11:40:07 +00:00
ccaccf4893
get rid of some warnings
ambrop7
2012-09-04 12:19:12 +00:00
b2e53909ac
ncd: NCDObject: remove unused functions
ambrop7
2012-09-04 12:06:53 +00:00
47431d77c0
add some programs for playing with DoS attacks on TCP
ambrop7
2012-09-03 22:51:24 +00:00
93bc612a21
get rid of some warnings
ambrop7
2012-09-01 19:23:02 +00:00
e0876b0af6
misc/debug.h: add B_USE for suppressing warnings about uninitialized variables
ambrop7
2012-09-01 19:08:21 +00:00
ef26f61fa3
version 1.999.124rc1
ambrop7
2012-09-01 02:14:46 +00:00
20607b8e3a
fix bad copy-paste in previous commit
ambrop7
2012-09-01 02:10:59 +00:00
f9cb7b96a2
remove LinkedList2 and use LinkedList1 instead
ambrop7
2012-09-01 01:54:52 +00:00
1a84275301
structure: remove BHeap
ambrop7
2012-09-01 00:33:17 +00:00
965936585f
compile fixes for MSVC
ambrop7
2012-09-01 00:31:49 +00:00
56092d335c
cosmetic changes
ambrop7
2012-09-01 00:31:22 +00:00
83123063ca
flow: PacketPassPriorityQueue: use SAvl instead of BHeap
ambrop7
2012-09-01 00:18:37 +00:00
6875747963
flow: PacketPassFairQueue: use SAvl instead of BHeap
ambrop7
2012-09-01 00:03:50 +00:00
1996f362b4
ncd: modules: remove ip_in_network.c and make ip_in_network() an alias for net.ipv4.addr_in_network()
ambrop7
2012-08-30 11:40:32 +00:00
5d2c3cb7db
ncd: modules: add net_ipv4_addr_in_network and net_ipv6_addr_in_network
ambrop7
2012-08-30 11:27:56 +00:00
630ff9fa6a
ncd: modules: port the rest of modules to func_new2
ambrop7
2012-08-29 14:50:29 +00:00
2216d83b02
ncd: don't abort if close fails
ambrop7
2012-08-29 12:59:05 +00:00
429b5eaed0
ncd: modules: port some more more modules to func_new2
ambrop7
2012-08-29 12:50:32 +00:00
0946e8dfdc
ncd: modules: port some more modules to func_new2
ambrop7
2012-08-29 12:22:32 +00:00
641a6bd0ff
ncd: modules: port some modules to func_new2
ambrop7
2012-08-29 11:43:11 +00:00
4e96a7e162
ncd: modules: net_ipv6_wait_dynamic_addr: add cidr_addr variable
ambrop7
2012-08-29 10:36:30 +00:00
3894997c30
misc/ipaddr6.h: add ipaddr6_print_ifaddr()
ambrop7
2012-08-29 10:35:50 +00:00
f65800bfd1
ncd: modules: add net.ipv6.route()
ambrop7
2012-08-27 02:13:07 +00:00
eb26903dee
ncd: NCDIfConfig: add IPv6 route functions
ambrop7
2012-08-27 02:11:05 +00:00
2d7d05d6bb
ncd/modules/net_ipv4_route.c: port to func_new2
ambrop7
2012-08-27 01:50:20 +00:00
619288f673
ncd: modules: add net.ipv6.addr()
ambrop7
2012-08-27 01:33:54 +00:00
04a2968055
ncd: NCDIfConfig: add IPv6 address functions
ambrop7
2012-08-27 01:32:37 +00:00
544a2838cb
ncd/modules/net_ipv4_addr.c: port to func_new2
ambrop7
2012-08-27 01:13:28 +00:00
a7c1eed05e
add examples/ipaddr6_test.c
ambrop7
2012-08-27 00:54:45 +00:00
131fe33bb9
misc/ipaddr6.h: complete implementation
ambrop7
2012-08-27 00:54:14 +00:00
350d04bf8a
examples/ncdinterfacemonitor_test.c: fix compile
ambrop7
2012-08-27 00:46:45 +00:00
87650916e1
misc/parse_number.h: add decode_decimal_digit()
ambrop7
2012-08-27 00:22:34 +00:00
0a7aaa0f30
misc/ipaddr6.h: rewrite ipaddr6_print_addr(), directly without using libraries
ambrop7
2012-08-24 18:12:25 +00:00
ac2d3063ce
ncd: modules: netmask: use formatting functions from ipaddr.h
ambrop7
2012-08-23 12:19:02 +00:00
55bb9c2432
ncd: modules: parse: use formatting functions from ipaddr.h
ambrop7
2012-08-23 12:17:58 +00:00
7cd3165c6d
ncd: modules: net_ipv4_dhcp: use formatting functions from ipaddr.h
ambrop7
2012-08-23 12:11:02 +00:00
959e22f1ba
ncd: modules: parse: add parse_ipv4_cidr_addr()
ambrop7
2012-08-23 12:04:12 +00:00
74f0bd9e15
misc: ipaddr.h: add address formatting functions
ambrop7
2012-08-23 11:58:30 +00:00
1f2f89a362
ncd: modules: net_ipv4_dhcp: add cidr_addr variable
ambrop7
2012-08-23 11:22:41 +00:00
e85246753d
ncd: modules: net_ipv4_route: allow destination network in CIDR notation
ambrop7
2012-08-23 11:09:00 +00:00
056a034d88
ncd: modules: net_ipv4_addr: allow addresses in CIDR notation
ambrop7
2012-08-23 10:57:16 +00:00
5f8111d798
misc: ipaddr.h: take const char pointers, add ipaddr_parse_ipv4_prefix_bin() to be consistent
ambrop7
2012-08-23 10:51:41 +00:00
3386bc01af
misc: add find_char.h
ambrop7
2012-08-23 10:22:59 +00:00
2da1df12c9
ncd: ncd.c: remove redundant declaration
ambrop7
2012-08-18 23:58:35 +00:00
3cc3f7de00
examples/network.ncd: fix typo
ambrop7
2012-08-18 23:49:33 +00:00
6cf01684fe
examples/network.ncd: disable wlan0 by default
ambrop7
2012-08-18 23:44:27 +00:00
67758e5869
examples: add network.ncd
ambrop7
2012-08-18 23:43:39 +00:00
0fdf3d45b2
system: BNetwork: make global variable static
ambrop7
2012-08-16 10:30:52 +00:00
c87e97a25c
system: BSignal: make global variable static
ambrop7
2012-08-16 10:30:11 +00:00
7c571728e8
ncd/modules/net_iptables: make global variable static
ambrop7
2012-08-16 10:29:16 +00:00
ef2650edcf
base: BLog_syslog: make global variable static
ambrop7
2012-08-16 10:27:19 +00:00
a884f1a147
ncd: ncd.c: make global variables static
ambrop7
2012-08-16 10:25:36 +00:00
b638437014
ncd: NCDConfigTokenizer: recognize Elif and Else with capital first letter to be consistent
ambrop7
2012-08-16 09:15:07 +00:00
d948c0faad
CMakeLists.txt: enable -Wall and disable some resulting warnings
ambrop7
2012-08-14 00:17:26 +00:00
bd322f55f8
predicate: BPredicate_parser.h: remove redundant declaration
ambrop7
2012-08-14 00:12:01 +00:00
c3012b08c0
ncd: avoid unused variable warning in Lemon parsers
ambrop7
2012-08-14 00:08:06 +00:00
3f603f0918
remove some unused variables and labels
ambrop7
2012-08-14 00:02:07 +00:00
6f44d6ee7b
bproto_generator: don't declare unused variables
ambrop7
2012-08-13 23:55:07 +00:00
a6501b8593
CMakeLists.txt: use option() for build options to play nice with ccmake and cmake GUIs
ambrop7
2012-08-13 23:33:44 +00:00
8c43c8fcf8
CMakeLists.txt: remove some harmless stuff that accidentally slipped in
ambrop7
2012-08-13 00:31:53 +00:00
b5d316fc90
misc/loglevel.h: fix overflow
ambrop7
2012-08-12 15:26:21 +00:00
5a3c5eb21b
version 1.999.123
ambrop7
2012-08-10 12:14:04 +00:00
9576769d4e
ncd: NCDInterpProcess: cosmetic changes
ambrop7
2012-08-10 12:11:02 +00:00
cc8f0103c1
cosmetic changes
ambrop7
2012-08-10 11:37:14 +00:00
a8bd125944
ncd: ncd.c: rename variable
ambrop7
2012-08-10 11:27:00 +00:00
30d5552546
ncd: NCDInterpProcess: don't depend on NCDProcess to exist after being initialized
ambrop7
2012-08-10 11:22:24 +00:00
d6f722fc40
cosmetic changes
ambrop7
2012-08-10 10:54:42 +00:00
5445332b8b
ncd: ncd.c: remove unneeded argument in process_new()
ambrop7
2012-08-10 10:51:06 +00:00
98b90be2b7
ncd: NCDInterpProg: remove unused variable
ambrop7
2012-08-10 10:43:49 +00:00
9f9d4bae9e
NCDInterpProg: make NCDInterpProg_FindProcess() only return an NCDInterpProcess.
ambrop7
2012-08-10 10:41:35 +00:00
6183427531
ncd: NCDInterpProg: update variable names
ambrop7
2012-08-10 10:26:16 +00:00
9c7741e3a8
ncd: NCDInterpProcess: remove redundant argument in Init
ambrop7
2012-08-10 10:23:41 +00:00
18a9a5b7bc
ncd: NCDInterpBlock: rename to NCDInterpProcess
ambrop7
2012-08-10 10:19:38 +00:00
4d3a56c6c1
cosmetic changes
ambrop7
2012-08-10 10:01:14 +00:00
4e56484541
ncd: tests: add run_tests script
ambrop7
2012-08-08 22:25:54 +00:00
23c677ed65
ncd: tests: add depend.ncd
ambrop7
2012-08-08 22:14:59 +00:00
b8eef39125
ncd: add some tests
ambrop7
2012-08-06 23:27:08 +00:00
f738623f43
update ChangeLog
ambrop7
2012-08-06 13:56:20 +00:00
fe1bdeb863
version 1.999.123rc9
ambrop7
2012-08-06 13:55:13 +00:00
471dadd637
ncd: NCDMethodIndex: fix crash from keeping old pointer after resizing an array
ambrop7
2012-08-06 13:54:24 +00:00
0ef729228f
ncd: speed up module lookup when initializing statements. For non-method statements, cache the module pointer in NCDInterpBlock. For method statements, keep a global structure of methods grouped by method name, and store indices into this structure into NCDInterpBlock. This way, when a method statement is initialized, we only need to traverse a list of all methods with the right name and find the one with the right object type. This is very fast because there are few collisions (different object types with the same method names).
ambrop7
2012-08-06 13:40:58 +00:00
f87e0c7eeb
misc: add grow_array.h
ambrop7
2012-08-06 12:04:59 +00:00
0c3691dfa1
misc: substring: add reverse substring search functions
ambrop7
2012-08-06 10:42:24 +00:00
a8631851c7
ncd: NCDInterpBlock: make private function static
ambrop7
2012-08-05 09:35:48 +00:00
250158352c
version 1.999.123rc8
ambrop7
2012-08-04 20:57:03 +00:00
150e28b8c3
add/fix file headers
ambrop7
2012-08-04 20:56:16 +00:00
ebb625af4f
structure: remove BStringTrie
ambrop7
2012-08-04 20:54:18 +00:00
ba3b6aa0d6
ncd: NCDInterpBlock: use the more generic CStringTrie instead of BStringTrie. Configure it to only use the 3 least significant bits of characters, and handle the resulting collisions.
ambrop7
2012-08-04 20:50:06 +00:00
0bb265a9d1
examples: add cstringtrie_test
ambrop7
2012-08-04 20:46:25 +00:00
a3f8ed4d59
structure: add CStringTrie, which generalizes BStringTrie to allow specifying the value type, and specifying the number of significant bits in characters (to reduce memory usage at the expense of producing collisions)
ambrop7
2012-08-04 20:42:15 +00:00
08c662612c
structure: BStringTrie: fix an overflow just introduced, in case int is bigger than size_t
ambrop7
2012-08-04 16:16:12 +00:00
ab6d91a075
structure: BStringTrie: fix integer overflow when casting size_t to int
ambrop7
2012-08-04 16:14:18 +00:00
b131253f3c
version 1.999.123rc7
ambrop7
2012-08-04 15:52:34 +00:00
2dec1188f0
structure: BStringTrie: use less memory (half)
ambrop7
2012-08-04 15:51:27 +00:00
6351808faa
update ChangeLog
ambrop7
2012-08-04 13:47:00 +00:00
4803ae9d0c
update ChangeLog
ambrop7
2012-08-04 13:43:13 +00:00