evilsocket / evilsocket/opensnitch

error while marshaling: string field contains invalid UTF-8

Open
#467 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14.1k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

Hello there,

Found a bug with a specific program (an interesting one IMO)

```[2021-07-28 16:21:19] WAR Error while asking for rule: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8 - /usr/bin/sqsh (2922337) -> google.com:1433 (proto:tcp uid:1000)
[2021-07-28 16:21:19] ERR Invalid rule received, applying default action
[2021-07-28 16:21:19] WAR Error while pinging UI service: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8, state: READY
```

**To Reproduce**
* Install the package `sqsh` (a mssql client) on Ubuntu 20.04
* Connect to a non existent server (in this case localhost)
* OK interaction
_Prompt should popup_ after typing in password
```
sqsh -S localhost
```

* Error interaction
```
sqsh -S localhost -P foo
```

**Screenshots**
# OK Interaction
![ok_interaction](https://user-images.githubusercontent.com/749515/127362728-98325af0-e1d8-4689-8efd-0257e0b13fcd.gif)

# Error Interaction
![bad_interaction](https://user-images.githubusercontent.com/749515/127362732-7bcf4d02-b832-47b8-bfb7-0b762ae079cd.gif)

**OS (please complete the following information):**
- OS: NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)"
- Kernel: Linux X 5.10.0-1034-oem 35-Ubuntu SMP Wed Jun 23 09:55:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
- Window Manager: KDE

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.