Commit Graph

12546 Commits

Author SHA1 Message Date
xbipin
5d60171d72 unnecessary but lets just add this for safety
unnecessary but lets just add this for safety
2015-01-30 10:36:19 +04:00
xbipin
a95867a2ff multiple allow/deny entries for UPnP (rowhelper)
remove old permission box fields
2015-01-29 14:14:31 +04:00
xbipin
04a893de74 multiple allow/deny entries for UPnP (rowhelper)
with this additional change we can allow infinite number of entries
rather than just 500 due to the for loop set to a max of 500 because the
rowhelper control doesnt post as an array but just adds a number at the
end of the variable and we try and modify the pkg_edit.php file then it
would affect other packages
2015-01-28 13:26:54 +04:00
xbipin
085136fe60 multiple allow/deny entries for UPnP (rowhelper)
This patch will allow the web GUI for UPnP to enter more user specified
entries rather than just 4, I replaced the 4 boxes with one rowhelper
control
2015-01-28 12:46:51 +04:00
Renato Botelho
f76cbd6ffe Fix sed syntax, -i requires a space before the parameter. Also fix regex to find swap device 2015-01-27 10:39:21 -02:00
Chris Buechler
6a32a3e4bd use example.com for examples 2015-01-27 00:26:23 -06:00
Chris Buechler
580f5eee60 these descriptions were flipped. Ticket #4273 2015-01-27 00:21:05 -06:00
Renato Botelho
9b527a7931 Make sure radvd is reconfigured when CARP is enabled/disabled. It should fix #4252 2015-01-22 10:02:17 -02:00
Renato Botelho
caaaf9ceec Add missing require for filter.inc since vpn_ipsec_configure() calls filter_configure(). It should fix #4236 2015-01-21 14:36:43 -02:00
Jared Dillard
6f1d609bdf move jquery ui css to theme folders 2015-01-16 18:01:34 -06:00
Renato Botelho
65f9080d47 Merge pull request #1441 from phil-davis/patch-1 2015-01-15 19:04:34 -02:00
Ermal LUÇI
81b7bc4b06 Time to let these go 2015-01-15 21:41:29 +01:00
Ermal LUÇI
19523ce29c Ticket #3997 s/_vhid/_vip/g 2015-01-15 21:20:56 +01:00
Ermal LUÇI
eef9a15d34 Ticket #3997 Put a uniq identifier on the carp settings. 2015-01-15 20:58:31 +01:00
Ermal LUÇI
89f171b052 Ticket #3997, teach code to track carp through uniqids(). Missing carp GUI changes and upgrade code 2015-01-15 20:17:46 +01:00
Phil Davis
fe0fa4c3cb Firewall Rules Apply be friendly to other languages
Forum: https://forum.pfsense.org/index.php?topic=86808.0
Redmine: https://redmine.pfsense.org/issues/3886

print_info_box_np() when called with just the first $msg parameter has some rough tests to decide if the "Apply" button should be displayed. It checks if the translation of "apply", "save" or "create" appears in the $msg string (which is a translated string itself). If the $msg string did not translate, and thus remains in English, but gettext("apply") does translate then the e.g. Turkish word for "apply" is not going to appear in the English $msg string. So things go wrong.

print_info_box_np already has extra parameters to tell it explicitly $showapply - and for this stuff we know we want the apply button, regardless of how the various text string translations work out. Thus I have provided those parameters here.

I also changed the construction of the text to pass as $msg, breaking it up like in firewall_aliases.php - this means that the string "You must apply the changes in order for them to take effect." translates and you get at least that Turkish displayed.

IMHO it would be beneficial to change lots of these print_info_box_np calls to explicitly set $showapply=true - that will ensure that the apply button shows (and thus the user can perform the needed actions) regardless of how well/not well the translation of the text turns out.
2015-01-16 00:00:42 +05:45
Ermal LUÇI
10e2acb5f0 Add EAP-MSChapv2 implementation for Windows ipsec support as reported here https://forum.pfsense.org/index.php?topic=81657.15 2015-01-14 12:28:04 +01:00
Ermal LUÇI
a6a42b6d06 Actually remove rekey/reauth from config to avoid strange issues. Ticket #4208 2015-01-13 20:44:07 +01:00
Ermal LUÇI
1fe208ec9e To avoid issues with clashing SAIDs go back to specifying the reqid in strongswan config.
To be able to manage this first upgrade the config to assign each phase2 an reqid
Second use that during config generation

Ticket #4208
2015-01-13 19:57:23 +01:00
xbipin
f65102071d Improving aesthetics.
Make title color more consistent with other pages.
Improving aesthetics.
2015-01-13 18:37:52 +04:00
Chris Buechler
51ef74991c Where the P1 is disabled, show the P2s as disabled since they will be, same as in previous versions. 2015-01-12 19:25:15 -06:00
Renato Botelho
f285d03925 Fix IPsec widget for multiple P2, it fixes #4164 2015-01-12 21:50:41 -02:00
Ermal LUÇI
b863232441 Improve this part as well 2015-01-12 21:01:29 +01:00
Ermal LUÇI
a4cd8f03a8 Properly handle large passthrough entries even here. 2015-01-12 12:30:45 +01:00
Ermal LUÇI
907cc718d1 Put the value of password under double quotes(") to avoid issues with special characters in passwords. Ticket #4177 2015-01-12 11:49:20 +01:00
Ermal LUÇI
5cd24cf110 Prevent echo to insert a newline(\n) at the secret string. Fixes #4177 2015-01-12 11:40:55 +01:00
Ermal LUÇI
f3f885aa91 Fix typos and set needed variable 2015-01-12 09:33:30 +01:00
Ermal LUÇI
330591f5f5 properly apply the passthrough entries when apply is hitr. 2015-01-12 09:30:46 +01:00
Ermal LUÇI
384deecb5c Fix inherent issues with isset and empty values set as true by our parser. This made the piep configuration to be wrong at least for passthrough entries. Ticket #3932 2015-01-12 09:27:17 +01:00
Chris Buechler
1aecc4daf8 Bring back showing of default value like previous versions. 2015-01-11 19:34:09 -06:00
Ermal LUÇI
619aa26f71 Remove debug code 2015-01-11 16:37:50 +01:00
Phil Davis
3f6930f7e2 Fix POST typo in interfaces_assign.php
Obviously a typo. But this section is inside:
if (isset($_POST['add_x']) && isset($_POST['if_add'])) {
and I cannot find where 'add_x' is ever sent here, so I do not see how this whole code section is ever executed (and that will be why this typo bug has no symptoms). What is the history here? Can the whole block of code be removed?
The code normally executed is the section for 'Submit' lower down.
2015-01-11 18:40:09 +05:45
Ermal LUÇI
e821f30e7d Fixes #4177 convert password to base64 to be submitted to avoid issues with special chars in shell and HTTP GET parameter passing. Probably should add POST support to fcgicli. 2015-01-10 22:17:28 +01:00
Ermal LUÇI
60370eb98f Properly rename the var Ticket #4164 2015-01-10 21:52:46 +01:00
Chris Buechler
c39feb71c3 Default to only AES and SHA1 for new P2s. 2015-01-09 22:08:27 -06:00
Chris Buechler
c5ddb6ad4a Default IPsec to AES 2015-01-09 22:01:12 -06:00
Chris Buechler
460719c819 Default IPsec to main mode, unless mobile client. 2015-01-09 21:59:00 -06:00
Ermal LUÇI
9c0ec56ea8 Do not count twice the phase2 entries 2015-01-09 23:12:21 +01:00
Ermal LUÇI
7f48765aab Just some reshufling and cleanup 2015-01-09 22:47:52 +01:00
Chris Buechler
23ca569527 This broke a variety of things. Revert "Deprecated and non-static method messages"
This reverts commit 91b9a02fb1.
2015-01-09 00:40:01 -06:00
Ermal LUÇI
74fe0ef919 Make this code less memory hungry and fix route command generation 2015-01-08 23:57:47 +01:00
Phil Davis
91b9a02fb1 Deprecated and non-static method messages
Fix various files that can emit messages like:
PHP Strict Standards:  Non-static method SimplePie_Misc::array_unique()
should not be called statically, assuming $this from incompatible
context in /etc/inc/simplepie/simplepie.inc on line 5508
php-fpm[16262]: /rc.newipsecdns: PHP ERROR: Type: 8192, File:
/etc/inc/shaper.inc, Line: 4365, Message: Assigning the return value of
new by reference is deprecated

Some of these style messages have been reported on the forum, e.g.
https://forum.pfsense.org/index.php?topic=86448.0

I had RSS widget on, and simplepie sent the system beserk telling about
all this stuff.
2015-01-09 01:20:05 +05:45
Renato Botelho
6d1907a3d2 Improve URL and URL ports alias update data:
- Move redundant code to a function parse_aliases_file(). Before the max
number of items was not being respected when URL content is updated,
only when alias was saved. Same was happening with ip/subnet/port
validation and user could end up with a bad pf.conf
- Remove unused variables

These changes were based on Pull Request #1264. It should fix #4189

Submitted by:▸  PiBa-NL
2015-01-08 16:16:47 -02:00
Chris Buechler
2727e3fc28 Also include /127 for IPv6, it works fine. Ticket #3657 2015-01-07 23:48:02 -06:00
Chris Buechler
aac1c1db06 Allow for configuring /31 masks on interfaces.php. The rest of the code was updated accordingly some time ago, and an employee with Cox Communications has confirmed this allows things to work on their circuits deployed with /31s. Ticket #4190 2015-01-07 23:39:09 -06:00
Chris Buechler
b25ccd048e fix up text 2015-01-07 23:04:20 -06:00
Ermal LUÇI
4a076e36d3 Provide an advanced setting to be able to disable Unity Plugin(Cisco extensions) 2015-01-07 22:07:00 +01:00
Ermal LUÇI
f99f51a9f0 split is deprecated move to explode 2015-01-07 20:22:06 +01:00
Ermal LUÇI
ba0bc25810 split is deprecated move to explode 2015-01-07 20:20:43 +01:00
Ermal LUÇI
9643058d99 split is deprecated move to explode 2015-01-07 20:16:02 +01:00