Minetest logo

IRC log for #minetest, 2021-06-10

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:01 luizsabino MinetestBot thank you, I see this pdf, but it's old, my router dont has the same options like fowarding port just virtual server and dmz, I setup both and doesn't work
00:02 entuland eheehh, the bot taking all the credit :P
00:02 entuland what's your router model?
00:03 luizsabino :')  entuland I'm noob, sorry
00:03 entuland np :)
00:03 luizsabino my router is TOTOLINK A3002R v2
00:05 luizsabino I'm start the server on terminal with minetest --server --worldname My World --terminal. Is right?
00:05 entuland the world name may not be okay
00:05 entuland the sample in the page I linked mentions "world_name"
00:05 luizsabino at localnetwork I connect
00:06 entuland oh okay, so it's not like the name should not have spaces or the alike
00:06 entuland if that works, then the issue is likely in the port forwarding
00:06 entuland which you seem not having managed to do
00:07 entuland I checked the docs there but there is nothing specific for that version
00:08 entuland check this one: https://www.totolink.net/data/upload/20190830/c3858219dc994df2396bb0fc0e4457e3.pdf
00:08 entuland see if it matches with your router admin interface
00:09 MTDiscord <Warr1024> you can have spaces in a name but you need to know how to quote things so that the command line knows the difference between spaces in things and spaces between things
00:10 MTDiscord <Warr1024> Port forwarding is often a mess, and often very hardware-specific and sometimes ISP-specific such that it's very hard to get outside help beyond testing and telling you if it works or not.
00:11 MTDiscord <Warr1024> I know at least one person who's behind strict NAT at the ISP level and thus is literally unable to open forwarded ports, and the MT server he runs at home relies on a VPN connection.
00:12 entuland fun times... sigh
00:12 entuland on some routers I had to telnet to even be able to change the DNS
00:12 luizsabino entuland yes, I do like the pdf shows.
00:12 entuland and I was lucky that such commands weren't even blocked
00:13 luizsabino @MT
00:13 MTDiscord <Warr1024> One thing you can do is try hosting something that's not MT, like a web server, and see if you can forward a port to that
00:13 MTDiscord <Warr1024> that at least will help you differentiate between whether it's the network or the MT setup that's your problem
00:13 MTDiscord <Warr1024> though of course that also assumes you have some idea how to set up some other kind of server
00:13 entuland they were able to connect locally, so I guess the MT server is running properly
00:14 entuland despite the lack of quoting around the name with space
00:14 luizsabino MTDiscord I understand you, something like lamp?
00:14 entuland s
00:14 MTDiscord <Warr1024> "locally" as in "same machine" or "different machine on same local network"
00:14 MTDiscord <Warr1024> it could also be a host-level firewall thing
00:15 MTDiscord <Warr1024> MTDiscord is the name of the relay bot; ya gotta look at the name after that
00:15 MTDiscord <Warr1024> Presumably it wouldn't be worth someone's trouble to pretend to be a bridge bot by just typing another nickname at the beginning of everything they say
00:15 luizsabino sorry
00:16 MTDiscord <Warr1024> np, just warning you so you don't get confused when it starts looking like MTDiscord is arguing with itself
00:16 entuland MTDiscord++ :P
00:16 MTDiscord <entuland> entuland, shut up
00:16 luizsabino I have a server at laptop and I connect from my phone, it's ok. But I need to be able to connect external my network
00:17 MTDiscord <Warr1024> okay, good, that means MT okay, and host firewall okay, only the router to worry about...
00:17 entuland work out the port forwarding first, now that you have the correct instructions
00:17 MTDiscord <Warr1024> router and ISP I guess :-/
00:17 MTDiscord <Warr1024> if it's being blocked at the ISP level then that is extra annoying and the options to work around it get pretty lousy.
00:17 MTDiscord <Warr1024> I rarely see that though...
00:19 luizsabino this is my conf at router https://imgur.com/qgXtsfk
00:20 MTDiscord <Warr1024> Do you have the correct external IP?
00:20 MTDiscord <Warr1024> you go to like a whatismyip.com to get it
00:20 MTDiscord <Warr1024> also "service type HTTP" looks weird next to "port 30000" and "protocol UDP" so I'm hoping that's just a label and doesn't imply any kind of like protocol analysis or anything.
00:22 entuland probably it's just to autofill the ports
00:22 entuland the protocol should be correctly set to UDP
00:22 luizsabino yes I get, it's a dynamic ip but I allways check before test
00:22 entuland if you got the internal IP right as well, and if your ISP isn't doing dodgy things, you should be good to go
00:23 luizsabino about the http I guess weird too there is others options
00:23 luizsabino I suspect about ISP
00:23 entuland you tried already after doing those changes and it's still not working?
00:25 luizsabino yes since yesterday
00:25 luizsabino there is more options instead http https://imgur.com/XBWV2Ns
00:27 MTDiscord <Warr1024> one thing I might try is an external port scan service.  I know grc.com has a port scan called "Shields Up" that will scan at least the first like 1024 ports or so and tell you which ones are open, closed, or "stealth" (no response)
00:27 entuland sorry, I'm still not sure whether you tried _now_ after setting up the port forwarding
00:28 MTDiscord <Warr1024> if you can get your ports to mostly show up one way, like closed, but a few of them come back as no response, then your ISP is probably blacklisting specific ports.  A lot of them do that with the Windows File Sharing ports and stuff
00:28 MTDiscord <Warr1024> Yeah, you should probably retest now just to make sure your problem is still a problem.  Make sure you get a fresh IP.
00:29 MTDiscord <Warr1024> IIRC you can get a free dynamic DNS name from minetest.land or something so you don't have to keep telling players new IP addresses every time yours changes
00:30 Hawk777 The GRC scan also lets you enter custom ports, but I don’t know if it will do UDP or only TCP.
00:32 luizsabino I'm at GRC
00:33 Edgy1 joined #minetest
00:35 luizsabino I don't know about this result
00:35 entuland that website may not be probing those UDP ports
00:36 luizsabino Please, see the result https://imgur.com/7a656Hn
00:36 entuland google "udp port test", you should get plenty of online services
00:37 entuland so that you can check the specific port you're opening
00:39 luizsabino if I want to host a server, what kind I should to find? VPS?
00:41 entuland no idea, sorry
00:41 entuland port scanning gave any result?
00:43 Edgy1 what does response code 429 mean
00:43 entuland too many requests
00:44 rubenwardy https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
00:44 Edgy1 I keep getting that on a new server
00:44 Edgy1 have seen it on some others too
00:44 Edgy1 perhaps I've exceded the limit?
00:46 Edgy1 perhaps i should bind a few to a different IP
00:56 MTDiscord <entuland> Running any mods?
00:57 MTDiscord <entuland> (assuming it may even make a difference)
01:43 hanetzer joined #minetest
02:26 delta23 joined #minetest
03:22 Supersonic joined #minetest
03:23 Conrad joined #minetest
03:27 ghoti Edgy1: to be clear, were you getting a 429 error from *minetest*, or some other HTTP service?
03:31 Edgy1 ghoti: servers.minetest.net
03:31 Edgy1 I had too many servers announcing same bind. I bound some to a different IP and the problem went away
03:32 Edgy1 almost all my domains are portable, thankfully
03:36 ghoti Ah, so you ran afoul of a rate limit in nginx. I don't know what protection servers.minetest.net has, but it's nice to see that it's not nothing. :)
03:36 ghoti I recall nginx having "limit_req_status" and "limit_conn_status" controls which are easy to set up.
04:47 logger56 joined #minetest
04:48 wsor4035 joined #minetest
04:50 Noclip[m] joined #minetest
05:04 bwarden joined #minetest
05:37 TomTom joined #minetest
05:58 Flabb joined #minetest
05:59 valhalla joined #minetest
06:04 independent_ joined #minetest
06:12 CWz_ joined #minetest
06:16 y5nw joined #minetest
06:28 sfan5 @entuland btw, trying to probe UDP ports via scanning is rarely useful
06:28 sfan5 it is possible and might work
06:28 sfan5 but almost always you're better of testing if Minetest responds using !up
06:29 sfan5 off*
06:43 logger56 joined #minetest
07:09 Sven_vB joined #minetest
07:23 independent_ i find it funny that i use vodafone, and so does ywang XD and it's not even a monopoly XD
07:33 jluc joined #minetest
08:03 specing_ joined #minetest
08:18 thomas__ joined #minetest
08:25 entuland joined #minetest
08:34 entuland thanks for the info, sfan5, but I'm not sure what command is that
08:56 delta23 joined #minetest
09:05 sfan5 belongs to MinetestBot
09:05 sfan5 !up ctf.rubenwardy.com:30001
09:05 MinetestBot ctf.rubenwardy.com:30001 is up (24ms) (IPv6)
09:08 entuland ah, nice
09:13 entuland !tell luizsabino you can use MinetestBot to check your server, run this without quotes in this channel or /msg Minetest bot directly: "!up your_public_ip_or_domain:30000" (suggested by sfan5)
09:13 MinetestBot entuland: I'll pass that on when luizsabino is around
09:13 entuland argh, I misspelled MinetestBot
09:36 sfan5 I'm sure they'll figure it out
09:41 entuland eh, I wanted to get it right cause they were getting confused by messages relayed by MTDiscord yesternight :P
10:03 calcul0n__ joined #minetest
10:57 Wuzzy joined #minetest
11:14 Wuzzy joined #minetest
11:27 y5nw joined #minetest
11:55 Kimapr5 joined #minetest
12:08 y5nw_ joined #minetest
12:24 y5nw joined #minetest
12:46 calcul0n_ joined #minetest
13:01 Supersonic joined #minetest
13:10 delta23 joined #minetest
13:42 Supersonic joined #minetest
13:48 erlehmann does minetest have a maximum number of entities?
13:59 sfan5 2^16
14:00 sfan5 without protocol changes a server could be modified to infinite entities as long as not more than 2^16 are visibile to any given client
14:01 sfan5 this is assuming you mean "number of entity instances in active blocks"
14:02 celeron55 if you mean types of lua-defined entities, i think you're just limited by memory
14:05 MTDiscord <Liso> I guess ‭65.536‬ different visible entities  is good enough xD
14:14 kamdard joined #minetest
14:23 MTDiscord <IhrFussel> sfan5, what do you mean? What's the limit right now then? I thought that limit already only applies to visible/loaded entities
14:23 MTDiscord <IhrFussel> Don't tell me there is some hardcoded max value of entities stored in the DB
14:24 sfan5 there isn't
14:24 MTDiscord <IhrFussel> Then why did you mention that a server would have to be modified in order to only count visible entities
14:25 MTDiscord <IhrFussel> Does it count entities per server session by default?
14:25 sfan5 ???
14:26 MTDiscord <IhrFussel> "without protocol changes a server could be modified to infinite entities as long as not more than 2^16 are visibile to any given client" <<
14:26 sfan5 it would be possible to modify the server to have more than 2^16 loaded entities, without modifying the protocol
14:27 MTDiscord <IhrFussel> OKay but in any case the server only counts visible ones towards the limit then?
14:27 sfan5 only visible/loaded entities count toward 2^16 like I said
14:29 celeron55 the global active object id value is 16 bit, and entities exist as active objects when they're not stored in a mapblock in their static saved state
14:30 celeron55 when they're saved and inactive, they don't have an id at all
14:30 celeron55 (except that a mod might give them an unique id for identification purposes)
14:36 Fixer joined #minetest
15:37 Extex joined #minetest
15:48 Sven_vB joined #minetest
15:49 independent_ joined #minetest
15:53 Noisytoot joined #minetest
16:06 independent_ joined #minetest
16:09 independent_ joined #minetest
16:15 y5nw joined #minetest
16:33 erlehmann hey what is a regex to capture coords from logs for censorship?
16:33 erlehmann i mean
16:33 erlehmann redaction
16:33 SwissalpS joined #minetest
16:33 MTDiscord <Warr1024> shouldn't be hard to do something like ((-?\d+)[,\s]+){2}(-?\d+)
16:34 MTDiscord <Warr1024> I wrote a tool that scrapes logs, finds all coordinates, and then prints out lines where the matching coordinates are within a certain distance of input coords, i.e. for finding stuff that happened near a place
16:34 MTDiscord <Warr1024> redacting logs is pretty easy though, I just use logrotate.
16:37 MTDiscord <Warr1024> To submit a request to have your info purged from the logs on my server, you just need to write your request on a slip of paper, light a pentagram of candles in a darkened room, and then burn your request in the very center.  Your request will be completed within 5 days.
16:38 MTDiscord <Warr1024> Also on a side note the log retention period for my server is 5 days.
17:02 Talkless joined #minetest
17:12 reumeth joined #minetest
17:13 erlehmann <Warr1024> shouldn't be hard to do something like ((-?\d+)[,\s]+){2}(-?\d+)
17:13 erlehmann LOL
17:13 erlehmann that does not work
17:13 erlehmann and yes
17:13 erlehmann everyone thinks it is easy
17:15 MTDiscord <Warr1024> It IS easy, it's just not SO easy that I can do it for you without actually looking at the problem.
17:15 erlehmann the problem is to redact coordinates in server logs
17:15 MTDiscord <Warr1024> The nasty part is probably accounting for various different format variations, like the different delimiters between numbers, parens, spacing, decimals and negatives, etc.
17:15 MTDiscord <Warr1024> Yeah, so go solve it
17:16 MTDiscord <Warr1024> and then once you do THEN maybe someone will have a regex to capture coords from logs.
17:16 MTDiscord <Warr1024> I don't have your logs, and I don't know what-all mods you have or how they present coordinates in custom log messages, so I can't really do anything from here other than give you a direction to look.
17:16 MTDiscord <Warr1024> that regex I gave you is probably a decent starting point and will catch some of the things, so you just need to adjust it to capture the rest
17:22 MTDiscord <Warr1024> It's probably a problem that has been solved before, but the people who solved it never published their results, and nobody would know where to look for them anyway even if they did.
18:03 independent_ joined #minetest
18:08 independent_ joined #minetest
18:13 y5nw joined #minetest
18:34 independent_ joined #minetest
18:42 independent_ joined #minetest
18:46 Flabb joined #minetest
19:40 Alias joined #minetest
20:00 specing_ joined #minetest
20:07 CeeGee joined #minetest
20:11 independent_ pls help pls, i have error and need help pls https://pastebin.com/fvHs3rPm
20:13 sfan5 advtrains doesn't seem happy with a truncated or otherwise damaged file
20:14 y5nw Report that to the advtrains mailing list
20:15 y5nw independent_: try disabling strict loading. That was a known bug under Windows (afaik it has been fixed now)
20:15 reumeth joined #minetest
20:17 independent_ im not using windows and i dont know where and how? what is the config name?
20:17 y5nw Also for whatever reason the file descriptor(?) apparently gave nil when reading a line
20:17 y5nw independent_: minetest.conf
20:17 y5nw Switching to mobile
20:19 y5nw joined #minetest
20:21 y5nw independent_: apparently you got an empty file, and serialize_lib does not like not having a header at all, I suppose
20:22 independent_ so... what is the setting name?
20:23 y5nw serialize_lib_strict_loading
20:23 independent_ thx
20:23 y5nw Except I just realized it might not help
20:23 independent_ moment of truth....
20:24 independent_ loading my huge list of mods...
20:25 y5nw Apparently if you disable strict loading you end up either loading .new or an empty table
20:26 independent_ i think it skipped the error, with soem red text and continuation
20:27 y5nw You should probably go ahead and read the warnings
20:27 independent_ yay, conenction established!
20:27 independent_ did, nothing important to me. https://pastebin.com/20MFu9uP
20:28 independent_ aye, i fucking messed up
20:28 y5nw I literally told you that about a minute ago ...
20:29 independent_ no, not that. the map.sqlite broke
20:29 independent_ all my old areas no longer exist ;_;
20:29 independent_ and i have likely overwritten the only version, unless i unzip a ZIP and see what exists of my server
20:32 y5nw I could try to make a mod that tries to restore data from corrupt/incomplete advtrains data, but that would be way later as I already have enough things to do and I don't think such a backup recovery mod would go very far in particular
20:32 independent_ especially with my nonexistent knowladge of mienetst modding
20:33 y5nw Time to learn MT modding then
20:33 independent_ "and the award of ths stupidest mientest server admin goes to.... 56independent for almost losing the map or overwriting it"
20:34 y5nw Not really. Once I literally did "rm -rf *" in my home directory ... (wasn't intentional though, and I ended up restoring from a backup and partly with testdisk IIRC)
20:35 independent_ well... i dont think you are an admin, knowing how you are an active moderator of the laggiest server in all of minetest (although 56i-server is racing to try to win)
20:37 y5nw minetest.register_globalstep(function() while true do end) -- Problem solved
20:37 independent_ does that disable minetest from doing anything?
20:38 y5nw No, except it just hangs the server since that thing infinitely loops (can't test it right now though)
20:39 independent_ haha XD, laggiest server
20:39 independent_ i mean //playable//, but also //not playable//.
20:40 y5nw Also I did host a MT server for a while, except it was mostly private (it was publicly accessible but had a default password and was not on the serverlist)
20:41 independent_ hmm...  a bit like me, just that it is publicly availible, but not on the server list.
20:41 independent_ i think im going to cry as i have lost all of my progress online. i have lost the slow lowlands plot, and smallchurch. until i found the map,sqlite wich ws inide my trash
20:41 y5nw Plus, I'm quite sure there are more laggy servers than the ones I play on
20:41 independent_ *find
20:41 independent_ XD yeah
20:44 y5nw I was forced to make a backup (no, I don't do backups particularly often either) earlier today after I noticed (or, KDE, which apparently now has a disk status check) that the hard drive I use for /home might fail soon-ish
20:45 independent_ i aim to make daily backups, using cron
20:46 independent_ but i failed, and thus didnt lose a day of progres, an entire week of progress.
20:47 y5nw Afaik there are enough automated backup softwares out there if you are too lazy to make backups yourself, and I would recommend backing up to a different drive than the one you use for your MT world
20:48 y5nw and/or use RAID (I personally don't have experience with that though, but afaik it helps)
20:49 independent_ i use my webbook as the server, and use scp+crotnab to pick up the crontab bakcups made on the webbooks
20:49 independent_ i should automagically delete old backups, but then thats effort. effort i dont want to do.
20:51 y5nw Or compress them on the remote server (assuming the scp server you use can handle that amount of compression)
20:52 independent_ i do,  (relativelY) locally. i zip, then take the zip over
20:53 y5nw There are also backup softwares that do incremental backups
20:54 y5nw independent_: my experience is that xz and zstd produce better results (I haven't systematically tested that though, I simply concluded that after archiving some of my random stuff a while ago and noticed it)
21:00 independent56 i made this joke https://pastebin.com/kE4hzr0s
21:00 independent56 pleas laugh
21:04 y5nw Coincidentally I was working a bit earlier today on a patch to replace Arabic numerals woth Babylonian numerals :P
21:05 y5nw s/woth/with/
21:06 independent56 it was a cheesy joke i made in chemistry, text coming soon
21:07 independent56 https://pastebin.com/8w6Jc2Ge
21:09 independent56 joined #minetest
21:11 independent56 https://pastebin.com/DYEJmHLx yes, i am looking for map.sqlite in exactly the wrong way. but it will eventually work.
21:13 independent56 joined #minetest
21:14 independent56 honestly.... was the map.sqlite staring in my face all day long?
21:14 independent56 im testing,,,, god i hope it works....
21:14 independent56 aye, this is nothing like the previous drama. this time i ahve to claim full responsibility, and i have full access to the holder of all my work.
21:32 independent56 joined #minetest
21:52 erlehmann joined #minetest
21:53 independent56 haha, my backups are compound. they contain previous backups :man_facepalming:
21:59 independent56 joined #minetest
22:00 Sven_vB joined #minetest
22:05 independent56 joined #minetest
22:10 independent56 well goodnight, and i feel sad for the loss of map.sqlite
22:18 independent56 http://2.26.38.198/dokuwiki/doku.php?id=downtime:migration_failure
22:22 independent56 here is the page about this mistake, so you can get a better overview.
22:22 independent56 https://pastebin.com/Hg2um1f4
23:23 Alias2 joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext