-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #482 from NethServer/master
Merge master to v7
- Loading branch information
Showing
7 changed files
with
245 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
============= | ||
Threat shield | ||
============= | ||
|
||
.. note:: | ||
|
||
The configuration page of this module is available only in the new Server Manager. | ||
|
||
|
||
The threat shield blocks connections to and from malicious hosts, preventing attacks, service abuse, malware, and other cybercrime activities. | ||
The package can be installed both on firewalls and on machines without a red interface, like mail servers | ||
or PBXs. | ||
|
||
Configuration | ||
============= | ||
|
||
First, access the threat shield web interface to set the download URL for the blacklists. | ||
|
||
After setting the URL, the administrator can choose what :index:`blacklist` categories should be enabled. | ||
Each category can have a :guilabel:`Confidence` score between 0 and 10. | ||
Categories with a higher confidence are less prone to false positives. | ||
|
||
Enabled categories will be automatically updated at regular intervals. | ||
|
||
The download URL must contain a valid GIT repository. | ||
Administrators can choose a public repository, like `Firehol ipsets one <https://github.com/firehol/blocklist-ipsets>`_, | ||
or subscribe to a commercial service. If the machine has a Community or an Enterprise subscription, the access to the URL | ||
will be authenticated using system id and secret. | ||
|
||
Experienced administrators can also `setup their own blacklist server <https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-blacklist.html#setup-a-blacklist-server>`_. | ||
|
||
Whitelist | ||
--------- | ||
|
||
In case of a false positive, a host or a CIDR can be added to the local :guilabel:`Whitelist`. | ||
If the firewall module is installed, the whitelist will also accept host and CIDR firewall objects. | ||
|
||
Hosts should be added to the whitelist only for a limited period of time. | ||
As a best pratice, when a false positive is found, please report it to the blacklist maintainer. | ||
|
||
Incident response | ||
================= | ||
|
||
The :guilabel:`Analysis` page displays most recent attacks which can be filtered by source, destination, protocol and port. | ||
Using the :guilabel:`Check IP address` section, administrators can also check if a given IP has been blacklisted by an enabled category. | ||
|
||
For advanced log analysis with regular expressions support, use the :guilabel:`Logs` page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
==================== | ||
Microsoft SQL Server | ||
==================== | ||
|
||
.. note:: | ||
|
||
This package is not supported in NethServer Enterprise | ||
|
||
|
||
With this package you can install Microsoft SQL Server on NethServer: it will automatically configure Microsoft repository and default configuration. | ||
|
||
|
||
Installation | ||
============ | ||
|
||
To install this package go on Software Center and install Microsoft SQL Server application. Otherwise use this command: :: | ||
|
||
yum install -y nethserver-mssql --enablerepo=nethforge | ||
|
||
Default configuration | ||
===================== | ||
|
||
When installed the module generates a default configuration as follow: | ||
* Auto-generated SA password saved in /var/lib/nethserver/secrets/mssql | ||
* Create default MSSQL databases (master, model, msdb, tempdb) | ||
* Allow access to SQL service from Green network on default port 1433 | ||
|
||
User can change access network from Cockpit Services page or from Firewall section. | ||
|
||
Database example: :: | ||
|
||
mssql-server=service | ||
ProductId=express | ||
ProductKey= | ||
TCPPort=1433 | ||
access=green | ||
status=enabled | ||
|
||
|
||
Install mssql-server service | ||
============================ | ||
|
||
The package needs a first configuration. Please access the Cockpit application and select MSSQL edition between these options: Evaluation, Developer, Web, Express, Standard, Enterprise. Alternatively it is possibile also to insert a product key. | ||
|
||
You can do this also from command line: :: | ||
|
||
config setprop mssql-server ProductId <version> | ||
signal-event nethserver-mssql-save | ||
|
||
Instead, if you want to configure a product key use these commands: :: | ||
config setprop mssql-server ProductId key | ||
config setprop mssql-server ProductKey <ProductKey> | ||
signal-event nethserver-mssql-save | ||
|
||
.. note:: | ||
|
||
After save event is launched, Microsoft package download will starts: this phase can be long, depending on Internet connection. | ||
|
||
|
||
Now your SQL Server is ready to use! | ||
|
||
|
||
Helpful actions | ||
=============== | ||
|
||
Directly from Cockpit interface you can: | ||
* create a new database under Databases page | ||
* view and change SA password under Settings page | ||
* see SQL Server status in MSSQL Dashboard page | ||
* change SQL Server edition from Settings page | ||
|
||
|
||
.. warning:: | ||
|
||
Don't change SA password from SQL Server, but use Cockpit interface. Otherwise NethServer will not able to load correct informations and perform backup-data. | ||
|
||
|
||
Backup and restore | ||
================== | ||
|
||
Configuration is saved with backup-config event. After you've restored configuration on new server download of MSSQL package will starts in post-config-restore event. | ||
Database are automatically saved in backup-data event. They will be restored in post-restore-data. |