💾 Archived View for bbs.geminispace.org › u › gemalaya › 5637 captured on 2023-11-14 at 10:02:41. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 😺 gemalaya

Re: "I've changed a few things in the misfin code: - pass..."

In: s/misfin

@flipperzero Are you sure nothing is listening on port 1958 ? What does "hashnix.club" resolve to ? I see that hashnix.club has an ipv4 and an ipv6 address, so i wonder if this could be the issue, but it shouldn't ..

😺 gemalaya

Sep 27 · 7 weeks ago

11 Later Comments ↓

😺 gemalaya · Sep 27 at 13:39:

@flipperzero Hhmmm, misfin always uses AF_INET, meaning it will always try to bind an ipv4 address. Can you try changing AF_INET to AF_INET6 in receive_forever() ?

😎 flipperzero · Sep 27 at 15:56:

@gemalaya hmmm I see what you're saying. I'm out this morning atm but once i'm back at my desk i'll give that a go

🐐 satch · Sep 27 at 16:26:

@flipperzero lmk when you want me to test again

🤖 BBSman · Sep 28 at 00:09:

I was able to send to alexlehm@gemini.lehmann.cx from behind IPv4 NAT w/ port forwarding. And steve@k0stk.ddns.net is listening for messages.

Is there a config option for specifying a bind address? To make misfin work for my configuration I had to edit misfin.py to force a bind to my NIC address rather than the certificate hostname.

🚀 clseibold · Sep 28 at 00:13:

@BBSman I just tried to send to your misfin server, and I'm getting a 40 temporary error back.

🤖 BBSman · Sep 28 at 02:33:

Thanks for trying to send to me.

The error that is reported on my end is:

Error during receive - here's what we recovered:

(address elided)

UnboundLocalError local variable 'req' referenced before assignment

Aborting due to exception.

Edit: Should have said I am using the gitlab.com/cipress python client with python v3.7.3 (not v2.7.16 as previously stated) and had to patch letter.py to be able to generate a certificate.

Edit 2: Figured out which python version my misfin client is using.

😎 flipperzero · Sep 28 at 05:38:

@gemalaya whats your address? i'll test again, i edited the IP6 field you told me about and its working now.

@satch give the test another go

@BBSman I tried to send you a message but I got this

"Connection to k0stk.ddns.net (port 1958) refused "

🤖 BBSman · Sep 28 at 15:46:

Thats because my listener was down for repairs. It is back up now and I've been able to send to it from an external system.

🐐 satch · Sep 28 at 19:20:

@BBSman my message to you worked

@flipperzero mine to you failed errno 111

😺 gemalaya · Sep 28 at 19:46:

Added a --ipv6 option as well for "misfin send-as", to force ipv6 in case the remote server listens on an ipv6 address.

😺 gemalaya · Sep 28 at 19:49:

@flipperzero Don't have any public address. Glad it fixed your problem, you can update and use --ipv6 now ...

Original Post

🌒 s/misfin

I've changed a few things in the misfin code: - pass flake8 test - rename the main package from "transponder" to "misfin" - Add a setup.py: "pip install ." will install all the required dependencies - Add a "misfin" command-line program (it uses the "click" module), everything can be done with this command Git repo link below [https link] misfin gitlab repository (cipres)

💬 gemalaya · 17 comments · 2 likes · Sep 26 · 7 weeks ago