Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix lineup of copyright lines | Phil Davis | 2015-01-01 | 1 | -21/+21 |
| | | | | | and module names and other bits of formatting and typos in header comment sections. | ||||
* | Do not restart unneeded services. Also triger configuration for the proper ↵ | Ermal LUÇI | 2014-12-18 | 1 | -1/+3 |
| | | | | interface. | ||||
* | Lock rc.linkup based on interface to avoid races in between up/down events ↵ | Ermal LUÇI | 2014-12-02 | 1 | -1/+4 |
| | | | | which might create a loop. This is more a timing issue but better enforce serialization here. check_reload_status forces this but not between start and stop but just between similar events. Probably need to bring more inteligence there. | ||||
* | use correct variable here | Chris Buechler | 2014-11-27 | 1 | -1/+1 |
| | |||||
* | Simplify code flow not functional change just aesthetics. | Ermal LUÇI | 2014-11-27 | 1 | -42/+43 |
| | |||||
* | Put a comment for the wierd code here | Ermal LUÇI | 2014-11-27 | 1 | -0/+1 |
| | |||||
* | Handle recovering of ppp types as pppoe/l2tp/pp2p when the parent comes up. ↵ | Ermal LUÇI | 2014-11-27 | 1 | -1/+17 |
| | | | | It should solve the issues present before on pppoe not recovering on link loss especially when connected directly to modem. | ||||
* | This is revrsed conversion. The linkup script should run after booting not ↵ | Ermal LUÇI | 2014-11-26 | 1 | -1/+1 |
| | | | | during it. This should help with issues on ppp type links reported | ||||
* | Actually rc.linkup needs the parent search for example on ppp type wans. | Ermal LUÇI | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Go through the same checks when called from command line and when called ↵ | Ermal LUÇI | 2014-11-26 | 1 | -12/+14 |
| | | | | from fcgi. | ||||
* | Silence this error during bootup | Ermal LUÇI | 2014-11-26 | 1 | -1/+2 |
| | |||||
* | Rather than set the g['booting'] on globals provide a function to test for ↵ | Ermal LUÇI | 2014-11-26 | 1 | -2/+1 |
| | | | | that doing the right checks | ||||
* | Make this more readble and also do not trigger an interface_bring_up on a ↵ | Ermal LUÇI | 2014-11-26 | 1 | -5/+9 |
| | | | | down event. | ||||
* | Correct the variable name typo to allow rc.linkup to function properly. | Ermal LUÇI | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Ignore linkup/down events on disabled interfaces. | Ermal LUÇI | 2014-11-25 | 1 | -0/+5 |
| | |||||
* | Ignore empty interfaces and ovpn ones on linkup since they should not ↵ | Ermal LUÇI | 2014-11-24 | 1 | -5/+11 |
| | | | | trigger this script actions | ||||
* | Pass friendlyifname to handle_argument_group, not realifname. Fixes #3984. ↵ | Chris Buechler | 2014-11-05 | 1 | -4/+6 |
| | | | | clean up some text while here. | ||||
* | isset($_GET) seems to always evaluate to true, use something more specific. ↵ | Chris Buechler | 2014-11-05 | 1 | -1/+1 |
| | | | | Fixes use of rc.linkup when run from CLI. Others likely fix similar circumstances, though maybe not ones that are used anywhere. | ||||
* | Take care of the loops reported for OpenVPN in tap mode. Also fixes the ↵ | Ermal | 2014-04-12 | 1 | -1/+2 |
| | | | | problems of tap disappearing from bridge if its a member. | ||||
* | Make scripts able to react when called from FCGI with GET method | Ermal | 2013-12-13 | 1 | -0/+5 |
| | |||||
* | Correct typo on variable name | Ermal | 2013-09-03 | 1 | -1/+1 |
| | |||||
* | Enforce the checking of booting up for linkup events | Ermal | 2013-07-03 | 1 | -3/+1 |
| | |||||
* | Pull code from the calling place rather than the interfaces.inc | Ermal | 2013-05-07 | 1 | -0/+2 |
| | |||||
* | Reload routes etc when rc.linkup happens | Phil Davis | 2013-05-07 | 1 | -1/+1 |
| | | | When a link comes up, call interface_configure with p2=true. This makes it run various extra routines such as system_routing_configure - which will put back the default route or other static routes that might have been removed when the link was down. | ||||
* | Configure static arp inside interface_configure() since it removes all ↵ | Renato Botelho | 2013-04-11 | 1 | -1/+0 |
| | | | | interface addresses and the static arps are removed together. It fixes #2939 | ||||
* | Properly tune rc.linkup for dual stack | Ermal | 2013-03-18 | 1 | -7/+12 |
| | |||||
* | Make the script rc.linkuip compatible with ipv6 as well. | Ermal | 2012-12-19 | 1 | -23/+24 |
| | |||||
* | Move interfaces_staticarp_configure() to interfaces.inc where it really belongs. | jim-p | 2011-06-29 | 1 | -1/+0 |
| | |||||
* | Instead of deleting arp entries, reconfigure static arp. For interfaces ↵ | jim-p | 2011-06-29 | 1 | -5/+4 |
| | | | | without static arp enabled, the net effect is the same (arp entries are already deleted as part of that function). Fixes #1628 | ||||
* | Fixes #1508. When an interface is configured as static and an up event comes ↵ | Ermal | 2011-05-19 | 1 | -0/+2 |
| | | | | manually trigger rc.newwanip so gateway and other services get restarted properly. | ||||
* | At least bring the interface up. Sometimes even though the linkup is ↵ | Ermal | 2011-01-26 | 1 | -0/+1 |
| | | | | reported interfaces like em(4) do not come up. | ||||
* | Ticket #846. Do not try to add an interface to the bridge during an event of ↵ | Ermal | 2010-08-30 | 1 | -1/+2 |
| | | | | LINK_UP. | ||||
* | Ticket #846. Do not reconfigure an 'none' configured interface. | Ermal | 2010-08-30 | 1 | -1/+1 |
| | |||||
* | partially fix linkup. ticket #656 | Chris Buechler | 2010-07-25 | 1 | -0/+6 |
| | |||||
* | Fix booting checks. Part of ticket #53. | jim-p | 2010-05-11 | 1 | -1/+2 |
| | |||||
* | fix text | Chris Buechler | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Decouple filter.inc from functions.inc. There is no need to process filter ↵ | Scott Ullrich | 2009-11-21 | 1 | -0/+2 |
| | | | | functions most of the time. Include filter.inc where it is needed | ||||
* | * Hide interfaces internals to other code and use the propper interfaces. | Ermal Luçi | 2009-03-30 | 1 | -2/+2 |
| | | | | | | | Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc... * Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml * Some other missed custom interface list building and substituing with propper get_configured_interface*() NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces. | ||||
* | Remove blank newline | Scott Ullrich | 2009-03-18 | 1 | -1/+2 |
| | |||||
* | Do not ignore interface events even for pppoe/pptp it does no good. | Ermal Luçi | 2009-03-01 | 1 | -14/+13 |
| | |||||
* | Use correct variable | Ermal Luçi | 2009-02-28 | 1 | -1/+1 |
| | |||||
* | Remove redundant check | Seth Mos | 2008-11-10 | 1 | -11/+0 |
| | |||||
* | Be smarter parsing the command line before passing it into ↵ | Seth Mos | 2008-11-10 | 1 | -5/+21 |
| | | | | | | handle_argument_group. This prevents bogus events being logged when (dis)connecting a cable | ||||
* | Bring order and simplify logic. | Ermal Luçi | 2008-10-19 | 1 | -56/+50 |
| | |||||
* | * Remove bigpond support from backend. | Ermal Luçi | 2008-10-06 | 1 | -1/+1 |
| | | | | | * Use killbypid instead of sigkillbypid SIGUSR2 is not doing what is expected. * Actually start pppoe/pptp when the routing is called for this. | ||||
* | Rename interfaces_wan_configure to interface_configure now that it is used ↵ | Ermal Luçi | 2008-09-09 | 1 | -1/+1 |
| | | | | for all assigned interface configuration. | ||||
* | Merge lan configuration to the interfaces_wan.php page wich does the ↵ | Ermal Luçi | 2008-09-07 | 1 | -18/+6 |
| | | | | | | configuration of all other assigned interfaces. | ||||
* | * Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHING | Ermal Luçi | 2008-07-14 | 1 | -2/+2 |
| | | | | | | | * Much improved rule generation speed * Many bug fixing in general of the interface handling NOTE: this is only half part of the changes the other half will come after | ||||
* | Continue interface improvements. | Ermal Luçi | 2008-06-21 | 1 | -4/+3 |
| | |||||
* | Do not reconfigure on pptp interfaces. | Seth Mos | 2007-10-09 | 1 | -2/+3 |
| |