Commit Graph

12723 Commits

Author SHA1 Message Date
Ermal LUÇI
6d85358c94 Merge manullay pull/1722 2015-06-15 18:18:41 +02:00
Ermal LUÇI
4d474c094f Remove the GUI for the pc-sysinstaller as well and add it to obsoletee files 2015-06-15 16:50:16 +02:00
Ermal LUÇI
353cd8165e Remove pc-sysinstall since it was never finished and probably will be not the choice. If needed can be resurrected. It already is in obsoleted files 2015-06-15 16:48:16 +02:00
Phil Davis
6622518b15 status_queues missing semi-colon
This really looks like it should have a semi-colon. Somehow the PHP interpreter is not being fussy about it in this context, I guess being followed by the "endif;" keyword the interpreter guesses the previous statement must be done.
2015-06-15 09:34:07 -05:00
Ermal LUÇI
da6faa2b57 Ticket #4655 well manually merge pull/1715. Thanks: Phil 2015-06-15 02:58:24 +02:00
Chris Buechler
fd90a77fdf add input validation for proxy URL, port, user. 2015-06-14 00:48:55 -05:00
Ermal LUÇI
d6084ab02f Ok another round of this which unbreaks input error validation messages 2015-06-13 14:35:43 +02:00
Ermal LUÇI
60fc27e0aa Make this right finally :). Thanks-ti: Phil-davis 2015-06-12 20:35:05 +02:00
Ermal LUÇI
7144515b87 Activate the redirection that for some reason got disabled 2015-06-12 17:36:34 +02:00
Ermal LUÇI
1c7fd09e4d Ticket #4655 Do not behave against the logic of checkbox and description. 2015-06-11 23:56:55 +02:00
bruno
be37ac8f19 fix checking for overlaps of NAT destination port 2015-06-11 15:18:26 -04:00
Ermal LUÇI
2e7ea1074a Make the host uuid opt-out 2015-06-11 03:46:48 +02:00
Renato Botelho
7a923e09da Re-generate broken .mo files, it fixes #4705 2015-06-07 13:40:00 -05:00
Renato Botelho
422fabbcdf Remove duplicate message 2015-06-07 13:39:42 -05:00
jim-p
0e7653f480 Clean up, organize, and expand the info presented by status.php. Save the output to individual text files and compress them into a .tgz for later download. 2015-06-05 16:33:49 -04:00
jim-p
1557716b7c Also sanitize OpenVPN static/tls keys in status.php 2015-06-05 08:22:06 -04:00
Phil Davis
dc6695c3f4 Setup Wizard can result in invalid LAN DHCP pool calculation
1) consider where the LAN IP is in the subnet range and then put the
DHCP pool in the biggest remaining segment, either above or below.
2) Check the size of the available segment. If it is reasonably big then
leave some space at either end of the segment, like the old code was
doing. Otherwise give all the space to the pool.
3) Do not allow subnet mask 32 - I can't think of a use case for LAN to
have a /32 subnet mask, it kind of breaks the whole concept of LAN.
4) Provide more detailed separate messages if the user tries to use the
network address or broadcast address as the LAN IP.
2015-06-04 17:08:11 -03:00
Phil Davis
b3bba7fe13 Improve setup wizard host name check
Redmine #4712
It seems good enough to make the regex strings here be "reasonable". The full checks are done after pressing Next and the correct routines are called that do an exhaustive check. There seems not much point in trying to re-engineer all that here also.
Odd things like "-hostname" and "hostname-" would be allowed through here but are caught by the full validation check.
"." and "|" were being allowed in this regex - no idea why!
2015-06-04 17:06:31 -03:00
Phil Davis
b7cf171b52 Minor wizard text fixups 2015-06-02 08:33:58 -03:00
Phil Davis
379dc6f236 Supply current WAN gateway name to wizard
As the name of the WAN gateway is not always WANGW.
Should fix redmine #4713
2015-06-02 08:33:48 -03:00
Chris Buechler
796cc21860 Clarify DNS Forwarder and Resolver both apply in these places. partially Ticket #3730 2015-06-02 01:22:26 -05:00
Phil Davis
3b9dfaf2f9 Allow option to specify just 1 of user and pass in OpenVPN .up file
As per comment in https://redmine.pfsense.org/issues/3633 sometimes the
server end only requires a password, no username. Usually 1 long string
that serves as the hard-to-guess authentication. OpenVPN expects
something to be on the first line of the ".up" file - traditionally
called the username. It also insists on the second line being present,
but is happy with it being empty - this is the authentication
information traditionally called "password".
Let the user put the single piece of authentication information in
either the Username or Password field on the web GUI - whichever they
feel comfortable calling it. In the ".up" file it has to always be the
first line to keep OpenVPN happy.
2015-05-30 12:08:03 -03:00
Will Boyce
139ca5491b remove pointless filter on dhcp static mappings table 2015-05-30 10:59:42 -03:00
aqueeb
a450c4434a Added the Stateless DHCP Dropdown here 2015-05-28 10:43:56 -03:00
Phil Davis
9eb84e6321 Add tracker rule number to dynamic firewall log
Bug #4730 - the code was not there yet.
2015-05-26 06:53:41 -03:00
Renato Botelho
ac880ee72b Call htmlspecialchars() to remove dangerouns chars from zone parameter. Also redirect user to services_captiveportal_zones.php when an invalid zone is passed 2015-05-25 11:10:45 -03:00
Phil Davis
b58e1cec7d Unbalanced td tag in services_dnsmasq 2015-05-25 08:25:21 -03:00
Phil Davis
3ccb7fc315 Consistent clear_subsystem_dirty after unbound restart
from services_dhcp.
This looks like it is wanting curlies to put all clear_subsytem_dirty inside the "if".
2015-05-25 08:22:38 -03:00
jim-p
e2c20d527e Update/correct wireless status flags and capabilities list.
There are many more possible flags, documented on the wiki: https://doc.pfsense.org/index.php/Wireless_Status
2015-05-22 16:03:32 -04:00
Renato Botelho
5a0d15b117 Merge pull request #1672 from phil-davis/patch-1 2015-05-22 16:53:59 -03:00
Chris Buechler
826e152485 Update zoneinfo from FreeBSD 10.1-REL. Ticket #4459 2015-05-21 17:07:05 -05:00
Phil Davis
bec3f9253f Update pkg_edit.php
a) When we are doing combined fields and usecolspan2 is in effect, then usecolspan2 is also a signal that we want to spread the combined fields horizontally in a single row. In that case we want the combined fields to all be in a single "tr" tag enclosing them all. That was already working in that way.
b) But if usecolspan2 is NOT in effect, then we want the combined fields to still run "together" but vertically under each other. In this case we want each field to be in its own "tr" tag.
This change makes (b) happen.

If combinedfields is not set, then each of the "if" tests here still follows the same path it did previously, so there should be no effect on the HTML output for any ordinary package fields.
2015-05-22 01:58:17 +05:45
jim-p
8a736faeae Correct descriptions on Key Rotation and Master Key Regeneration for wireless. 2015-05-21 08:04:32 -04:00
Phil Davis
f601422867 More combinedfields and usecolspan2 fixes
Actually the "tr" tag needs to be a single tag-pair that encloses all of the set of fields with combinedfields specified - combinedfields=begin is where the "tr" tag starts and combinedfields=end is where the "tr" tag ends, enclosing a whole set of combined fields.
That allows usecolspan2 to work.
In the previous change I had made it enclose every field in its own "tr" tag-pair That caused usecolspan2 to be ineffective at spreading the combined fields across the display.
Also colspan needs to be initialised each time around the loop - it was getting applied to all fields further down the page after the first one it was used in.
This is the version for 2.2.*
2015-05-20 23:47:28 +05:45
Phil Davis
e3167a8458 Fix tr use for combinedfields in pkg xml 2015-05-20 18:48:40 +05:45
Renato Botelho
45e96815a1 Use correct variable to fix pagination 2015-05-15 07:42:34 -03:00
Phil Davis
5402c8fcde Fix startingat var name typo in pkp.php
Even with this fix, the code does not make sense. The first test is:
if ($startingat > -1)

if it gets into the else, then $startingat must be negative. But the test in the "else" tests for >1 ???

Someone who knows what it really is supposed to do could fix it!
2015-05-15 07:42:31 -03:00
Chris Buechler
af6649969b Remove the "insert my MAC" feature from interfaces.php. It hasn't worked in a while (credit sbeaver for noticing), and the only thing it tends to accomplish is breaking people's connectivity from the system where they end up duplicating the MAC of their local system.
Conflicts:
	usr/local/www/interfaces.php
2015-05-14 17:32:24 -05:00
Phil Davis
448161bac8 Add some curlies in status_rrd_graph_img
These "if data" tests look like they should apply to all 4 lines below them.
After sorting out this real-looking issue, I can mess with the rest of the formatting...
2015-05-14 08:53:17 -03:00
Phil Davis
db7d66e777 Cleanup code logic status_upnp
1) Variable $i is was set, incremented and not used.
2) "if preg_match" at line 94 had no curlies after it, so it was only applying to the first line after it ($rdr_proto = ...) It really looks like "if preg_match"should apply to the whole code chunk - settings the various "rdr*" vars and then spitting out the "tr" with the various matches values in the row.
Somebody with some various UPnP enabled and running should test this to see if the status page still works with this change.
I think it only makes a difference if $rdr_entries has some lines in it that do not match the regex - in that case the old code might have displayed some rubbish or (almost?) duplicated rows.
2015-05-14 08:50:54 -03:00
Phil Davis
34f3165b54 Fix alias rename and delete bug #4701
The old advancedoutbound key in config.xml is now called outbound.
2015-05-14 08:44:55 -03:00
Phil Davis
caa7230e69 Slash-select should be inside if in load_balancer_pool_edit
otherwise there is an unbalanced slash-select when the else happens (if there are no load-balancer monitors defined)
2015-05-13 14:12:08 -03:00
Berger Alexander
7bf0ce52d9 fixed indent according to the style guide. 2015-05-11 11:36:21 -03:00
Berger Alexander
3274927527 Currently pfsense enforces unique unqualified hostnames for static dhcp leases, which is not correct as only the fully qualified hostname (hostname + domainname) must be unique. With this commit the old validation logic for uniqeness is modified such that hostnames no longer need to be unique and at the same time the fully qualified hostname hast to be unique.
This change makes it possible to have host with identical hostnames in different (sub)domains. For example myhost.sales.acme.com and myhost.support.acme.com will now be possible.
2015-05-11 11:36:15 -03:00
Phil Davis
55395a834f Firewall Rules Edit missing slash
This should be the end of a "tr" here.
Browsers seem to be forgiving of this stuff - I don't see any difference in rendering in Firefox before or after this change.
2015-05-11 09:31:46 -03:00
Phil Davis
801cbbf7e5 Unmatched td in firewall_nat
This file seems to have an unmatched "td" ending. Adding the line here matches the "td" at line 320 and this embraces the little table that has the 4 icons in it in a square that comes at the right hand end of each port-forward entry in the main table.
I can't see any difference in the rendering of the page, at least on Firefox, with and without this fix.
The tabbing of this file is woeful. I am fixing that up with a code-style review. But thought I should do a separate pull request for this kind-of-functional fix.
2015-05-08 17:43:36 -03:00
Robert Nelson
ca9a4e2b58 Call clear_subsystem_dirty('staticmaps') if using Unbound 2015-05-08 17:43:24 -03:00
jim-p
e29271f2fb Encode server name before displaying back to the user. 2015-05-01 16:48:28 -04:00
Ermal LUÇI
3a09e0d96e Fixes #4633 Enable carp packets to flow on the first carp interface creation. This is needed only when the system is booted up without any carp vip configured 2015-05-01 21:44:46 +02:00
Ermal LUÇI
f539af7623 Ticket #4131 before formatting the mac extract the needed statistics from below 2015-05-01 21:32:14 +02:00