🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: rocksolid.nodes
25 messages
25 total messages Started by trw Sun, 18 Aug 2019 18:31
Postmill thread
#57
Author: trw
Date: Sun, 18 Aug 2019 18:31
17 lines
1098 bytes
Collecting all the info needed to install a postmill server:

this is the how-to:
https://gitlab.com/postmill/Postmill/wikis/getting-started

installing postgres solution:
http://acmsrfsbsogtuhvk.onion/bbs/main.sh?Group_id=rocksolid.shared.helpdesk&Msg_id=84&Reply_id=Message-ID:%20%3Ca41f8800ac501fb5ff59f422f054a9af@def4%3E&Showthread=y

installing of suitable versions of yarn and nodejs:

https://tecadmin.net/install-nodejs-with-nvm/
https://tecadmin.net/install-yarn-debian/

working on it...

Posted on def4
Re: Postmill thread
#58
Author: trw
Date: Sun, 18 Aug 2019 18:58
5 lines
841 bytes
Updating php to 7.2 and installing symfony:
https://medium.com/@shahroznawaz/how-to-setup-symfony-4-on-lamp-based-debian-9-server-6edc31d2009c

Posted on def4
Re: Postmill thread
#59
Author: trw
Date: Sun, 18 Aug 2019 19:44
4 lines
776 bytes
one things for sure, this is complex, a lot of dependencies and everything....

Posted on def4
Re: Postmill thread
#60
Author: anonymous
Date: Thu, 22 Aug 2019 11:23
3 lines
938 bytes
maybe i should use the docker images....
Posted on def2
Re: Postmill thread
#75
Author: trw
Date: Sun, 08 Sep 2019 12:03
4 lines
872 bytes
great, now i struggle with using docker images from the gitlab repositories (https://gitlab.com/postmill/Postmill/container_registry). this seems to be above my current skill level...

Posted on def4
Re: Postmill thread
#70
Author: Retro Guy
Date: Sun, 08 Sep 2019 22:47
19 lines
1853 bytes
  To: trw
trw wrote:


> great, now i struggle with using docker images from the gitlab repositories 
(https://gitlab.com/postmill/Postmill/container_registry). this seems to be 
above my current skill level...

I'm not a fan of trying to install software that has dependencies on top 
of dependencies. I've also had trouble with docker in the past. I've found 
that upgrading a system after installing such software (stuff not in the 
distro) breaks everything.

Of course some of the software that requires this is pretty cool, lol.

Retro Guy

-- 
Posted on RetroBBS
Re: Postmill thread
#73
Author: anonymous
Date: Mon, 09 Sep 2019 09:01
20 lines
1728 bytes
>I'm not a fan of trying to install software that has dependencies on top of 
>dependencies. I've also had trouble with docker in the past. I've found that 
>upgrading a system after installing such software (stuff not in the distro) 
>breaks everything.

That sounds like it would be a pain in the ass to maintain.
But docker or not, pretty much all the modern forum software I looked at 
(mostly reddit clones), it all has tons of dependencies (usually an 
increasing number the nicer look and the more features it has).
Looks like it will be easier to do more hacking on ff after all. At least 
this one is very easy to deploy, stable and customizable. If only I can 
manipulate the session management so that it works on tor and does not 
need to work with the local ip addresses. we'll see i guess...

cheers

trw
Posted on def2
Re: Postmill thread
#74
Author: Retro Guy
Date: Mon, 09 Sep 2019 09:31
32 lines
2396 bytes
On Mon, 9 Sep 2019 09:01:40 -0000 (UTC)
anonymous@def2.anon (anonymous) wrote:

> 
> >I'm not a fan of trying to install software that has dependencies on
> >top of dependencies. I've also had trouble with docker in the past.
> >I've found that upgrading a system after installing such software
> >(stuff not in the distro) breaks everything.
> 
> That sounds like it would be a pain in the ass to maintain.
> But docker or not, pretty much all the modern forum software I looked
> at (mostly reddit clones), it all has tons of dependencies (usually
> an increasing number the nicer look and the more features it has).
> Looks like it will be easier to do more hacking on ff after all. At
> least this one is very easy to deploy, stable and customizable. If
> only I can manipulate the session management so that it works on tor
> and does not need to work with the local ip addresses. we'll see i
> guess...
> 
The fact that postmill runs ok without js is nice, but it does sound
like quite an adventure to install.

My idea on ff was to require a password to post every time (like
rslight). If you want to save that at your browser, that's the user's
decision, but I figured if that was required even if someone gets your
session, they can't post as you.

Also, I still would like to mess further with Kareha
(http://wakaba.c3.cx/s/web/wakaba_kareha). It's a nice interface that
I've used before, but of course it would need some sort of link to nntp.

Retro Guy
Re: Postmill thread
#76
Author: trw
Date: Mon, 09 Sep 2019 09:57
24 lines
1982 bytes
>The fact that postmill runs ok without js is nice, but it does sound like quite an adventure to install.

It was for me so far. Guess with a decent howto this would work out, but I could find none, and I don't enough about the technology that was used to figure it all out myself.

> My idea on ff was to require a password to post every time (like rslight). If you want to save that at your browser, that's the user's decision, but I figured if that was required even if someone gets your session, they can't post as you. 

That would work, and probably be the easiest solution. The downside is that it would most likely also break some features like subscriptions and pm. Making ff to use individual cookies for the user sessions would be harder to accomplish (I guess), but not break anything.
Still I guess I will start to work on one of the solutions soon, I want to have def3 on tor as well.



>Also, I still would like to mess further with Kareha >(http://wakaba.c3.cx/s/web/wakaba_kareha). It's a nice >interface that I've used before, but of course it would need >some sort of link to nntp.

written in perl, i see (which would be a plus for me to not have everything done in php). 
looks nice enough, but requires js switched on to do anything.

hmmm

cheers

trw

Posted on def4
Re: Postmill thread
#79
Author: trw
Date: Mon, 09 Sep 2019 10:05
6 lines
906 bytes
>but of course it would need some sort of link to nntp.

for the messages posted on it, there is already an rss interface (http://wakaba.c3.cx/sup/index.rss). i guess that could be used to pipe it to the new server.

Posted on def4
Re: Postmill thread
#78
Author: anonymous
Date: Mon, 09 Sep 2019 17:57
23 lines
1700 bytes
>My idea on ff was to require a password to post every time (like rslight). If 
you want to save that at your browser, that's the user's decision, but I 
figured if that was required even if someone gets your session, they can't 
post as you. 

I guess this can be broken down to these steps:

-create a custom theme
-take out all the login forms and links to them from the start page and 
forum views
-patch index.php so that the post form can be accessed without login
-insert a login form into the post form
-patch index.php so that the login is performed with the data provided in 
the post form, the article is posted and the user is logged out again.

Sounds plain and simple. I will get started on it. Might be that some 
patching has to be done to login.php and forum_login.php as well.

cheers

trw
Posted on def2
Re: Postmill thread
#80
Author: anonymous
Date: Mon, 09 Sep 2019 19:03
11 lines
1215 bytes
more precisely, I believe that the key is in the three functions in 
index.php (lines 278 to 417):

ses_make_sysid
ses_get
ses_anon_make

the second could be used to make all sessions anonymous. i cannot shake 
the feeling that the root cause for the issue is also in these.
Posted on def2
Re: Postmill thread
#82
Author: anonymous
Date: Mon, 09 Sep 2019 19:10
4 lines
1124 bytes
maybe it is enough to add some random number to the sys_id generated in 
ses_make_sysid. this is how it is done in ses_make_anon. 
Posted on def2
Re: Postmill thread
#81
Author: anonymous
Date: Mon, 09 Sep 2019 19:25
12 lines
1453 bytes
uncommenting line 350 in index.php might do the job. it looks like in case 
of unknown users there is a comparison for criteria which tend to be the 
same in the darknets (ip, user agent,...). 
also, it looks like this is a quick hack that is not from the author.
i checked and it least it did not break anything if you uncomment this 
line. i will check later if it fixes the problem on tor.

cheers

trw
Posted on def2
Re: Postmill thread
#83
Author: Retro Guy Retro Guy
Date: Wed, 11 Sep 2019 09:29
21 lines
2062 bytes
anonymous wrote:

> uncommenting line 350 in index.php might do the job. it looks like in case 
> of unknown users there is a comparison for criteria which tend to be the 
> same in the darknets (ip, user agent,...). 
> also, it looks like this is a quick hack that is not from the author.
> i checked and it least it did not break anything if you uncomment this 
> line. i will check later if it fixes the problem on tor.

Nice work tracking stuff down!

One thing to consider is that Tor Browser intentionally looks the same 
(all users) to a web server. 

I've thought about entirely removing sessions from ff (removing the actual 
session_start lines), but I have not tried this yet.

Retro Guy

-- 
Posted on Rocksolid Light
Re: Postmill thread
#85
Author: anonymous
Date: Thu, 12 Sep 2019 21:13
32 lines
2089 bytes
>Nice work tracking stuff down!

Thanks, I am not sure if I have it yet

>One thing to consider is that Tor Browser intentionally looks the same (all 
>users) to a web server. 

Yes, that is the point. The session token for a user session is an md5 
generated from stuff like:
-ip-address
-user-agent
-(other stuff which is meaningless when working with the torbrowser)
In constrast to this, the anonymous session is simply a random value. This 
should work for the user session too.
I guess when ff was written, tor or other darknets where simply not 
considered as a use case.


>I've thought about entirely removing sessions from ff >(removing the actual 
>session_start lines), but I have not tried this yet.

If you remove sessions completely, I believe you have to rewrite the post 
function, too.

cheers

trw

btw, the newsserver on def4 is missing some messages, I guess I have to 
reactivate the old pullnews...
Posted on def2
Re: Postmill thread
#88
Author: trw
Date: Thu, 12 Sep 2019 21:21
4 lines
723 bytes
testing something, can't use /test

Posted on def4
Re: Postmill thread
#86
Author: Retro Guy
Date: Thu, 12 Sep 2019 23:08
40 lines
2530 bytes
On Thu, 12 Sep 2019 21:13:25 -0000 (UTC)
anonymous@def2.anon (anonymous) wrote:

> >Nice work tracking stuff down!
> 
> Thanks, I am not sure if I have it yet
> 
> >One thing to consider is that Tor Browser intentionally looks the
> >same (all users) to a web server. 
> 
> Yes, that is the point. The session token for a user session is an
> md5 generated from stuff like:
> -ip-address
> -user-agent
> -(other stuff which is meaningless when working with the torbrowser)
> In constrast to this, the anonymous session is simply a random value.
> This should work for the user session too.
> I guess when ff was written, tor or other darknets where simply not 
> considered as a use case.

Interesting, I see now what you're saying, use the opposite of trying
to find differences and use a random for everyone. 

> >I've thought about entirely removing sessions from ff >(removing the
> >actual session_start lines), but I have not tried this yet.
> 
> If you remove sessions completely, I believe you have to rewrite the
> post function, too.
> 
I need to take a look also into this when I can. (Which won't be for a
few days, this is the end of my 'weekend').

> 
> btw, the newsserver on def4 is missing some messages, I guess I have
> to reactivate the old pullnews...
> Posted on def2

Do you sync between your two inn servers?

Retro Guy
Re: Postmill thread
#95
Author: anonymous
Date: Fri, 13 Sep 2019 14:16
23 lines
2250 bytes
uncommenting line 350 in index.php seems to do the trick, at least I don't 
land in my own sessions anymore when connecting from i2p and tor.
for further testing i think i need to setup another instance of the forum, 
to get the address right. i don't remember how i used to do that (i mean 
run the forum on i2p and tor).
btw, this bug was reported by a forum admin on the fudforum in 2014, for 
multiple users all connecting from one vpn and with the same browser (ie). 
exactly the same issue. the response from the dev was that he would like 
to wait until this behaviour was confirmed by others ("could be a huge 
issue", well, no shit sherlock). that is the last message in the thread. i 
wanted to necrothread, but fudforum effectivly blocks tor users from 
registration, using some ip based blacklist in which tor exit nodes would 
be, of course.

i do sync my news servers with each other, but the one from def4 seems to 
have frozen or something, a restart fixed it.

cheers

trw 

Posted on def2
Re: Postmill thread
#100
Author: anonymous
Date: Sat, 14 Sep 2019 16:28
14 lines
1514 bytes
btw, there is some useful ff documentation here:

http://cvs.prohost.org/index.php?title=Fud30_ses

and a ff hack fopr sso here:

https://github.com/phoxicle/FUDForum-SSO-Adapter/blob/master/index_sso.php


cheers

trw
Posted on def2
Re: Postmill thread
#169
Author: Retro Guy Retro Guy
Date: Thu, 12 Dec 2019 11:24
14 lines
1518 bytes
trw wrote:


>>but of course it would need some sort of link to nntp.

Just came across this project: http://pessoal.org/papercut/

It's a python project designed specifically to allow a forum to integrate with nntp. I haven't looked closely at it, and I don't know python, but it looks interesting. The author originally designed it to integrate Phorum (http://phorum.org/)

Retro Guy


-- 
Posted on Rocksolid Light
Re: Postmill thread
#173
Author: anon
Date: Thu, 12 Dec 2019 22:57
11 lines
1194 bytes
i looked at papercut at the very beginning of rocksolid, when i could not get inn2 to run (before you created your first vm).
there should even be a thread for this, if it has not disappeared when def.i2p went down.
anyway, i could not get it to run, which is maybe not surprising given the age of code base. with enough time and effort, it could be a nice alternative, though (i'm afraid more time and effort than i can spend atm).
phorum also looks nice (needs some css, i guess).

cheers

trw

Posted on def4
Re: Postmill thread
#170
Author: Retro Guy Retro Guy
Date: Thu, 12 Dec 2019 23:33
23 lines
2313 bytes
anon wrote:


> i looked at papercut at the very beginning of rocksolid, when i could not get inn2 to run (before you created your first vm).
> there should even be a thread for this, if it has not disappeared when def.i2p went down.

I thought it sounded familiar, but couldn't find the thread. 

> anyway, i could not get it to run, which is maybe not surprising given the age of code base. with enough time and effort, it could be a nice alternative, though (i'm afraid more time and effort than i can spend atm).

Yes, old code can be a challenge to get working. porting newsportal to php7 was quite a job. One which I almost quit on several times.

> phorum also looks nice (needs some css, i guess).

I have yet to look a phorum, but I will in the near future.

At this point, your ff mods are looking great! It's like a completely different interface. One thing I'd really like to see working better in ff is when it fails to send a message, it seems to never try again so messages are lost. I have that problem on my install also.

Right now, ff and rslight seem to be decent interfaces as they mature. I mean, interfaces a new user can work with quickly.

Retro Guy
-- 
Posted on Rocksolid Light
Re: Postmill thread
#176
Author: anon
Date: Fri, 13 Dec 2019 12:54
6 lines
1038 bytes
>One thing I'd really like to see working better in ff is when it fails to send a message, it seems to never try again so messages are lost. I have that problem on my install also.

I guess this is about resetting some internal counter somewhere. Guess I will look into that at one point, I find it annoying as well.

Posted on def4
Re: Postmill thread
#177
Author: anon
Date: Fri, 13 Dec 2019 18:48
4 lines
870 bytes
i think the code is in FUDFORUM/theme/default/imsg_edt.inc, line 568 and following. the post_message function from nntp.inc is called, but it is not checked if successful or not.

Posted on def4
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads