180 Commits

Author SHA1 Message Date
funtimes909 e4422fcb93 Add last_seen field to database migration script 2026-04-06 12:30:40 +12:00
funtimes909 e31e407f45 spawn country tracking in a new tokio task 2026-04-05 18:38:12 +12:00
funtimes909 1d88e59bb3 run scanner on start 2026-04-05 18:10:41 +12:00
funtimes909 8219292672 Improvements to scanning code 2026-04-05 18:06:00 +12:00
funtimes909 dfc0626126 ignore anonymous players if requested 2026-04-05 14:16:38 +12:00
funtimes909 e72e51f60c fix clippy lints 2026-04-05 12:57:18 +12:00
funtimes909 de74ed9f7d remove RescanPriority field from rescanner 2026-04-05 12:23:32 +12:00
funtimes909 805e006a48 config changes 2026-04-05 12:19:39 +12:00
funtimes909 56dc141a78 Move some country tracking setup to the tracking module 2026-04-05 11:51:13 +12:00
funtimes909 76b4b7aedd Setup country tracking on start 2026-04-05 00:46:27 +13:00
funtimes909 35b1f55a8a Significantly optimize updating the countries table (30+ minutes to < 20 seconds) 2026-04-04 23:25:28 +13:00
funtimes909 87eca4bb5d Change config to use lazy_static! 2026-04-04 12:37:03 +13:00
funtimes909 9ad447ecc3 Database work 2026-04-03 18:35:28 +13:00
funtimes909 ea5c3c3aa9 Add postgres migrations 2026-04-02 20:13:06 +13:00
funtimes909 021317d6f9 Codebase refactor 2026-04-02 17:21:02 +13:00
funtimes909 cbfe695cea fix(codebase): Minor fixes everywhere 2025-06-12 23:23:00 +12:00
funtimes909 f2a449f251 Merge branch 'database-address-information'
# Conflicts:
#	src/database.rs
2025-06-12 22:01:52 +12:00
funtimes909 f7422b1090 fix(codebase): Run clippy and inline some code 2025-06-12 13:53:47 +12:00
funtimes909 11cccf8343 fix(rescanner): General improvements 2025-06-11 16:59:58 +12:00
funtimes909 d03db92586 Merge remote-tracking branch 'origin/main' 2025-06-10 00:11:21 +12:00
funtimes909 10e5c4a7da factor(rescanning): Refactor to fix rescanning not working at all 2025-06-10 00:10:50 +12:00
funtimes909 67bfcf98cd fix(country_tracking): Minor small fixes 2025-06-07 22:00:00 +12:00
funtimes909 4a296d7a10 feature(country_tracking): Part 7: Getting country codes from database and updating servers with country information 2025-06-05 22:36:09 +12:00
funtimes909 ef08a11cd7 feature(country_tracking): Part 6: Async task to update the database every day 2025-06-05 19:28:39 +12:00
funtimes909 b4653c1caf feature(country_tracking): Part 5: General improvements 2025-06-05 19:01:59 +12:00
funtimes909 66247823cb feature(country_tracking): Part 4: Parsing JSON and inserting into countries table 2025-06-05 15:12:40 +12:00
funtimes909 99500d6c23 feature(country_tracking): Part 3: Creating the countries table 2025-06-04 23:10:46 +12:00
funtimes909 8b0918c5db feature(country_tracking): Part 2: Downloading and decompressing the json file 2025-06-04 22:02:12 +12:00
funtimes909 80e3e88c03 feature(country_tracking): Part 1: Config changes 2025-06-04 13:39:24 +12:00
Funtimes909 b792ccc65d update README 2025-06-03 11:55:18 +12:00
Funtimes909 38214317b7 Update README 2025-06-02 23:22:59 +12:00
Funtimes909 34aa89703a Update README with new discord server invite 2025-06-02 11:38:25 +12:00
funtimes909 301a083bde Update README with example masscan config 2025-05-23 15:00:35 +12:00
funtimes909 ac0fd37d3d fix(database): Refresh connections every 24 hours 2025-05-23 14:36:39 +12:00
funtimes909 000c6fc14c fix(database): Don't ignore servers that have no description 2025-05-23 14:31:23 +12:00
funtimes909 5492efd510 fix(scanner) replace Pool<Postgres> in scanner struct with Arc<Pool<Postgres>> 2025-05-23 14:09:03 +12:00
funtimes909 90400bdc47 feature(database): Replace transaction with a Pool<Postgres> allows updating as servers are found rather than at the end of each scan 2025-05-23 14:06:04 +12:00
funtimes909 dd26eafbb1 Fix some stuff 2025-05-23 01:35:23 +12:00
funtimes909 aa11099dfd Small refactor to protocol.rs 2025-05-22 23:41:30 +12:00
funtimes909 b6ddf9d4c2 Small bug fixes 2025-05-22 17:39:50 +12:00
funtimes909 b01f84188e Stream results from postgres again this time for real guys 2025-05-22 17:27:00 +12:00
funtimes909 cef3ed7f86 Ping and update servers as they are found within masscan 2025-05-22 15:03:28 +12:00
funtimes909 f89685d510 minor changes to protocol code 2025-05-21 19:53:54 +12:00
funtimes909 b9fef636ba update cargo dependencies 2025-05-21 16:36:15 +12:00
funtimes909 b74c9a41ee Revert mutex change 2025-05-21 11:52:38 +12:00
funtimes909 ea49ba396d Better error handling for networking code 2025-05-21 00:19:22 +12:00
funtimes909 e6b40f1290 replace standard library mutexes with parking_lot mutexes for slightly better performance 2025-05-21 00:13:35 +12:00
funtimes909 92b984be70 rewrite code to ping servers, hopefully fixes an issue where servers could allocate a large amount of memory 2025-05-20 22:50:26 +12:00
funtimes909 e774c935e0 Codebase refactor part 5: General code cleanup and bug fixing 2025-05-17 01:05:28 +12:00
funtimes909 fd8ce6ac91 Codebase refactor part 4: Abstraction over scanning servers from a vec for both masscan and postgres seems to be working 2025-05-16 17:09:59 +12:00