Commit Graph

9756 Commits

Author SHA1 Message Date
Darren Embry
283d78c632 bug fix for #2426
Input validaton on interface gateway creation box needs to reject duplicate names
2012-05-17 19:00:06 -04:00
Darren Embry
a0edece98b report errors adding a gateway through ajax calls 2012-05-17 18:33:21 -04:00
Darren Embry
8dcca9b51b - also rename $section arg to $section_name in some functions to clarify
- also robustify parsing for <tagname> and bulletproof the handling of
  certain errors
2012-05-17 17:32:04 -04:00
Darren Embry
976d0213c1 fix cosmetic bug when developer was turned on.
highlight the hidden menu item differently.
2012-05-17 16:49:24 -04:00
Darren Embry
dcb94db5d8 fix for #2231
Don't activate master "Save Settings" button on traffic graph min/max.
2012-05-17 15:43:53 -04:00
Darren Embry
f757431db5 more verbose log_error on rrdtool restore failure 2012-05-17 15:22:49 -04:00
Darren Embry
0887774669 restore_rrddata() adds log_error calls and uses -f 2012-05-17 15:16:12 -04:00
Darren Embry
7eead1fc1e add rrddata to backup/restore dropdowns. 2012-05-17 14:55:26 -04:00
Darren Embry
c9a192381c indentation cleanup 2012-05-17 14:05:17 -04:00
Darren Embry
754b75d076 move certain code to new function restore_rrddata() 2012-05-17 14:03:00 -04:00
jim-p
9cf11774f2 Fixup halt and reboot to catch the output from the shutdown process properly.
Conflicts:

	usr/local/www/halt.php
	usr/local/www/reboot.php
2012-05-16 13:17:47 -04:00
jim-p
0b8e9d38d8 On its own, ntpd does not sync fast enough at bootup, so bring back the ntpdate sync but improve it so it can't get stuck forever. 2012-05-16 10:48:26 -04:00
jim-p
11e069064b Fix syntax here too in case we need to revive it. 2012-05-15 16:41:30 -04:00
bcyrill
ec18e696a3 correct closing tags 2012-05-15 21:22:48 +03:00
jim-p
e37eeb4973 Only process this if it's an array 2012-05-15 13:45:56 -04:00
jim-p
29c2c1db15 Fix quoting - can't use ' if we want to expand a variable inside the string. 2012-05-15 11:11:51 -04:00
jim-p
25890c507b Use a text description instead of a code. 2012-05-15 10:35:45 -04:00
jim-p
e078c88207 Add NTP status page using ntpq. 2012-05-14 16:30:07 -04:00
jim-p
a8543b59bd With FreeBSD's ntpd, the current options are irrelevant, but we can have a nice status page 2012-05-14 14:50:44 -04:00
jim-p
ffc7d2c416 Fix ntp name here too 2012-05-14 14:17:11 -04:00
jim-p
ae2c143a70 s/OpenNTPD/NTP/ for log pages and menu entry, to save space (and make it easier if we switch) 2012-05-14 14:11:01 -04:00
jim-p
547c56c4fb Create $altnames earlier, and also fix a bracing issue with this if statement. Fixes certificate importing. 2012-05-14 12:39:56 -04:00
smos
e32cb5d08d Make the ppp-linkup script understand both address families. 2012-05-14 14:54:04 +02:00
jim-p
e6b16f8945 Fix redirect when saving settings in the widget, it was landing on the widget page instead of returning to the dashboard. 2012-05-14 10:02:21 -04:00
Darren Embry
bbdc5919f7 remove the stuff triggering display of relay protocol row 2012-05-11 12:49:39 -04:00
Darren Embry
06d84cf398 allow port in virtual servers to be left blank
in which case listening port would be inherited from the pool
2012-05-11 12:49:38 -04:00
Darren Embry
183ea34ce0 allow aliases for the ipaddr field in virtual servers (PEV-394754) 2012-05-11 12:49:37 -04:00
Darren Embry
937cec84c0 fix for bug #2422 could not remove entries from CP Allowed Hostnames 2012-05-11 11:04:52 -04:00
Darren Embry
4dfd930ee9 cleanup: code for building arrays for autocompleted fields 2012-05-10 15:17:18 -04:00
Darren Embry
5b84bd652e add autocomplete for port (PEV-394754) 2012-05-10 14:00:23 -04:00
Darren Embry
04d4bcdf93 use get_alias_list for port field in load_balancer_pool_edit 2012-05-10 13:51:41 -04:00
Darren Embry
a1f7723876 add autocomplete to load_balancer_pool_edit.php (PEV-394754)
we also enable the json extension here.
2012-05-10 12:39:15 -04:00
Darren Embry
9b420daf9b fix a bug in anti-clickjack that made all pages blank
babac37a3b
2012-05-10 12:05:35 -04:00
Darren Embry
f3d7f30e0c update help text in port fields to Firewall -> Aliases (PEV-394754) 2012-05-10 11:54:25 -04:00
Scott Ullrich
babac37a3b Add click jacking support. Ticket #2419 2012-05-10 11:51:09 -04:00
Warren Baker
06f746c35c Add _ to the list of are allowed characters 2012-05-10 09:02:08 +02:00
Chris Buechler
b1aa904f77 fix typo 2012-05-09 21:57:00 -04:00
jim-p
2f65de893d Add initial support for subjectAltName - still needs some select love for the "type" field, freetext for now for testing (it does work, cert gets the specified subjectAltName). 2012-05-09 16:55:43 -04:00
jim-p
ca88c37ed5 Include TCP flags in CLI filter parser output (if present) 2012-05-09 13:25:50 -04:00
jim-p
23b1fc49ec Update zoneinfo using latest zones from FreeBSD 2012-05-08 15:42:51 -04:00
jim-p
76ac460bd4 $realif only exists on apply, which this code path would never touch. Change to use the configured interface instaed. Fixes #2212 2012-05-08 12:49:13 -04:00
jim-p
76db94c28d Add last check timestamp to gateway status (actually just fix it, since the code was there, but not functional) Fixes #1155 2012-05-08 11:37:10 -04:00
Chris Buechler
89341b505e fix vouchers 2012-05-06 14:07:42 -04:00
Lorenz Schori
85d1b51b1a Fix whitespace: use spaces in services_dnsmasq_edit.php in order to match coding style of surrounding html 2012-05-05 21:47:55 +02:00
Lorenz Schori
5a2a83493c Add support for aliases in DNS Forwarder, fixes #2410 2012-05-05 13:07:04 +02:00
Darren Embry
470d24a39d implement #2407: create config option for captive portal listening port 2012-05-03 12:34:12 -04:00
Darren Embry
6b2d4b5a05 fix for #2356 'track interface'
convert pulldown for ipv6 prefix id to a textbox.  validation is
implemented.
2012-05-03 10:54:38 -04:00
jim-p
aa11af0768 When the "OpenVPN" users type was commented out of the drop-down, this function wasn't adjusted so it was off by one in its counts, making the URL table update frequency box disabled. 2012-05-02 08:29:31 -04:00
jim-p
e0c45357b2 Move routing (radvd, routed, ospf, bgp) to its own log since these daemons can be really spammy at times. 2012-05-01 16:00:10 -04:00
jim-p
3a1e12cfd9 Add some safety belt checks to status_queues.php to prevent exec blocking or infinite redirection loops. Better error display when things go wrong. 2012-05-01 14:25:28 -04:00
Chris Buechler
eedd093a38 correct hostname variable, and use FQDN 2012-05-01 01:32:50 -04:00
Chris Buechler
a1a0cd4622 fix saving of hard timeout 2012-05-01 00:41:56 -04:00
Chris Buechler
402ffa9687 fix text 2012-05-01 00:29:57 -04:00
Erik Fonnesbeck
3f76f90e65 Add note to NAT Reflection helper indicating where it works. 2012-04-28 02:30:04 -06:00
Erik Fonnesbeck
8c06bd69b0 Change description of 1:1 NAT Reflection setting to be more accurate. 2012-04-28 02:12:40 -06:00
Erik Fonnesbeck
43fd29dfa2 Fix preservation of the selection of interfaces on input errors for floating rules. 2012-04-27 21:59:22 -06:00
Erik Fonnesbeck
f122c1a3d7 Add a space between Note: and the message. Also move the period into the gettext string, since punctuation is not language-independent. 2012-04-26 19:37:03 -06:00
Darren Embry
0637b0a989 fix for Bug #2253 Quality Graphs not generated after 'Reset RRD Data'
Seth Mos wrote:
> This needs to call setup_gateways_monitor() in after
> enable_rrd_graphing() to fix.

Also note: $retval of enable_rrd_graphing() at this point in the code
was never used, to my knowledge.
2012-04-26 18:04:15 -04:00
Andrew Lowther
b30e3be44f options for auto-summary/supernet 2012-04-25 17:51:59 -04:00
Warren Baker
0cfaf2c830 Revert "Use 'Packet Loss or High Latency' as the default option when creating a new gateway group"
This reverts commit 6ee04b69c8.
2012-04-25 08:39:21 +02:00
Warren Baker
8de4a8bc4d Revert "Use 'Packet Loss or High Latency' - use a fullstop, fixes #2397"
This reverts commit 1cc71979e4.
2012-04-25 08:39:12 +02:00
Chris Buechler
f81398b074 Merge pull request #96 from irvingpop/master
Simple OpenVPN bridge wording fix
2012-04-24 22:03:07 -07:00
Irving Popovetsky
850ae59e82 Correct wording "Server Bridge DHCP Start" is shown instead of "Server Bridge DHCP End" 2012-04-25 13:00:45 +08:00
Warren Baker
1cc71979e4 Use 'Packet Loss or High Latency' - use a fullstop, fixes #2397 2012-04-24 21:19:52 +02:00
Warren Baker
6ee04b69c8 Use 'Packet Loss or High Latency' as the default option when creating a new gateway group 2012-04-24 21:18:12 +02:00
smos
d008a24ed5 Unbreak the system general DNS settings, it would not work anymore when set to none. 2012-04-20 22:08:01 +02:00
Erik Fonnesbeck
40fa6ddeac Allow optionally using the type of NAT reflection implementation used for 1:1 mappings with port forwards as well, in addition to allowing the old type, which is still useful in its own way. 2012-04-20 02:38:58 -06:00
Darren Embry
3a83296fe4 fix for Bug #2334 quality rrd graphs do not automatically refresh
id attributes can't have a period, someone didn't read w3c specs on id attributes ;-)
2012-04-19 14:27:36 -04:00
Warren Baker
76e91d3ffe Add SUBMISSION port, fixes #2387 2012-04-19 13:53:39 +02:00
smos
318a081213 Use curlies to be very sure, yes 2012-04-18 18:06:27 +02:00
smos
eaa477d2d6 Add the subnet bits to the config 2012-04-18 17:40:25 +02:00
jim-p
c91e242e60 Some updates/optimizations to smart widget 2012-04-18 10:17:34 -04:00
smos
feb88a1476 Add support for SLAAC on the WAN interface, this is required for Stateless autoconf addressing.
Normally this should only apply to Appliances that do not need to route. We automatically hook in the dhcp6 client to request name servers from DHCP6 in a information only mode. It will not attempt to request a address. For that you should use the plain DHCP6 option with a prefix size of none.
This is for redmine ticket #1834
2012-04-18 11:26:09 +02:00
jim-p
2f0a49e922 Add contributed SMART Status widget - http://forum.pfsense.org/index.php/topic,48447.0.html 2012-04-17 11:39:58 -04:00
Phil Davis
7f8f5d01fa Fix typos where css('dislay') is missing a 'p' - now the top ten bandwidth users by host IP is visible on the Status:Traffic Graph 2012-04-17 14:39:49 +05:45
Jim P
d86ef65fa4 Merge pull request #89 from bcyrill/patch-3
Fixed HTML tag.
2012-04-13 13:27:33 -07:00
Jim P
9583759704 Merge pull request #90 from vizvayu/master
Mode selection options for PowerD
2012-04-13 13:27:16 -07:00
Ermal
ab9526e619 Resolves #2330. Check if there is a previous voucher config before wiping 2012-04-13 19:13:33 +00:00
jim-p
f6bda83c78 Show delegated prefixes on the DHCPv6 Leases display. 2012-04-13 15:00:40 -04:00
Darren Embry
5923185536 Feature #1864 "Start" button for IPsec should be available for IP alias networks
might need more testing.

http://redmine.pfsense.org/issues/1864
2012-04-13 12:50:32 -04:00
smos
79909926af Increase Prefix delegation size choices 2012-04-13 14:34:28 +02:00
smos
e1cc1f6de3 Clarify text 2012-04-13 14:33:38 +02:00
smos
e617e9b1c1 Do not throw a address family error when there is just 1 gateway.
Fix the input logic for ticket #1662
2012-04-13 13:58:57 +02:00
Darren Embry
8bdb687946 Feature #2123 Backup RRD files using the xml dump and restore from RRD tools
http://redmine.pfsense.org/issues/2123
2012-04-12 19:11:18 -04:00
bcyrill
39121390a7 Fixed HTML tag. 2012-04-13 00:20:50 +03:00
bcyrill
098686aff1 Fix tag order. 2012-04-12 21:50:43 +03:00
bcyrill
5a27a095e8 Fixed IPv4 regression. Handles addresses with and without port. 2012-04-12 19:29:08 +03:00
bcyrill
72cd706b8d Remove [] of literal IPv6 addresses 2012-04-11 23:12:34 +03:00
bcyrill
2afb2c3758 Removed flawed HTML. 2012-04-11 19:34:49 +03:00
jim-p
f898c1a982 Add alias support to static routes (needs some testing) Ticket #2239
Conflicts:

	etc/inc/filter.inc
	etc/inc/util.inc
	usr/local/www/system_routes_edit.php
2012-04-11 11:58:21 -04:00
jim-p
fdcf104ce4 When renaming a user, make sure to remove the previous user or it gets left in /etc/passwd. 2012-04-11 10:46:41 -04:00
Cristian Feldman
53c210dd64 Added mode selection options for PowerD. 2012-04-10 22:12:30 -03:00
smos
2fe06a3228 Remove this faulty piece of gateway code, it overwrites the existing entries that return_gateways_array() returns.
It doesn't take any address families into account either.
2012-04-09 16:45:02 +02:00
smos
c616b3c73e Correct the variable names for the duplicate stf check 2012-04-08 20:55:27 +02:00
smos
4e83a8f2fd Remove this piece of code, it loads even on interfaces not configured for track. Really needs asynchronous javascript. 2012-04-08 20:41:41 +02:00
smos
8b198c649f Prevent duplicate 6rd or 6to4 interfaces, these conflict and both use the stf0 adapter. Only 1 can be active.
Move piece of code into function, we need it more places, tighten rules for proto 41 traffic.
Attempt to micro optimize the select box for large amounts of choices. Chrome likes this approach better.
2012-04-08 20:36:19 +02:00
bcyrill
adc3353eb6 Merge array and keep unchanged values. 2012-04-08 21:07:07 +03:00
Erik Fonnesbeck
0b4ae4b5ca Check for this function before calling it to avoid an error when hitting that line for pages that don't include the js file for it. 2012-04-07 15:55:12 -06:00
Darren Embry
ee965a5c7b fix for Bug #2231 --- Dashboard: Traffic Graph: Unable to save settings 2012-04-06 19:45:25 -04:00
Darren Embry
556e760dc0 fix indentation. 2012-04-06 17:43:26 -04:00