Project

General

Profile

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

# Date Author Comment
9caffe86 01/26/2011 04:21 PM Seth Mos

Remove duplicate advbase in ifconfig command

9740fad8 01/26/2011 02:40 PM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/system.inc

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.

d2619fa0 01/20/2011 08:03 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/system.inc

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.

1f74cd2d 01/18/2011 08:10 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/system.inc

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."

c9d174df 12/26/2010 12:02 AM Seth Mos

Properly ignore the local link addresses

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.

81afb509 12/20/2010 08:06 PM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/vslb.inc
usr/local/www/interfaces.php

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>

172007f5 11/15/2010 11:46 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/filter.inc
etc/inc/system.inc
usr/local/www/interfaces.php
usr/local/www/interfaces_gif_edit.php

a05b2f42 11/15/2010 08:21 AM Seth Mos

add support for IPv6 routing tables for IPv6 so that guess_interface_from_ip works

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.

645ad665 11/03/2010 11:50 AM Seth Mos

This enabled finding of a carp vip on the ifconfig stack

3502b5b1 11/03/2010 09:30 AM Seth Mos

Make it possible to create a inet6 carp address. This works surprisingly
What doesn't work is removing the previous IPv6 address from a interface. This should be hooked into the edit page

105d618d 11/03/2010 07:49 AM Seth Mos

Merge remote branch 'upstream/master'

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!).

31ace4ea 10/27/2010 07:47 AM Seth Mos

Add the ipv6 address and subnet onto the existing ifinfo array until the pfsense module supports it

9b1ff028 10/26/2010 01:44 PM Seth Mos

Allow for creation of a ipv6 tunnel for he.net by creating a gif interface. This is the recommended procedure as advised by he.net
This allows for using ipv6 local and remote addresses, you will need to add a ipv6 default gateway on the routing tab

5a5413bb 10/22/2010 02:01 PM Seth Mos

Add the default ipv4 route and the default ipv6 route, check both routing tables before adding or changing.
set the ipv6 IP address via a mwexec() until the pfsense module is adapted. FIXME.
Add filter rules for ipv6 to let traffic out of the firewall. FilterIflist not cooperating yet.

47593ac6 10/22/2010 11:32 AM Seth Mos

Allow for configuring a IPv6 address on the interfaces page.
Add code to verify a ipv6 address
Let is_ipaddr() return true on a v4 and v6 address.
Change system gateways edit to fetch the global ipv6 interface ipv6 addresses and subnets
The current ipv6 function might need folding into filter_var() when that catches some documented corner cases....

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.

dea80743 08/20/2010 12:33 PM Ermal LUÇI

Ticket #684. Dispatch the reloading of the interface in dial-on-demand case to easy the GUI responsivess.