Luanti logo

IRC log for #luanti-dev, 2025-09-26

| Channels | #luanti-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:10 book` joined #luanti-dev
00:51 MTDiscord joined #luanti-dev
01:05 Eragon joined #luanti-dev
01:09 turtleman joined #luanti-dev
02:38 aliasreadytaken joined #luanti-dev
04:00 MTDiscord joined #luanti-dev
04:07 MTDiscord joined #luanti-dev
04:51 panwolfram_ joined #luanti-dev
04:55 book` joined #luanti-dev
05:01 MTDiscord1 joined #luanti-dev
05:08 SFENCE joined #luanti-dev
05:15 mrcheese joined #luanti-dev
05:26 SFENCE joined #luanti-dev
05:30 mrcheese joined #luanti-dev
06:09 BuckarooBanzai joined #luanti-dev
06:47 mrcheese joined #luanti-dev
07:06 YuGiOhJCJ joined #luanti-dev
08:26 MTDiscord2 joined #luanti-dev
09:19 MTDiscord3 joined #luanti-dev
11:35 turtleman joined #luanti-dev
12:41 mrcheese joined #luanti-dev
13:50 wrrrzr joined #luanti-dev
13:50 mrcheese joined #luanti-dev
13:51 wrrrzr joined #luanti-dev
14:04 repetitivestrain !tell Krock there's a typo in my username in https://github.com/luanti-org/docs.luanti.org/pull/279
14:04 repetitivestrain "repetetivestrain"
14:04 repetitivestrain oh it's ~tell here
14:04 repetitivestrain ~tell Krock there's a typo in my username in https://github.com/luanti-org/docs.luanti.org/pull/279
14:04 ShadowBot repetitivestrain: OK.
14:31 MTDiscord joined #luanti-dev
14:56 [MatrxMT] <White_lord> Хуесосы
15:23 MTDiscord4 joined #luanti-dev
17:23 SFENCE joined #luanti-dev
17:28 SFENCE joined #luanti-dev
17:36 SFENCE joined #luanti-dev
17:40 SFENCE joined #luanti-dev
19:01 MTDiscord <.elysian__> Hello, I am working on an IRC system and would like to know if it would be possible to modify Minetest slightly so that it can directly receive HTTP requests (without disabling mod security) and avoid polling (checking every few seconds to see if there is a new message).
19:05 sfan5 possible, certainly
19:05 MTDiscord <.elysian__> Yeah but how?..
19:06 sfan5 have you looked into using luasocket via the insecure environment?
19:07 MTDiscord <.elysian__> Yes, but it's complicated because luasocket contains other dependencies, so minetest refuses.
19:07 sfan5 that sounds weird because other people have successfully used it
19:09 MTDiscord <.elysian__> It only works if I disable global security, which I would like to avoid in order to maintain a minimum level of security.
19:15 jonadab Handling data that come from the public internet is _inherently_ a security risk at some level; code that does so has to be very careful about assumptions that it makes.
19:16 jonadab At least lua code shouldn't have to worry about things like buffer overruns.  Probably.  Unless the interpreter is buggy.
19:17 MTDiscord <.elysian__> Yes, I know, I'll stay on the local network. I think I've found a solution.
19:41 sfan5 you dont need to disable global security to use it
21:34 MTDiscord <warr1024> I had a hard time getting luasockets to work, but work it did.  And my use case was rather weird, because I specificaly wanted unix-domain sockets, not the "usual" kind (TCP) that all the existing examples were for.
21:35 MTDiscord <warr1024> https://gitlab.com/sztest/szutilpack/-/blob/master/szutil_chatsocket/init.lua?ref_type=heads#L66-82
21:36 MTDiscord <nathan4220776> Do you really need to do this?
21:37 MTDiscord <nathan4220776> Maybe you could set up a proxy program that minetest server traffic goes through.
21:37 MTDiscord <nathan4220776> Then you could spoof minetest chat packets in order to connect irc and minetest.
21:41 repetitivestrai- joined #luanti-dev
22:05 MTDiscord <luatic> Elysian: You're probably looking for the "temporarily set require to insecure require, undo that later" hack.
22:06 MTDiscord <luatic> But unless you're very careful (e.g. by using ie.setfenv) never to invoke anything that can be hooked, the sandbox is effectively weakened at that point.
22:32 panwolfram joined #luanti-dev

| Channels | #luanti-dev index | Today | | Google Search | Plaintext