funtimes909
a58de4cc41
Implement requested changes
2025-04-26 01:01:23 +12:00
funtimes909
af7c8f7a2a
Move ping function to utils file
2025-04-26 00:26:09 +12:00
funtimes909
63aa7bb7da
Cleaner error messages
2025-04-24 14:02:31 +12:00
funtimes909
0f7bccdbbc
Move scan results to a utils file, more config cleanups
2025-04-24 00:56:01 +12:00
funtimes909
49f77cb747
Change config to reflect new changes
2025-04-23 22:32:20 +12:00
funtimes909
4412a04760
Scan servers found by masscan using a JoinSet
2025-04-23 22:08:09 +12:00
funtimes909
48f70b9cfe
Clean up more masscan code
2025-04-23 19:14:10 +12:00
funtimes909
8d09204c81
masscan stuff
2025-04-23 01:33:56 +12:00
funtimes909
e9dba45ab1
cleanup
2025-04-22 16:52:13 +12:00
funtimes909
c491b01d2d
separate scanning code to a new file
2025-04-22 16:34:00 +12:00
funtimes909
b777fec7bf
Beginning of player tracking
2025-04-22 01:42:08 +12:00
funtimes909
e90648a128
link with mold, remove unused dependencies anyhow and futures
2025-04-21 23:15:14 +12:00
funtimes909
c9e38cdf77
exclude tasks that returned errors from database transaction commit message
2025-04-21 22:43:02 +12:00
funtimes909
204a156028
accidentally keep commiting a limit on database results while I'm testing 💀
2025-04-21 22:24:34 +12:00
funtimes909
428f8ded8e
Minor misc nitpicks and comment changes, return results from the database in order of oldest first
2025-04-21 22:21:54 +12:00
Amy
5d2d277f31
Merge pull request 'Only commit to the database once per scan' ( #6 ) from database-parallel-batched-commit into main
...
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/6
2025-04-21 21:07:52 +12:00
Rohan Bhela
f7a25a8350
Raise semaphore limit to 2000
2025-04-20 20:52:59 -07:00
Rohan Bhela
85376911f0
Convert warn on missing MOTD to debug
2025-04-20 20:18:00 -07:00
Rohan Bhela
f371ed2cb5
Fix error handling
2025-04-20 16:29:25 -07:00
Rohan Bhela
5bdc154b44
Only commit to database once per scan
2025-04-20 16:18:17 -07:00
funtimes909
a606a1c3e1
deserialize complex and simple MOTD strings (doesn't do much as of now)
2025-04-20 22:04:22 +12:00
Rohan Bhela
dde41315c4
Print summary of all errors encountered while pinging servers
2025-04-19 23:59:46 -07:00
funtimes909
74cf2b9a57
Cleaner and more idiomatic database code, should allow way more servers to be updated in the DB
2025-04-20 17:21:21 +12:00
Amy
7626529dc6
Merge pull request 'Fix extremely high cpu usage, scan locking up halfway through' ( #5 ) from objobj-ping-server-fix into main
...
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/5
2025-04-20 15:19:28 +12:00
funtimes909
9768ed047f
Merge remote-tracking branch 'origin/objobj-ping-server-fix' into objobj-ping-server-fix
2025-04-20 15:05:11 +12:00
funtimes909
e4f103da55
Fix most servers having errors parsing
2025-04-20 15:04:44 +12:00
Rohan Bhela
e3d4a23ed3
Fix database not connecting
2025-04-19 18:28:56 -07:00
Rohan Bhela
33a2575ef6
Merge main
2025-04-19 18:19:37 -07:00
funtimes909
3b9be2f2aa
Remove servers from database that have opted out, create 50 postgres connections on startup
2025-04-20 12:49:54 +12:00
Rohan Bhela
be4f1a5c48
debug-log server ping errors
2025-04-19 15:50:00 -07:00
Rohan Bhela
d2fbf29264
fix:
...
- Server scan locking up, (by moving timeout to `run` function)
- Progress bar not updating when error is returned from `run`
TODO: Figure out why a good half of servers are timing out
2025-04-19 13:18:17 -07:00
Rohan Bhela
1eb6a9f462
Use tracing for logging
2025-04-19 12:27:02 -07:00
Rohan Bhela
a8004699f6
Construct vec with capacity
2025-04-19 12:16:17 -07:00
Rohan Bhela
d724073c22
Fix extremely high cpu usage
2025-04-19 11:25:48 -07:00
Amy
6129898942
Merge pull request 'Pin dependencies to only major version, slightly more idiomatic code' ( #4 ) from objobj-misc-nitpicks into main
...
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/4
2025-04-19 17:05:49 +12:00
Rohan Bhela
0daa7c5fe2
Typo 💀
2025-04-18 14:18:53 -07:00
Rohan Bhela
26373e971e
Follow convention on enum variant names, remove redundant Ok and ?
2025-04-18 14:13:22 -07:00
Rohan Bhela
4bc04e4539
Remove format! in .expect calls, remove ! from end of .expect message as Rust terminates the message with a :
2025-04-18 14:10:48 -07:00
Rohan Bhela
483afcaf47
Pin dependencies to major version instead of minor version
2025-04-18 14:07:22 -07:00
funtimes909
ebdfa86f72
Don't scan servers that have opted out
2025-04-18 15:58:45 +12:00
Amy
9d3f0e5ce9
Merge pull request 'Response parsing rewrite' ( #3 ) from response-rewrite into main
...
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/3
2025-04-18 15:19:22 +12:00
funtimes909
173445d6d1
Add MOTD parsing
2025-04-18 12:55:51 +12:00
funtimes909
20f9247a5a
change unwrap_or() to is_some()
2025-04-18 12:39:26 +12:00
funtimes909
8fa7727bab
Complete rewrite of how servers are parsed, now correctly identifies server type too
2025-04-17 02:34:59 +12:00
funtimes909
8561db4e0a
Stream results from the database instead of saving every address at once, seems to have some memory savings
2025-04-16 22:01:43 +12:00
funtimes909
2895f50cb2
Update Cargo.toml, Comment some code and very minor formatting changes
2025-04-16 19:06:42 +12:00
funtimes909
35bb3160c1
Avoid String allocation by reworking socket creation
2025-04-16 14:15:53 +12:00
funtimes909
e469705d0b
Display time taken for each scan at the end
2025-04-16 13:56:49 +12:00
funtimes909
1363caf951
Formatting improvements
2025-04-16 13:49:44 +12:00
Amy
d12d3d1057
Merge pull request 'Better error handling, spawn tasks with tokio so they run before being awaited' ( #2 ) from objobj/ServerSeekerV2-Rust:main into main
...
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/2
2025-04-16 13:16:52 +12:00