Ensure log directory exists before invoking syslogd
Touch log file so it can be created on livecd
Show when disk is encrypted. Do not uppercase .eli
Nuke trailing c/r
Small improvement no functional change.
Remove trailing carriage return
Add a setting for the data type of values used with DHCP option numbers and input validation for each type. Fixes #962
Change the dhcpd startup for isc dhcpd server 4.1
Make this more strict checking.
move dhcpd.conf authoritative; so it's only there once, not once per interface.
Resolves #957. Correct the code to reflect what its supposed to do.
Wording fix.
Ticket #942. Try to prevent empty entries and use implode to avoid problems.
revert miniupnpd -d change
Be more verbose with miniupnpd logs. otherwise practically nothing is logged.
Fixup multiple dyndns updates with interface parameter passed. Reported-by: Blumeatt http://forum.pfsense.org/index.php/topic,27704.15.html
Use pkill to avoid an error if the process isn't already running. This was a cosmetic issue only, cron was not yet running when this happened at bootup, it's started later in the boot process. Fixes #902
Reload cron after changes. Submitted-by: robiscool
Revert "Restart dnsmasq on change in case of dns rebinding changes"
This reverts commit a94e3f2016bec3f72aae2fd3e1575515ff93f5f6.
Restart dnsmasq on change in case of dns rebinding changes
Fixes #764. Import the patch in the ticket to allow per-host netboot file on dhcpd settings.
Don't try to configure (or unconfigure) static arp on an interface if the physical interface is blank/empty.
Include myself in the copyrights i have changed this files more than enough.
Make dhcrelay GUI be simple and easy to use by collapsing the interface tabs to a multiselect control. Remove proxydhcp option because it is broken and is not trivial to make it usable(if user request for it a reconsideration will be made). Allow multiple server ips on the server input box separated by commas. Also on the interface list do not show interfaces without an ip because dhcrelay will not be happy with them. Upgrade code is also included in this commit.
Ticket #725. Add checking the routing table as a last resort to find the correct interface before falling back to the default one.
Add the ability to set a periodic RRD and DHCP leases backup from Diagnostics > NanoBSD.
Restore DHCP leases on boot if they have been backed up.
Only delete arp entries for a given interface, otherwise we can clobber the static arp entries. Ticket #782
Fix this test.
Ensure static ARP is configured each time the DHCP service is configured. Previously, it was not enabled after bootup, but was if saved from the GUI. Fixes #782
Check if this variable is empty before using, since if it's null/empty, it will come back true when we don't want that.
Add micro optimization.
Ticket #725. Before falling back to the default gw interface search even static routes. Also catch up with routing code on how to find the default gw.
fix path to nsupdate
Honor the System -> Advanced -> DNS Rebinding flag and disable for dnsmasq if it is checked
duplicate logic
Allow forwarded domains to be queried.
Adding back --rebind-localhost-ok now that dnsmasq version is bumped.
Do not include --rebind-localhost-ok it appears to not be in our version. Will re-add it once the binary is in place
Adding --rebind-localhost-ok Suggested-by: BillM
Do not allow dns rebinding
Don't perform these multiple times as they do not change on each loop iteration. Having them inside the loop can also generate an invalid DHCP config file, instead of just warning that there is no CARP VIP defined.
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.