| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Rename get_real_wan_interface to get_real_interface
* Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
* Cleanup some code when passing or remove some unused one.
|
|
|
|
|
|
|
|
| |
Remove starting dhcp twice.
Remove double resolv.conf generation.
Remove direct pfctl filter load command.
Move initial time sync into is_wan_up logic so that it saves a lot of time on boot without a wan. opentp takes casre of it
later if required.
|
| |
|
|
|
|
|
|
|
| |
loading of the filters twice during bootup?!
* Merge all interface related bootstraps under interfaces_configure so this allows us to handle propperly assigned bridge/gre/gif/.. devices that might are initialized later than assigned interfaces.
* Make possible configuring multiple dial-out(ppp) interfaces/configs. Though i am not configdent on the quality of the ppp code that was imported before since GUI and backend have some inconsistencies in the fields. While i fixed most of them still 1 or 2 remain which needs propper investigation on the config.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and pam backing functions have been removed. The basic auth method was
legacy code and the backing functions were redundant with no added value
that I could see. A simplified replacement backing function named
local_backed has been added that authenticates to the local configuration
info which should be identical to system pwdb credentials. Since the
htpassword file is no longer required, sync_webgui_passwords and its
wrapper function system_password_configure have been removed.
The local account management functions were renamed for consistency. A few
minor bugs related to setting local passwords have also been corrected.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
* Eliminate interfaces_carp_bringup_final()
|
|
|
|
|
|
|
|
| |
causes a filter reload loop when
apinger is reloading.
Change apinger to reload instead of killing
use setup_gateways_monitor() in rc.bootup and rc.newwanip
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Move gateway load balancing code into gwlb.inc - still uses slbd
TODO: vs and pool status screens are currently broken...and wouldn't work
with the gateway pools anyway, ultimately, the gateway pools need
to move.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
TODO:
Remove IP aliases upon deletion
Add "type" icon
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ÊChange TCPTV_MIN to be independent of HZ. ÊWhile it was documented to
Êbe in ticks "for algorithm stability" when originally committed, it turns
Êout that it has a significant impact in timing out connections. ÊWhen we
Êchanged HZ from 100 to 1000, this had a big effect on reducing the time
Êbefore dropping connections.
ÊTo demonstrate, boot with kern.hz=100. Êssh to a box on local ethernet
Êand establish a reliable round-trip-time (ie: type a few commands).
ÊThen unplug the ethernet and press a key. ÊTime how long it takes to
Êdrop the connection.
ÊThe old behavior (with hz=100) caused the connection to typically drop
Êbetween 90 and 110 seconds of getting no response.
ÊNow boot with kern.hz=1000 (default). ÊThe same test causes the ssh session
Êto drop after just 9-10 seconds. ÊThis is a big deal on a wifi connection.
ÊWith kern.hz=1000, change sysctl net.inet.tcp.rexmit_min from 3 to 30.
ÊNote how it behaves the same as when HZ was 100. ÊAlso, note that when
Êbooting with hz=100, net.inet.tcp.rexmit_min *used* to be 30.
ÊThis commit changes TCPTV_MIN to be scaled with hz. Êrexmit_min should
Êalways be about 30. ÊIf you set hz to Really Slow(TM), there is a safety
Êfeature to prevent a value of 0 being used.
ÊThis may be revised in the future, but for the time being, it restores the
Êold, pre-hz=1000 behavior, which is significantly less annoying.
ÊAs a workaround, to avoid rebooting or rebuilding a kernel, you can run
Ê"sysctl net.inet.tcp.rexmit_min=30" and add "net.inet.tcp.rexmit_min=30"
Êto /etc/sysctl.conf. ÊThis is safe to run from 6.0 onwards.
ÊApproved by: Êre (rwatson)
ÊReviewed by: Êandre, silby
|
|
|
|
| |
dnsmasq[588]: failed to access /var/dhcpd/var/db/dhcpd.leases: No such file or directory
|
|
|
|
| |
/usr/local/etc or /usr/local/etc/rc.d/
Ticket #1342
|
|
|
|
| |
machines.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
continue until the interfaces are setup correctly
|
| |
|
|
|
|
| |
So we can actually sync to something.
|
|
|
|
|
| |
This especially important for dhcp when used in failover.
Let NTPd keep the time in sync.
|
|
|
|
| |
Patches-submitted-by: DSH@
|
|
|
|
|
|
| |
If for some reason php.ini gets whiped out on bootup then you will never be able to boot again. This works around that issues and ensures that we atleast can bootup to the point where php.ini gets written back out.
Many many wasted hours on this issue.
|
|
|
|
| |
motherboards share ram with video cards.
|
|
|
|
| |
loaded into memory.
|
|
|
|
| |
loaded into memory.
|