summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* Really do not deactivate netgraph if the underlying interface is needed by it!Ermal2011-01-171-10/+11
|
* When the parent interface of a pppoe is assigned do not remove the interface ↵Ermal2011-01-031-12/+24
| | | | 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
* Remove uncessesary function call.gnhb2011-01-031-1/+0
| | | | | | | | | 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 "dial on demand" enabled. This can lead to problems with orphaned netgraph nodes which can only be cleaned up via reboot.
* Reshuffle code a bit. Prevent potential race condition between one mpd instancegnhb2011-01-031-3/+5
| | | | | | | 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."
* Hanlde the case when advbase is not present especially on previous 2.0 setups.Ermal2010-12-231-1/+4
|
* Ticket #757. Use correct pidfile.Ermal2010-12-221-3/+3
|
* nuke trailing carriage returnsScott Ullrich2010-12-221-1/+1
|
* Do not do useless work.Ermal2010-12-211-2/+3
|
* attach to ng_ether(4) only on pppoe/l2tp/pptp links no others.Ermal2010-12-201-1/+2
|
* Unbreak pppoe clients. Pointy-hat: myselfErmal2010-12-201-4/+8
|
* Do not attach ng_etther(4) to every system interface. Instead do a search if ↵Ermal2010-12-171-0/+42
| | | | 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.
* Teach convert_friendly_interface_to_friendly_descr about carp vips. This ↵Ermal2010-12-091-22/+32
| | | | helps cases like Ticket #1086.
* Make this at least right though it might not be correct.Ermal2010-12-091-1/+1
|
* Use the array index for this.Ermal2010-12-091-6/+3
|
* Expose advbase option of carp(4) to alleviate advanced configs.Ermal2010-12-071-2/+2
|
* Move all dynamic dns update processes under the same even 'reload dyndns' ↵Ermal2010-12-071-4/+1
| | | | since it makes sense to do so.
* Add lem(4) to our drivers list.Ermal2010-12-071-1/+1
|
* Fix vip descriptions in openvpn and ipsec screens. Ticket #1042Pierre POMES2010-12-061-0/+11
|
* Remove unused binary from listErmal2010-12-061-1/+1
|
* cleanup other bogus code.Ermal2010-12-061-1/+0
|
* Remove bogus code and use proper function here.Ermal2010-12-061-2/+1
|
* Actually honor the mtu/mac spoofing option in the interfaces.php page even ↵Ermal2010-12-061-13/+35
| | | | 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.
* Do not reload twice carp and vips in general during an interface reload.Ermal2010-12-061-9/+10
|
* Correct code to reconfigure an interface for groups/gre/gif tunnels to take ↵Ermal2010-12-061-10/+27
| | | | 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.
* Do not call filter_configure here the caller does. Also remove old code of ↵Ermal2010-12-061-3/+0
| | | | the times when check_reload_status used files as trigers.
* The caller of this function is responsible for this and usually all the ↵Ermal2010-12-061-3/+0
| | | | callers do this from what i can tell. Remove redundant call.
* Restore spoofed MAC after running hostapd to keep behavior consistent with ↵Erik Fonnesbeck2010-12-021-1/+12
| | | | other interfaces. Ticket #841
* Restore the original MAC address before running hostapd to work around a ↵Erik Fonnesbeck2010-12-021-0/+9
| | | | hostapd bug. Ticket #841
* Use correct variable name. Also related to Ticket #847.Ermal2010-12-011-1/+1
|
* Ticket #1047. Make the flags the same for each member interface before ↵Ermal2010-11-301-4/+40
| | | | adding them to lagg(4)/bridge(4)
* Set net.inet.carp.log=1. Ticket #1038Scott Ullrich2010-11-291-1/+1
|
* Nuke trailing c/rScott Ullrich2010-11-241-1/+1
|
* Send errors to 2>Scott Ullrich2010-11-151-1/+1
|
* Fix test for altq on vlans and wlan.Ermal2010-11-121-2/+2
|
* Ticket #904. Hmm fix the interface_has_gateway() too.Ermal2010-11-101-2/+2
|
* Ticket #904. Actually correctly handle the assigned openvpn client as a ↵Ermal2010-11-101-5/+3
| | | | dynamic gateway rather than breaking the behaviour of the system. Strange nobody has noticed broken gateway behaviour with openvpn assigned!
* Actually was coorect before. 3rd parameter is length not index.Ermal2010-11-101-1/+1
| | | | | | Revert "Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented." This reverts commit 6f2cc3a680f984ccbb387301a26d022e6969e665.
* Remove trailing carriage returnScott Ullrich2010-11-101-1/+1
|
* Correct this to make it actually work. This is also mentioned in Ticket #904 ↵Ermal2010-11-091-1/+1
| | | | though it was already implemented.
* Use a shell script rather than bad hack to execute php code for pppoe ↵Ermal2010-11-091-1/+7
| | | | periodic reset.
* Protect from strange situations on bootup by testing for is_array(). Do not ↵Ermal2010-11-021-3/+2
| | | | 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!).
* Ticket #927. Increase timeout to gice mpd the time needed to exit gracefully.Ermal2010-10-151-1/+1
|
* Resolves #944. Actually bring down the vlan interface if it existed ↵Ermal2010-10-121-1/+1
| | | | previously. This is a regression from the ppp dance/requests/whatever.
* This one looks safe, and might improve speed. Add it back.jim-p2010-10-051-1/+1
|
* This ref should be safe toojim-p2010-10-051-1/+1
|
* Whoops this reference was good (for speed) and should stay.jim-p2010-10-051-1/+1
|
* More unneeded references.jim-p2010-10-051-3/+3
|
* Remove unneeded reference.jim-p2010-10-051-1/+1
|
* Remove support for this legacy code. The upgrade path handles this.Ermal2010-09-301-3/+0
|
* Restart dnsmasq first because dyndns might depend on it. Possibly these all ↵Ermal2010-09-221-3/+3
| | | | should be sent through evnets to check_reload_status
OpenPOWER on IntegriCloud