Skip to content

Commit 95584d9

Browse files
committed
revisited docs for release
1 parent cecaa4e commit 95584d9

File tree

17 files changed

+61
-60
lines changed

17 files changed

+61
-60
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Here is a list of most relevant things to keep in mind.
99
## Table of Contents
1010

1111
- [How to contribute](#how-to-contribute)
12-
- [Table of Contents](#table-of-contents)
12+
- [Table of Contents](#table-of-contents)
1313
- [General guidelines](#general-guidelines)
1414
- [Environment setup](#environment-setup)
1515
- [Code style](#code-style)
@@ -259,8 +259,8 @@ All of the scripts should use the same code style and order of code, without wri
259259
of preferred code style it should be enough to take a look at the existing scripts and figure it
260260
out right away.
261261

262-
Code in scripts is ordered into "sections" which depends script and purpose, in the following way
263-
and may be different if needed for what ever reason:
262+
Code in scripts is ordered into "sections" which depends on script and purpose, in the following
263+
way and may be different if needed for what ever reason:
264264

265265
1. License notice
266266
2. Comment based help
@@ -451,8 +451,9 @@ Tests must pass both Desktop and Core editions of PowerShell on multiple Windows
451451
successful.
452452

453453
To test code on different OS editions you should use Hyper-V and set up virtual machines, to help
454-
you initialize environment on target VM there is a script `Initialize-Development.ps1` which will
455-
set up git, similarly you would run `Initialize-Project` afterwards to finish setting up environment.
454+
you initialize development environment on target VM there is a script `Initialize-Development.ps1`
455+
which will set up git, gpg, ssh, update or install missing modules and start requires system
456+
services.
456457

457458
A hint to quickly run any function from any module in this repository is to run following command
458459
in ex. integrated terminal in VSCode (assuming PowerShell prompt is at project root):
@@ -490,8 +491,8 @@ If you decide to do so it is mandatory that these code additions are done on sep
490491
should then be regularly maintained and merged with develop branch for new changes, up until you are
491492
done.
492493

493-
The plan is to expand this project to manage [nftables][nftables] firewall on linux and other
494-
systems.
494+
It is desired to expand this project to manage [nftables][nftables] firewall on linux and other
495+
systems, but this likely won't happen any time soon.
495496

496497
[Table of Contents](#table-of-contents)
497498

Config/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
Contains configuration files for this project and external programs.
55

6-
Most of these settings are highly specialized for firewall management, which helps to reduce
7-
the pain of settings these things over and over again.
6+
Most of these settings are specialized for firewall management, which helps to reduce
7+
the need to set these things over and over again.
88

99
1. `ProjectSettings.ps1` script globally affects all scripts in this repository.
10-
2. `PSScriptAnalyzerSettings.psd1` contains PowerShell analyzer and code formatting rules.
10+
2. `PSScriptAnalyzerSettings.psd1` contains rules for static code analysis and formatting.
1111
3. `HelpContent` constains cabinet help content which is at the moment of no use.
1212
4. `mTail` contains settings for mTail program.
1313
5. `sysinternals` contains settings for tools form Microsoft's sysinternals suite.

Exports/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
# Exports directory
33

4-
Exported firewall rules and settings are save to this directory.\
5-
Can be reimported automatically, or manually if multiple candidate exports exist.
4+
Exported firewall rules and settings are saved to this directory.
5+
6+
These exports can be reimported automatically, or manually if multiple candidate exports exist.

Logs/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

22
# Logs directory
33

4-
Errors, warning and information logs made by scripts
4+
Errors, warning and information logs made by scripts and modules are
5+
all saved to this directory.

Modules/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

22
# Modules directory
33

4-
Root directory for all project modules
4+
Root directory for modules that are part of this repository.
55

6-
Each module by convention must have it's own folder of same name.
7-
8-
`External` subfolders are 3rd party scripts which are dot sourced into modules.
6+
Each module by design must have it's own folder of same name.

README.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,10 @@ to your firewall.
8787

8888
## Core benefits of this firewall
8989

90-
1. System administrators would usually evade setting up detailed firewall because detailed firewall
91-
configuration is time consuming process, takes a lot of troubleshooting, changes require
92-
testing and security auditing and it only gets worse if you want to deploy firewall to hundreds or
93-
thousands of remote computers, for example not all computers might have same software or restriction
94-
requirements.
90+
1. Detailed firewall configuration is time consuming process, takes a lot of troubleshooting,
91+
changes require testing and security auditing and it only gets worse if you need to deploy firewall
92+
to hundreds or thousands of remote computers, for example not all computers might have same software
93+
or restriction requirements.
9594

9695
2. Unlike firewall rules in control panel, these rules are loaded into GPO firewall
9796
(Local Group Policy), meaning system settings changes or random programs which install rules as
@@ -111,18 +110,18 @@ additional work.
111110
due to ex. uninstalled program, a missing system service which no longer exists, renamed
112111
executable after Windows update and similar reasons.
113112

114-
6. Unlike default (predefined) Windows firewall rules, these rules are more restrictive such as,
113+
6. Unlike predefined Windows firewall rules, these rules are more restrictive such as,
115114
tied to explicit user accounts, rules apply to specific ports, network interfaces, specific
116115
executables, services etc. all of which is learned automatically from target system.
117116

118117
7. Updating, filtering or searching rules and attributes such as ports, addresses and similar is
119-
much easier since these rules are in scripts (serialized), you can use editor tools such as regex,
120-
multicursor or `CTRL + F` to perform bulk operations on your rules, doing this in any firewall GUI
121-
is beyond all pain or not possible due to interface limitations.
118+
much easier since these rules are in scripts, you can use editor tools such as regex, multicursor
119+
or `CTRL + F` to perform bulk operations on your rules, doing this in any firewall UI is not always
120+
possible due to interface limitations.
122121

123-
8. A good portion of code is dedicated to provide cross platform and automated solution to build and
124-
define firewall specialized for target system and users, minimizing the need to do something
125-
manually thus saving you much valuable administration time.
122+
8. A good portion of code is dedicated to provide automated solution to build and define firewall
123+
specialized for target system and users, minimizing the need to do something manually thus saving
124+
you much valuable administration time.
126125

127126
[Table of Contents](#table-of-contents)
128127

@@ -134,13 +133,11 @@ This project `Windows Firewall Ruleset` is licensed under the `MIT` license.
134133

135134
License and Copyright notices are maintained **"per file"**.
136135

137-
[Table of Contents](#table-of-contents)
138-
139136
## Requirements
140137

141138
Following table lists currently tested operating systems
142139

143-
| OS | Edition | Build | Architecture |
140+
| OS | Edition | Version | Architecture |
144141
| ------------------- | ------------- | ----------- | ------------ |
145142
| Windows 10 | Pro | 1809 - 20H2 | x64 |
146143
| Windows 10 | Pro Education | 20H2 | x64 |
@@ -165,7 +162,7 @@ Following table lists currently tested operating systems
165162

166163
- All operating systems 10.0 (Major 10, Minor 0) and above are supported,
167164
but only those editions listed in the table above are actively tested.\
168-
"Build" column indicates tested releases, however only latest builds continue to be tested.\
165+
The "Version" column lists tested releases, however only latest OS builds continue to be tested.\
169166
A list of other untested but supported systems and features is in [The future](#the-future)
170167
- PowerShell "Core" is not built into Windows, you will need to install it separately or use
171168
[Windows PowerShell](Readme/WindowsPowerShell.md) which is part of operating system.
@@ -178,8 +175,8 @@ to easily switch between branches or to contribute code.
178175
own needs or contribution.
179176
- If you get VSCode, you'll also need PowerShell extension for code navigation and PowerShell
180177
language features.
181-
- To navigate and edit code with VSCode, `PSScriptAnalyzer` is recommended otherwise editing
182-
experience may behave really odd due to other project settings.
178+
- To navigate and edit code with VSCode `PSScriptAnalyzer` is requirement, otherwise editing
179+
experience may behave really odd due to various repository settings.
183180
- There are no hardware requirements but if you plan to write code recommendation is min. 8GB of
184181
memory and SSD drive to comfortably work on project, otherwise to just deploy rules to your personal
185182
firewall less than that will work just fine.
@@ -241,7 +238,7 @@ contains rules will be significantly slower (depends on number of existing rules
241238
- All errors and warnings will be saved to `Logs` directory, you can review these logs later if you
242239
want to fix some problem, most warnings can be safely ignored but errors should be resolved.
243240
- Any rule that results in "Access is denied" while loading should be reloaded by executing specific
244-
script again, see [FAQ.md](Readme/FAQ.md) for more information on why this may happen.
241+
script again, see [FAQ](Readme/FAQ.md) for more information on why this may happen.
245242
- If the project was manually downloaded, transferred from another computer or media then you should\
246243
unblock all files in project first to avoid YES/NO spam questions for every executing script,
247244
by running `Scripts\Unblock-Project.ps1`\
@@ -255,7 +252,7 @@ PowerShell console may need to be restarted for "Controlled folder access" chang
255252
user that is Administrator, if you're Administrator on your computer you'll have to either create
256253
standard user account and use that for your everyday life or modify code to allow Administrator
257254
online access.\
258-
See [FAQ entry](Readme/FAQ.md#does-this-firewall-project-give-me-the-right-protection) for more
255+
See [FAQ](Readme/FAQ.md#does-this-firewall-project-give-me-the-right-protection) for more
259256
information why using Administrator account is not recommended for security reasons.
260257
- Software or Windows updates may rename executables or their locations, also user accounts may be
261258
renamed by Administrator, therefore it's important to reload specific rules from time to time as

Readme/CHANGELOG.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11

22
# Changelog
33

4-
Here is a list of changes for each of the releases.\
4+
Here is a list of changes for each of the releases.
5+
56
If you would like to see fresh changes done since last release you can do so on "develop" branch
67
[HERE][changelog]
78

89
## Table of Contents
910

1011
- [Changelog](#changelog)
1112
- [Table of Contents](#table-of-contents)
12-
- [v0.10.0 (develop branch)](#v0100-develop-branch)
13-
- [v0.9.0 (current release)](#v090-current-release)
13+
- [v0.10.0 (current release)](#v0100-current-release)
14+
- [v0.9.0](#v090)
1415
- [v0.8.0](#v080)
1516
- [v0.7.0](#v070)
1617
- [v0.6.0](#v060)
@@ -20,9 +21,7 @@ If you would like to see fresh changes done since last release you can do so on
2021
- [v0.3.0](#v030)
2122
- [v0.2](#v02)
2223

23-
## v0.10.0 (develop branch)
24-
25-
**NOTE:** Changes for unreleased version (develop branch) may change or be announced upfront
24+
## v0.10.0 (current release)
2625

2726
- Modules
2827

@@ -94,7 +93,7 @@ If you would like to see fresh changes done since last release you can do so on
9493

9594
[Table of Contents](#table-of-contents)
9695

97-
## v0.9.0 (current release)
96+
## v0.9.0
9897

9998
- Rules
10099

Readme/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22
# Readme directory
33

4-
Here you will find documentation and reference for things such as
4+
This directory contains project documentation such as:
55

6-
1. Firewall troubleshooting
7-
2. Windows firewall reference
8-
3. Project changelog
9-
4. Random firewall and project related documentation
6+
- Network setup guide
7+
- Development references
8+
- Firewall troubleshooting
9+
- Firewall reference
10+
- Project changelog

Rules/IPv4/Inbound/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
# Inbound directory
33

4-
Root directory for all inbound IPv4 rules
4+
Root directory for all inbound IPv4 firewall rules

Rules/IPv4/Inbound/Software/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
# Software directory
33

4-
Root directory for all inbound IPv4 rules for 3rd party software
4+
Root directory for all inbound IPv4 rules based on software

0 commit comments

Comments
 (0)