Fixes #374. Actually reload teh dhcpleases utility whenever the hosts files is regenerated to avoid problems.
Ticket #499. Create custom options propperly for each interface. This solution binds the option name to the interface name so it is even easier to distinguish.
Move checking if dyndns is enabled to the proper place.
Use new arguments passing style for dhcpleases. Ticket #374.
Fix hosts file generation.
Make sure we do not error out and silence some errors.
Send signal to the dhcpleases daemon using its pidfile if it is running to reload.
Actually pass the parameter to the dnsmasq where to read its hosts file from.
Fix parameters
Use the new tool to monitor active leases.
Catch up with php5
Use pgrep/pkill to save a bit of cpu.
Do not test for booting in here for mount points.
Catch up with php5.
Ticket #400. Commit partial patch from this ticket.
use local-ttl 1. No reason not to, and it works around issue with Snow Leopard
A couple fixes for DHCP lease parsing. Ticket #374
fix DHCP relay
Replace some occurrence of /tmp with the propper global variable in attempt to minimize the search for what changes /tmp permissions.
Change this include to a require_once(), it was causing an error on boot.
Make dnsupdate runnable per interface. Update the calls on interface_configure to per interface. Remove unused dyndns_reset function.
Do not pass option -l to dnsmasq any longer. Only launch the registration helper daemon if the option is enabled
Touch up some comments and error messages. Teach dydns_configure to update only one interface.
Only kill processes if they are running
fix typos
Do not include grep
Restart parser after changes
Adding script to parse dhcpd log file and populate /etc/hosts so that we can move to a newer dnsmasq. in addition, the current dnsmasq isc parsing is broken so there is not a choice to move either way. Ticket #79
dnsmasq defaults to 150 concurrent lookups. For some environments (large) this is not enough. Increase to 5000
Do not dedicate 16 characters to interface name
Fix hostname checking when entering a dhcp static mapping and replace "." with "_" when writing "host-name" option in dhcpd.conf. Resolves #159
Rework includes/require. This saves about 4 megabytes.Simplify get_memory(). Tested on mips/i386
Resolves #155. Replace space characters with underscore ones.
Reviewed-by: scott@ and billm@
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions
Minor header touchups
remove stray f
Remove leading space
Add rowhelper field which allows defining custom dhcp option numbers. Sponsored-by: BSD Perimeter Commercial Support
Remove filter_configure from dhcrelay_configure.
Ooops, clear-on-reload is preenting dnsmasq from starting.
Adding --clear-on-reload:
--clear-on-reload Whenever /etc/resolv.conf is re-read, clear the DNS cache. This is useful when new nameservers may have different data than that held in cache.
Use --all-servers:
--all-servers By default, when dnsmasq has more than one upstream server available, it will send queries to just one server. Setting this flag forces dnsmasq to send all queries to all available...
Create /var/run in chroot for dhcpd
move killall dhcpd above section that exits if no DHCP servers are enabled, and configure dhcpd if it's disabled by option #2 at the console.
Ticket #1867 (cvstrac)
Add the GUI part for IGMPproxy that has been on the snapshots for a while.
Pass down the friendly interface to dyndns to correct problems with find the interface ip and binding of curl.
Fix services_dyndns_reset to be useful.
Try to use where possible filter_configure so upcoming event modifications can be easily integrated.
Use existing functions to not duplicate code.
NOTE: Probably dhcpd might need some custom options textarea to allow more advanced option setup by users.
Unbreak.
Fatal error: Only variables can be passed by reference in /etc/inc/services.inc on line 596
Pointy-hat-to: smos
Surpress killall messages
Add services_dhcp_server_enable which allows the DHCP server to be turnedoff easily.
Move alwaysbroadcast item to a settable field.
Ticket #1814
XXX: Create GUI option
Always broadcast to help fix vista fun.
Fix detection if an interface is part of bridge.
Split dyndns client configuration to its own function so we do not retry to update allother configured clients when add a new one from the GUI.
Make dyndns reset more specific since its only consumer is the edit GUI page.
Now that the cache file is back to config path use it.
Remove code used by ez-ipupdate, it is now obsolete.
Remove unnecessary copying of dyndns cache file for ez-ipudate program. It is only a cache file after all and i do not think ez-ipupdate is used anymore.
Make dyndns work correctly there was a problem in parameters order passed to the class.
NOTE: this is only half part of the changes the other half will come after
Replace mount_devfs with mount -t devfs devfs
Copy all of libc binaries.
Missed commit from appliance project.
Increase dnsmasq cache size to 5000. It defaults to 150.
remove DynDNS cache in services_dyndns_reset()
Ticket #1589
Add ping-check true; to isc-dhcpd
Only iterate items if it is an array.
The attached patch adds a field to the services_dyndns.php form.This field if provided will be written to the nscommands file (inservices.inc) as
"server <value>\n"
This allows you to update an arbitrary DNS server. If not provided,the server line is omitted and the default behavior occurs....
Failover in 10 seconds as opposed to 60 seconds on DHCP Server failover mode.
Ticket 1458: Add "option host-name" to dhcpd.conf
unsplit DHCP-root-path-option
DHCP: add Domain-Searchlist-Option
- correct behaviour of dhcpd.conf creation- enable root-path
DHCP remove duplicate option domain-name ind dhcpd.conf
DHCP: domainname / HEAD > RELENG_1
Add TFTP and LDAP server options to dhcpd
-move upnp_action to services.inc-make sure to clear rules when stopping miniupnpd-fix status_upnp and status_services pages so they use upnp_action and not the rcfile
$config needs to be global
Correctly move upnp to base since LiveCD cannot write files to /usr/local/etc or /usr/local/etc/rc.d/
Ticket #1342
Make sure we are writable for /etc/crontab
Instead of skipping DHCP server on LAN in a bridged environment, simply log an error letting the operator know that DHCP Server is enabled on LAN in a bridging environment.
Unbreak local queries that where broken in Ticket #1190 until we hear back from author of the patch.
Remove trailing space / cr
Port load balancer sticky address option
Sometimes people have local domains which they do not want forwarded to upstream servers. This is accomodated by using server options without the server IP address. To make things clearer local is a synonym for server. For example the option local=/localnet/ ensures that any domain name query which ends in .localnet will be answered if possible from /etc/hosts or DHCP, but never sent to an upstream server....
Add NTP server field to dhcp config.From: Alexander Schaber
Add hidden command to disable authoritative mode (dhcp server).
To utilize do something like this in php pfSense shell:
$config['dhcpd']['optx']['disableauthoritative'] = true;write_config();
If the interface is "lan" and bridging is enabled then skip creation of the DHCP Server subnet.
Ticket #1281
Allow for basic network boot configurationIn Use By: Seth
Allow for more snmpd options. If we want (remote) cpu and process monitoring support (nagios).
Needs missing snmp_bridge.so to be committed into build!
Backport cron handling from HEAD.
Patches-submitted-by: DSH@
Do not configure DHCP server on dhcp interfaces.