1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-23 02:28:05 +11:00
Commit Graph

277 Commits

Author SHA1 Message Date
071a692f11 Check network device MTUs and split packets accordingly depending on capacity and overhead.
Tally of packet overhead:
 - 16 bytes packet ID
 - 8 bytes type
 - N bytes dest
 - N bytes source
 - 8 bytes port
 - N bytes data
 - 6*2 bytes network card overhead
2024-03-16 12:30:25 +10:00
60931734e3 add libsyslog as a dependency to dss2-server 2024-02-07 15:08:45 +10:00
cad56fe0e0 fix deps for dss2-frontend 2023-11-23 21:38:12 +10:00
3d3be80ea5 add DSS2 to programs.cfg, maybe. 2023-11-23 18:11:38 +10:00
2674bb1201 add new things 2023-11-14 19:54:11 +10:00
bff81dafba add a rpc.unregister function to bring it in line with PsychOS 2023-11-14 19:48:01 +10:00
2f1144041b fix liblzss 2023-11-13 20:36:26 +10:00
26e2bc9db2 update mtar programs.cfg entry 2023-11-13 20:25:51 +10:00
f30cdef8c0 set RPC client environment variable 2023-11-13 14:51:29 +10:00
3a6cad78b5 set proper dependencies for rica 2023-11-12 10:58:22 +10:00
ef7e2366b3 add rica and ricad to oppm listing 2023-11-10 17:53:13 +10:00
b3787b2df8 don't execute the function twice. oops. 2023-11-10 17:37:20 +10:00
012b32a4a9 forgot one 2023-11-03 16:41:18 +10:00
14e50a3f7e move external files to dependencies like they should've been. oops. 2023-11-03 16:39:15 +10:00
39648e07dd attempt #2 2023-11-03 16:06:02 +10:00
d5091f9ec9 let's try it this way 2023-11-03 16:05:08 +10:00
907d25ce91 add rtfs packages for OpenOS 2023-11-03 15:33:34 +10:00
32b7287445 type check RPC calls to address #40, plus do proper error propogation 2023-09-19 23:59:17 +10:00
Izaya
f8903ad587
Merge pull request #36 from Hawk777/fix-listeners-deregistering
Do not unregister listeners on unexpected data
2023-07-27 10:08:33 +10:00
Izaya
98fbf0e7d5
Merge pull request #35 from Hawk777/fix-syslog-without-hostname
Fix syslog running with HOSTNAME unset
2023-07-27 10:07:04 +10:00
Izaya
23915e4737
Merge pull request #37 from Hawk777/fix-wrong-listener
Fix registering the wrong listener
2023-07-27 10:06:36 +10:00
3b0d652e3a more github stupidity 2022-01-06 09:37:55 +11:00
367f661da6 guess I have to include the URIs in the text because github strips them from the HTML 2022-01-06 09:36:26 +11:00
2236265a67 update contact info 2022-01-06 09:22:28 +11:00
b0df805658 add mtar to oppm 2021-05-26 18:48:39 +10:00
Christopher Head
a78a3758f8
Fix registering the wrong listener
The `local_listener` function is obviously intended to be used as the
event listener for locally pushed `syslog` events, to do preliminary
sanity checks and type conversions before calling `wentry`. However, it
was not actually registered as such. Not only does this mean the sanity
checks and type conversions could be skipped, it also means that `rc
syslogd stop` would not work because `wentry` was actually registered as
a listener while `local_listener` was pushed in the `listeners` table,
so `event.ignore` would be passed the wrong value and would not
unregister `wentry`.
2021-01-22 19:26:04 -08:00
Christopher Head
074a980d81
Do not unregister listeners on unexpected data
If a registered event listener callback returns `false`, the listener is
unregistered. A network packet arriving on a different port, or a
message with a missing part, should not cause the syslog system to shut
down. Return `nil` instead of `false` if those sanity checks fail, to
keep the listener registered.
2021-01-22 19:21:23 -08:00
Christopher Head
4f0efd256c
Fix syslog running with HOSTNAME unset
`computer.address` is a function and therefore must be called, not
method-called on directly.
2021-01-22 19:11:26 -08:00
4c462a5d4e add access control support to MTFS 2020-10-17 18:50:30 +11:00
2363890151 added basic ACLs for the RPC library 2020-10-17 18:49:00 +11:00
f0527243b4 add the -d option to exportfs to allow removing exports 2020-10-17 10:45:36 +11:00
69815096fe exportfs does better arg parsing now, can export ro or rw 2020-10-17 10:39:31 +11:00
5679885592 fix cached file type, and cache whether the filesystem is read only 2020-10-14 17:20:12 +11:00
d0933c9967 added a basic outline of the MTFS protocol 2020-10-12 19:36:08 +11:00
11d6966a8a refactored importfs to use one function for all cache access 2020-10-12 19:20:22 +11:00
a3601bc0a3 add metadata caching to mtfs, to increase the speed of, among other things, ls 2020-10-12 19:15:36 +11:00
dd3f922d5c add mtfs to the programs.cfg 2020-10-12 18:15:08 +11:00
ba9c9a3dd7 initial mtfs stuff 2020-10-12 18:09:06 +11:00
c6c471cfcf added the local listener. whoops. 2020-05-05 01:27:07 +10:00
0637da63b4 made minitel.open time out properly, for #30 2020-04-11 12:28:26 +10:00
ddf3a9b17d change default retries to 3 2020-03-23 12:09:53 +11:00
cb3847d1c4 fixed some temporary hangs in fserv 2020-03-13 13:29:52 +11:00
645fcf8270 updated fserv to use threads rather than a coroutine scheduler, added internet proxy support 2020-02-19 20:36:23 +11:00
92a740389e fixed the realtime entry in programs.cfg 2020-01-22 18:21:34 +11:00
d24c914855 add mt-rpc to programs.cfg 2020-01-05 06:26:46 +11:00
f896547ea9 added a usage text to exportcomponent 2019-12-25 16:50:52 +11:00
f7cc00822a added two programs using the RPC library, for exporting and importing programs over the network 2019-12-25 16:29:58 +11:00
effcadc915 bugfix for getChannel 2019-12-20 02:19:35 +11:00
b938640625 improved vtunnel compatibility with real tunnel cards 2019-12-20 02:14:03 +11:00
36d5df5fcc added pcap.lua for the vtunnel bridge, whoops 2019-12-20 01:42:38 +11:00