~adnano/gemini

6 5

Fw: Re: [ANN] Specification update

Details
Message ID
<2nwrXDTZoz9y3utUr7BVSzjefhaCbv2VEqCxVH97UnIWkV8mh87Bntdmiuk533ez7hNLqozOmUoDjE73Xv5pws-3i8wzZpPDP8wdHU91c3o=@protonmail.com>
DKIM signature
missing
Download raw message
Forwarding the message I sent below to the rest of the mailing list as I accidentally hit "Reply" instead of "Reply All".

Christian Seibold

Sent with ProtonMail Secure Email.

??????? Original Message ???????

On Sunday, November 14th, 2021 at 7:37 PM, Krixano <krixano at protonmail.com> wrote:

> I wanted to write here to confirm that anything using the Gig Framework (https://github.com/pitr/gig) should be doing close_notify correctly, as I checked my capsule with portal.mozz.us for this case. I'll also notify the developer as well.
>
> Christian Seibold
>
> Sent with ProtonMail Secure Email.
>
Details
Message ID
<YUa8g2vbJ1GcQTTomf6Ts0XrG784rbRuWv_RdsVYeY1bFBBVKO0Mky1YYfKnSwGYN7DNUzygVLJmJk3z9DQaCMhXmbJ1IWaDqDb9BodKHsM=@protonmail.com>
In-Reply-To
<2nwrXDTZoz9y3utUr7BVSzjefhaCbv2VEqCxVH97UnIWkV8mh87Bntdmiuk533ez7hNLqozOmUoDjE73Xv5pws-3i8wzZpPDP8wdHU91c3o=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
Correction, I looked into it further. The Gig Framework does the close_notify correctly on most pages, but does not do it for pages that give error codes (I haven't checked all error codes yet, but I have checked the not found error code).

Christian Seibold

Sent with ProtonMail Secure Email.

> ??????? Original Message ???????
>
> On Sunday, November 14th, 2021 at 7:37 PM, Krixano krixano at protonmail.com wrote:
>
> > I wanted to write here to confirm that anything using the Gig Framework (https://github.com/pitr/gig) should be doing close_notify correctly, as I checked my capsule with portal.mozz.us for this case. I'll also notify the developer as well.
> >
> > Christian Seibold
> >
> > Sent with ProtonMail Secure Email.
Details
Message ID
<iUIBX-IDsNwj8k8lYn7P0Jh7pU36Ufii_q-90B1KiY192tShtFD06DDWPwF8tMTwS2ShrOS3TXZIplzJD5m8GSTd0nYDrK_BV5RM0-S5axA=@protonmail.com>
In-Reply-To
<YUa8g2vbJ1GcQTTomf6Ts0XrG784rbRuWv_RdsVYeY1bFBBVKO0Mky1YYfKnSwGYN7DNUzygVLJmJk3z9DQaCMhXmbJ1IWaDqDb9BodKHsM=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
So, I've tested some capsules with agunua. This is the list of capsules that have had close_notify on pages that were found, but did not have it on pages that were not found. This list is also every single url that I've tested so far where the issue has come up - all of the tests have just been for the Not Found errorcode. I have also included the server software (if known):

gemini://gemini.bortzmeyer.org/blashsdfh - gemserv
gemini://skyjake.fi/blahkslhdf
gemini://astrobotany.mozz.us/blahssldhslh
gemini://botond.online/blashlhsdfh
station.martinrue.com/blahsdlhsdlfh
gemini://kwiecien.us/blajjjsdhsdh - geminid
gemini://auragem.space/notfound - Gig Framework
gemini.circumlunar.space/blahdhd - Molly Brown
gemini://geminispace.info/blashldshfsldhf
gemini://marginalia.nu/blahdslkhdfh - custom server
gemini://gemini.thegonz.net/aslhsdlhfsdfh
gemini://geminiquickst.art/blashdslfhsldhf
gemini://nytpu.com/blahsdlhfsfdlh
gemini://konpeito.media/blashsldhsdlfh
gemini://rawtext.club/blashsldh
gemini://srht.site/blashlsdhf
gemini://godocs.io/blashdlfkh

I just want to make sure about this, are we sure agunua is reporting things correctly? I find it odd that *every single server* I've tested has had this problem with the notfound errorcode, but not with successful requests.

Christian Seibold

Sent with ProtonMail Secure Email.

??????? Original Message ???????

On Sunday, November 14th, 2021 at 8:44 PM, Krixano <krixano at protonmail.com> wrote:

> Correction, I looked into it further. The Gig Framework does the close_notify correctly on most pages, but does not do it for pages that give error codes (I haven't checked all error codes yet, but I have checked the not found error code).
>
> Christian Seibold
>
> Sent with ProtonMail Secure Email.
>
> > ??????? Original Message ???????
> >
> > On Sunday, November 14th, 2021 at 7:37 PM, Krixano krixano at protonmail.com wrote:
> >
> > > I wanted to write here to confirm that anything using the Gig Framework (https://github.com/pitr/gig) should be doing close_notify correctly, as I checked my capsule with portal.mozz.us for this case. I'll also notify the developer as well.
> > >
> > > Christian Seibold
> > >
> > > Sent with ProtonMail Secure Email.
Balázs Botond <balazsbotond@gmail.com>
Details
Message ID
<CAOEKZX9Op9VmsjfUG+iWw=gOoSeKarVEmn2ce1yODOB3-BXFpQ@mail.gmail.com>
In-Reply-To
<iUIBX-IDsNwj8k8lYn7P0Jh7pU36Ufii_q-90B1KiY192tShtFD06DDWPwF8tMTwS2ShrOS3TXZIplzJD5m8GSTd0nYDrK_BV5RM0-S5axA=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
On Mon, Nov 15, 2021 at 4:29 AM Krixano <krixano at protonmail.com> wrote:
>
> I just want to make sure about this, are we sure agunua is reporting things correctly? I find it odd that *every single server* I've tested has had this problem with the notfound errorcode, but not with successful requests.

I filed a bug for the server I use (Agate) and from the maintainer's
comment it seems that there is indeed a problem with Agunua:
https://github.com/mbrubeck/agate/issues/100#issuecomment-965174851
Jason McBrayer <jmcbray@carcosa.net>
Details
Message ID
<87k0h91qze.fsf@cassilda.carcosa.net>
In-Reply-To
<iUIBX-IDsNwj8k8lYn7P0Jh7pU36Ufii_q-90B1KiY192tShtFD06DDWPwF8tMTwS2ShrOS3TXZIplzJD5m8GSTd0nYDrK_BV5RM0-S5axA=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
Krixano <krixano at protonmail.com> writes:

> I just want to make sure about this, are we sure agunua is reporting
> things correctly? I find it odd that *every single server* I've tested
> has had this problem with the notfound errorcode, but not with
> successful requests.

I believe agunua has a problem with reporting no close_notify on error
pages, reporting that it is absent whether it was actually sent or
not. I spent some time over the weekend fixing this issue in Germinal,
making sure that the same code-paths were used for both 2x responses and
for errors, but agunua still reported no close_notify for 51 pages. I
checked the same error pages with portal.mozz.us, and it *is* seeing the
close_notify being sent. So, I'm going to assume the error is in agunua.

-- 
Jason McBrayer      | ?Strange is the night where black stars rise,
jmcbray at carcosa.net | and strange moons circle through the skies,
                    | but stranger still is lost Carcosa.?
                    | ? Robert W. Chambers,The King in Yellow
Details
Message ID
<20211115152919.vwkchs725kqckh3y@GLaDOS.local>
In-Reply-To
<iUIBX-IDsNwj8k8lYn7P0Jh7pU36Ufii_q-90B1KiY192tShtFD06DDWPwF8tMTwS2ShrOS3TXZIplzJD5m8GSTd0nYDrK_BV5RM0-S5axA=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
Luckily it's pretty easy to test this with openssl's s_client, it'll say
"closed" at the end if the connection was closed properly:

  printf "gemini://nytpu.com/about.gmi\r\n" |
    openssl s_client -ign_eof -connect nytpu.com:1965

outputs:

  depth=0 O = nytpu, CN = nytpu.com
  verify error:num=18:self signed certificate
  [...handshake and cert info...]
  20 text/gemini; lang=en-US
  [...the actual response body (if success response code)...]
  [...end-of-connection info...]
  closed

Here's a handy little shell function where you give it a URI and it'll
check if it's closed properly or not:

  test_close_notify() {
    hostname="$(printf "$1" | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/')"
    output="$(printf "%s\r\n" "$1" |
      openssl s_client -ign_eof -connect "${hostname}:1965" 2>&1 |
      tail -n1 | tr -d '\n')"
    if [ "${output}" = "closed" ]; then
      printf "close_notify for '%s' properly recieved.\n" "$1" >&2
    else
      printf "close_notify for '%s' not received!\n" "$1" >&2
    fi
  }

~nytpu

-- 
Alex // nytpu
alex at nytpu.com
gpg --locate-external-key alex at nytpu.com

[Agunua] Not detecting TLS close, specially with error pages (Was: [ANN] Specification update

Stephane Bortzmeyer <stephane@sources.org>
Details
Message ID
<YZapHl/gpeW8/Nzw@sources.org>
In-Reply-To
<iUIBX-IDsNwj8k8lYn7P0Jh7pU36Ufii_q-90B1KiY192tShtFD06DDWPwF8tMTwS2ShrOS3TXZIplzJD5m8GSTd0nYDrK_BV5RM0-S5axA=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
On Mon, Nov 15, 2021 at 03:28:44AM +0000,
 Krixano <krixano at protonmail.com> wrote 
 a message of 63 lines which said:

> gemini://gemini.bortzmeyer.org/blashsdfh - gemserv

Actually Stargazer, no longer Gemserv.

> I just want to make sure about this, are we sure agunua is reporting
> things correctly? I find it odd that *every single server* I've
> tested has had this problem with the notfound errorcode, but not
> with successful requests.

Under investigation:
<https://framagit.org/bortzmeyer/agunua/-/issues/50>
Reply to thread Export thread (mbox)