summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* Move copyright from ESF to NetgateRenato Botelho2016-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. (cherry picked from commit f2c9194cdde6458d6d22e83546eb18f1d14fa4ea)
* 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! (cherry picked from commit c4ddb03acbbb4ff2a88162a9afc9e589a6f4d053)
* Improve dhcpd and dhcpleases reloadNewEraCracker2016-09-021-9/+10
| | | | | | | | 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. (cherry picked from commit 509e9357df4755a4fe5d1d9b20eda65bafb855e7)
* Text typoPhil Davis2016-08-081-1/+1
| | | | | Noted by Daryl Morse in comment on Redmine bug 6637. (cherry picked from commit bf6ae0ad277710ffa64ee0967c5d4f717c2bc54b)
* Merge pull request #3069 from phil-davis/LAGG-MTURenato Botelho2016-08-011-0/+38
|\
| * Backport Fix issue with QinQ on LAGG interfaces where MTU doesn't apply to ↵Phil Davis2016-07-201-0/+38
| | | | | | | | | | | | parent Original pull request to master was #2905
* | Remove '-x' flag from dhcpwithoutra launch of dhcp6cPhil Davis2016-07-261-1/+1
| | | | | | This is the equivalent fix for the RELENG_2_3 branch to pull request #3078
* | Backport DHCP6 init before RAPhil Davis2016-07-201-0/+36
|/ | | | Original PR to master was #3055
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-1/+1
|
* Bring back the "set iface route default" used in 2.2.6 and earlier versions, ↵Chris Buechler2016-07-151-2/+4
| | | | which works around the root problem in Ticket #6495
* Review license / copyright on all files (1st round)Renato Botelho2016-07-141-43/+43
|
* simplify DHCP_Config_Option_Split, no loop needed for returning option arrayDaniel Wilhelm2016-07-131-6/+2
| | | | (cherry picked from commit 264ca54e406eee7c01b01f748aabd4a29e9c4872)
* Allow passing comma in string quoted DHCP client optionsDaniel Wilhelm2016-07-131-4/+12
| | | | (cherry picked from commit 332a64d0c8a6486d40c6295351ca3068a77a216a)
* Align GIF link options with those currently supported by the base OS. Ticket ↵jim-p2016-07-111-3/+3
| | | | #6587
* Remove GRE link flag options from GUI/backend. Keep link1 as it was also ↵jim-p2016-07-111-9/+0
| | | | used to add an explicit static route, though the GUI previous GUI option name wasn't related to that at all. Updated GUI description to match reality. Ticket #6586
* Properly follow style guidelines.Nash Kaminski2016-07-101-1/+1
|
* Include ignored DHCP server(s) config option even when advanced DHCP config ↵Nash Kaminski2016-07-101-0/+3
| | | | is enabled
* Fix Redmine #6011NewEraCracker2016-06-301-2/+2
| | | | This will add linklocal fallback where no IPv6 is otherwise configured to allow login using this IPs
* Flush link-local IPs so we do not get stale data and do not waste time ↵k-paulius2016-06-291-2/+2
| | | | deleting IP if it is already set to fe80::1:1
* Fix bad escapeshellarg logic on mpd executionNewEraCracker2016-06-221-2/+3
| | | | | | With this change single-quotes are applied in correct places (cherry picked from commit 08cd022545be58a46b860500ff81bbe7438b6304)
* Make QinQ interfaces work againChris Rowe2016-06-221-8/+8
| | | | (cherry picked from commit 1322ee22354f1a6e184819fb7009a2996b63de97)
* Only call interfaces_vips_configure once if it's needed, rather than doing ↵Chris Buechler2016-06-211-1/+5
| | | | the same thing over and over for every VIP on an interface. Ticket #6515
* Fix styleChris Buechler2016-06-211-3/+5
|
* Remove calls which rely in uninitizalized varsNewEraCracker2016-05-201-3/+1
| | | | | | | | After analyzing implementations in RELENG_2_1 and RELENG_2_2, this code seems to be a left over after code rewrite Also remove a trailing space from comment (cherry picked from commit 0120cad84ea4dddd0c1501ecb41f2a082ea1e7d9)
* Fix script name in error logChris Buechler2016-05-151-1/+1
|
* Fix misspellings.Chris Buechler2016-05-151-3/+3
|
* Unbound and dnsmasq can both be enabled so restart both if need bek-paulius2016-05-131-4/+6
|
* Don't start unbound in track6 config if system is booting. Add dnsmasq here ↵Chris Buechler2016-05-121-1/+5
| | | | as well. Based on PR 2943. Ticket #6186
* Merge pull request #2831 from NOYB/Includes_-_Remove_PersonalizationsStephen Beaver2016-04-041-1/+1
| | | | (cherry picked from commit 7a2c15f527459cc82aadaf23d06895174c008320)
* After recreating the VLAN interface, run interface_configure on it if it's ↵Chris Buechler2016-03-051-0/+8
| | | | assigned and enabled. Ticket #5951
* Revert "Always send a -HUP to dhcp6c in interfaces_track6_configure for ↵Chris Buechler2016-03-031-4/+12
| | | | | | DHCP6 WAN types. Doing so isn't any more disruptive than what it's already doing, and that ensures track6 interfaces don't lose their IPv6 IPs. Ticket #5945" This reverts commit 471b81f8f7b0a5fe22019aed955e5374e3411dbf.
* Always send a -HUP to dhcp6c in interfaces_track6_configure for DHCP6 WAN ↵Chris Buechler2016-03-021-12/+4
| | | | types. Doing so isn't any more disruptive than what it's already doing, and that ensures track6 interfaces don't lose their IPv6 IPs. Ticket #5945
* Add function to return the physical interface(s) for a given parent. related ↵Chris Buechler2016-03-011-0/+21
| | | | to Ticket #5081
* Makes interface_bring_down() remove all the CARP and IP aliases from interface.Luiz Otavio O Souza2016-02-251-13/+32
| | | | Ticket #5913
* Correct ALTQ interface test for ix interfaces, fixes #5923jim-p2016-02-241-1/+1
|
* Make link_interface_to_vips() also return the IP aliases on the specified vhid.Luiz Otavio O Souza2016-02-241-1/+2
|
* Fixes the handling of MTU with VLANs and PPPoE.Luiz Otavio O Souza2016-02-211-101/+69
| | | | Ticket #5857
* Makes get_real_interface() work with VLAN too.Luiz Otavio O Souza2016-02-211-1/+2
| | | | This makes get_parent_interface() safe to use with VLANs.
* replaced original copyright message from 2005 / Espen JohansenChris Buechler2016-02-201-0/+2
|
* Need $config here. No need to check count() as it'll always evaluate to true ↵Chris Buechler2016-02-171-1/+2
| | | | where is_array does. Ticket #4312
* Set bridgeif for new bridge creation.Chris Buechler2016-02-171-0/+5
|
* Merge pull request #2660 from phil-davis/gtetc1Renato Botelho2016-02-171-27/+27
|\
| * Internationalize etc inc a-i filesPhil Davis2016-02-171-27/+27
| |
* | Fix printf(printf())Phil Davis2016-02-171-1/+1
| | | | | | | | This looked odd having nested calls to printf() Should it actually log_error()?
* | Separate bridge application of STP and advanced parameters into their own ↵Chris Buechler2016-02-161-7/+28
| | | | | | | | functions so they can be applied separately from creation of the entire bridge. Apply those after adding a bridge member. Ticket #4312
* | Clean up logic here. It makes no sense to proceed if bridgeif isn't defined ↵Chris Buechler2016-02-161-4/+1
| | | | | | | | but platform_booting is true. In interfaces_bridge_configure before it gets to this point, it's setting bridgeif if it's not set, and doing so in a way that won't potentially create conflicting bridgeifs (which this removed code didn't).
* | Remove variables deprecated some time ago.Chris Buechler2016-02-161-2/+0
| |
* | Fix link_interface_to_vips() to account for IP alias over CARP.Luiz Otavio O Souza2016-02-161-7/+13
| |
* | Simplify the code with the use the newly introduced function to list CARP ↵Luiz Otavio O Souza2016-02-161-1/+2
|/ | | | addresses.
OpenPOWER on IntegriCloud