Commit Graph

24604 Commits

Author SHA1 Message Date
Renato Botelho
dd0cb9fcf4 Cleanup aliases when temporarily disable CARP, fixes #4116 2014-12-16 10:19:33 -02:00
Renato Botelho
28268a4a4f Teach interface_vip_bring_down() to deal with IP Alias over CARP 2014-12-16 10:18:58 -02:00
jim-p
363a02310f Follow help page that moved. 2014-12-15 16:45:24 -05:00
jim-p
327bbab674 Follow help page that moved. 2014-12-15 16:30:53 -05:00
Renato Botelho
c25caf5b01 Add DNS Resolver to the list of services to be sync'd on HA, make sure it and DNS Forwarder are not enabled simultaneously. It fixes #4067 2014-12-15 17:16:48 -02:00
Renato Botelho
fa2122b02a Fix password field name 2014-12-15 16:43:27 -02:00
Renato Botelho
387ab31a97 Use newline to separate unbound custom options during config upgrade, it should fix #4104 2014-12-15 16:42:26 -02:00
Renato Botelho
6bb9db05b8 Add a shortcut for unbound and enable it 2014-12-15 16:18:54 -02:00
Renato Botelho
99441482b9 Fix password field name to apply correct style 2014-12-15 14:47:51 -02:00
Renato Botelho
5cfd948144 Add missing BR tags and fix display with pfsense_ng_fs theme. It fixes #4115 2014-12-15 10:46:03 -02:00
Chris Buechler
f358fe3f6d Where binding Unbound to *:53, set "interface-automatic: yes" so replies are sourced from the correct IP. Ideally this should always work this way, but setting this causes Unbound to bind to *:53, which shouldn't happen where specific interfaces are chosen. Ticket #4111 2014-12-13 13:24:36 -06:00
Renato Botelho
00aa3b7957 Merge pull request #1385 from phil-davis/patch-11 2014-12-12 15:40:19 -02:00
Phil Davis
e6abcccc54 Validation of y/n answers in setlanip
At the moment the user can answer "yes" to most of the questions, but then later code only checks if the answer is "y". Thus you can type in "yes" in some places, have it accepted, but actually the negative action is taken. That is weird and will mess up people who try typing a whole string starting with "y".
With this change it makes the user type one of "y", "yes", "n", "no". When they type 1 of those, it is turned into either "y" or "n". Then the existing implementation logic all works as expected.
Hopefully this is the "final" version that fixes the behavior of the (y/n) questions.
I also included the bit at 296-297 which adds the CIDR bit-count range to the prompt, so the user can see exactly what input is valid/expected there.
Redmine issue #4100
2014-12-12 23:01:07 +05:45
Renato Botelho
38e1541b99 Update service providers xml to sync with upstream 2014-12-12 14:55:57 -02:00
Renato Botelho
3bc55eee36 Merge pull request #1383 from phil-davis/patch-10 2014-12-12 14:49:28 -02:00
Phil Davis
87657b9528 rc.initial.setlanip fix validation of CIDR within range
Currently this allows the user to input any number for the CIDR. I happened to try 44 for an IPv4 CIDR when playing.
This fixes that little bug - I think it is good to commit that first/separately so it can be identified apart from the other (y/n) checking/handling I am working on. Better to have separate commits for distinct bugs.
2014-12-12 21:04:46 +05:45
Renato Botelho
c45c6ccd8b Regenerate Turkish mo 2014-12-12 12:29:58 -02:00
Renato Botelho
019645ffe7 Update po from last pot 2014-12-12 12:28:59 -02:00
Renato Botelho
66f8965d11 Update Turkish translation file from last version available on old translation server 2014-12-12 12:27:28 -02:00
Renato Botelho
fb0495f351 Regenerate pfSense.pot 2014-12-12 12:13:54 -02:00
Renato Botelho
2e65babb16 Fix password confirmation name to make style working as expected. Fixes #3992 2014-12-12 09:17:25 -02:00
Renato Botelho
a516c81efe Merge pull request #1381 from phil-davis/patch-8 2014-12-12 08:40:14 -02:00
Phil Davis
a93bc2994b Base URL must be specified when alturlenable on
I had a 2.1.5 system that I was wondering why the dashboard always said it could not check for updates. I discovered it had "Use an unofficial server for firmware upgrades" checked, but the "Base URL" field was empty.
That can easily be checked with input validation - might as well catch dumb things like that.
I thought about making it parse the string to see if it seemed like a "valid" URL. But so many strings seem like valid URLs:
var_dump(parse_url("abc"));
array(1) {
  ["path"]=>
  string(3) "abc"
}

It seemed a bit pointless to bother - if the user puts something in then hope that it might point to something some day.
2014-12-12 10:38:38 +05:45
Renato Botelho
fcc96054a0 Split ICMP and ICMPv6 types on Firewall Rules
- Remove redundant declaration of $icmptypes and move it to a common
place (filter.inc)
- Add missing ICMP types for v4
- Add ICMPv6 types
- Adjust javascripts to show correct options depending of IP Protocol
- Hide ICMP type selection when protocol is IPv4+v6

It fixes #3389
2014-12-11 19:50:00 -02:00
Renato Botelho
c03ed2fb58 Fix indent and spaces 2014-12-11 19:49:58 -02:00
Renato Botelho
11bdc638ef Fix #4099:
- When interface is 'lo0', strpos returns 0, that is erroneously
considered false (boolean) on the test. Be more strict on strpos return
to avoid skiping lo0 ip aliases during sync.
2014-12-11 16:43:19 -02:00
Renato Botelho
986fd3d9a7 Fix #3790:
- Do not let 2 interfaces to setup the same track6 prefix id
- Show correct prefix id range for each interface
2014-12-11 15:03:50 -02:00
Renato Botelho
8d5be861fb Merge pull request #1378 from phil-davis/patch-10 2014-12-11 07:39:13 -02:00
Renato Botelho
21e7104418 Merge pull request #1379 from phil-davis/patch-11 2014-12-11 07:37:44 -02:00
Phil Davis
04c0724ed8 Improve check if no OpenVPN defined
Alternate version of https://github.com/pfsense/pfsense/pull/1376
This version retains the is_array() checks and then only does the count() if the is_array() is true.
Take whichever version you like.
2014-12-11 08:24:26 +05:45
Phil Davis
2cc10e2cde Change text and color delimiter to carat sign
To match change made in functions.inc.php
2014-12-11 07:15:09 +05:45
Phil Davis
6385c33515 Gateway Status Widget keep IP address bold
Forum: https://forum.pfsense.org/index.php?topic=85187.msg467438#msg467438

The bold is specified literally in gateways.widget.php for the gateway IP box, so we need to send it bold from here also when providing an update.
Because this now uses a "/" in the string (to terminate the bold) have to choose another delimiter between the status text and status color - picked "^" because I can't think where it will appear elsewhere in the real data.
This whole string of stuff that is returned by getstats.php back to the browser is a long string with a bunch of delimiters inside delimiters already (vertical bar separated fields, inside that comma-separated fields...) and is already subject to stuff going wrong if any of the real text in the fields contains a vertical bar or comma or... Not about to try to re-engineer all that right now!
2014-12-11 07:13:01 +05:45
jim-p
6346f188e1 Setup ddb on all platforms. On full install it will save the dump, on NanoBSD it will print to console and auto-reboot.
This way, a router running NanoBSD won't sit at a db> prompt indefinitely if it crashes.
2014-12-10 11:36:26 -05:00
Renato Botelho
b3986dd15d Merge pull request #1377 from phil-davis/patch-9 2014-12-10 13:39:51 -02:00
Phil Davis
f4d094b485 Fixup text rule should be route
This code was obviously taken from firewall rules and reused here without changing the word "rule" to "route".
2014-12-10 21:17:51 +05:45
Renato Botelho
d7563eebc7 Remove spurious '>', fixes #4091 2014-12-10 12:14:43 -02:00
Renato Botelho
b8dd129d4d Make sure this message is only displayed on console 2014-12-10 09:58:38 -02:00
Renato Botelho
76f1217188 get_failover_interface() is already called inside get_interface_ip(v6), no need to call it twice. It should fix #4089 2014-12-10 09:55:58 -02:00
Renato Botelho
9a92e2ef64 Use exit instead of return here, otherwise script's return code is always 0 and user with wrong password is authenticated 2014-12-08 19:44:53 -02:00
Renato Botelho
ae0daa804d Merge pull request #1371 from phil-davis/patch-6 2014-12-07 20:31:40 -02:00
Renato Botelho
47a122315f Merge pull request #1370 from phil-davis/patch-5 2014-12-07 20:30:30 -02:00
Phil Davis
eca5402b32 Provide success return indication from console_configure_dhcpd
Recent commit 9ea554ee5c added testing of the return status of console_configure_dhcpd() - this let a user effectively abort from doing anything if they have answered "y" to prompt_for_enable_dhcp_server() and are being asked for the start and end of the range, and then decide they do not want to proceed.
However, even when they gave good answers, status 0 was being returned. This prevented changes ever being implemented.
Redmine: https://redmine.pfsense.org/issues/4080
The fix is to return 1 at the routine end, when all is good and the code should proceed.
2014-12-07 22:41:11 +05:45
Phil Davis
2ce15f633e Standardise css list padding
for the_wall theme
2014-12-07 22:13:13 +05:45
Phil Davis
fe9273cfdf Standardise css list padding
for pfsense_ng_fs theme
2014-12-07 22:11:34 +05:45
Phil Davis
4fb660ae16 Standardise css list padding
for pfsense theme
2014-12-07 22:09:45 +05:45
Phil Davis
6e74f280a6 Standardise css list padding
for pfsense-dropdown theme
2014-12-07 22:08:02 +05:45
Phil Davis
09b095b0a5 Standardise css list padding
for nervecenter theme
2014-12-07 22:06:09 +05:45
Phil Davis
af978cb9de Standardise css list padding
for metallic theme
2014-12-07 22:04:11 +05:45
Phil Davis
04d21981f8 Standardise css list padding
for code-red theme
2014-12-07 22:01:27 +05:45
Phil Davis
66591feb74 Standardise css list padding
for _corporate
2014-12-07 21:56:55 +05:45