Add the ability for dnsmasq to selectively respond to queries only on certain IPs and bind to specific interfaces.
Add the ability to change the port on which dnsmasq listens.
Make sure we do not pass an IP address to ip_in_subnet as a subnet, it does not handle that well.
Fixes #1477. Use the new parameter to reduce igmpproxy logging level
Use configured dns servers on radvd.conf, fixes #2905
Dynamic DNS add option for verbose logging
The verbose log option is "set or not set" in the config and needs to be passed to subroutines as a boolean true or false.Note: This just works in services_dyndns_edit because the in-memory array of settings is keeping it as a boolean.
Respect the product name here.
use a custom sysDescr for snmp similar to m0n0wall's format. Fixes #2893
Use propper variable for is_ipaddrv6 test
Correct typo that prevents dhcpv6 to generate proper subnet info. Also use already caluclated variable
Do not do useless work before needed
Correct get_interface_subnetv6 and use get_interface_ipv6 during dhcp config generation. Also initialize some arrays to avoid warnings
Add the ability for full installs to optionally use RAM disks for /tmp and /var, and to allow selecting a size for /tmp and /var RAM disks on both Full installs and NanoBSD.I think I caught most of the edge cases for transitioning into and out of RAM disk mode, and preserving data across reboots as is done on NanoBSD (RRD, DHCP leases, pkg/pbi info).
Add DNS Forwarder option to not forward private reverse lookups
DNS Forwarder allow null forwarding address
dnsmasq allows a blank forwarding IP address to be specified in --server parameters. In that case, dnsmasq will attempt a local lookup of the name (e.g. in hosts file), but will not forward the request on to the standard name servers....
Merge pull request #436 from phil-davis/master
Add DynDNS No-IP Free account support
Avoid DynDNS timeout delay when gateway is down
When a dynamic DNS entry is set on an interface that has a private IP, the code has to find the ultimate public IP of that interface by using checkip.dyndns.org. If the interface is currently down (e.g. ISP is down or the cable is unplugged...) then there is a timeout delay while waiting for checkip.dyndns.org to (not) respond....
Remove leading spaces from DYNDNS_PROVIDER_DESCRIPTIONS
Remove leading spaces to make the string consistent.
Add common DynDNS constants and code
to system.inc to remove code duplication
Backout Unbound for now bring back in 2.2. Fixes #2817
Update etc/inc/services.inc
Fix path to chmod
Use full path to commands
Small fixes to make code readble and error log more useful
Teach dhcpd_configure about family optional parameter and use it to properly setup dhcpv6 on track6 case so that config is properly written
Revert "Require util.inc necessary for sigkillbypid()"
This reverts commit 1b7ec6ba16af4559e6e66cc1b378e8701a9df0b6.
Correct mtu for track interfaces as well. Aslo cleanup some code
Require util.inc necessary for sigkillbypid()
Make gen_subnetv6 return a compressed form IPv6 address/net representation. This removes some issues reported during Ticket #2746 and solve the issue on some cases
Services: DNS Forwarder
Add DNS query forwarding section with options for sequential and require domain.
Silence error. Maybe the command should be removed completely!
Fixes #2674. Use the interface mtu rather than hardcoded 1280. Needs to be seen if issues with fragmentation can come from this on 6rd/6to4 tunnels
Remove missed line and also improve code for bridge cases
Correct real interface assignment
Correctly generate dhcpleases file to avoid issues with dhcpleases. Also while here correct code and make some optiomizations and corrections
Mostly for testing name relation in github. No functional change
Allow set DHCP options per reservation
Fix some DHCP per pool options that will never be considered because of a wrong check
Fix spelling
Add some backend support for writing out a config so that the dhcp6 server can listen on the required MPD pppoe server interfaces.Also nuke the failover entries, these don't exist for IPv6, this is handled by 2 servers and differing priorities
Handle null parameter to services_dyndns_configure
When service_dyndns_configure is called with a null parameter, it should check/update the dyndns state of all interfaces configured for dyndns. But actually it is only updating gateway groups. e.g. the daily cron job /etc/rc.dyndns.update does not update an ordinary WAN interface....
Add a couple more (small, optional) snmp modules.
Fix typo
Unbreak install_cron_job function so it is actually usable when config['cron'] has no entry. This should remove all those package hand rolled copy/paste functions
Sprinkle some unsets and s/fopen,fwrite,fclose/file_put_contents/ where it makes sense
Fix reference to gateway in pool config
Add support for multiple DHCP pools within the interface's subnet, and allow most of the settings for the main range to be set specific inside the pool. (e.g. it allows setting different gateways and DNS for different pools). Still needs improved input validation to prevent overlapping ranges/pools.
Add note about mac matching and media type.
Add some safety checks against empty entries
Allow/deny access to DHCP by partial MAC matching.
Make the gateway group member check a boolean, might convert to something else at a later time so we could check group memberships.Also launch the dyndns configure if the dyndns interface is a gateway group name, could check membership later if we wanted.
Make sure we process dyndns interfaces that use a failover group when processed from rc.newwanip, which just passes a interface.
Construct the arguments to dhcrelay -6 correctly
Implements ticket #1663
Do not try to start igmpproxy when there's no igmpentries configured.
Make sure this check is reversed, that way we only pick up the legacy field if the new one isn't set.
Shorter version of the fix to always set the radvd interface.Redmine ticket #2477
Make sure to fall through if this tag is not set.Should fix redmine ticket #2477
If radvd is already running, reload, otherwise start one.Shut down when there are no prefixes to announce
Add better protection for unknown rapriority
Make sure we still start on older configs where the setting is still called mode, and not ramode.Add a failsafe for the rapriority
We need to define the default route here, not the advertised prefix.
Correct the syntax, the RemoveRoute needs to end up in route statement
Remove duplicate prefix line
Prevent radvd from telling the clients to remove the route to itself.
Do not send DeprecatePrefix messages for CARP announcements, it causes clients to purge the CARP default route.
Bye, bye olsrd back to packages.
When advertising on a CARP vip, pick the CARP ipv6 address as the RDNSS addressRedmine ticket #1829
Make sure that both the Carp vip interface and the parent interface are in the list.Redmine ticket #1829
Extra safetynet to prevent duplicate static entries with broken config.xmlMake sure to fil the array that we fill for configured interfaces with the real interface, not just the carp if.Redmine ticket #1829
Change the DHCPv6 services page into a RA and DHCPv6 section, move some of the variables.Add drop down to select carp vip for that interface for CARP advertisementsAllow setting the RA priority.Redmine ticket #1829
Add the option to use a custom Dynamic DNS Provider via an Update URL and Result Match.
Back out duplicated fix from 107e8acc - Ticket #1917 was already fixed before this was added.
fix text. ticket #2399
Make sure to stop the dhcpleases6 process
Add support for SLAAC on the WAN interface, this is required for Stateless autoconf addressing.Normally this should only apply to Appliances that do not need to route. We automatically hook in the dhcp6 client to request name servers from DHCP6 in a information only mode. It will not attempt to request a address. For that you should use the plain DHCP6 option with a prefix size of none....
Handle multiple IPv6 DNS servers in rc.newwanipv6, remove chunk of broken code in the DHCPv6 server that added duplicate lines. Redmine ticket #2380
Only add the IPv4 gateway in the DHCPv4 config if we have a IPv4 gateway defined on the system at all.This makes clients trying the IPv4 transport fail a lot faster, and thus more graceful.
Add alias support to static routes (needs some testing) Ticket #2239
Conflicts:
etc/inc/filter.inc etc/inc/util.inc usr/local/www/system_routes_edit.php
Also use the prefix calculation function here.
Change the command to reflect the new, just added dhcpleases6 binary for triggering route injection.
it needs to point to a existing file otherwise it will not launch.
Add the -h parameter which is required for dhcpleases, might need to be removed later.
fix a syntax error
Add a dhcpleases monitor to the DHCPv6 server which will trigger automatic creation of routes into the routing table so that prefix delegation will just work.Redmine ticket #2347
Setup chroot environment for unbound
Remove Extra brace
Use global variable
Specify path to unbound config file
Bail out without a valid IPv6 address so we don't generate a invalid dhcpv6 server config
Merge pull request #71 from ebrandi/r53dyndns
Patch to add Route 53 as new Dynamic DNS provider into dyndns infrastructure
If the end of the prefix6 range does not align with a multiple of the delegation size then dhcpd will not start.The dhcp6 server page will need input validation for this.
Adjust the delegated prefix length for 6to4 to 16 bits
Remove debugging print_r();
Make sure that we can create a /64 delegation for very short prefixes.
Improve the prefix delegation math somewhat.
Automatically configure DHCPv6 servers for interfaces set to track6 another WAN.If the prefix length permits it we setup DHPP-PD for the LAN clients so it can be daisy chained.
This patch add Route 53 as new Dynamic DNS provider into dyndns infrastructure.Due requeriments to handle requests to Amazon AWS API, it need root certificates package (ca_root_nss-3.12.4.tbz) and support to hash_hmac() in PHP (package php52-hash-5.2.13_3.tbz).
Add interface tracking support. With this it is now possible for dynamic IPv6 interfaces to setup the corresponding lan interface for RA.DHCP6 with prefix delegation to follow later for automatic daisychaining.
Do not process for disabled interfaces
Make sure we only generate entries for radvd when we actually have a IPv6 prefix