Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactoring, move arg parsing and sig handler out of main. | Harald Eilertsen | 2019-05-09 | 1 | -15/+24 |
| | |||||
* | Clean up socket on termination. | Harald Eilertsen | 2019-05-09 | 1 | -1/+9 |
| | |||||
* | Handle client disconnects more gracefully. | Harald Eilertsen | 2019-05-09 | 1 | -8/+25 |
| | | | | | | Give the client an option to disconnect politely by issuing the `bye` command, but also handle the case where the client just drops the connection in a better way. | ||||
* | Print socket listening addr when ready. | Harald Eilertsen | 2019-05-08 | 1 | -1/+5 |
| | |||||
* | Create a unix socket server to check URLs. | Harald Eilertsen | 2019-05-08 | 2 | -4/+63 |
| | | | | | Set up a simple unix domain socket server to handle requests to check if URLs are phishes or not. | ||||
* | Help deserializer turn numbers and bools into their proper types. | Harald Eilertsen | 2019-05-08 | 1 | -6/+41 |
| | | | | | | | The PhishTank dataset encodes the numeric `phish_id` as a string, and boolean values as "yes" or "no". The default json deserializer from serde isn't able to deserialize these values into their proper types, so we have to helo it a bit. | ||||
* | Handle missing phishtank file. | Harald Eilertsen | 2019-05-07 | 1 | -5/+10 |
| | |||||
* | Initial commit. | Harald Eilertsen | 2019-05-07 | 2 | -0/+93 |