Project

General

Profile

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

# Date Author Comment
7a18dfa4 05/23/2011 02:56 PM Luiz Gustavo S. Costa

Fixes #1444. Implements the same fix that issue ermal made in #1522 to the console menu

2b094d21 05/12/2011 05:26 PM Jim Pingle

This function takes two parameters, fix PHP error. Reported at http://forum.pfsense.org/index.php/topic,36648.0.html

5fd3cb92 05/05/2011 10:23 AM Ermal LUÇI

Ticket #CZH-831780. If gif(4) is part of a bridge and its mtu is smaller than 1500(ethernet standard) do not consider it in finding the smaller mtu because we have a patch to allow gif(4) be member of a bridge with smaller mtu. See https://rcs.pfsense.org/projects/pfsense-tools/repos/mainline/commits/67d3135722db4a3c911761ead5c881ccaef02c65 for details.

56da23dc 05/04/2011 09:31 PM Ermal LUÇI

Fixes #1394. Create a function get_itnerface_default_mtu and use it for resetting the mtu of a interface to default when needed. This adds the overhead of fetching the interface mtu and comparing with the default one every interface configuration run.

9cf46050 04/28/2011 09:21 PM Ermal LUÇI

Correct saving of qinq specified members and also correctly destroy parent vlan when deleteing the interfaces. Also take care of attaching to netgraph now that we detach by default.

65531b4b 04/28/2011 07:33 PM Ermal LUÇI

Make sure that openvpn tunnels are not impacted by hitting 'Save' on the Interface->Configuration page when assigned.

d1ae9705 04/28/2011 07:29 PM Ermal LUÇI

Use the needed variable here so hitting 'Save' from Interface->Configuration section does not leave the assigned gif interfaces without tunnel addresses.

d7f1891b 04/28/2011 07:09 PM Ermal LUÇI

Some configurations might have gre/gif on top of carp. Make sure to handle this configurations and to bring the tunnel correctly up.

bce14123 04/22/2011 06:28 PM Ermal LUÇI

Actually call interfaces_carp_setup after the carp interfaces are created so carp traffic can only flow after we have all vips up and running. This prevents premption more early than necessary. Ticket #1432.

359f6307 04/18/2011 06:56 PM Ermal LUÇI

Block instead of allowing proto carp/pfsync during bootup since this may cause issues. Ticket #1432

d421e319 03/23/2011 01:10 PM Ermal LUÇI

Do not error out for pptp/l2tp localip setting not set since its legitimate.

01c201e3 03/15/2011 12:17 PM Ermal LUÇI

Do more strict checking if an ppp type interface is assigned before starting the mpd process behind it. Trigered-by: http://forum.pfsense.org/index.php/topic,34377.0.html

a5ccf623 03/07/2011 05:24 PM Jim Pingle

Add cas(4)

05c4bfa0 03/01/2011 11:40 PM Ermal LUÇI

Pass the -a parameters to pgrep to be certain we search ancestors as well. The side effects might be inoquos from the pfSense context.

c99c1e4e 02/23/2011 05:49 PM Ermal LUÇI

Allow queues on top of bridge. Though more investigation is needed on its correct meaning.

c2d7074e 02/21/2011 01:47 PM Ermal LUÇI

Resolves #1288. Add alc(4) to altq(4) supported list.

d11e01f4 01/25/2011 09:16 AM Erik Fonnesbeck

Comment out this code since it currently segfaults and get_real_interface could cause major slowdown here for some configurations.

5357f386 01/25/2011 08:34 AM Erik Fonnesbeck

Remove extra call to get_real_interface.

56919157 01/25/2011 08:03 AM Erik Fonnesbeck

Use the first element of the array instead of the array itself for the comparison.

a1476a94 01/25/2011 07:45 AM Erik Fonnesbeck

Revert "I think this is supposed to be get_real_interface too, not get_parent." - This function should not call get_real_interface here to avoid slowdown from recursion.

This reverts commit 54ac5d9080c2ea6669af07aa49a5ce660f2ede76.

20cb9803 01/25/2011 07:16 AM Marcus Brown

Make get_parent_interface return an array to handle MLPPP and make it find vlan parents too.

Also, update interface_netgraph_needed to handle MLPPP on vlans.

a3af8146 01/25/2011 04:36 AM Marcus Brown

Add NULL check to wireless functions.

The old interface_translate_type_to_real function used previously would return OPTX
if it was passed "OPTX" and OPTX existed but was unassigned, whereas get_real_interface returns NULL, so now we
check for NULL.

54ac5d90 01/25/2011 04:27 AM Marcus Brown

I think this is supposed to be get_real_interface too, not get_parent.

Revert if I mis-understood.

d5dfcb52 01/25/2011 04:16 AM Marcus Brown

Change name of function "interface_translate_type_to_real" to match what it's doing (or should be doing.)

Next commits will change functionality of this function because before now
it's identical to "get_real_interface" function (because of bug mentioned below.)...

3eb00b49 01/23/2011 02:49 AM Marcus Brown

We don't want to detach netgraph nodes from interfaces that are used by
any PPPoE/PPTP/L2TP configurations.

bcfe4ae5 01/19/2011 06:25 PM Ermal LUÇI

Ticket #259 trim the \n from the command output and return only the numeric part of it.

9d7d2388 01/17/2011 08:08 PM Ermal LUÇI

Really do not deactivate netgraph if the underlying interface is needed by it!

3dfc2d1a 01/03/2011 07:45 PM Ermal LUÇI

When the parent interface of a pppoe is assigned do not remove the interface from ng_ether since this will break ppp clients of netgraph with this interface as parent. This solves http://forum.pfsense.org/index.php/topic,31247.75.html

5e1f9bb4 01/03/2011 01:21 PM Marcus Brown

Remove uncessesary function call.

This function call is extraneous. mpd will automatically shut down existing mpd processes
gracefully because we call it with the "-k" command line switch.

In addition, this call causes mpd to be started twice in rapid succession when users have...

c8d23069 01/03/2011 01:18 PM Marcus Brown

Reshuffle code a bit. Prevent potential race condition between one mpd instance
shutting down and the second one starting.

There's no need to kill mpd before restarting it since we always start it with
the "-k" flag which means "wait for existing mpd process to exit gracefully before starting."

100b7219 12/23/2010 01:58 PM Ermal LUÇI

Hanlde the case when advbase is not present especially on previous 2.0 setups.

a8d6ac1a 12/22/2010 07:51 PM Ermal LUÇI

Ticket #757. Use correct pidfile.

673e8095 12/22/2010 03:39 PM Scott Ullrich

nuke trailing carriage returns

31eee4a6 12/21/2010 11:45 PM Ermal LUÇI

Do not do useless work.

3d04de61 12/20/2010 04:47 PM Ermal LUÇI

attach to ng_ether(4) only on pppoe/l2tp/pptp links no others.

92a1c8e6 12/20/2010 04:43 PM Ermal LUÇI

Unbreak pppoe clients. Pointy-hat: myself

67b057a9 12/17/2010 10:55 PM Ermal LUÇI

Do not attach ng_etther(4) to every system interface. Instead do a search if netgraph is needed on single/every interface during interface configuration. Also enable netgraph support for interface as needed when enabling pptp/l2tp/pppoe/... . This should prevent the netgraph queue to slow down network performance on fast links.

68ef6e03 12/09/2010 08:42 PM Ermal LUÇI

Teach convert_friendly_interface_to_friendly_descr about carp vips. This helps cases like Ticket #1086.

8c3450c7 12/09/2010 08:33 PM Ermal LUÇI

Make this at least right though it might not be correct.

f1a93dee 12/09/2010 02:24 PM Ermal LUÇI

Use the array index for this.

6f247d1f 12/07/2010 11:51 PM Ermal LUÇI

Expose advbase option of carp(4) to alleviate advanced configs.

422bc2a7 12/07/2010 06:25 PM Ermal LUÇI

Move all dynamic dns update processes under the same even 'reload dyndns' since it makes sense to do so.

be888d7f 12/07/2010 10:56 AM Ermal LUÇI

Add lem(4) to our drivers list.

dd62256f 12/07/2010 01:26 AM Pierre POMES

Fix vip descriptions in openvpn and ipsec screens. Ticket #1042

b0c6a4f1 12/06/2010 08:42 PM Ermal LUÇI

Remove unused binary from list

27ca29e4 12/06/2010 08:39 PM Ermal LUÇI

cleanup other bogus code.

265c88c6 12/06/2010 08:38 PM Ermal LUÇI

Remove bogus code and use proper function here.

3e5d0d1d 12/06/2010 08:35 PM Ermal LUÇI

Actually honor the mtu/mac spoofing option in the interfaces.php page even while the type is set to other than dhcp/static/none. For this inhance the interface_translate_type_to_real to return the real hardware interface for ppp* types.

dcadda55 12/06/2010 03:47 PM Ermal LUÇI

Do not reload twice carp and vips in general during an interface reload.

ed62880b 12/06/2010 03:25 PM Ermal LUÇI

Correct code to reconfigure an interface for groups/gre/gif tunnels to take into account that an interface might be part of many instances of this. Also reconfigure interface groups for every newwanip trigger on interfaces to make sure dynamic interfaces retain their membership on groups.

e53e7a5d 12/06/2010 10:29 AM Ermal LUÇI

Do not call filter_configure here the caller does. Also remove old code of the times when check_reload_status used files as trigers.

baa16005 12/06/2010 10:18 AM Ermal LUÇI

The caller of this function is responsible for this and usually all the callers do this from what i can tell. Remove redundant call.

864bf774 12/02/2010 11:16 PM Erik Fonnesbeck

Restore spoofed MAC after running hostapd to keep behavior consistent with other interfaces. Ticket #841

acb0bce0 12/02/2010 10:40 PM Erik Fonnesbeck

Restore the original MAC address before running hostapd to work around a hostapd bug. Ticket #841

1dbc0c43 12/01/2010 11:22 AM Ermal LUÇI

Use correct variable name. Also related to Ticket #847.

0ac206f9 11/30/2010 04:21 PM Ermal LUÇI

Ticket #1047. Make the flags the same for each member interface before adding them to lagg(4)/bridge(4)

fdf4e791 11/29/2010 08:27 PM Scott Ullrich

Set net.inet.carp.log=1. Ticket #1038

fedab998 11/24/2010 06:08 PM Scott Ullrich

Nuke trailing c/r

0dcdbc85 11/15/2010 06:50 PM Scott Ullrich

Send errors to 2>

21699e76 11/12/2010 11:51 PM Ermal LUÇI

Fix test for altq on vlans and wlan.

e9d7afeb 11/10/2010 06:27 PM Ermal LUÇI

Ticket #904. Hmm fix the interface_has_gateway() too.

f6b30142 11/10/2010 06:25 PM Ermal LUÇI

Ticket #904. Actually correctly handle the assigned openvpn client as a dynamic gateway rather than breaking the behaviour of the system. Strange nobody has noticed broken gateway behaviour with openvpn assigned!

c422a169 11/10/2010 06:18 PM Ermal LUÇI

Actually was coorect before. 3rd parameter is length not index.

Revert "Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented."

This reverts commit 6f2cc3a680f984ccbb387301a26d022e6969e665.

9734b054 11/10/2010 05:00 PM Scott Ullrich

Remove trailing carriage return

6f2cc3a6 11/09/2010 11:37 PM Ermal LUÇI

Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented.

7673cdb5 11/09/2010 10:17 PM Ermal LUÇI

Use a shell script rather than bad hack to execute php code for pppoe periodic reset.

72993196 11/02/2010 09:16 PM Ermal LUÇI

Protect from strange situations on bootup by testing for is_array(). Do not add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).

f5ea58da 10/15/2010 02:29 PM Ermal LUÇI

Ticket #927. Increase timeout to gice mpd the time needed to exit gracefully.

df2a0f18 10/12/2010 10:01 PM Ermal LUÇI

Resolves #944. Actually bring down the vlan interface if it existed previously. This is a regression from the ppp dance/requests/whatever.

43a22ee2 10/05/2010 03:19 PM Jim Pingle

This one looks safe, and might improve speed. Add it back.

6447bde5 10/05/2010 03:13 PM Jim Pingle

This ref should be safe too

74e1e658 10/05/2010 03:07 PM Jim Pingle

Whoops this reference was good (for speed) and should stay.

6727f4ef 10/05/2010 02:56 PM Jim Pingle

More unneeded references.

b676a6a9 10/05/2010 02:52 PM Jim Pingle

Remove unneeded reference.

dd8b859e 09/30/2010 03:42 PM Ermal LUÇI

Remove support for this legacy code. The upgrade path handles this.

b5eeef07 09/22/2010 07:15 PM Ermal LUÇI

Restart dnsmasq first because dyndns might depend on it. Possibly these all should be sent through evnets to check_reload_status

86dcdfc9 09/16/2010 10:42 PM Ermal LUÇI

Add as a search domain the domains suggested by dhcp.

01f1b601 09/14/2010 08:32 PM Ermal LUÇI

Ticket #867. Flush the cache when restarting apinger and also when rc.newwanip is called. also restart apinger earlier in to be on latest address asap.

0ae6daf8 09/07/2010 07:36 PM Ermal LUÇI

Use the new events mechanisms to dispatch events.

3896d93e 09/04/2010 12:58 AM Erik Fonnesbeck

Do this check earlier rather than later, instead of moving the interface_bring_down call.

0a28d385 09/04/2010 12:50 AM Erik Fonnesbeck

Revert "Rearrange function calls for wireless to prevent killing hostapd/wpa_supplicant at the wrong time."

This reverts commit e93385d06ddf0e2888b3f5ee5764992a19f99120.

fb2f0db1 09/04/2010 12:49 AM Erik Fonnesbeck

Revert "Ticket #867. Do not destory interfaces other than preventing a loop for ppp interfaces during interface configuration."

This reverts commit 990fb7a9a9b03f744c56792011f1c1e2950ce764.

67e77adf 09/03/2010 11:42 PM Erik Fonnesbeck

Protect against wpa_supplicant dying when bringing down interfaces to change wireless regulatory configuration.

e93385d0 09/03/2010 10:50 PM Erik Fonnesbeck

Rearrange function calls for wireless to prevent killing hostapd/wpa_supplicant at the wrong time.

- Moved interface_wireless_configure call to after the new location of the interface_bring_down call to prevent it from killing hostapd and wpa_supplicant right after they start....

e49a2031 09/03/2010 05:59 PM Ermal LUÇI

Ticket #843. Disable for now bringing down the interface unless we want to destroy it. While this is not all correct this seems to help alleviate problems when the parent is shared on cloned types.

e8471084 09/01/2010 03:51 PM Ermal LUÇI

Ticket #866 #632. Save old settings or actions to be taken for reconfiguring a route/vip on a tmp file and make use that information when apply settings buttons is clicked. This makes the gui behave as expected.

990fb7a9 09/01/2010 12:13 PM Ermal LUÇI

Ticket #867. Do not destory interfaces other than preventing a loop for ppp interfaces during interface configuration.

319cbd5e 08/31/2010 07:11 PM Ermal LUÇI

Correct binaries and find_dhclient_process

f814d3a6 08/31/2010 11:19 AM Ermal LUÇI

Make this more readble.

7e96ca27 08/31/2010 11:16 AM Ermal LUÇI

Ticket #860. Honor the parameter if passed.

7c73f504 08/31/2010 11:12 AM Ermal LUÇI

Ticket #860. Correct code for proxyarp/choparp starting. Not sure why php did not bail at some code here missing curlies :).

c79439f1 08/30/2010 08:11 PM Ermal LUÇI

Actually it should test the other way.

7413cbfd 08/30/2010 07:56 PM Ermal LUÇI

Ticket #846. Do not try to add an interface to the bridge during an event of LINK_UP.

e19b7d1e 08/26/2010 04:38 PM Ermal LUÇI

Allow carp interfaces to sit on top of aliases. Also add safety belts to ipalias deletion for this to avoid breakage. Trigered-by: http://forum.pfsense.org/index.php/topic,27834.0.html

48f23632 08/26/2010 02:21 PM Ermal LUÇI

Fixes #847. Check even interface groups before allowing deletion of an interface. Also try to readd to a group an interface when configuring.

52ab1d44 08/26/2010 10:09 AM Erik Fonnesbeck

Revert "Use get_real_interface here and compare to that to make it more generic instead of doing this wireless-specific stuff." which probably ended up doing some recursion in various cases, especially slowing down as it goes down a larger list in this foreach loop....

3a90c973 08/24/2010 09:16 AM Marcus Brown

Tiny change to boot message to remove redundant info and make it pretty.

5b40ab9f 08/23/2010 02:30 PM Ermal LUÇI

Add run(4) to known wireless nics. Reported-by: http://forum.pfsense.org/index.php/topic,27744.0.html

8c62fa48 08/23/2010 01:11 PM Jim Pingle

Add bwn to interface lists too.

d09d53ac 08/20/2010 03:48 PM Ermal LUÇI

When booting up do not try to configure ovpn[c|s] interfaces if present also try to configure openvpn eariler just after the interfaces have been setup.