Commit Graph

25 Commits

Author SHA1 Message Date
Qian 4227dad822 ocserv: split UDP and TCP port configs
Added a new config entry udp_port to split UDP port from TCP. This is
useful when particular port is blocked by the ISP.

udp_port falls back to port if not set to be compatible with current
config file.

Also fixed an ifname typo from the last commit.

Signed-off-by: Qian Sheng <billsq@billsq.me>
2017-04-27 17:55:11 -07:00
Qian 18313cbe6e Correctly get runtime LAN ifname and addresses
1. Correctly get LAN runtime ifname and addresses using network
functions
2. Do not store ip settings in config files as they may change next
time.
2017-04-25 17:02:53 -07:00
Nikos Mavrogiannopoulos 67498cffdf ocserv: always advertise the local domain to peer
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-11-25 00:24:39 +01:00
Nikos Mavrogiannopoulos b70b5d0b5e ocserv: Added option to pass split-dns configuration to clients
Relates to #1975

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-11-25 00:04:03 +01:00
Nikos Mavrogiannopoulos 637bc76c06 ocserv: allow enabling proxy ARP
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-11-01 13:19:51 +01:00
Nikos Mavrogiannopoulos 25eeddbb21 ocserv: if ocserv.conf.local is present append it to ocserv.conf
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-11-01 13:18:45 +01:00
Nikos Mavrogiannopoulos ce06021897 ocserv: simplify IPv6 network setting
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-10-31 12:22:16 +01:00
Nikos Mavrogiannopoulos 0bfd280c2d ocserv: use procd for init file
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:55:08 +02:00
Nikos Mavrogiannopoulos 01851966b8 ocserv: silence warnings and set group default value
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-05-22 21:56:29 +02:00
Nikos Mavrogiannopoulos bdd3409115 ocserv: updated to 0.10.2
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-04-08 20:56:40 +02:00
Nikos Mavrogiannopoulos b83057ce9c ocserv: update to 0.9.0
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-20 22:24:18 +01:00
Nikos Mavrogiannopoulos 1a67e62e7e ocserv: use ocserv.upgrade to save configured files
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-19 23:22:50 +01:00
Nikos Mavrogiannopoulos 7f0b553169 Revert "ocserv: store permanent config files in /etc/config"
This reverts commit 1c40fc1022.
2015-01-19 23:15:59 +01:00
Nikos Mavrogiannopoulos b87de0a4fa ocserv: added default_domain config option
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-18 22:06:55 +01:00
Nikos Mavrogiannopoulos 71f53a24be ocserv: don't print needless warnings
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-18 12:20:56 +01:00
Nikos Mavrogiannopoulos 1c40fc1022 ocserv: store permanent config files in /etc/config
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-12 19:50:35 +01:00
Nikos Mavrogiannopoulos 251eaf99fd ocserv: corrected the extraction of dyndns name
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-10 21:50:17 +01:00
Nikos Mavrogiannopoulos cceb3799e3 ocserv: enable the X-CSTP-DynDNS header
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-12-05 20:14:52 +01:00
John Crispin d4042ec35e generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.

Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-08 03:45:30 +02:00
Nikos Mavrogiannopoulos 085e028855 ocserv: avoid setting up the firewall from ocserv.init
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-08-01 20:58:52 +02:00
Nikos Mavrogiannopoulos 1f9fe8b0b1 ocserv: cleaned up startup script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-07-06 13:25:23 +02:00
Nikos Mavrogiannopoulos b99e4cdf3b ocserv: regenerate the password file on reload
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-06-08 11:31:12 +02:00
Nikos Mavrogiannopoulos c40100dd86 ocserv: require hashed passwords in the config file, and a sed fix.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-06-08 01:29:22 +02:00
Nikos Mavrogiannopoulos 6c79374543 ocserv: log key/cert generation to syslog.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-06-06 23:18:46 +02:00
Nikos Mavrogiannopoulos 5b9f822463 Added ocserv 2014-06-03 18:18:45 +02:00