Commit Graph

2278 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
5ab5c87d59 tests: added check for setting user-specific configuration options (DPD, Keepalive)
That also checks whether the 'expose-iroutes' option is working as expected.
2015-11-10 13:49:16 +01:00
Nikos Mavrogiannopoulos
0b8f4beb8b Added user-specific configuration options dpd, mobile-dpd, keepalive, max-same-clients 2015-11-10 13:49:13 +01:00
Nikos Mavrogiannopoulos
598e7ea9a2 corrected usage of human_addr2() 2015-11-10 13:49:11 +01:00
Nikos Mavrogiannopoulos
87cdfdb4b7 bumped version 2015-11-10 13:48:48 +01:00
Nikos Mavrogiannopoulos
1dff40e1c4 treat a /64 block of IPv6 addresses as a single address
That is, for banning purposes. Note that this is absurd but
that's the current best practice for IPv6.
2015-11-10 13:48:46 +01:00
Nikos Mavrogiannopoulos
e42ecb6619 tests: corrected header in ipv6-prefix 2015-11-10 13:48:39 +01:00
Nikos Mavrogiannopoulos
9c78257455 for the default IPv6 address, ensure we don't use the network address
The former seems to confuse the linux kernel.
2015-11-10 13:48:24 +01:00
Nikos Mavrogiannopoulos
aed34ebd62 ip banning: entries hold in raw IP format rather than textual 2015-11-10 13:47:51 +01:00
Nikos Mavrogiannopoulos
518d8679d1 tests: use debian:testing for tests 2015-11-01 17:31:43 +01:00
Nikos Mavrogiannopoulos
4985fc0013 Use /128 as default IPv6 prefix to be backwards compatible 2015-11-01 17:18:49 +01:00
Nikos Mavrogiannopoulos
179d443bae removed text on sending profiling info 2015-11-01 02:09:42 +01:00
Nikos Mavrogiannopoulos
ac134a4a5b route-add: corrected CIDR route macro to conform to documentation 2015-10-31 11:30:19 +01:00
Nikos Mavrogiannopoulos
4164015ae9 occtl: restrict common sources to minimum necessary 2015-10-31 11:27:36 +01:00
Nikos Mavrogiannopoulos
27ecf50ca5 moved JSON functionality to occtl/ as it was the only user 2015-10-31 11:25:04 +01:00
Nikos Mavrogiannopoulos
eecb24927f doc update 2015-10-31 00:18:07 +01:00
Nikos Mavrogiannopoulos
90da5ee1ed updated Makefile and configure for new .def paths 2015-10-31 00:12:04 +01:00
Nikos Mavrogiannopoulos
33f9b57714 occtl: move ctl.h in occtl/ and fixed args.def to include version.inc 2015-10-31 00:09:24 +01:00
Nikos Mavrogiannopoulos
30c75df77f Added check for nettle < 3.0 2015-10-30 23:53:57 +01:00
Nikos Mavrogiannopoulos
faf83871b4 ocpasswd: include builddir and include proper header 2015-10-30 23:44:20 +01:00
Nikos Mavrogiannopoulos
59e35d753d tests: copy ocpasswd and occtl from new paths 2015-10-30 23:36:45 +01:00
Nikos Mavrogiannopoulos
22d712bec0 occtl: include builddir/.. into CPPFLAGS 2015-10-30 23:35:12 +01:00
Nikos Mavrogiannopoulos
037225a6da use nettle's base64 implementation 2015-10-30 14:47:19 +01:00
Nikos Mavrogiannopoulos
413407c394 gnulib: updated and removed base64 2015-10-30 14:45:33 +01:00
Nikos Mavrogiannopoulos
c26f11b67f str: explicitly deinitialize temporary value, instead of relying on talloc 2015-10-30 14:42:52 +01:00
Nikos Mavrogiannopoulos
d72424b9c0 doc update 2015-10-30 14:40:49 +01:00
Nikos Mavrogiannopoulos
ae1457f49b tests: ipv4-prefix: added checks for ipv4_route_to_cidr 2015-10-30 14:39:38 +01:00
Nikos Mavrogiannopoulos
1e764e43db tests: added check for function-based str replacements 2015-10-30 14:37:05 +01:00
Nikos Mavrogiannopoulos
ede824ce44 str: str_append_str was made more safe and tolerate null 2015-10-30 14:36:12 +01:00
Nikos Mavrogiannopoulos
820bc35c6e tests: ip and ocpasswd were updated for reorg in src/ 2015-10-30 14:21:54 +01:00
Nikos Mavrogiannopoulos
411d9988e0 Introduced %{RI} macro for route-add/del-cmd to get route in CIDR format 2015-10-30 14:20:24 +01:00
Nikos Mavrogiannopoulos
7a4fc3b0aa moved ip-related macros to ip-util 2015-10-30 14:03:24 +01:00
Nikos Mavrogiannopoulos
4ae1c3e2ff occtl and ocpasswd were moved into separate directories 2015-10-30 13:51:19 +01:00
Nikos Mavrogiannopoulos
4dd2fdf7b6 tests: enhance str-test with a negative test on str_replace_str 2015-10-30 13:32:58 +01:00
Nikos Mavrogiannopoulos
1879891210 tests: ipv4-prefix updated for new function name 2015-10-29 23:22:35 +01:00
Nikos Mavrogiannopoulos
40dfa64166 tests: added small unit for str functionality 2015-10-29 23:22:35 +01:00
Nikos Mavrogiannopoulos
12208b4d3d optimized str_replace_str 2015-10-29 23:22:35 +01:00
Nikos Mavrogiannopoulos
7d4a8f1551 renamed ipv4_prefix_to_mask to distinguish from the ipv6 function 2015-10-29 23:22:35 +01:00
Nikos Mavrogiannopoulos
de01c9d5c3 configure: removed debug message 2015-10-29 19:22:56 +01:00
Nikos Mavrogiannopoulos
97d6074ed3 when reading IPv4 routes ensure they are read/converted to proper format 2015-10-28 14:22:18 +01:00
Nikos Mavrogiannopoulos
f55ff1dde5 bumped version 2015-10-28 14:18:09 +01:00
Nikos Mavrogiannopoulos
8ac3aea3ef use correct types when printing u64s 2015-10-28 14:18:07 +01:00
Nikos Mavrogiannopoulos
263afc022a doc update 2015-10-28 13:02:05 +01:00
Nikos Mavrogiannopoulos
cfd224c9c8 occtl: allow empty pager to be specified on compile time 2015-10-28 12:59:59 +01:00
Nikos Mavrogiannopoulos
c1e66c181f doc update 2015-10-25 22:47:38 +01:00
Nikos Mavrogiannopoulos
5a10283125 Added the config option expose-iroutes
This allows the server to advertise routes offered by few clients
to all clients except the ones offering them.
2015-10-25 22:43:54 +01:00
Nikos Mavrogiannopoulos
c47a843825 tests: updated ipv6-prefix check for new internal functions 2015-10-25 19:04:39 +01:00
Nikos Mavrogiannopoulos
10437b8db1 doc update 2015-10-24 19:26:55 +02:00
Nikos Mavrogiannopoulos
afa5491513 tests: updated test addresses for IPv6 2015-10-24 19:26:53 +02:00
Nikos Mavrogiannopoulos
40bd1550c1 ipv6: introduced ipv6-subnet-prefix config option
That option allows to specify the IPv6 subnet prefix to be given
to client. That is, allow providing the clients networks larger
than /128. Set the option to 128 to simulate the previous behavior
of ocserv.
2015-10-24 19:26:48 +02:00
Nikos Mavrogiannopoulos
ffe541e612 doc update 2015-10-23 18:40:06 +02:00