Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2014-07-23 20:38:18

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Textpattern CMS demo site

gaekwad wrote #282242:

A firewall preventing all external connections would mitigate that, right?

You can kind of use an firewall, but that requires that PHP isn’t run as a server module. Otherwise it can still do connections, because it runs under the server process.

Ideally the Textpattern setup should be run inside a secure container and PHP as FCGI under limited access user. But what ever you do, its not going to be trustworthy — it’s all just damage control.

Offline

#26 2014-07-23 21:20:23

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textpattern CMS demo site

Gocom wrote #282397:

You can kind of use an firewall, but that requires that PHP isn’t run as a server module. Otherwise it can still do connections, because it runs under the server process.

Unless the HTTP process runs as root, I don’t see how that would be possible.

Offline

#27 2014-07-23 22:37:46

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Textpattern CMS demo site

ruud wrote #282402:

Unless the HTTP process runs as root, I don’t see how that would be possible.

Yeah. Thinking other shit while trying to write; what I said is rather irrelevant.

gaekwad wrote #282244:

the (non-standard) ssh port are blocked

What port number? If its port that doesn’t require root (greater than 1024), you can knock down sshd and take its place as long as you can run executable code in Textpattern.

All outgoing connections outside of Subversion are blocked.

That’s an open port you can then use.

Offline

#28 2014-07-24 07:28:25

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Gocom wrote #282406:

What port number? If its port that doesn’t require root (greater than 1024), you can knock down sshd and take its place as long as you can run executable code in Textpattern.

It’s above 1024. Root ssh is not permitted, I haven’t set up keys.

That’s an open port you can then use.

Then I should fix that.

Offline

#29 2014-07-25 07:59:04

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

I’ve updated the build script so the open port for Subversion is for the duration of svn export only, which is about 15-30 seconds every three hours.

Last edited by gaekwad (2014-07-25 07:59:28)

Offline

#30 2014-09-21 14:49:30

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

I’ve bumped the Textpattern demo site to 4.5.7; as time allows in the coming weeks and months I’ll switch the site to an EU server and containerise the whole thing with Docker.

Last edited by gaekwad (2014-09-22 12:00:34)

Offline

#31 2014-09-21 15:13:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Textpattern CMS demo site

Hi Pete, all,

I think that Pete’s demo should be linked by both this forum (at the bottom where external links are posted), textpattern.com where we are currently linking to an old txp version on opensourcecms and the ,org site.

A suggestion would be to use the rah_external_output plugin in the .com site and create one linklist there which can be then used by txp family of sites.

Easy and quick:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#32 2015-07-21 13:27:20

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Textpattern CMS demo site

Hi Pete,

would it be possible to include in the package some plugins and populate the site a little more? We could use it then as convenient testing platform for txptips. With new themes popping out, we could probably even serve tips as themes?

Offline

#33 2015-07-21 15:44:45

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

etc wrote #293579:

would it be possible to include in the package some plugins and populate the site a little more? We could use it then as convenient testing platform for txptips. With new themes popping out, we could probably even serve tips as themes?

I’m not averse to the idea, but my concern is that it’ll become a catch-all for everything, become too big to manage and then lose its (niche) value. I will, eventually, find time to write up how it runs so anyone can roll their own. It’s running atop a $5 Digital Ocean server on a bunch of cron scripts. None of it is particularly clever or optimised.

I pledge to find some time to a) bring it to EU hosting, b) add 4.6-dev alongside the latest release if that’s viable and c) write the whole process up so it can be cloned elsewhere. I can’t/won’t promise when, but if this would be helpful to the cause, that might spur me on a bit.

Offline

#34 2015-07-21 18:29:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Textpattern CMS demo site

gaekwad wrote #293593:

I pledge to find some time to a) bring it to EU hosting, b) add 4.6-dev alongside the latest release if that’s viable and c) write the whole process up so it can be cloned elsewhere. I can’t/won’t promise when, but if this would be helpful to the cause, that might spur me on a bit.

That would be an excellent txptip:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#35 2016-09-10 12:40:37

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Demo site should be running Textpattern 4.6.0 by 1800UTC.

Offline

#36 2016-09-11 03:50:25

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Textpattern CMS demo site

Написать! great job.


…. texted postive

Offline

Board footer

Powered by FluxBB