Old thread, has hit 400 replies and is no longer bumping. Nanochan is an imageboard with its software written in Lua. Nanochan does not use or require Javascript in any way, shape or form. Nanochan is totally immune to XSS due to the fact that it does not use Javascript combined with a restrictive Content-Security-Policy header. To date, zero security flaws have been exploited. Nanochan operates exclusively through a Tor hidden service and does not restrict Tor users in any way. Clearnet users may use a tor2web gateway. Nanochan's source code is small, reasonably clean and easy to understand.
The website itself is available at nanochanxv2lxnqi.onion The most recent source code is always available at nanochanxv2lxnqi.onion/source.lua Use this thread for feature suggestions, questions, etc. Feel free to use the /test/ board on nanochan to check for bugs and vulnerabilities.
Hey, is webm uploading supposed to work? I see it the source code.
Xavier Gomez
Why did you delete my thread
Thomas Lopez
Webm upload does work, but since it's on tor anything bigger than like 3mb takes fucking forever.
Josiah Roberts
Yes. There is a webm thread on /b/ at the moment. I will add audio support when I get the time, I've been rather busy with other shit lately.
Which thread? If it was the one about "HURR NANOCHAN ALLOWS CP XDDD" then you deserved it.
Christopher Cox
You can use curl (specify your captcha ID and answers manually using -F) if you really need to upload big webms. This allows you to see a progress meter.
Nathan Gutierrez
What makes it better than Wataba?
Adam Rodriguez
Wakaba uses javascript for a shit ton of things that can be done with pure CSS. It stores admin passwords and database passwords in a plain text file (config.pl). It's also unmaintained, the latest version I could find was from 2012. Although I have to say Wakaba's code quality is still far higher than that of the average PHPajeet shitsite.
Austin Nelson
Looks promising. What do you want to add next?
Hunter Taylor
Audio uploads, JSON API. I will first improve the captcha code though, right now it's a bit of copypasted code with a shit ton of repeated lines. All code must be up to my standards before adding more features. Should take only a few days to get audio support. JSON API needs a bit more consideration.
Where are some good places to shill nanochan? I'm desperate for replies to my shitposts.
Christopher Perez
at least it's not XML
Tyler Baker
Not fourchan. PLease no.
Andrew Jones
Haven't it be shilled here is already bad enough with the levels of cuckchan this shit-hole have reached.
Ryder Murphy
Idk. Find obscure imageboards and make a thread about it on each one. Or just wait until exodus 2.0 which I'm sure will happen eventually.
Somebody has already linked nanochan once from 4cucks/g/. However, they all dismissed it because it was too dead for them. Someone linked it from reddit, but they all dismissed it because they were a bunch of anarkiddies.
That wasn't hitting the filesize limit. That's just a bad connection which I can't do anything about since it's over tor. Restart your tor daemon and try again. The filesize limit is 16MiB and when you reach it you will get a "haserl CGI error: filesize limit exceeded" instead of a connection reset.
Ryder Myers
Maybe it's not a filesize issue, but some timeout on the upload or something. Couldn't upload a 4MB webm with a 100KB/s upload rate.
Isaiah Long
The connection reset everytime after something like ten seconds. I'm pretty sure it comes from your server.
Colton Robinson
You should delete it, it's shit
Gavin Gomez
The problem has been fixed.
Camden Watson
What was it?
Dylan Smith
Server timeout set too low by default, large files could not be uploaded
Brayden Nguyen
Support for audio files has been implemented. Supported file types are: mp3, ogg, flac.
Nathan Roberts
>oy vey too anonymous it's shit
Leo Nguyen
Better late than never, but, nigger, I told you before the shutdown that it might be a timeout error resulting from your server configuration, and you were all, "Nah, dude."
Juan Ortiz
Endchan?
Blake Nelson
JSON API is a really good idea, plz do it user
Zachary Flores
...
Julian Lopez
Oh, sorry for making you investigate yourself when I had the bare minimum of knowledge. Somehow, I had the idea that both Wakaba and Kareha worked entirely through pure HTML. Is using CSS instead of JS really a sensible alternative though? What makes one bad HTML extension better than another?
Kevin Scott
You don't need javascript to fetch data from a server and parse it. Dunno what you are implying.
Adrian Lewis
Are you functionally retarded?
Adrian Phillips
There are a number of known vulnerabilities, that have been used, to deanonymize Tor users via leveraging JavaScript.
The first major incident where this happened was with the "Freedom Hosting" seizure by the FBI. The FBI kept servers online, and then installed javascript paylods which exploited a zero-day exploit in Firefox. This caused the computers to call back to an FBI server from their real, non-anonymized IP, leading to the deanonymization of various users. You can read more about it in Ars Technica arstechnica.com/information-technology/2013/08/attackers-wield-firefox-exploit-to-uncloak-anonymous-tor-users/
In general, enabling JavaScript opens the surface area for many more potential attacks against a web browser. In the case of a serious adversary like a state-backed entity (e.g. the FBI), they have access to zero-day exploits. If the vectors for these zero-days are disabled (e.g. JavaScript), then they may be hard pressed to find a viable exploit even if they have access to zero days etc.
The only reason the Tor project allows JavaScript to be on by default in the Tor browser is usability. Many Tor users are not technically savvy, and JavaScript is commonly used with HTML5 in modern web sites. Disabling JavaScript causes many web sites to be unusable, thus it is enabled by default.
As a best practice, one should disable JavaScript in the Tor browser and keep NoScript enabled for all sites, unless you have an extremely compelling reason not to.
Xavier Gomez
>>>/g/ is over there
Lincoln Wilson
The issue in my eyes is that css is so complicated that were going to start seeing similar vulnerabilities in it. Ideally, users would install custom userscripts, which have been designed to not be turing complete (unlike css), such that there is as little attack surface as possible. These could do much more than css can, while still being safer from vulnerabilities.
Jackson Martinez
Could you elaborate on this? Do you mean like a greasemonkey kind of thing?
Kayden Diaz
What kind of vulnerabilities?
Oliver Barnes
That's what I was imagining. The scripts would be bery simple though. Things like: when user clicks an id: insert >>{the id}\n into the text field and select it. When user hovers over an id: show the relevant post in a floating box. I know we think of javascript as being a bloated piece of shit, but these are the things javacript was designed to do, so it would only take a couple lines.
The problem with this approach is that it takes more effort on the part of the end user. This is a particularly large problem because nobody uses nanochan right now (case in point: why are we discussing this here and not there).
Right now, CSS can be used to leak your browser window size using media queries. Depending on your particular configuration, this could deanonimize you (tor normally sizes the browser into buckets, but the user can disable this by mistake by double clicking on the title bar eg).
Just in general though, css is massively complicated. Mozilla created a new programming language just to write their css engine in. They brag about it being safe, but they don't tell you that's it's safety needs to be disabled to do anything slightly complicated in it. That and the legacy cpp code almost certainly have vulns hidden in them, and the spooks probably know them all. Also note that our security model is "don't want to be deanonimized" so even the slightest uninitialized memory constitutes a vulnerability for our cases.
Chase Moore
Given that the nanochan dev seems to be insistent on only using lua to power all of the site's functionality, I doubt he'd implement the userscripts thing. That said, I think it's a really good idea. Yes, it takes more effort on the part of the user, but if that user is too stupid to follow an instruction on the main page that says "Go here to install some comfort features you loser" then I think the site is better off without that user.
Xavier Gray
Hakase said that he has no clue how to write javascript and has asked the community to make their own
Josiah Jones
mee-G00-ka
Dominic Young
...
Samuel Jackson
4taba
Ryan Lopez
wrong
Juan Ward
Can I make my own boards or am I subject to the whims of your friends like cuckchan?
Samuel Flores
no.
Joshua Clark
LOL go back to the 90s grampa
Josiah Parker
But you can host your own nanochan. Which is a lot more freedom than creating shitty, non active, and forgettable meme boards.
Brody Morgan
The goal here is to improve things. Not repeating the same mistakes and end up with 5,000 boards about animal porn.
Chase Russell
Is nano down for anyone else?
Oliver Ramirez
Is that a... (((DATAMINING QUESTION?)))
Yeah it's down atm. The Mossad probably shoah'd it.
Liam Rodriguez
it's back up
Daniel Adams
...
Joseph Hill
I would like to announce the bunker URL in this thread for archival purposes. /meta/1059 contains more information. nanobunkv5kedrtq.onion/
Christopher Richardson
Is there really a point in user-boards on an imageboard that'll probably never have more than 50 users? Anything you want to discuss that doesn't already have a board can be discussed on /b/.
download /static/nanochan.css from the nanochan server, change the color: attributes, and release it as a userstyle. then let people install it themselves.
Ryan Turner
The fact that all imageboards aren't dark themed by default is a testament to how fucking retarded you have to be to host a forum like this.
Ethan Roberts
Ran into a few performance problems. I'll proably rewrite Nanochan in another language. Probably Rust. Thoughts?
Eli Price
I think I'm going to rewrite Nanochan in JavaScript, thank you very much.
Zachary White
Lynxchan already exists.
Daniel Scott
Oh, it does? Perhaps I'll go a step farther and use a better, more modern language like AppleScript(tm) instead.
Daniel Diaz
Nah. I'll use Rust.
Brayden Perry
Dark themes are shit.
Anthony Murphy
I can't post in the bunker. What the fuck happened?
Luis Garcia
Performance problems. LUA sucks. I'm rewriting nanochan in Rust at the moment.
Luis King
The bunker will remain locked until the main Nanochan goes down. The locking and unlocking of the bunker has been delegated to someone other than me.
Shut up fake hakase
Liam Collins
I just installed dark reader and called it a day
Connor Brooks
Just created /pone/. Maybe this will increase user count?
Jaxson Rodriguez
I'm sure if anything it'll drive away users. create a /tv/ though
Jace Peterson
I sure as fuck don't want this kind of customers.
Jonathan Campbell
There are no opinions, only truth. Dark themes are objectively better on your eyes, and therefore should always be used as the default. Back to cuckchan you dumb nigger monkey.
Parker Cook
...
Kevin Martinez
OP have you considered switching to a V3 onion address?
Jackson Flores
Just created Zig Forums and /zoo/. This will definitely increase user count. Our board is now more diverse and welcoming.
Nathan Bailey
I took the liberty to unlock the nanobunker and create /umaru/, hope that's OK.
Gavin Ramirez
Dark themes are objectively shit for edgy kids trying to go blind. Kill yourself faggot.
Kayden Fisher
Congratulations on not understand how eyes work retard.
Owen Jenkins
Dark themes work on terminals because the text is either white or bright green on a black background, dark themes usually don't work on imageboards because most of them have mid-grey text on a dark-grey background, the lack of contrast kills your eyes.
Jason Bennett
Contrast and extreme lack of contrast are as bad, retard. Something like #aaaaaa on #ffffff is what you should use; as long as you use bitmap fonts, it's almost as sharp as pure white.
Jackson Collins
Gee, I wonder who could be behind OP.
It can't as easily track people with v3 via the atacamma submilimeter array so no, it won't switch for now.
Jesus christ you spooks aren't even trying anymore.
John Cox
when are you going to stop shilling everywhere?
James Murphy
Nobody cares asie
go back to your minecraft fanboy club
Aaron Hughes
Dead?
haserl CGI Error
[string "nano"]:4: module 'cjson' not found: no field package.preload['cjson'] no file '/usr/local/share/lua/5.3/cjson.lua' no file '/usr/local/share/lua/5.3/cjson/init.lua' no file '/usr/local/lib/lua/5.3/cjson.lua' no file '/usr/local/lib/lua/5.3/cjson/init.lua' no file './cjson.lua' no file './cjson/init.lua' no file '/usr/local/lib/lua/5.3/cjson.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './cjson.so'
Ethan Smith
never mind, working again.
Bentley Rivera
I was updating some packages. No big deal.
David Howard
Who's the nigger posting Lain r34. I'd rather see CP posted.
Asher Jackson
Nice cp request fbi. We know you love the lewd lains though.
Alexander Cox
a few minor changes have been made: >threads now have a proper element
Brayden Perry
How about keeping the upload filename, too?
William Ortiz
Would potentially cause deanonymization and higher code complexity since someone could send some weird strings as the filename which need to be rejected.
Matthew Walker
That's not hard to just execute a simple strpbrk or what's the Lua regexp equivalent and say no when it matches.
Carter Cooper
An opt-in checkbox of sorts would work for the deanonymization problem