aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring, move arg parsing and sig handler out of main.HEADmasterHarald Eilertsen2019-05-091-15/+24
|
* Clean up socket on termination.Harald Eilertsen2019-05-092-1/+10
|
* Handle client disconnects more gracefully.Harald Eilertsen2019-05-092-8/+30
| | | | | | 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
|
* Add readmeHarald Eilertsen2019-05-081-0/+58
|
* 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-075-0/+781