Merge pull request #194 from luzpaz/misc-typos

Misc. typos
This commit is contained in:
evilsocket 2018-09-13 11:39:35 +02:00 committed by GitHub
commit e9c10b9054
Failed to generate hash of commit
3 changed files with 6 additions and 6 deletions

View file

@ -128,7 +128,7 @@ Rules are stored as JSON files inside the `-rule-path` folder, in the simplest c
| enabled | Use to temporarily disable and enable rules without moving their files. |
| action | Can be `deny` or `allow`. |
| duration | For rules persisting on disk, this value is default to `always`. |
| operator.type | Can be `simple`, in which case a simple `==` comparision will be performed, or `regexp` if the `data` field is a regular expression to match. |
| operator.type | Can be `simple`, in which case a simple `==` comparison will be performed, or `regexp` if the `data` field is a regular expression to match. |
| operator.operand | What element of the connection to compare, can be one of: `true` (will always match), `process.path` (the path of the executable), `process.command` (full command line, including path and arguments), `provess.env.ENV_VAR_NAME` (use the value of an environment variable of the process given its name), `user.id`, `dest.ip`, `dest.host` or `dest.port`. |
| operator.data | The data to compare the `operand` to, can be a regular expression if `type` is `regexp`. |

View file

@ -19,7 +19,7 @@ for url in lists:
print "Downloading %s ..." % url
r = requests.get(url)
if r.status_code != 200:
print "Erorr, status code %d" % r.status_code
print "Error, status code %d" % r.status_code
continue
for line in r.text.split("\n"):

View file

@ -120,7 +120,7 @@ class UIService(ui_pb2_grpc.UIServicer, QtWidgets.QGraphicsObject):
if self._version_warning_shown == False:
self._msg.setIcon(QtWidgets.QMessageBox.Warning)
self._msg.setWindowTitle("OpenSnitch version mismatch!")
self._msg.setText("You are runnig version <b>%s</b> of the daemon, while the UI is at version " + \
self._msg.setText("You are running version <b>%s</b> of the daemon, while the UI is at version " + \
"<b>%s</b>, they might not be fully compatible." % (daemon_ver, ui_ver))
self._msg.setStandardButtons(QtWidgets.QMessageBox.Ok)
self._msg.show()