Move alias popup to function. Display Alias popup for NATs now.
Atomic file writingPatch-by: David ReesMFC: for 1.2.1
First try to cope with the new ability of mpd to rename its interfaces.This is just a s/ng0/typeof connection0/ for now.
The major work should be done to allow all optX and lan to be pppoe or pptp interafaces and take just assign the network interface accordingly. It simplifies a lot o things but this has to be done....
Really check isset() correctly.
Damn you textmate.
Add pointtopoint style interfaces to get_interfaces_with_gateway()
Add detailed memory usage RRD graph.Modifications by Nathan Moinvaziri (nathan@nathanm.com) to add
Correctly grab root object for setting password.
Add note that rrd gateway code needs upgrading. Affects quality graph.
don't foreach if it isn't an array (maybe temp fix while I'm working through other issues)
Calculate bandwidth only once and correct a small error on queue names.
Correctly escape args.
Escaqpe shell arguments for Full Name when adding the user to FreeBSD.
Add debugging helper code.
s/${/{$/
Ensure that $allowed is set.
Initial import of PPP for 3G and dial up modem support.
Needs testing and likely some fixing, then porting to HEAD once verified working.
Unbreak packages.
Convert string to lower case.
LAN is optional now.
LAN is optional.
Make sure item is an array before comparing using array functions.
Bring in the new traffic shaper.It is capable of multi interface shaping.
Also bring the wizard up-to-date. Now it is capable of doing multi interface too.
touch up text
Ticket #1569
Add product_copyright re-branding supportAdd product_copyright_years re-branding supportAdd product_website re-branding supportAdd product_email re-branding support
Work sponsored-by: Centipede Networks
If /etc/pwd.db.tmp exists when we are syncing the password database then remove the temporary file prior to attempting to sync.
Stop spewing to stdout, this should be logged.
Turn off debugging
Add more ACL checkers to help with port forward and one to one NAT for multi user.
Only show interfaces that the user has access to edit on the firewall rules edit page.
Inherit allowed privs from $g['privs']
Do not set allowed_groups variables. Auth.inc is not alaways available on console scripts but they do not need session auth.
Silence cannot find root user errors.
Remove debugging code.
Kill off illegal offsets error and make code more readable while I am here.
Ensure userindex and groupindex is available to non auth.inc callers.
Backport display_top_tabs() from HEAD.
do not run pfctl -ss 4 times
Define ifconfig command
Fix typo in variable
Improve wireless stats
Commit wireless statistics 1st round
Add function that returns the interface which belongs with the gateway
Commit function that looks up the gateway ip by name from the Gateways array
Improve fall through logic
Check if array exists
Add prelimenary Routing page.Allow multiple gateways on one (static) interface
MFC of change [19782] per request from sullrich@
Scale state table size with memory, never allocate more than 10% system ram, this leads to 12K states on 128M and 102K on 1G systems - this should be a good default
Make sure we're foreach'ing through an array
Write out file correctly
Do not match netmasks
Trigger on real hostnames only
Change function add_hostname_to_watch() to use host so we handle multiple IP addresses
Add function is_fqdn()
Resolve aliases correctly
Only record entry if it resolves to an ip address
Remove debugging echo
Enumerate multiple aliases
Use gethostbyname()
Hush up PHP warnings.
Add add_hostname_to_watch() function which will help operate the dns firewall rule cache
remove previous commit, moving function to index.php to support package installation
add tab for widgets function
Add rrd graph settings page.Bump config out of line with 1.2Add rrd config upgrade code.
Keep longer archives, allow for a 4 year span
Axe unused archives, correct average times.
Correct location of use_rrd_gateway.
usleep(1000); between down and delete. this appears to fix the carp issues.
Do not destroy carp interface which can lead to a panic. This has been tested and works just fine after deleting and adding new carp interfaces.
Add is_wan_interface_up($interface)Can be optional interface as well.
Return the virtual interface for PPPoE
Submitted-by: Uranellus via IRC
Woops, actually use $url
Noticed-by: Seth
Add does_url_exist() which can verify a URL exists before downloading.
Do not writeout tdr_cron_install() entries on bootup. Somehow doing so adds a stray load balancing and openvpn entries.
Only deinstall filter reload item if it is presently installed
Add is_private_ip function which will return true if an ip address falls within a private subnet range.
Move interface info function for global use
The earlier fix from today that fixed get_interfaces_with_gateways() created new problem where all interfaces would show up in assign_interfaces screen and other places. Instead of showing them all by default teach get_interfaces_with_gateways() how to extract the complete list.
Dont check-state on the rules.
Use check-state on all TDR rules
check-state at the beginning of the tdr set
Correctly use all interfaces.Credits-go-to: sullrichMight fix PPPoE and vlans WAN and or load balancing
MFC: ASAP
Make the ordering of the IPFW time based rules exactly the same as PF so there are no strange "gotchas" or "caveats" that the user would have to abide by.
Correctly incriment skipto rule number.
Fix tdr_get_next_ipfw_rule to not return 2 every time.
Add anti-lockout rule to ipfw so that you cannot lock yourself out of the GUI.
This is tunable via system -> advanced
Use skipto type ipfw rules so that the pass type rules will not bail out of the ipfw ruleset and keep processing at the next rule.
Fix another major bug in time based rules. When a * * * rule is in affect on the wan interface we where killing outgoing traffic from the firewall itself.
Fix a major time based rule bug. We need to match packets INCOMING to the interface similar to how pf works.
Remove trailing space