/prog/ - Programming

I'm just stealing all of these from fchan

[X]

Mark sensitive


File: 6a0e858cf5d1a00ed2db11eafc(...).jpg (30.02 KB)
Request for Comment: Headless FChannel Server Anonymous 08/12/21(Thu)20:18:44 No. fprog-KP506HJA [Report]

http://p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/files/rfc-hlfchand.ps I was gonna post an ascii version of the document, but apparently one and a half page is too large for a post here, so have a .ps instead. In short: I want to create a headless fchannel server, that is, a server compatible with the fchannel protocol, capable of talking to other instances, but that does not offer a web interface. To interact with it either use another instance or use a client (like FBI). But I want to hear what other people (in particular devchad) think before I start working on it.

>>
Anonymous 08/12/21(Thu)21:13:10 No. fprog-QG14KWXP [Report] >>fprog-G8N5LSWO

>>fprog-KP506HJA (OP) that would definitely be pretty cool. Keep in mind the size of the fchan userbase before doing this of course. Your software so far has been pretty cool, but we have a pretty small amount of people that frequent this site, let alone want to set up a private instance w/ FBI. If you don't mind a very small amount of people doing this, i'd say go for it. I'd definitely give it a try.

>>
Anonymous 08/12/21(Thu)22:17:15 No. fprog-G8N5LSWO [Report] >>fprog-YEE3WQ9Y

>>fprog-QG14KWXP I know. I would be lying if I said it isn't a bummer that nobody has tried to contribute to my projects. Or even criticize my code, I still have no idea if it is legible for others. But it is fun to work on these projects, I get quite bored when I am not doing anything. After I was done with FBI, I got a yearning to do something more, then I got the idea that since there is now a client to create an interface, servers wouldn't have to provide their own anymore. Plus it is nice to help set the groundwork for the future of FChannel. I hope in future we will have a greater variety of client and server software to choose from.

>>
Anonymous 08/13/21(Fri)08:15:17 No. fprog-UXDPYKRS [Report] >>fprog-HAUI4N9G

>>fprog-KP506HJA (OP) originally FChannel had a separate server and client but i choose to merge them into one to make it more accessible. it would not be hard to convert FChannel to just be a headless server, you would just have to exclude the client.go and remove some routing in main.go like OutboxGet(), PostGet(), CatalogGet() one thing to consider with other clients connecting to a server to use would be authentication. something that would need to be implemented for this would need to be issuing API keys to clients which would allow posting to the server. the servers have a private key they sign all posts with and I am sure server admins would not want to share that so an API key might be issued to clients to use for posting. any development to push federated imageboards is worth exploring imo. ive been on vacation so havent been able to check out FBI other than what has been updated in the posts.

>>
Anonymous 08/13/21(Fri)13:35:03 No. fprog-WB82C24R [Report] >>fprog-HAUI4N9G

>>fprog-KP506HJA (OP) can't you just do this by not pointing nginx to an html page? just delete the fchannel html or whatever

>>
Anonymous 08/13/21(Fri)15:11:46 No. fprog-YEE3WQ9Y [Report] >>fprog-HAUI4N9G

>>fprog-G8N5LSWO yeah, i get that, i know i've said this a million times by this point, but one of these days i will get around to hosting a git server and contributing... i'm just a lazy motherfucker

>>
Anonymous 08/13/21(Fri)17:25:52 No. fprog-HAUI4N9G [Report] >>fprog-EARC8598 >>fprog-RJY86RHP

>>fprog-UXDPYKRS Thank you for the directions, I will read the source this weekend. I might as well write my findings, try to create a document specifying FChannel's protocol. >>fprog-WB82C24R That'd be a sub-optimal solution, if I simply blocked access to html pages to code would still exist. I prefer to write simpler software that runs low on resources, so it's either forking and overhauling FChannel-Server (I don't know Go) or writing something from scratch (maybe taking some ideas from the original). >>fprog-YEE3WQ9Y Let me help you, fedifren. Where do you plan to host it? Your usual computer, dedicated computer, virtual machine, or rented server? I recommend a dedicated computer for security or, if you don't have one, a virtual machine. Once you got that covered, I can help you get a setup similar to mine in one afternoon (took me longer than that to do it, but I was still figuring things out, you probably saw the thread on /b/). It doesn't have to be perfect from the start, it took me some trial and error to setup the server in a way I like.

>>
Anonymous 08/13/21(Fri)17:38:16 No. fprog-EARC8598 [Report] >>fprog-O53JGV6B

>>fprog-HAUI4N9G i have a Raspberry Pi Zero that I think i'll use. it's going to be an onion service, but the thing also is my router is fucking weird and port forwarding can be a bitch (because it's all locked behind an ISP specific phone app), which is another reason i'm too lazy to do it.

>>
Anonymous 08/13/21(Fri)19:26:35 No. fprog-O53JGV6B [Report] >>fprog-S6673O9N

>>fprog-EARC8598 Since it is gonna be an onion service, you don't have to bother with port forwarding or talking to your ISP, Tor punches through NAT like a bullying taking money from a nerd. See >>fmeta-TH5BX0W7 → to know how much trouble hosting an onion service saves you. If you already have the hardware and an operating system running on it, you just have to install nginx and tor and you can have your own darkwebsite in no time.

>>
Anonymous 08/14/21(Sat)00:47:32 No. fprog-S6673O9N [Report] >>fprog-RJY86RHP

>>fprog-O53JGV6B that was actually my thread, i was unaware port forwarding wasn't necessary. Good to know! I'll probably set it up tomorrow.

>>
Anonymous 08/14/21(Sat)21:52:26 No. fprog-RJY86RHP [Report]

>>fprog-HAUI4N9G I took some time to read main(), I kinda understand the initialization, but I skimmed through all the http.HandleFunc() calls. The server appears to be request-oriented, only doing work as a response to requests, so the handle functions contain the meat of the code and I will need to look into them with more care. I should probably try to run the server myself to get a better grip of how it all works. >>fprog-S6673O9N Well? No need to shy when shilling your website here, everybody is doing it.

>>
Anonymous 08/21/21(Sat)22:30:05 No. fprog-X52OZLTL [Report]

Almost forgot to report my /prog/ress. http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fchand/file/README.html There is what I have come up with so far, I have only started to create an HTTP simulacrum to process the GET and POST requests. I won't bother with a real HTTP since it won't serve HTML documents, the HTTP is there just to be compatible with the current protocol (maybe later we can work on something dependent only on TCP/IP). I will now study about POST requests so I can know how the data will show up and then work on storing it in a database.

>>
Anonymous 09/19/21(Sun)10:22:59 No. fprog-LHPSK1SA [Report]

I had tossed the project aside for long while, but yesterday I got back to it and tried to get POST requests working, took a while, but I did it. However it made it realize that trying to create an HTTP server from scratch is a real bitch, so I have decided to try that again using CGI instead, since using a real HTTP server will save a lot of trouble like encryption and compression (on top of basic features like POST request, which was hard enough). I may try the BLES stack mentioned on >>fg-I31BT8YD →, I understand nginx and Lua pretty well, so I will just need to study CGI and how to host a server on BSD.


[Post a Reply] 12 / 0

[Home] [Rules] [FAQ]

All trademarks and copyrights on this page are owned by their respective parties.

Theme: