Project

General

Profile

Download (158 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
31cf5a93 01/10/2015 09:35 PM Ermal Luçi

Fixes #3281 do not undo any changes already done for gif/gre interface.

f585d06e 01/08/2015 06:05 AM Chris Buechler

some lagg modes are missing vlanmtu, but work fine with VLANs. Work around it for now at least. Ticket #4186

cc9b3e07 01/07/2015 07:18 PM Ermal Luçi

split is deprecated move to explode

c8d87d2a 01/06/2015 08:55 PM Renato Botelho

Remove useless check, CARP does not depend of interface having another IP set before

d8540659 01/06/2015 01:44 PM Renato Botelho

Revert "FreeBSD fails to set advskew back to 0 after you set it to any other"

A patch was added to allow set advskew back to 0

This reverts commit eea2ad5d61b2cbcf2957207fb0f13769c203cb36.

ad9bce2c 12/22/2014 02:33 PM Ermal Luçi

Correct issue with not reloading CP properly on calling interface configure.

d90d869e 12/22/2014 02:24 PM Ermal Luçi

Fix issue reported on https://forum.pfsense.org/index.php?topic=85737.0

afe81d69 12/18/2014 10:03 AM Renato Botelho

Check if interface exist before try to add it to group

136217fd 12/16/2014 01:33 PM Renato Botelho

Make logic more visible as suggested by Ermal

43157c8f 12/16/2014 12:22 PM Renato Botelho

Teach interface_vip_bring_down() to deal with IP Alias over CARP

514512dd 12/05/2014 05:19 AM Chris Buechler

Don't try to launch 3gstats unless it's on a valid device.

95bd66a0 12/05/2014 03:02 AM Chris Buechler

replace spaces with tabs

590aa3e7 12/05/2014 03:00 AM Chris Buechler

After discussion with Ermal, remove this to force consumers to send things
properly. I fixed the scenario in Unbound where it was sending IPs to
these functions rather than an interface, so this has no functional diff.

e26effd3 12/04/2014 06:23 AM Chris Buechler

change the ordering of dhcpd_configure and unbound_configure here, claims on forum it fixes issue I can't seem to replicate.

d12e3d3c 12/03/2014 02:50 AM Chris Buechler

reload Unbound here, fixes some instances of PD-assigned v6 IPs missing from unbound.conf

a0e9e17d 12/03/2014 02:15 AM Chris Buechler

If get_interface_ip(v6) is passed an IP, return the IP.

Properly set up interface binding for v6 link local IPs. Ticket #4021

except had to comment out the fix for now because of #4062 to avoid config breakage.

3377dc9d 12/02/2014 11:59 AM Ermal Luçi

Preserve exit code lost from s/exit/return/

1ff8e8f6 12/02/2014 10:07 AM Ermal Luçi

Comment out copy paste of v4 code. No need to delete arp entries on v6.

f74c9aba 12/02/2014 10:06 AM Ermal Luçi

Comment out copy paste of v4 code. No need to delete arp entries on v6.

42982b22 11/28/2014 11:50 AM Ermal Luçi

Bring back the old way of waiting for 3 times of 10seconds on bootup for a ppp type interface to come up. while here also do bringup of virtual interfaces only when not booting

6f1b89e9 11/28/2014 11:14 AM Ermal Luçi

Use function for determining if its ppp type

a9163efe 11/28/2014 11:13 AM Ermal Luçi

Cleanup some code and use function for easier management

7a63d5d0 11/27/2014 08:44 PM Ermal Luçi

Fixes #4040 for pppoe use static route with -iface option to help when more than one pppoe has the same gateway. Also kill states when reloading apinger to catch up with new route

4ce77a6c 11/27/2014 02:13 PM Ermal Luçi

Correct logic of skipping for gif/gre/bridge on top of _vips. Even though this is not anymore a problem in 10 since the vip is on the physical interface but for now its ok.

08003661 11/26/2014 09:53 PM Ermal Luçi

Actually comment this code out since it causes more troubles than solves for any type

329c2bb3 11/26/2014 09:01 PM Ermal Luçi

Make at least the code correct here even though it does not make sense on what it does!

5b7c2403 11/26/2014 08:05 PM Ermal Luçi

Mute this since only spams logs when interface is not there

7d5fc0b3 11/26/2014 07:59 PM Ermal Luçi

Move these functions nearby since thy are related

383f20a1 11/26/2014 07:57 PM Ermal Luçi

Actually get the correct value here!

7bc73d5e 11/26/2014 07:54 PM Ermal Luçi

Actually consider parentmtu 0 here to get the real value when unassgined

3e8035da 11/26/2014 07:52 PM Ermal Luçi

Properly respect other configured MTUs for other vlans. Properly respect parent of vlan MTU if configured. Also avoid errors when possible. This helps VLANs MTU handling but all the other interfaces as gre/gif/... needs the same handling. It is better to require reboot on MTU changes especially on complex configurations.

31ddb935 11/26/2014 07:42 PM Ermal Luçi

Partially revert the previous modification on vlan mtu. The function job is to find the biggest mtu between vlans and let it do that

5e0a3256 11/26/2014 07:34 PM Ermal Luçi

convert_real_interface_to_friendly_interface_name() goes and checks the parent and this gives wrong information 99.9 percent of the time on scenarios like when this is called for unassigned vlans etc, while its real purpose is just to check if the interface is assigned and return the intermeddiate/config name of the interface. Leave the get_parent_option there in the function but it needs to be asked specifically for.

e2fcd0e3 11/26/2014 02:41 PM Ermal Luçi

Skip the interface being configured from the list to check the mtu

2f8f9d5a 11/26/2014 01:41 PM Ermal Luçi

Add checks for requirement as array here. Reported-by: garga

285ef132 11/26/2014 12:10 PM Ermal Luçi

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

3d3dd668 11/26/2014 11:15 AM Ermal Luçi

Use the new available function

a46dc3c7 11/25/2014 09:01 PM Chris Buechler

fix typo

3740c82b 11/25/2014 07:04 PM Ermal Luçi

Use proper function now that this call is not needed anymore

2c4301fa 11/25/2014 07:02 PM Ermal Luçi

Ticket #2786 handle the mtu on bridge same as on lagg. Cleanup some not needed code while here

ba8e4c88 11/25/2014 06:32 PM Ermal Luçi

Remove the mac address propagation to vlans since FreeBSD 10 handles this itself

2b58f94e 11/25/2014 03:36 PM Ermal Luçi

Fixes #2786, properly handle the chain of interfaces during lagg configuration for mtu. For most interfaces this works, bridge will be added in a separate commit

624bf131 11/25/2014 02:02 PM Ermal Luçi

Remove useless check

73fc2ea0 11/24/2014 09:45 PM Ermal Luçi

Correct logic for lagg mtu. Also optimize and cleanup dead code

e550188f 11/24/2014 08:18 PM Ermal Luçi

Fix issue of previous commit on adding bridge memebers.

43517fcc 11/24/2014 11:19 AM Ermal Luçi

Fixes #1047, overhaul handling of flags for hardware offloading and make it work correctly for system_advanced page settings. Lagg is still a special case that needs a reboot.

e3cffd6c 11/21/2014 10:20 AM Ermal Luçi

Properly remove IPv6 carp vips as reported from https://forum.pfsense.org/index.php?topic=84392.0

bc73d959 11/20/2014 02:45 PM Ermal Luçi

Make this a bit more clean to read

2535f6dc 11/20/2014 02:33 PM Ermal Luçi

Fixes #1047, Actually the code is trying to set flags on the parent. so allow it even for vlans since they will follow the parent. At least so seems on FreeBSD 10.

14f7afb1 11/19/2014 08:27 PM Ermal LUÇI

Do the tests check properly related to Ticket #2786

f233ddeb 11/19/2014 07:02 PM Ermal LUÇI

Actually use all hex values on the gateway of 6rd to please route command

7b83f723 11/19/2014 06:36 PM Ermal LUÇI

Correct gateway for Ticket #2882 to the proper value as reported by: cmb

7bc953d1 11/19/2014 01:05 AM Chris Buechler

update error log in accordance with change in input validation. thanks Phil Davis for pointer

156bb8f1 11/18/2014 10:24 PM Ermal LUÇI

Actually trim if the user put any : on the prefix of the ISP to be able to properly set the gateway

5d697e08 11/18/2014 10:13 PM Ermal LUÇI

Properly generate the default gw for 6rd set it to prefix:BR and also the prefixlen of the interface set it to the ISP prefix and on LAN set it to the delegated one.

c1e78890 11/18/2014 05:50 PM Ermal LUÇI

Blah fix typo

56c3007c 11/18/2014 05:39 PM Ermal LUÇI

Actually issue stfv4net even for /0|/32 subnet since its required

ec6ac69c 11/18/2014 12:33 AM Chris Buechler

add vmx to list of ALTQ capable interfaces

f2b4a29b 11/16/2014 06:05 AM Chris Buechler

Don't try to clear states to gateway, all that does is wipe the entire state table unnecessarily. rc.newwanip takes care of killing states appropriately as needed when an IP changes.

aa5acb42 11/12/2014 01:57 PM Ermal LUÇI

Use route command directly rather than trying to make a route search on php thorugh netstat. It Fixes #4000

4de91fda 11/12/2014 01:13 AM Chris Buechler

hn(4) is ALTQ-capable, mark as such.

e16f6d03 11/11/2014 08:28 PM Ermal LUÇI

Do not do this during boot

94115b93 11/11/2014 07:08 PM Ermal LUÇI

Fixes #3967, properly resolve interface

0b7dbebe 11/11/2014 06:03 AM Chris Buechler

touch up text

c87d89ae 11/10/2014 02:38 PM Ermal LUÇI

Lets put a logging to see what is bing passed to the rtsold script on calling. Helps with Ticket #3361

b0d054ca 11/10/2014 02:18 PM Ermal LUÇI

Fixes #3967, configure ip alias on top of carp by joining them to the same vhid as its parent

5063f1df 11/10/2014 02:00 PM Ermal LUÇI

Ticket #3967. Allow to have carp as parent of ipaliases - continued

eea2ad5d 10/28/2014 09:33 PM Chris Buechler

FreeBSD fails to set advskew back to 0 after you set it to any other
value. That's a separate issue that needs fixing upstream, but in the mean
time, we can work around it by removing all CARP VIPs in the same way we
do when "Temporarily Disable CARP" is chosen before adding them all back....

8ff85c39 10/14/2014 11:39 PM Ermal LUÇI

rename interfaces_carp_setup to interfaces_sync_setup and call it during bootup since it does not only relate to carp interfaces.

febe0112 10/14/2014 09:21 PM Ermal LUÇI

Make proper check here

71c26c22 10/13/2014 05:36 PM Renato Botelho

Properly set MTU for lagg interface, it fixes #3922

2d5fd3c2 10/06/2014 08:22 AM Ermal LUÇI

Remove function that is not implemented properly. Nothing seems to use it.

80a261a2 10/02/2014 08:56 PM Pi Ba

CARP, allow carp ip to be outside interface and alias subnets (FreeBSD10 feature)

60ef0911 09/09/2014 08:53 PM Renato Botelho

Make sure dhclient is not running before start it, it fixes console interface setup when interface is using dhcpv4. It should also help #3482

d9d1bd20 09/09/2014 08:52 PM Renato Botelho

Implement a function to kill dhclient process, sometimes it takes a little time to die, so use a sleep(1) there

572f6ccc 09/09/2014 05:07 PM Jim Pingle

Fix guess_interface_from_ip() to account for differences in netstat output. Fixes #3853

a1b5f07b 09/08/2014 08:44 PM Ermal LUÇI

Fixes #3664, actually make sense of this function to work properly

9d83d01f 07/21/2014 09:54 PM Renato Botelho

Fix shell script syntax, it should fix #3361

971de1f9 07/07/2014 11:06 PM Renato Botelho

Convert almost all /sbin/sysctl calls to php functions

f01c3b59 06/11/2014 05:56 PM Renato Botelho

Fix #3702, make sure tunnel inside IP is set when interface changes

ff3da5db 06/10/2014 01:42 PM Renato Botelho

Fix #3700 and other syntax issues:

- Remove G parameter from pfctl since it doesn't exist anymore
Initialize $old_router
- Fix sh syntax on variable assign, it couldn't have space before =
- Simplify logic
- Avoid flush states twice, if it was done on IP change, don't do it...

ed10564b 06/02/2014 08:46 PM Matthew Smith

allow ipaliases to be configured on lo0

7a47edcc 05/29/2014 08:07 PM Ermal LUÇI

Include the v4 prefix on the v6 netmask to make routing more sane and alos tracking interface configurations work!

672e28f3 05/21/2014 05:21 PM Renato Botelho

Delete all ip aliases when interface is disabled, it should fix #3650

5ebb2954 05/16/2014 08:09 PM Ermal LUÇI

Spell that correctly

1ff56562 05/16/2014 08:00 PM Ermal LUÇI

Handle enc0->IPSec convertion. Should help Ticket #3664

9a51bb64 04/28/2014 07:27 PM Warren Baker

Make sure unbound is reconfigured when interfaces are

635f9eb5 04/22/2014 09:32 AM Ermal LUÇI

Merge pull request #1116 from PiBa-NL/interface_has_gateway-ipv4_gif_gre

ebafd470 04/22/2014 06:52 AM Ermal LUÇI

Load if_stf module when needed

2700ef96 04/19/2014 01:20 PM Pi Ba

add gre and gif checks for for IPv4 function interface_has_gateway($friendly), like they are already for IPv6

bb8f3ce1 04/12/2014 04:29 PM m0se

fixing typo for GIF tunnels to work over IPv6

the call of get_interface_gatewayv6() in the creation of a GIF tunnel over IPv6 leads to a "Fatal error: Call to undefined function get_interface_gatewayv6() in /etc/inc/interfaces.inc on line 934". changeing the function call to get_interface_gateway_v6() fixed it for me on my local system.

efecff7f 03/31/2014 02:14 AM Chris Buechler

Merge pull request #1041 from PiBa-NL/carp_maintenance_2.2

carp, provide a way to 'permanently' set carp to 'maintenance mode' (advskew 254) persisting a reboot

783f1ee2 03/29/2014 11:09 PM Pi Ba

carp, provide a way to 'permanently' set carp to 'maintenance mode' (advskew 254) persisting a reboot
Option to set CARP interfaces to 'maintenance mode', persisting through a reboot so the primary machines stays as backup/inactive.
This is required when there are some problems (possibly with the hardware) and the primary machine needs to be booted and checked again before becoming 'master'. Currently it will take back the master state during reboot even though there might still be problems or some re-configuring to do....

fe291564 03/28/2014 03:19 PM Ermal LUÇI

Correct check that was broken even before to actually make the ieee8021x enable from proper setting. Reported-by: https://forum.pfsense.org/index.php?topic=74013.0

6fba8620 03/25/2014 05:35 PM Renato Botelho

Merge pull request #1031 from ayvis/master-br-patch

replaced uppercase html tags with lowercase

00a6fcb7 03/20/2014 06:54 PM Ermal LUÇI

Configure first the vhid and than pass the vhid when configuring the carp this makes the ip assigned to carp as well

a63e5ead 03/20/2014 06:38 PM Ermal LUÇI

Remove balancing reference that does not exist anymore

91f026b0 03/19/2014 10:38 PM ayvis

replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"

055fa9e3 03/12/2014 02:49 PM Ermal LUÇI

Try a different strategy for fixing #3514 just send a HUP to dhcp6 to get it to reload.

6b13f8d2 03/11/2014 11:38 AM Renato Botelho

Do not delete linklocal address