Commit Graph

32813 Commits

Author SHA1 Message Date
jim-p
7c4cfa35ca Add download button/function directly on status.php to ease confusion.
(cherry picked from commit f7a72733f8)
(cherry picked from commit b44ee60da8)
2017-05-23 12:52:38 -04:00
jim-p
81de04ae45 Add NGID to status.php
(cherry picked from commit fcc24426ab)
(cherry picked from commit 2e7f67b274)
2017-05-23 12:13:05 -04:00
Renato Botelho
97b5bfe35a Use specific branch for gnid 2017-05-19 08:27:19 -03:00
jim-p
37bcfa6064 Backport changes for syslogd handling to fix #7256
(cherry picked from commit 576cbe26c1)
2017-05-17 11:07:26 -04:00
jim-p
eb3bee5016 Backport syslogd service definition/control to RELENG_2_3. Ticket #4382
(cherry picked from commit 5917696ded)
2017-05-17 10:57:45 -04:00
Renato Botelho
c564c8b34c Rename Netgate Coreboot Upgrade package directory to better reflect port name 2017-05-10 15:59:45 -03:00
jim-p
6ee05a884d Add "netstat -nWx" to status.php output
(cherry picked from commit 6252b47062)
(cherry picked from commit 5479efd169)
2017-05-10 11:15:10 -04:00
jim-p
1f3b7a9e74 Only cache CP RADIUS Auth credentials when reauthentication is enabled. Fixes #7528
(cherry picked from commit d4e42c54a2)
(cherry picked from commit ed44d5fb36)
2017-05-08 11:20:13 -04:00
Renato Botelho
db2a45dafd Welcome pfSense 2.3.4-RELEASE 2017-05-03 13:36:11 -03:00
Phil Davis
af0f961b36 Fix #7508 stop write_config after reset_factory_defaults
(cherry picked from commit 3dcaae882c)
2017-05-03 09:30:38 -03:00
Phil Davis
b3a32a59a8 Typos in pkg management code comments
(cherry picked from commit 146dbf0139)
2017-05-03 09:28:50 -03:00
Phil Davis
c180fdbede Let he user know if all selected interfaces are down
in the interface statistics widget.
At the moment, if all the selected interfaces are down, the widget will just display no columns. That will make users wonder what happened.
(cherry picked from commit b22fceb2d7)
2017-05-03 09:27:09 -03:00
Phil Davis
e639325a7c Fix interface down in interface statistics widget
If an interface is down, the widget would write the interface description in a column heading but then omit the stats items. So later columns (to the right) would have the headings and stats items out of line.
This also fixes the performance problem that get_interface_info($ifdescr) was being called for every row of stats data for every interface. i.e. it was called 7 times for each interface when 1 time is enough.
(cherry picked from commit d87a9a1c97)
2017-05-03 09:26:22 -03:00
Phil Davis
14c6cfa0ba Redmine #7318 None button for widget filters
(cherry picked from commit fba53b4385)
2017-05-03 09:26:17 -03:00
Phil Davis
35c395e078 Handle widgets having no items selected for display
(cherry picked from commit 405dfaad14)
2017-05-03 09:26:10 -03:00
Phil Davis
732b23581b Remove bonus end td tag in interface statistics widget
(cherry picked from commit 9795332b0e)
2017-05-03 09:21:04 -03:00
jim-p
acc7db2248 Work around broken wizard rules for ticket #7434 2017-05-02 16:08:25 -04:00
doktornotor
7cfca820e6 Make sure that array exists before using foreach() (Bug #7399)
(cherry picked from commit ce348731b6)
2017-05-02 16:52:07 -03:00
Renato Botelho
877b284ded Fix include and lib relative paths 2017-05-02 15:12:43 -03:00
Renato Botelho
aad44c08df Fix include path 2017-05-02 15:08:14 -03:00
Steve Beaver
c70ddd160b Spelling 2017-05-02 12:33:26 -03:00
Steve Beaver
e26ca3a5ef space/tab 2017-05-02 12:33:26 -03:00
Steve Beaver
6042f9d351 Add Netgate ID display to system info widget 2017-05-02 12:33:26 -03:00
Renato Botelho
3e867e61f3 save uniqueid during boot 2017-05-02 12:33:26 -03:00
jim-p
d258e30dfa Read default language from globals.inc instead of hardcoding (it was already defined there) 2017-05-02 10:41:38 -04:00
Phil Davis
7b492a56dd Set default anguage in General Setup to en_US
Since fdcde31b4a added German to the top of the get_locale_list() array, if you start with a default system and go to System->General Setup (make some changes to other fields if you like) and press Save, you end up in German because that is what gets selected in the dropdown when the config does not yet have a language in it.
The code assumed that the language of the default system is the language at the top of the list, which is no longer true.
2017-05-02 10:41:33 -04:00
Renato Botelho
443ef349b8 Remove 2.4 only item 2017-05-02 11:15:39 -03:00
Renato Botelho
b1b55221d7 Enable gnid build 2017-05-02 09:28:01 -03:00
Renato Botelho
7b77464780 Use libcrypto and includes from MAKEOBJDIRPREFIX instead of the builder objects 2017-05-02 09:27:43 -03:00
Renato Botelho
125d22419c fix variable name 2017-05-02 09:26:15 -03:00
Renato Botelho
ce3d475437 Build and install gnid on /usr/sbin 2017-05-02 09:25:41 -03:00
Renato Botelho
fd7049e74d Checks for DHCP Relay being enabled/disabled should be skipped when editting an additional pool 2017-04-27 12:47:59 -03:00
Phil Davis
1e40bdebc1 Fix comparisons for CDATA tags in config
Some length numbers here do not match the strings they are comparing with. That looks very odd.
Note that:
```
substr($ent, 0, 5) == "text"
```
will return true when $ent is "text". So actually this "works". But it returns false if $ent is "text1" "texta" etc.
So it depends what the intention was.

If it was intended to match just "text" then I could be just:
```
$ent == "text"
```
If it was intended to match "text" "text1" "texta" etc, then it needs to be fixed like I suggest here.
(cherry picked from commit 856514f595)
2017-04-27 10:44:16 -03:00
NOYB
3b010c6833 Vendor MAC Retention - Update
Only write if changed or missing.

Vast majority of reboots will not have a change so don't hit the file system with a needless write.  RAM disk enabled systems will always write due to missing the file on boot up.
2017-04-26 18:06:45 -03:00
NOYB
a822576e9b Vendor MAC Retention File Consolidate
Use a single file for vendor MAC retention (vendor_mac).
 a) Writes only one file during boot up rather than a file for each interface.
 b) More efficient than numerous tiny files.
 c) Friendlier to write cycle sensitive media in a RAM disk disabled system.
2017-04-26 18:06:39 -03:00
NOYB
e90c506f3b Vendor MAC Retention File Relocate
Relocate the vendor MAC retention file to /var/db directory.
 a) It's more at home here with other network interface stuff.
 b) Friendlier to write cycle sensitive media in a RAM disk enabled system.
2017-04-26 18:06:32 -03:00
NOYB
d9c3f61aad Vendor MAC Restore Logic
Only use the vendor MAC retention file for restoring the vendor MAC when not booting.
 a) During boot up the current MAC that is obtained from the system is the vendor MAC.
 b) Using this eliminates the inefficient need to open the vendor MAC retention file for every interface during system boot up.
2017-04-26 18:06:26 -03:00
NOYB
f2a19d7774 Spoof MAC Var Name
Rename 'spoof_mac' var to generic 'mac_addr'.
 a) It may be the vendor MAC or a spoofed MAC.
 b) Update the comment re: not reapplying an already applied MAC.
2017-04-26 18:06:13 -03:00
Renato Botelho
358354b9f7 Fix #7120: Restore vendor mac address when spoofmac is set to blank 2017-04-26 18:05:59 -03:00
Renato Botelho
deb15e0d35 Retain vendor MAC address for all interfaces during boot. Ticket #7011 2017-04-26 18:05:25 -03:00
jim-p
9e721fea09 Encode hostname and other output for DHCP lease status. Fixes #7497
(cherry picked from commit a260eda559)
2017-04-26 13:28:09 -04:00
jim-p
cad0d5bc8d Always add the CN as the first SAN when creating a certificate in the GUI or an automatic GUI self-signed certificate. Per RFC 2818, relying on the CN to determine the hostname is deprecated, SANs are required. Chrome 58 started enforcing this requirement. Fixes #7496 2017-04-26 09:50:20 -04:00
Sergio Carlos Morales Angeles
4d473e17dd Add expiration field to NDP listing
(cherry picked from commit fec2c3b73f)
2017-04-25 11:11:51 -03:00
Phil Davis
039f3db577 Fix #7493 only check interface IP if static
(cherry picked from commit 8c6190e82f)
2017-04-25 11:01:38 -03:00
Phil Davis
1ed363656f Avoid invalid arg error when saving WoL widget
when there are no WoL entries
(cherry picked from commit 66a5b767b1)
2017-04-25 10:55:14 -03:00
xygrec
f56fb70c0c Update services.inc
(cherry picked from commit 2e3768baa8)
2017-04-21 10:59:12 -03:00
xygrec
6459f82b0b Update services_dyndns_edit.php
(cherry picked from commit df4c21fc24)
2017-04-21 10:59:09 -03:00
xygrec
f7118bc892 Update dyndns.class
(cherry picked from commit 74533d4128)
2017-04-21 10:58:08 -03:00
xygrec
f290e28b12 Update services.inc
(cherry picked from commit 1bfa06953e)
2017-04-21 10:58:08 -03:00
PiBa-NL
7663fe003d trafficgraphs, divide bandwidth by time when statistics where gathered to smooth out bumps in the graphs
(cherry picked from commit eddb01316c)
2017-04-21 10:56:41 -03:00