Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openwrt package and GH workflow #149

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

Habbie
Copy link
Member

@Habbie Habbie commented Dec 31, 2024

This currently sits on top of #145

TODO:

@Habbie
Copy link
Member Author

Habbie commented Jan 1, 2025

as of now, this emits a 5165643 byte binary that has no obvious defects, has working DNS, and can attempt TLS (although I have not seen it succeed yet)

@Habbie
Copy link
Member Author

Habbie commented Jan 2, 2025

can attempt TLS (although I have not seen it succeed yet)

it works! just sometimes fails immediately with * ssl_handshake returned: (-0x7280) SSL - The connection indicated an EOF which warrants more debugging later

@Habbie
Copy link
Member Author

Habbie commented Jan 2, 2025

The connection indicated an EOF

this is literally the remote end (nabu casa's proxy service) sending RST after it gets ClientHello

@Habbie Habbie mentioned this pull request Jan 2, 2025
@Habbie Habbie force-pushed the bin-headers-openwrt-workflow branch from 0191930 to 8b3c0be Compare January 2, 2025 19:02
@Habbie Habbie changed the title openwrt work, very draft openwrt package and GH workflow Jan 2, 2025
@Habbie
Copy link
Member Author

Habbie commented Jan 2, 2025

Squashed a lot. This is now:

@Habbie
Copy link
Member Author

Habbie commented Jan 2, 2025

the curl build currently has

|   WebSockets:       enabled
|   Protocols:        file ftp ftps http https ipfs ipns mqtt ws wss
|   Features:         alt-svc HSTS HTTPS-proxy IPv6 Largefile NTLM SSL threadsafe UnixSockets

I suppose there's not much more to strip there!

@Habbie
Copy link
Member Author

Habbie commented Jan 2, 2025

the /dev/random hack mentioned in https://voorkant.org/devices/ isn't even necessary any more, even for TLS

@Habbie Habbie marked this pull request as ready for review January 3, 2025 22:03
@Habbie
Copy link
Member Author

Habbie commented Jan 3, 2025

as of now, this emits a 5165643 byte binary that has no obvious defects, has working DNS, and can attempt TLS (although I have not seen it succeed yet)

I switched from openwrt master to openwrt 24.10 (.0-rc4) for a more stable build environment, this added 8kbyte to the binary, making it 5173843 bytes.

@Habbie Habbie force-pushed the bin-headers-openwrt-workflow branch from a379192 to 10f131e Compare January 3, 2025 22:45
@Habbie Habbie force-pushed the bin-headers-openwrt-workflow branch from 10f131e to b784c22 Compare January 3, 2025 22:48
@Habbie Habbie force-pushed the bin-headers-openwrt-workflow branch from b784c22 to deee5c2 Compare January 3, 2025 23:35
@Habbie
Copy link
Member Author

Habbie commented Jan 3, 2025

I think this is all cleaned up now. Once built in GH, I will test the debian-built and openwrt-built static binaries, and if they work, merge this :)

@Habbie
Copy link
Member Author

Habbie commented Jan 4, 2025

both binaries work, and the openwrt one works for TLS too

@Habbie Habbie merged commit a79c54c into voorkant:main Jan 4, 2025
5 checks passed
@Habbie Habbie deleted the bin-headers-openwrt-workflow branch January 4, 2025 23:38
@Habbie Habbie mentioned this pull request Jan 4, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant