aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update parsing of PhishTank data files.HEADmastermainHarald Eilertsen2024-07-081-15/+1
| | | | | | | | | - Remove special handling of the `phish_id` field in the Phish struct. The source json files now represents the id as a number. - Remove `country` field from PhishDetails. No longer supplied in the json data set. - Rename `verified_time` to `verification_time` in the Phish struct, to match the names used in the data set.
* 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