1922 Commits

Author SHA1 Message Date
Franco Fichtner
4a7ff2456f unbound: simply reload on /etc/hosts change 2016-11-21 07:58:15 +01:00
Franco Fichtner
5e1e138ff4 plugin: name by underlying system, not surfacing service
IPFW and PF are used for more than just firewall and shaper, e.g.
NAT, policy routing or shaping, and the plugin framework supports
registering multiple user-facing services per file.
2016-11-21 06:58:18 +01:00
Franco Fichtner
3b34f51f63 plugins: add firewall reload button, inline service_name_compare() 2016-11-21 00:02:41 +01:00
Franco Fichtner
8a5b32bff8 relayd: called the other 'local' 2016-11-20 23:42:05 +01:00
Franco Fichtner
fd987e639c ntpd: it's a plugin! 2016-11-20 23:36:31 +01:00
Franco Fichtner
c602a7fd22 services: simplify config writes 2016-11-20 20:44:08 +01:00
Franco Fichtner
34cea24041 firmware: improve the major upgrade dialog 2016-11-20 19:23:05 +01:00
Franco Fichtner
8c25dd18c0 rc: align console menu for new motd 2016-11-20 16:23:34 +01:00
Franco Fichtner
bdb0fac62c dhcp: also hand out domain override in v6 2016-11-20 15:40:26 +01:00
Franco Fichtner
b9820b0966 plugins: simplify names for DNS services again 2016-11-20 14:56:04 +01:00
Franco Fichtner
9991dc6c21 plugins: only execute hook if selected 2016-11-20 14:36:55 +01:00
Franco Fichtner
667b7d39ca bsnmpd: use the force, don't want multiple services 2016-11-20 14:05:11 +01:00
Franco Fichtner
30a29f64c1 miniupnpd: correct start/stop, unwinds configure_do() 2016-11-20 13:49:19 +01:00
Franco Fichtner
04ccf983d4 plugins: allow to configure through multiple call sites
This is the glue needed to be entirely plugin-agnostic, it only
needs new hooks for spots we haven't pluginified yet.  The dns
subsystem is another likely candidate in the long run.

Allows to move these plugins away from core: bsnmpd, igmpproxy,
relayd, miniupnpd.  ACL and menu entries pending...
2016-11-20 13:38:13 +01:00
Franco Fichtner
5632dfa0f8 services: remove unused 2016-11-20 12:41:34 +01:00
Franco Fichtner
44aaac4a8b web proxy: visibly rename from "proxy server", avoid confusion...
.. with either IGMP or FTP proxy.
2016-11-20 12:18:53 +01:00
Franco Fichtner
79b87986d5 igmpproxy: pluginify 2016-11-20 12:15:27 +01:00
Franco Fichtner
1ceb9f9df2 bsnmpd: check in actual plugin file 2016-11-20 11:54:21 +01:00
Franco Fichtner
a0b769e85d bsnmpd: pluginify 2016-11-20 11:49:14 +01:00
Franco Fichtner
ec679740a5 system: move system_cron_configure() to new home 2016-11-20 11:22:49 +01:00
Franco Fichtner
b508d4d9f7 services: rename again for consistency 2016-11-20 11:16:10 +01:00
Franco Fichtner
3d347f4127 relayd: anchor through services.inc like unbound and dnsmasq
It's difficult to say we can remove Relayd from base just yet.
Unbound and Dnsmasq sure are not going anywhere due to their
dependencies into DHCP.  Relayd is similarly intermingled.
2016-11-20 10:03:59 +01:00
Franco Fichtner
e9d13d2643 dnsmasq: fix previous 2016-11-19 09:59:56 +01:00
Franco Fichtner
a670d05c1c dnsmasq: extract dnsmasq_hosts_generate() 2016-11-19 09:58:01 +01:00
Franco Fichtner
ee09677bc1 dnsmasq: fix previous 2016-11-19 08:56:57 +01:00
Franco Fichtner
79da7c9a13 dnsmasq: pluginification 2016-11-19 08:52:34 +01:00
Franco Fichtner
aedc25a16e dhcp: domain names for IPv6 static maps, tests, alignments 2016-11-18 19:01:49 +01:00
Franco Fichtner
3fcf1b3c36 unbound: pluginify 2016-11-18 18:27:36 +01:00
Franco Fichtner
daa453827f unbound: straighten out regdhcpstatic
The amount of work required in the past two years for this
original pfSense 2.2 item has been immense.  Still deleteing
unused functionality like the cache, "reload" not being
implemented, DHCPv6 static registration missing in action.

While there, dedup the dnsmasq static DHCP registration.

PR: https://github.com/opnsense/core/issues/1250
PR: https://github.com/opnsense/core/issues/624
2016-11-18 18:27:36 +01:00
Franco Fichtner
ce3bc6112d dhcp: partially revert for #1250, it works, bug elsewhere 2016-11-18 14:34:49 +01:00
Ad Schellevis
4a77e5c605 (filter) trash disablevpnrules in pptpd 2016-11-17 18:52:02 +01:00
Ad Schellevis
cf0063830e (filter) move "bypassstaticroutes" into if_legacy_opt.inc, given the complexity and possible side-affects it would be better to trash the option at some point 2016-11-17 17:54:41 +01:00
Ad Schellevis
2374484b40 (filter) move pptpd rules to a temporary spot. they belong to the plugin, but before we can change the plugin this code need to be active 2016-11-17 16:00:34 +01:00
Ad Schellevis
5a94936bc6 (filter) refactor antilockout 2016-11-17 15:42:05 +01:00
Franco Fichtner
7127524124 unbound: repair carp setups
Credits: https://redmine.pfsense.org/issues/4111
2016-11-17 14:04:59 +01:00
Tikimotel
6c87cd42f7 Update unbound.inc
192.254 is a legal IPv4 range.
169.254 is the correct private IPv4 address space.
Moved the order of the private address.
2016-11-16 22:12:30 +01:00
Franco Fichtner
0080f3f446 plugins: fix previous 2016-11-14 23:22:48 +01:00
Franco Fichtner
7b07e6a539 plugins: introduce $verbose for plugins #1256 2016-11-14 23:21:09 +01:00
Franco Fichtner
f16199ffe9 cron: prepend system_, but move to system.inc later 2016-11-14 23:09:22 +01:00
Franco Fichtner
a711740da7 ntp: #1256 2016-11-14 23:00:38 +01:00
Franco Fichtner
b74970ee60 services: clean up several for #1256 2016-11-14 22:53:25 +01:00
Franco Fichtner
22c9e9f823 igmp proxy: old label, we are starting now 2016-11-14 22:21:38 +01:00
Franco Fichtner
203732a96b dhcprelay: port to #1256 2016-11-14 22:20:01 +01:00
Franco Fichtner
b0ad4456ba igmpprox: foo for #1256 2016-11-14 22:07:01 +01:00
Franco Fichtner
a4882df929 snmp: corrections for #1256 2016-11-14 21:54:07 +01:00
Franco Fichtner
cdb0c667ff unbound: typo in previous 2016-11-14 12:49:47 +01:00
Franco Fichtner
715b636793 unbound: clean up includes and function usage
o consolidate "unbound_" prefix for unbound.inc for pluginification
o services.inc includes unbound.inc rightfully, a bit like a
  plugin would do in the future, but this also means we can
  zap all requires from top pages, which are entirely spurious.
o get_dns_servers() moves to system.inc because it is used by
  status_interfaces.php
o RIP read_hosts()
2016-11-14 11:28:01 +01:00
Franco Fichtner
ce6a55655e dhcp: register domain-name per subnet to prevent wrong default
According to manuals and other project's code this should work as
expected, but to make sure we just advertise the name without a
default.

While there, clean up the config file generation and a few printf
bits that really shouldn't be in there.

PR: https://github.com/opnsense/core/issues/1250
2016-11-14 09:02:47 +01:00
Franco Fichtner
a02b02fa63 rrd: need more coffee 2016-11-14 08:23:59 +01:00
Franco Fichtner
342757b442 rrd: typo in previous 2016-11-14 08:23:06 +01:00