Project

General

Profile

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

# Date Author Comment
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

b67e9e62 03/10/2014 03:12 PM Ermal LUÇI

Fix for now 'IPv6 - LAN looses Prefix after link event'(forums) with a not elegant solution but works. Probably dhcpv6 client should solve this by itself and generate and event for it. For now just bump dhcpv6 client again to have the prefix interface reconfigured.

d130cd46 03/10/2014 01:17 PM Renato Botelho

pfSense_interface_deladdress() only knows how to delete an ip address, not a subnet. It should fix #3513

da2ec336 03/06/2014 06:51 AM Chris Buechler

bring up appropriate interface for GRE/GIF. Ticket #3281

ff9c579f 03/03/2014 09:00 PM Renato Botelho

Fix syntax

3d8e954b 03/01/2014 10:55 PM Chris Buechler

sync up ALTQ-capable interfaces list

cdeaf91e 02/28/2014 02:11 PM Ermal LUÇI

Ticket #3484 Correct the case for GRE tunnels as well since they behave the same. GRE seems to need the prefixlen 128 specified all the time so do it explicitly to be on safe side

d2c59808 02/28/2014 01:52 PM Ermal LUÇI

Ticket #3484 Note that for now prefixlen is useless in ipv6 tunnels. IPv4 accepts them

c32a6b82 02/28/2014 01:49 PM Ermal LUÇI

Fixes #3484. Provide a dynamic gateway for gif v6 tunnels so it can be used on firewall rules etc. The guide for setting up this tunnels on docs need to change to leave the gif interface as none type. People upgrading need to fix this themselves with a not on release notes. This can be fixed if the kernel condition is relaxed to allow setting the prefixlen on the tunnel as ipv4

34340c56 02/21/2014 01:45 PM Ermal LUÇI

Ticket #2627. Just pass the array over no need to traverse it

92977616 02/21/2014 01:23 PM Ermal LUÇI

Fixes #2627. When an interface goes down try to shut the RAs and dhcpd6 service on that interface

d6101e23 02/21/2014 11:58 AM Ermal LUÇI

Avoid recursion of convert_real_interface_to_friendly_interface_name with get_parent and on linkup of parent interface properly configure especially useful on ppp type links

315bdf65 02/20/2014 09:18 AM Ermal LUÇI

Do some more error checking and put secondary radius attributes only if configured. Probably radius configuration should be merged with central server for logins!

11ad160e 02/17/2014 02:18 PM Ermal LUÇI

Normally when an ip is set the interface comes up on BSD stacks. Though push this commit which Fixes #3281

db9199d7 02/17/2014 02:18 PM Ermal LUÇI

Whitespace fix

6191b321 02/17/2014 02:03 PM Ermal LUÇI

Put a kludge for now which Fixes #3280. It should be improved later on to have proper handling and overloading of configuration functions

80d708de 02/11/2014 02:30 PM Renato Botelho

Fix symlink calls adding full link name, it fixes issue reported at https://forum.pfsense.org/index.php/topic,72405.0.html

443ba8c9 02/11/2014 10:59 AM Ermal LUÇI

Properly set the configuration here based on https://forum.pfsense.org/index.php/topic,68531.0.html

8c466abb 02/11/2014 09:30 AM Ermal LUÇI

Make improvement to the check

38207029 02/04/2014 08:32 PM Renato Botelho

Silent recently added symlink() calls

552f5a6a 02/04/2014 07:01 PM Renato Botelho

Use unlink_if_exists or @unlink to avoid PHP errors when file doesn't exist

873c1701 02/04/2014 02:34 PM Renato Botelho

Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir

613a94b3 01/21/2014 06:38 PM Renato Botelho

Fix typo on variable name