aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring, move arg parsing and sig handler out of main.Harald Eilertsen2019-05-091-15/+24
|
* Clean up socket on termination.Harald Eilertsen2019-05-091-1/+9
|
* Handle client disconnects more gracefully.Harald Eilertsen2019-05-091-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 Eilertsen2019-05-081-1/+5
|
* Create a unix socket server to check URLs.Harald Eilertsen2019-05-082-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 Eilertsen2019-05-081-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 Eilertsen2019-05-071-5/+10
|
* Initial commit.Harald Eilertsen2019-05-072-0/+93