IRC logs of Libera.Chat #BZFlag for Tuesday, 2021-10-19

*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has joined #bzflag00:33
*** alfa1 <alfa1!~alfa1@host4.181-14-186.telecom.net.ar> has quit IRC (Remote host closed the connection)01:12
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has quit IRC (Quit: Quit.)01:44
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 258 seconds)02:13
*** Sgeo_ <Sgeo_!~Sgeo@user/sgeo> has joined #bzflag06:50
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)06:51
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has quit IRC (Ping timeout: 245 seconds)07:23
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag07:53
*** Sgeo_ <Sgeo_!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)07:57
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has quit IRC (Quit: You have been kicked for being idle)09:00
blast007macsforme: https://www.macworld.com/article/347466/2021-mac-mini-design-m1x-price-release.html14:12
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag14:12
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag15:08
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has quit IRC (Quit: You have been kicked for being idle)16:00
blast007I'm considering splitting the Join Game menu into "Play Online" and "Play Offline" (or simlar wording), where Play Offline would be for LAN discovery or direct connect.16:00
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag16:01
blast007So part of that would be improving the LAN discovery to find servers on non-standard ports.  Using mDNS/DNS-SD would be one way to improve discovery.16:01
blast007I've played with an mDNS library and managed to advertise a service.16:02
blast007Do we think there would be instances where people would want to manually type in a hostname/port for a server that uses central auth?16:03
*** alfa1 <alfa1!~alfa1@host74.190-137-39.telecom.net.ar> has joined #bzflag16:05
blast007allejo: I've also played around with ORY Hydra for replacing our weblogin16:06
blast007they have a sample node/express app for providing the login and consent UI and I've replicated that with a small Symfony PHP site16:07
blast007Hydra itself isn't an identify provider, so we'd hook the login/consent stuff into our existing system16:07
blast007I have a good bit of a phpBB plugin done that would let us login and register accounts through an API, so we could tie that into the login/consent app16:08
alfa1what is wrong with phpbb login system? can't show well on cellulars?16:17
blast007you mean the weblogin system?  at this point I'm not suggesting that we stop using phpBB for our auth backend.16:18
blast007our current weblogin system can't support IPv616:19
alfa1but I guess phpbb will make a support for the future16:20
allejoblast007: instead of "Play Offline" I'd think "Play Local" or "Play on LAN" would be better apt. but i like that idea16:20
blast007alfa1: I don't know what you mean16:20
blast007allejo: yeah, that sounds better16:20
blast007I want a better Start Server menu too16:21
alfa1I don't know if you refer (about IPv6) only to the forum page or also to the game auth system16:21
blast007maybe a map site that it ties in with so you can download published maps right from the client16:21
allejore: ORY Hydra. not familiar with it but willing to explore it. so it'd be the central auth and phpbb would just auth with that?16:21
blast007alfa1: our current token system links a token to an IP address.  With IPv6, it might be that the client/browser requests a token from one IP and talks to the server with another IP, so it will not match and thus be invalid.16:22
blast007And we're already having issues with people behind carrier-grade NAT where their requests to different servers don't come from the same IP16:22
alfa1apt.: aptitude?16:23
blast007allejo: https://github.com/ory/hydra   the first paragraph there gives a bit of overview16:23
blast007alfa1: https://www.dictionary.com/browse/apt16:25
allejodefinition #4 in this context16:25
blast007mDNS/DNS-SD is pretty cool.  We could include multiple TXT records.  For instance, we could have a server description and the configuration hex values as TXT records, so you wouldn't have to query each server individually to fetch that.16:27
alfa1Ory Hydra... I hope you all never will trust on a third party to do auth...16:27
blast007alfa1: ....16:27
blast007it would literally be a thing we host ourselves that ties in to our own authentication system16:28
blast007it just provides a way for us to be an OpenID Connect provider16:28
blast007basically, a much better version of our weblogin16:29
allejoaww here I was about to suggest we do Facebook login16:30
blast007allejo: that'd be part of the login/consent app ;)16:30
allejooh right hehe16:30
alfa1ah thanks, since it was "apt." with period I thought on an abbreviation16:31
allejonah. it was a period to end the sentence16:33
blast007There will be the creation of one or more Symfony sites.  I'm wanting a new interface for account registration and management that is outside of phpBB.  Something that looks a bit more professional and is more clear that it's for a game account.16:34
blast007That same site might also host the consent/login UIs for Hydra16:34
alfa1apart from being an OpenID provider (which I don't know what other benefit could give), is it only the IPv6 issue the reason to the possible change? (if I understood all until now)16:35
blast007alfa1: no16:35
blast007OpenID Connect and OAuth2 can do more16:36
alfa1allejo: ah! I use upper case in that case :)16:36
blast007we could include additional information in the login token (or whatever it's called in OAuth land)16:37
blast007for instance, we could give the user the option to pass their email address to the provider they're logging in to16:37
blast007I'm not yet sure what identifier we'd provide16:37
blast007some providers use the email address as the identifier16:37
blast007actually, *most* probably do that16:38
allejoalfa1: i wish i could. my Shift key is broken :p16:39
alfa1note: FSF (or at least R. Stallman) says the word "open" is at start suspicious and we see it both on OpenID and on OAuth (Open Authorization)16:39
blast007ALLEJO: LIFE PRO TIP: JUST USE ALL CAPS16:39
alfa1use caps lock :)16:40
blast007alfa1: are you just spouting nonsense or do you have an actual point?16:40
alfa1also you have 2 shift keys :P16:40
blast007mention of what the subject for OIDC can be: https://github.com/ory/hydra-login-consent-node/blob/master/src/routes/login.ts#L99-L10116:42
alfa1my intention is never to annoy, blast007; I am wish you were more patient in general16:42
alfa1and I wish*16:43
blast007I am a very patient person.16:43
allejostallman also refuses to visit any website. he emails a server that then downloads the HTML and emails it back to him16:45
alfa1I am trying to understand this complex subject16:45
alfa1I don't support all RS views BTW; just saying that16:45
alfa1it was just a note while I am trying to read and understand what is the issue and what bebefits the nww sysem could give apart from the auth system16:46
alfa1new16:47
blast007https://en.wikipedia.org/wiki/OpenID#OpenID_Connect_(OIDC)16:48
alfa1but the world is infected of third part systems in some way which want all the data, you know; just a fair worrying16:48
alfa1and/or centralized systems16:48
blast007this isn't third-party16:48
alfa1I know OpenID says it is not cenrtalized but well; I will keep reading16:49
blast007I mean, it's not *written* bus us, but it would be *hosted* by us, so all the data would remain with us.16:49
blast007Hydra is open-source16:49
alfa1I thought on that, yes16:49
alfa1maybe users from bz will use other sites; the inverse way16:50
alfa1continue, please, I don't want to interrupt16:50
blast007there's also this ORY Kratos, which *is* an identity and use management system16:51
blast007https://github.com/ory/kratos16:51
blast007that would tie in with out Ory software16:51
blast007handles registration/login, 2FA/MFA, account verification/recovery, etc16:52
blast007I don't know if that's ready for production use yet16:53
blast007last I had checked, they didn't have 2FA implemented yet16:53
blast007Kratos doesn't have a 1.0 release yet16:54
alfa1excuse me if I am ignorant still: then phpBB doesn't use IPv6 nowadays?16:57
blast007yes16:57
alfa1(or allow)16:57
blast007our forum is accessible over IPv616:57
blast007but my.bzflag.org is not, since the tokens it generates are tied to an IP16:57
blast007the simple fix for game servers could be changing it from being tied to the client IP and being tied to the target server hostname/port16:58
blast007for game servers/clients*16:58
blast007but I'd rather have a better method for weblogin16:58
alfa1"are tied to an IP": IPv4 right?16:59
blast007allejo: I'm assuming a lot would break if we switched BZIDs to UUIDs, right?  :)16:59
allejo100%16:59
blast007what if we did it only for the new OIDC logins?17:00
blast007(and for 2.6 game logins)17:00
blast007alfa1: currently, yeah17:01
allejoI feel like that'd allow us to have a smoother migration process, so i'd be for that17:01
blast007k17:01
allejootherwise we'd have to logic on determining whether something is a BZID or a UUID17:01
blast007it'll break banlists, but meh17:01
alfa1what about making my.bzflag.org working with both IPv4 and IPv6?17:02
allejoi mean, we'd be able to have to migrate banlists too. as long as we have a way to associated BZIDs with new logins17:03
blast007I don't know if I would have a way for that17:03
allejooh no. are we pulling a freenode and will require everything to recreate their accounts? :p17:04
blast007same accounts, just there will be a new UUID associated with them for 2.6/OIDC17:04
blast007I'd store it separately from the forum tables17:05
blast007trying to get away from having a modded phpBB17:05
blast007we have extra fields in our phpBB users table right now for storing the token info17:05
blast007and the bzfls.php directly talks to the phpBB database17:06
blast007actually switches between two databases multiple times per request, IIRC17:06
blast007so I'd have it talk via the new phpBB plugin's API for handling login requests17:06
blast007and part of having that new API is that we could have a way for our new account site to support in-game registration if we'd like17:07
alfa1not sure if this was answered: "what about making my.bzflag.org working with both IPv4 and IPv6?". Also, since making an entire new auth system is complex, make a better system step by step, with secure advance.17:10
alfa1Obviously, if you are having trouble nowadays, try to fix it quickly (and fine if posible; not temporarely).17:11
blast007that's what we're trying to do...17:11
blast007though it probably won't be my.bzflag.org anymore17:11
blast007I'd leave that IPv4 only so that 2.4 keeps working17:11
blast007if I make the IPv6 capable, the old weblogin breaks and 2.4 breaks17:11
blast007there is no way to fix them to work Ipv6 with the current token system17:12
blast007we're doing it for 2.6 because we can force a new way to do it17:12
blast007heck, we put an IPv4 address *in* the server list response right now17:13
blast007so that needs to go away17:13
blast007it isn't actually used either, so it's some old legacy bit of info17:13
alfa1that sounds wrong for me, excuse me: there should be a way to test the client beforehand to see if it's 4 o 6, or not?17:13
alfa1and manage 2 tokens if necessary17:14
blast007*both the client and server need to know how to do the same thing*17:14
blast007no, that's silly17:14
alfa1not 2 tokens at once, but depending on the system17:14
blast0072.4 is pretty much in bug fix only might right now17:14
blast007work needs to progress towards 2.6, and IPv6 support is one aspect17:15
blast007there's a TON of things we need to fix to add IPv6 support in the game17:15
alfa1ah17:15
blast007the ban system for instance17:15
alfa1the main problem is the client then17:15
blast007no, client and server17:15
alfa1ok17:16
blast007neither of them can support IPv6 right now17:16
blast007both need many changes17:16
blast007but we can fix the login method even before we support IPv6 in the client/server17:17
alfa1then nowadays a player which only has IPv6 available (not sure how forced is this being worldwide) won't be able to play right?17:21
blast007right17:21
blast007and players behind CG-NAT also might not be able to play with a registered account17:21
alfa1ok17:22
blast007this especially applies to those on mobile broadband17:22
alfa1returning to the auth system: I compare it with web browsing: the server tests the browser and display the version which will work17:23
blast007CG-NAT is where a bunch of users are behind a limited set of public IPs, so their IP isn't dedicated to their home17:23
alfa1displays*17:23
blast007alfa1: if you're still suggesting that we make it work for 2.4, then stop17:23
blast007there's 0 point to it in 2.417:24
blast0072.4 can never support IPv617:24
blast007it's easier to just tell 2.6 to talk to a different server17:25
alfa1ok, I see17:26
alfa11 server for IPv4 (2.4) and other for IPv6 (2.6) for auth17:26
blast0072.6's list server would have IPv4 and IPv617:27
blast007maybe we'll switch the format to JSON as well17:27
blast007the old code/format is pretty meh17:27
blast007We can break the mold with 2.6.  If we have a better way to do it, we can do it.17:28
alfa1yes, seems a good cause17:29
alfa1and still not making all client/server to work with IPv6; just auth, right?17:29
alfa1as a first step17:30
alfa1this will help with CG-NAT as well?17:32
blast007by the time 2.6 is out, the client/server will support IPv617:34
blast007but again, we can do the login stuff before that17:34
blast007the work will be done in master (2.5)17:34
blast007we'll do another 2.4 release soon so that the fix for Open Broadcaster Software (OBS) game capture is fixed17:35
alfa1ok17:37
blast007allejo / macsforme: can you think of anything else we were doing to fix in 2.4 before the next release?  I'd probably merge PRs 288 and 289.  I also have some code somewhere that adds haptic feedback for SDL2, but maybe that should just go into 2.5 along with the joystick improvements (PR 255).17:41
blast007Is there a solution for the code signing on macos?17:41
blast007I haven't tried reproducing issue 287 ("World weapon shots are not colored on radar") but is that something we'd wait to fix for 2.6?17:42
alfa1BTW and before I forget: if email is an option to be used as an identifier (I read it somewhere here), I recommend not to: the less (info), the better. And what's wrong about a nick? Also, multiple nicks should stay as an option.17:44
blast007alfa1: our usernames aren't good identifiers because they can be changed17:45
blast007so for us, I'd use a UUID17:45
alfa1ah they must be static17:45
alfa1I think I read something about BZID before too... what is wrong about a number?17:46
alfa1I need to read all UUID but the idea is no multiple accounts?17:48
blast007sequential IDs tend to be bad for security since it's easy to iterate through all of them18:02
blast007UUIDs have nothing to do with disallowing multiple accounts18:02
blast007it's just a unique ID, in this case a 128-bit number18:02
alfa1ah, I see18:03
JeffM[m]https://wasteaguid.info/18:03
blast007hehe18:03
alfa1JeffM[m]: hi; can you open the private channel to tell you something, please?18:04
blast007what is the "something"?18:04
blast007the same thing you had sent to me?18:04
alfa1why do you ask?18:05
JeffM[m]what private channel? I'm on matrix18:05
alfa1private messagging: matrix sets it to disabled by default18:06
alfa1messaging*18:06
blast007alfa1: stop spamming users in our channel18:21
blast007you're probably violating Libera.chat rules too18:21
JeffM[m]it is very inaproprite.18:22
JeffM[m]and rather sad18:22
alfa1excuse me but what did I do wrong? I just ask persons in private; persons that I know somewhat.18:24
blast007you're sending the same conspiracy theory stuff to everyone that responds18:25
JeffM[m]sigh18:25
JeffM[m]even if they do not say yes....18:25
blast007oh cool18:26
alfa1only at JeffM[m] I asked twice just because I saw him active just before and the first time I didn't get any answer (I thought it was unactive). But I can stop asking on the channel if it is so annoying. I am not an annoying person, I just asked the question to one person 2 times.18:26
alfa1he was inactive*18:27
JeffM[m]just stop18:27
alfa1and remember I am slow on English, please; it is not my intention to be involved on long talks: while I write an answer others already talk more18:28
alfa1"[15:24:23] <JeffM[m]> even if they do not say yes...." not so true...18:29
JeffM[m]dude, just stop18:31
JeffM[m]you know what that means18:31
allejoblast, i've got nothing else in mind for 2.4. both 288 and 289 seem pretty basic so i have no concerns about including those18:41
allejomacos app signing would be nice to have but last i remember, that was a hassle so i'm not too worried about that for 2.418:42
allejore: world weapon colors on radar. i'd wait for 2.6. potentially could give players an advantage if they know the team color of the shot and know they don't have to dodge it18:42
blast007k18:53
tuponealfa1: stop sending me in private (and also public)19:11
*** alfa1 <alfa1!~alfa1@host74.190-137-39.telecom.net.ar> has quit IRC (Remote host closed the connection)20:17
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has joined #bzflag21:59
*** Zehra <Zehra!~Yukari@user/yukari> has joined #bzflag22:50

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!