summaryrefslogtreecommitdiffstats
path: root/src/etc/inc
Commit message (Collapse)AuthorAgeFilesLines
* Move copyright from ESF to NetgateRenato Botelho2016-09-0647-48/+48
|
* Remove some obsolete code from globals.incjim-p2016-09-061-16/+1
|
* Fix handling of backup config count. Fixes #6771jim-p2016-09-061-1/+1
|
* Force changes in routing to be detected by the systemNewEraCracker2016-09-021-1/+2
| | | | When dhcp6c without RA is enabled, dhcp6c isn't killed and respawned, this causes the system not being able to pick up the routing changes. In this case, running the configuration script which fires rc.newwanipv6 solves the problem.
* DHCP6 Before RA. Additions and ammendmentsmarjohn562016-09-021-26/+15
| | | | | | | | Replaced posix_kill() in kill_dhcp6client_process() with mwexec("kill -9 $pid"), this is because the posix_kill call was not reliably killing the dhcp6c process, kill -9 works every time. Changes to the rtsold script creation. The script lines starting dhcp6c should not have be written to the script when dhcpwithoutra is true. Style corrections, I spend more time doing these than changing code!
* Merge pull request #3122 from NewEraCracker/patch-11Renato Botelho2016-09-022-9/+16
|\
| * Improve dhcpd and dhcpleases reloadNewEraCracker2016-08-242-9/+16
| | | | | | | | | | | | 1) Avoid running services_dhcpd_configure() more times than needed. 2) Always restart dhcpleases after it's killed during interface recycle. 3) It's not necessary to restart dhcpdv4 when doing changes in ipv6 config.
* | Merge pull request #3103 from NewEraCracker/patch-7Renato Botelho2016-09-021-0/+4
|\ \
| * | Ensure only one instance of services_dhcpd_configure runs concurrentlyNewEraCracker2016-08-201-0/+4
| | | | | | | | | | | | This way kill and respawn will behave as they should for the dhcpd processes
* | | Convert L2TP Server code to mpd5Renato Botelho2016-09-011-81/+48
| | |
* | | Remove references to glxsb as it is not relevant to current supported ↵jim-p2016-09-013-2/+9
| | | | | | | | | | | | platforms. Fixes #6755
* | | Add ng interface to pppoe group on mpd.conf and remove dead code from ↵Renato Botelho2016-09-011-0/+1
| | | | | | | | | | | | vpn-linkup script
* | | Convert PPPoE Server code to mpd5Renato Botelho2016-09-011-84/+51
| | |
* | | Ticket #3734: Add function to convert IPv6 address <-> binaryRenato Botelho2016-08-312-8/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ip6_to_bin() and bin_to_ip6() are copies obtained from pear-Net_IPv6 since the version available in the class is protected and we don't want to add more patches to thirdy part software. If upstream accept to change them to public we can retire them - bin_to_compressed_ip6 is just a short way to conver binary direct to a compressed IPv6 address Reported at: https://forum.pfsense.org/index.php?topic=117601.0
* | | Merge pull request #3106 from NewEraCracker/patch-9Renato Botelho2016-08-291-2/+3
|\ \ \
| * | | system_dhcpleases_configure() - Improve pidfile handlingNewEraCracker2016-08-201-2/+3
| |/ / | | | | | | | | | | | | | | | | | | 1) Set the pidfile variable in the correct place. pidfile variable is required in both 'if' and 'else' blocks. 2) Ensure pidfile is valid before sending term signal
* | | Merge pull request #3107 from NewEraCracker/patch-10Renato Botelho2016-08-291-0/+1
|\ \ \
| * | | Apply the fix for ticket #6589 also into dhcpdv6 configNewEraCracker2016-08-201-0/+1
| |/ /
* | | Merge pull request #3112 from phil-davis/patch-1Renato Botelho2016-08-291-1/+32
|\ \ \
| * | | Indent dhcpd.conf option customPhil Davis2016-08-181-2/+2
| | | |
| * | | Fix #6720 DHCP options by poolPhil Davis2016-08-171-1/+32
| | | | | | | | | | | | | | | | It is a little bit tricky having to generate the unique "option custom-if-n-m code ..." lines at first where n = pool index and m = item index in the items of the pool. Then make sure to reference that later, getting the same pool index into the array of pools. The $all_pools array as the "overall" or "base" pool first (at index 0), followed by the user-specified pools at index 1, 2, 3,... - which are actually at indexes 0, 1, 2,... in the ordinary array of pools in the config. So the -1 at line 910 has to happen. But it works for me.
* | | | Merge pull request #3110 from phil-davis/patch-2Renato Botelho2016-08-291-3/+0
|\ \ \ \
| * | | | Fix double domain-name-servers for poolPhil Davis2016-08-161-3/+0
| |/ / / | | | | | | | | | | | | | | | | Add a pool and specify something in 1 or more of the DNS servers boxes for the pool. The "option domain-name-servers 1.2.3.4" line appears twice in dhcpd.conf The first bit of code to do it is at lines 787-799. I have deleted this 2nd time that it is done at lines 854-856.
* | | | Merge pull request #3114 from phil-davis/patch-3Renato Botelho2016-08-291-8/+10
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix #6724 VLAN interface displayed wrongPhil Davis2016-08-181-8/+10
| | | | | | | | | | | | | | | | | | | | in interface assignment script dialog. The str_replace() calls were not smart enough to just get rid of bare "igb1" when "igb1_vlan123" and such like was also in the list.
* | | | Add a selection for OpenVPN to have no compression preference + ↵jim-p2016-08-221-1/+6
| |_|/ |/| | | | | | | | comp-noadapt, which is necessary in some client edge cases. Fixes #6739
* | | Use "-C /dev/null" when starting dnsmasq to avoid it picking up an incorrect ↵jim-p2016-08-191-2/+2
| | | | | | | | | | | | default config which would override our command line parameters. Fixes #6730
* | | Add specific permission to allow HA XMLRPC sync. It fixes #809Renato Botelho2016-08-181-0/+4
| | |
* | | Ticket #3734: Remove xmlrpc.inc, xmlrpc_client.inc and xmlrpc_server.incRenato Botelho2016-08-183-2803/+0
| | |
* | | Ticket #3734: Pass username on all xmlrpc callsRenato Botelho2016-08-181-3/+3
|/ /
* | Add an option to push "block-outside-dns" to clients of an RA OpenVPN. Fixes ↵jim-p2016-08-171-0/+3
| | | | | | | | #6719
* | Ticket #3734: Convert remaining xmlrpc_client.inc consumers to use XML_RPC2Renato Botelho2016-08-161-73/+111
| |
* | Remove unused functionsRenato Botelho2016-08-161-15/+0
| |
* | Silence pgrep stderr when pidfile contains an invalid PIDRenato Botelho2016-08-161-1/+1
|/
* Merge pull request #3109 from phil-davis/patch-1Stephen Beaver2016-08-161-2/+2
|\
| * Fix DDNS domain for static map DHCP entriesPhil Davis2016-08-161-2/+2
| | | | | | | | If you specify DDNS Domain in a DHCP static map entry, it does not make its way through to dhcpd.conf This is because the var name $pdnscfg is wrong from an old copy-paste that first made this code.
* | Code style and commentsPhil Davis2016-08-164-6/+6
|/ | | | No functional change - just making style consistent
* Merge pull request #3099 from NewEraCracker/patch-3Renato Botelho2016-08-121-1/+1
|\
| * Fix typo leading to syntax errorNewEraCracker2016-08-121-1/+1
| |
* | Protect package_reinstall_all()NewEraCracker2016-08-121-0/+3
|/ | | | If one restores a config.xml without packages, there will be a warning about invalid argument supplied for foreach(). This commit fixes the problem.
* Ticket #3734: Retire growl.classRenato Botelho2016-08-111-98/+0
|
* Ticket #3734: Convert growl related code to use pear-Net_Growl portRenato Botelho2016-08-111-32/+81
|
* Pass along send_smtp_message() return, otherwise message will not be shown ↵Renato Botelho2016-08-111-2/+1
| | | | when testing SMTP settings
* Ticket #3734:Renato Botelho2016-08-111-5/+3
| | | | | | - Added timeout parameter for SMTP configuration - Removed STARTTLS option, it's enabled automatically by pear-Mail when server supports it
* Ticket #3734: Retire smtp.inc, sasl.inc and *sasl_client.inc in favor of ↵Renato Botelho2016-08-118-2925/+0
| | | | pear-Mail port
* Ticket #3734: Convert notify_via_smtp() to use pear-MailRenato Botelho2016-08-111-35/+52
|
* Ticket #3734: Retire PEAR.inc and use PEAR.php from portsRenato Botelho2016-08-113-1106/+3
|
* Ticket #3734: Replace etc/inc/IPv6.inc by pear-Net_IPv6 portRenato Botelho2016-08-103-1119/+2
|
* Remove copy of pear-Crypt_CHAP from repo and use portsRenato Botelho2016-08-101-463/+0
|
* Text typoPhil Davis2016-08-081-1/+1
| | | Noted by Daryl Morse in comment on Redmine bug 6637.
OpenPOWER on IntegriCloud