00:02 <+bridge> [ddnet] google keeps giving me german results when I tunnel through germany even though I set my results to be english, how do they even keep making this product more shit over time? 00:03 <+bridge> [ddnet] It's so easy, just stop messing around with it, this used to work perfectly fine, I used to get english results when I picked english 00:03 <+bridge> [ddnet] How am I supposed to find the answer to anything now? Can't even use my untunneled connection because that one gets me italian results 00:03 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1054896888014446713/image.png 00:05 <+bridge> [ddnet] Also, how do these multi billion dollar giants keep producing shitware? SMB binds only to one network interface, with no way to change it except to change the default interface for your entire computer 01:38 <+bridge> [ddnet] It still should register something then right? And for me the Apache proxy worked wonderfully. I could see a server pop up in the master and in the ddnet server log I got the proper responses from the master. 01:38 <+bridge> [ddnet] (@deen) 01:39 <+bridge> [ddnet] On the ddnet Persian master I miss responses in the log and nothing gets registered 01:40 <+bridge> [ddnet] > It still should register something then right? And for me the Apache proxy worked wonderfully. I could see a server pop up in the master and in the ddnet server log I got the proper responses from the master. 01:40 <+bridge> [ddnet] was the server on localhost? 01:40 <+bridge> [ddnet] chillerdragon 01:40 <+bridge> [ddnet] Nope 01:40 <+bridge> [ddnet] Ah wait 01:40 <+bridge> [ddnet] Hmm 01:40 <+bridge> [ddnet] Shit 01:40 <+bridge> [ddnet] Oh wow my test was trash haha 01:41 <+bridge> [ddnet] Good catch Heinrich 01:41 <+bridge> [ddnet] Guess next up is run the tw Server on another vps to better reproduce 01:44 <+bridge> [ddnet] Just run a master server on every vps. EzBut the client only asks one master and expects it to have all entries right? 01:50 <+bridge> [ddnet] yep 01:59 <+bridge> [ddnet] Then just bundle the server.jsons into one. Or edit the client to merge multiple masters.Both weird hacks. But both should work for the Persian empire. 02:00 <+bridge> [ddnet] It would just defeat the purpose of a master server haha 02:00 <+bridge> [ddnet] Heinrich why is localhost so easy and non localhost such a bitch? 02:01 <+bridge> [ddnet] if you proxy the stuff with apache 02:01 <+bridge> [ddnet] (which you should) 02:02 <+bridge> [ddnet] then the masterserver needs some way to get the original IP address 02:02 <+bridge> [ddnet] because the request will come from apache (127.0.0.1) 02:02 <+bridge> [ddnet] Doesn’t Apache set a header by default? 02:02 <+bridge> [ddnet] which header is that? 02:02 <+bridge> [ddnet] X- whatever 02:03 <+bridge> [ddnet] Forwarded For 02:03 <+bridge> [ddnet] Or something 02:03 <+bridge> [ddnet] I used it before in nodejs behind Apache 02:05 <+bridge> [ddnet] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For 02:07 <+bridge> [ddnet] this looks like a bad header 02:07 <+bridge> [ddnet] it has security advice right in the mdn 02:07 <+bridge> [ddnet] Oof 02:07 <+bridge> [ddnet] Yes about non existent proxy’s 02:08 <+bridge> [ddnet] You said one should use a proxy for the master 02:08 <+bridge> [ddnet] yes 02:08 <+bridge> [ddnet] the reverse proxy should set a header to the remote IP address 02:08 <+bridge> [ddnet] I haven't found a simple way to do that with apache in 5 min already 02:08 <+bridge> [ddnet] Also what on earth kind of deranged engineer made apple's implementation of smb? Who in their right mind would copy a file sync in a ui routine? 02:08 <+bridge> [ddnet] My Apache does it by default 02:12 <+bridge> [ddnet] > f any trusted reverse proxies are between the client and server, the final X-Forwarded-For IP addresses (one for each trusted proxy) are trustworthy, as they were added by trusted proxies. (That's true as long as the server is only accessible through those proxies and not also directly). 02:12 <+bridge> [ddnet] I don’t see the problem 02:12 <+bridge> [ddnet] [Edit](https://discord.com/channels/252358080522747904/293493549758939136/1054929198730465320): If any trusted reverse proxies are between the client and server, the final X-Forwarded-For IP addresses (one for each trusted proxy) are trustworthy, as they were added by trusted proxies. (That's true as long as the server is only accessible through those proxies and not also directly). 02:12 <+bridge> [ddnet] [Edit](https://discord.com/channels/252358080522747904/293493549758939136/1054929198730465320): > If any trusted reverse proxies are between the client and server, the final X-Forwarded-For IP addresses (one for each trusted proxy) are trustworthy, as they were added by trusted proxies. (That's true as long as the server is only accessible through those proxies and not also directly). 02:14 <+bridge> [ddnet] If the ip is 127.0.0.1 assume trusted proxy and fallback to the header. Sounds sane to me. 02:16 <+bridge> [ddnet] ah, here: https://stackoverflow.com/a/46659932 02:16 <+bridge> [ddnet] do something like this: 02:16 <+bridge> [ddnet] ``` 02:16 <+bridge> [ddnet] RequestHeader set TRUEIP "%{REMOTE_ADDR}s" 02:16 <+bridge> [ddnet] ``` 02:16 <+bridge> [ddnet] and then start the masterserver with `--connecting-ip-header TRUEIP` 02:17 <+bridge> [ddnet] chillerdragon: can you try that? 🙂 02:18 <+bridge> [ddnet] Bruv I’m on ma phony 02:19 <+bridge> [ddnet] ok 02:19 <+bridge> [ddnet] My header is set anyways 02:19 <+bridge> [ddnet] what header? 02:19 <+bridge> [ddnet] I don’t know what you mean 02:19 <+bridge> [ddnet] x-forwarded-for? 02:19 <+bridge> [ddnet] https://httpd.apache.org/docs/current/mod/mod_proxy.html#x-headers 02:19 <+bridge> [ddnet] Yes 02:19 <+bridge> [ddnet] I use this proxy pass 02:19 <+bridge> [ddnet] I don't want to implement that, seems like a security vulnerability waiting to happen 02:20 <+bridge> [ddnet] the masterserver currently only supports getting the IP address via a header, not from a comma-separated list 02:20 <+bridge> [ddnet] the masterserver currently only supports getting the IP address via a header, not from a comma-separated list in a header 02:21 <+bridge> [ddnet] Yes but is it a security vuln if you only look at the http header if the tcp header is 127.0.0.1 ? 02:22 <+bridge> [ddnet] Im sure it can be but then the admin messed up anyways 02:22 <+bridge> [ddnet] Always take the first entry and you good 02:22 <+bridge> [ddnet] yes, because apache will merge the existing X-Forwarded-For header into the one forwarded 02:22 <+bridge> [ddnet] I don't want to get into parsing this obviously badly thought out header 02:23 <+bridge> [ddnet] Yea ignore those 02:23 <+bridge> [ddnet] It will prefix the ip from the tcp header 02:23 <+bridge> [ddnet] when the secure alternative is so easy 02:23 <+bridge> [ddnet] `RequestHeader set TRUEIP "%{REMOTE_ADDR}s"` 02:23 <+bridge> [ddnet] Okay now I get you 02:23 <+bridge> [ddnet] `--connecting-ip-header TRUEIP` 02:23 <+bridge> [ddnet] This modifys the tcp header? 02:24 <+bridge> [ddnet] no. this throws away any TRUEIP header the client sends 02:24 <+bridge> [ddnet] and sets the TRUEIP http header to the connecting client IP address 02:25 <+bridge> [ddnet] Yea I got it 02:25 <+bridge> [ddnet] the advantage is that this either doesn't work (because the admin hasn't configured it) or works securely 02:25 <+bridge> [ddnet] Is that your intended way of doing it since you have a cli flag for that in the master? 02:25 <+bridge> [ddnet] if I started parsing the x-forwarded-for header, I'm sure some admin will manage to mess it up so it's insecure 02:25 <+bridge> [ddnet] yes 02:25 <+bridge> [ddnet] If yes that’s the 2nd sentence your readme could enjoy \:p 02:25 <+bridge> [ddnet] yep 02:26 <+bridge> [ddnet] Also might be the fix for our Persian friend \:) 02:26 <+bridge> [ddnet] plus the hints for logging 02:26 <+bridge> [ddnet] yes, sounds like it 02:26 <+bridge> [ddnet] Yes true 02:27 <+bridge> [ddnet] add the following to the apache proxy config: 02:27 <+bridge> [ddnet] ``` 02:27 <+bridge> [ddnet] RequestHeader set TRUEIP "%{REMOTE_ADDR}s" 02:27 <+bridge> [ddnet] ``` 02:27 <+bridge> [ddnet] and then start the masterserver with `--connecting-ip-header TRUEIP` 02:27 <+bridge> [ddnet] (pinging @OR-MAhdiyar 02:27 <+bridge> [ddnet] (pinging @OR-MAhdiyar) 02:28 <+bridge> [ddnet] good night 02:28 <+bridge> [ddnet] Gn8 babe 05:30 <+bridge> [ddnet] @heinrich5991 ok ty gn 11:56 <+bridge> [ddnet] @Jore 😄 11:56 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1055076383006670848/image.png 12:14 <+bridge> [ddnet] i don't have that :I 12:14 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1055080885449400440/image.png 12:18 <+bridge> [ddnet] Its not in settings 12:18 <+bridge> [ddnet] Its pop-up when you start the game 12:18 <+bridge> [ddnet] Afaik:justatest: 12:22 <+bridge> [ddnet] there i only get the 2 options, play and cancel button 12:23 <+bridge> [ddnet] This is most likely still a beta feature 12:23 <+bridge> [ddnet] https://help.steampowered.com/en/faqs/view/276C-85A0-C531-AFA3 12:23 <+bridge> [ddnet] I had a choice first few starts of the game, then its just opened it how it wants to 12:26 <+bridge> [ddnet] good news is that the latest amd driver works again, so the bug is fixed 12:26 <+bridge> [ddnet] so soon the option will be gone anyway 12:28 <+bridge> [ddnet] @murpi if u want u can already drop it now tbh 12:28 <+bridge> [ddnet] it didnt help for many ppl anyway, and all new players hopefully dont have this driver or use the latest one 12:28 <+bridge> [ddnet] That's great news :brownbear: 12:29 <+bridge> [ddnet] ah yeah i upgraded to steam beta too, got it now ^^ 13:13 <+bridge> [ddnet] chillerdragon: does https://github.com/ddnet/ddnet/pull/6173 look good to you? 13:25 <+bridge> [ddnet] does DDNet now have a required dependency on discord-game-sdk?! 14:09 <+bridge> [ddnet] no 14:09 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/327f7de09bd59057b31e185c6645bb87f1a62999/CMakeLists.txt#L126-L127 14:10 <+bridge> [ddnet] ah good. kinda unfortunate, that the AUR `ddnet` package has that on :/ 14:11 <+bridge> [ddnet] i think u can disable game support in discord per app 14:11 <+bridge> [ddnet] and if u dont run discord it shouldnt do anything anyway i guess 14:11 <+bridge> [ddnet] thats not the point, the point is that i dont even trust that proprietary lib as far as i can throw it. 14:12 <+bridge> [ddnet] mhh, but then arch is maybe not the right distribution, they allow some non free packages 14:12 <+bridge> [ddnet] but i guess u can overload the AUR flags? 14:12 <+bridge> [ddnet] shouldnt be too hard 14:12 <+bridge> [ddnet] its not that bad that they allow them, but i prefer not using them. 14:13 <+bridge> [ddnet] yea i guess ill have to redo the PKGBUILD 14:14 <+bridge> [ddnet] maybe we can try out 14:14 <+bridge> [ddnet] https://github.com/EmbarkStudios/discord-sdk 14:14 <+bridge> [ddnet] ^^ 14:15 <+bridge> [ddnet] oh that sounds nice! 14:15 <+bridge> [ddnet] ive seen that theres a cargo config in DDNet now, but how much of it has been RIIR'd? 14:16 <+bridge> [ddnet] for the first release we just wanted to make sure to not drop any users by using rust 14:16 <+bridge> [ddnet] why would anyone bother? 14:16 <+bridge> [ddnet] so there is not really any code inside the client yet except rust_version 😄 14:16 <+bridge> [ddnet] to drop users? 14:17 <+bridge> [ddnet] i mean there are some exotic archicetures out there XD 14:17 <+bridge> [ddnet] and even tho not the case, some libs also only support newer windows 14:17 <+bridge> [ddnet] and even tho not the case here, some libs also only support newer windows 14:17 <+bridge> [ddnet] so theres arches that DDNet supports but rust doesnt? 14:17 <+bridge> [ddnet] i guess so 14:18 <+bridge> [ddnet] thats gotta be insanely exotic tho 😛 14:18 <+bridge> [ddnet] yes 14:18 <+bridge> [ddnet] however, since our main audience is windows. we also have to make sure to not drop win7 for example 14:18 <+bridge> [ddnet] i am already happy we dont support win xp anymore lmao 14:19 <+bridge> [ddnet] lol 14:19 <+bridge> [ddnet] why is win7 endangered tho? 14:19 <+bridge> [ddnet] well win7 support ended 14:19 <+bridge> [ddnet] at some point libs will use win8+ API 14:20 <+bridge> [ddnet] there's been winapi changes? i thought that stuff didnt change in at least 10 years lol 14:20 <+bridge> [ddnet] they dont really change it in a sense of dropping smth 14:20 <+bridge> [ddnet] but they simply add new calls 14:35 <+bridge> [ddnet] just suggesting 14:35 <+bridge> [ddnet] i always searching for unfinish map and find this maps i don't like ( so if i can put sign on them will be nice) 14:35 <+bridge> [ddnet] + 14:35 <+bridge> [ddnet] put in filter servers to i can for example hide insane or show only novice 😛 14:35 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1055116182337896459/image.png 14:35 <+bridge> [ddnet] nah i will put in Github 14:44 <+bridge> [ddnet] See some of the supported archs here https://www.freshports.org/games/DDNet/ and here: https://packages.debian.org/unstable/ddnet 14:52 <+bridge> [ddnet] @Jupeyy_Keks i was thinking about the render multiple demos thing… how would you want to see it done: a) ingame menu with rendering minimized and maybe even progress bar in the demo list b) startup parameter like `ddnet —renderdemo demo.demo` or c) extract the whole render code and have a pure command line tool. Nice about c) would be, you could put it on a server and render without gui. What‘s most realistic too? 14:55 <+bridge> [ddnet] with vulkan you can™️ render without any surface attached. but i dunno if u can do it xD 14:55 <+bridge> [ddnet] 14:55 <+bridge> [ddnet] a) shouldnt be too hard if i understand correctly. simply add smth like a demo queue to render 14:55 <+bridge> [ddnet] b) is basically the easiest i'd say 14:55 <+bridge> [ddnet] 14:55 <+bridge> [ddnet] for a) if u want it to work minimized u need to create a background framebuffer, since minimizing changes the surfaces -> changes framebuffer (and u need to add it for both opengl and vk, and for OpenGL i think it is only core since 3.0) 14:55 <+bridge> [ddnet] c) with vulkan you can™️ render without any surface attached. but i dunno if u can do it xD 14:55 <+bridge> [ddnet] 14:55 <+bridge> [ddnet] a) shouldnt be too hard if i understand correctly. simply add smth like a demo queue to render 14:55 <+bridge> [ddnet] b) is basically the easiest i'd say 14:55 <+bridge> [ddnet] 14:55 <+bridge> [ddnet] for a) if u want it to work minimized u need to create a background framebuffer, since minimizing changes the surfaces -> changes framebuffer (and u need to add it for both opengl and vk, and for OpenGL i think it is only core since 3.0) 15:53 <+bridge> [ddnet] I‘ll start with trying b 15:53 <+bridge> [ddnet] I‘ll start with trying b, start parameter 16:00 <+bridge> [ddnet] i am looking for a way to install bam 0.4 next to version 0.5 to build old projects, is that possible on wsl? 16:00 <+bridge> [ddnet] u could simply name it bam_04 16:02 <+bridge> [ddnet] what's the name of the package for 0.4? 16:02 <+bridge> [ddnet] ah u mean from a repo 16:02 <+bridge> [ddnet] oh yeah 16:02 <+bridge> [ddnet] i guess u need to compile yourself 16:04 <+bridge> [ddnet] http://ftp.us.debian.org/debian/pool/main/b/bam/bam_0.4.0-5_amd64.deb 16:04 <+bridge> [ddnet] 16:04 <+bridge> [ddnet] unpack this 16:04 <+bridge> [ddnet] rename the bam binary, then put it into /usr/bin with sudo 16:05 <+bridge> [ddnet] the package does not do lot more 16:07 <+bridge> [ddnet] in worst case u might need https://packages.debian.org/stretch/liblua5.1-0 too 16:07 <+bridge> [ddnet] i dunno how exactly its linked 16:07 <+bridge> [ddnet] easier is probs to compile urself ^^ 16:55 <+bridge> [ddnet] This is fine for me, but when I put it on another VPS, it has a problem 18:53 <+bridge> [ddnet] are you a true arch user? 18:53 <+bridge> [ddnet] u should know how to use a PKGBUILD without a aur helper 18:54 <+bridge> [ddnet] download the PKGBUILD 18:54 <+bridge> [ddnet] modify it to ur liking 18:54 <+bridge> [ddnet] donne 18:54 <+bridge> [ddnet] thats the way linux is done 18:55 <+bridge> [ddnet] i know 😛 i even have my own server that builds PKGBUILDs automatically for me 😛 18:55 <+bridge> [ddnet] i just havent bothered yet. 18:55 <+bridge> [ddnet] i would edit the PKGBUILD but i am no longer a arch user 18:55 <+bridge> [ddnet] i upgraded to gentoo 18:55 <+bridge> [ddnet] and i maintain the ebuild 18:55 <+bridge> [ddnet] :BASEDDEPT: 20:44 <+bridge> [ddnet] @Ryozuki planning on keeping as co-maintainer? 20:45 <+bridge> [ddnet] not rly sry 20:45 <+bridge> [ddnet] mainly cuz i wiped my arch xD 20:47 <+bridge> [ddnet] Let me know if you have any other suggestion, preferably that involves still having the feature enabled.