Change SNMP binding option to work on any eligible interface/VIP. Fixes #2158
Check to see if the pid file exists before trying to kill anyprocess
Fix multiple keys in a file for RFC2136 dyndns updates. Fixes #2068
Ecnlose the host-name in quotes so that numerical values work.Fixes ticket #2020
DNSMasq was generating the error 'Socket operation on non-socket' and using 100% of the CPU, changing it to mwexec_bg() resolves the issue.
Fix copy paste error which cleared args
Revert "Make initial changes to allow pfSense to work in a jail."
This reverts commit a26d95383a6146734f67c9db21cd83534052843a.
Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets theinitial config. Most of the pfSense functionality will not work(pf rules, routing, etc) but it can be used for testing.
Allow custom dnsmasq options so ppl can set SRV records and such for xmpp/kerberos
$g needs to be a global. Resolves #1654
Move interfaces_staticarp_configure() to interfaces.inc where it really belongs.
Kill olsrd if it is not enabled. Reported-by: http://forum.pfsense.org/index.php/topic,37931.0.html
Put some debug info during dyndns update under debug conditionals.
Correct dhcpd statement for unknown-clients. Fixes #1555
Resolves #1524. USe the correct field from netstat parsed output.
Add a newline to the igmpproxy config to resolve issues of it not parsing correctly the file. Reported-by: http://forum.pfsense.org/index.php/topic,36279.0.html
On interface ip change reload even igmpproxy. Reported-by: http://forum.pfsense.org/index.php/topic,34372.0.html
Actually remove the pid file before starting a new miniupnpd since it seems to not like it. Log provided on:http://forum.pfsense.org/index.php/topic,33371.msg180084.html#msg180084
Since its only called during bootup there is no need to do conditionals here. Always sync config and start the miniupnpd process.
Pass the -a parameters to pgrep to be certain we search ancestors as well. The side effects might be inoquos from the pfSense context.
Do not put a config entry for dhcpd if we cannot determine the subnet address. Reported-by: http://forum.pfsense.org/index.php/topic,32303.0.html
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