Language:
switch to room list switch to menu My folders
Go to page: First ... 8 9 10 11 [12] 13 14 15 16 ... Last
[#] Fri Oct 04 2024 14:27:26 UTC from IGnatius T Foobar

Subject: webroot for Citadel under docker

[Reply] [ReplyQuoted] [Headers] [Print]

So need to know what to put down as the webroot to get this to
work.

This is kind of a hack, but you could try installing and running certbot inside the container to expose /usr/local/webcit to it.

You've kind of pointed out a real issue that we need to address, so thank you for that.

[#] Mon Oct 07 2024 15:59:26 UTC from deependofmac

Subject: Keycloak integration

[Reply] [ReplyQuoted] [Headers] [Print]

Is there a resource or recommended starting point for integrating Citadel and Keycloak?



[#] Fri Oct 18 2024 17:29:44 UTC from MisterC

Subject: Cannot upload login/logoff images

[Reply] [ReplyQuoted] [Headers] [Print]

HI all

New to running Citadel but it was always my favorite BBS software back in the late 80s/early 90s.

 

I have a docker installation running and things seem to be working well for the most part.

I am having an issue when I attempt to upload either a login or logout logo.

 

I get the following (this example is for the logout, the login is the same except images/hello):

Cannot open images/uimg 1: No such file or directory


There is no "images" directory in my citadel-data directory.  I tried making files/images and that didn't help.


Any pointers would be great .

Thanks!



[#] Wed Oct 23 2024 13:23:29 UTC from IGnatius T Foobar

Subject: Re: Keycloak integration

[Reply] [ReplyQuoted] [Headers] [Print]

Is there a resource or recommended starting point for
integrating Citadel and Keycloak?

I'm afraid I don't know anything about Keycloak. What is it?

[#] Wed Oct 23 2024 13:39:49 UTC from Nurb432

Subject: Re: Keycloak integration

[Reply] [ReplyQuoted] [Headers] [Print]

its an identity management thing.  Opensource.

Wed Oct 23 2024 09:23:29 EDT from IGnatius T Foobar Subject: Re: Keycloak integration

I'm afraid I don't know anything about Keycloak. What is it?

 



[#] Mon Oct 28 2024 11:47:23 UTC from BrotherPhil

Subject: Re: Remote IP creating users?

[Reply] [ReplyQuoted] [Headers] [Print]

 

Mon Sep 16 2024 21:25:19 EDTfrom IGnatius T Foobar Subject: Re: Remote IP creating users?

Here's an example of a message from Aide.

New user account <nobody> has been created, from host 185.171.202.9.rev.dyjix.eu [185.171.202.9].

This is baffling.  If you have self-service account creation turned off, there should be no way to do this.

Unless ... you are using host system authentication, or LDAP authentication, instead of Citadel's self-contained authentication?  Are the names of the accounts (such as "nobody") the names of accounts from your host system or LDAP authentication source, and never some unknown name?

Because if that's the case, then it's possible that our shithead intruders are trying names that are likely to exist (nobody, www, sshd, uucp, mail, news, etc) and they do exist so Citadel creates matching accounts ... but unless the intruder knows the password, it will only create the account, but they won't actually be able to log in.

Is it possible that this is what's happening?


I think you may have the answer - I just switched my system to self-contained, and it has also fixed my problem of not being able to log in with one of my user names.
Thanks for your help.
 
 

 



[#] Wed Oct 30 2024 12:35:39 UTC from luisgo

Subject: Problem with Webmail.

[Reply] [ReplyQuoted] [Headers] [Print]

Dear All,

It is giving the following problem to me.

When I write a email with webmail I have a limited number o caracteres that I can input in the subject field. Less that 70, I suppose.

I am using last version (1004) in Centos 9.

Thanks,

Luis Gonçalves.



[#] Sun Nov 03 2024 02:43:03 UTC from IGnatius T Foobar

Subject: Re: Remote IP creating users?

[Reply] [ReplyQuoted] [Headers] [Print]

I think you may have the answer - I just switched my system to self-contained, and it has also fixed my problem of not being able to log in with one of my user names.

I am so relieved to hear that!  To be clear, here's how Citadel sets up accounts when you're running it in host-integrated mode or LDAP mode:

Any time a user account is looked up, regardless of whether the login succeeds or fails, if that account exists in the authentication source (host or LDAP) a corresponding account is created in Citadel.  That's because Citadel assumes the account is legitimate, because it exists on the host or in LDAP.  So if someone tries to access that account, it comes into existence whether it's needed or not.  But fear not: the intruder won't be able to actually access the account unless the correct password is issued.

Now if you're using self-contained authentication, Citadel relies solely on itself for account and password management.  And if you've disabled self-service account creation, you should never see new accounts appear unless they were created by an administrator.

Thanks for your help. 

Thank you for being here to be part of developing a solution, and thank you for using Citadel!



[#] Sun Nov 03 2024 02:44:19 UTC from IGnatius T Foobar

Subject: Re: Problem with Webmail.

[Reply] [ReplyQuoted] [Headers] [Print]

 

When I write a email with webmail I have a limited number o caracteres that I can input in the subject field. Less that 70, I suppose.

How many characters do you need?  We might be able to get it up to a few hundred, but not much more than that.

 



[#] Sun Nov 03 2024 21:32:29 UTC from luisgo

Subject: Re: Problem with Webmail.

[Reply] [ReplyQuoted] [Headers] [Print]

How much the RFC permits? There is not a maximum by the standard?

I suppose that in some emails clients there is a maximum from which is cut.

But 70 (??) is too few.

I suppose that 256 is enough for me in particular.

Sun Nov 03 2024 02:44:19 UTC from IGnatius T Foobar Subject: Re: Problem with Webmail.

 

When I write a email with webmail I have a limited number o caracteres that I can input in the subject field. Less that 70, I suppose.

How many characters do you need?  We might be able to get it up to a few hundred, but not much more than that.

 



 



[#] Thu Nov 07 2024 13:55:20 UTC from alperumit

Subject: When I add a mail filter based on message size, citserver crashes

[Reply] [ReplyQuoted] [Headers] [Print]

Hello All,

I added a mail filter to an account I created. The rule is as follows; If the message size is larger than 10MB, send the defined reject message and stop. I tried almost every variation but no luck :( will you please help me to solve this? 

Thank you.  

After defining the rule, when I test it, the following situation occurs in the log.

{"log":"citserver[7]: fulltext: indexing started. msgs 457--458\n","stream":"stderr","time":"2024-11-07T13:50:53.342358177Z"}

{"log":"citserver[7]: msgbase: CtdlFetchMessage(458, 1)\n","stream":"stderr","time":"2024-11-07T13:50:53.344190837Z"}

{"log":"citserver[7]: fulltext: ft_index_message() adding msg 458\n","stream":"stderr","time":"2024-11-07T13:50:53.374346074Z"}

{"log":"citserver[7]: msgbase: CtdlOutputPreLoadedMsg(TheMessage=not null, 0, 0, 0, 1\n","stream":"stderr","time":"2024-11-07T13:50:53.374414953Z"}

{"log":"citserver[7]: msgbase: fixed_output_pre() type=\u003cmultipart/mixed\u003e\n","stream":"stderr","time":"2024-11-07T13:50:53.376436866Z"}

{"log":"citserver[7]: msgbase: fixed_output() part 1:  (text/plain) (22 bytes)\n","stream":"stderr","time":"2024-11-07T13:50:53.376535161Z"}

{"log":"citserver[7]: msgbase: fixed_output_post() type=\u003cmultipart/mixed\u003e\n","stream":"stderr","time":"2024-11-07T13:50:53.37821028Z"}

{"log":"citserver[7]: fulltext: wordbreaking message 458 (23 bytes)\n","stream":"stderr","time":"2024-11-07T13:50:53.378250008Z"}

{"log":"citserver[7]: fulltext: indexing message 458 [2 tokens]\n","stream":"stderr","time":"2024-11-07T13:50:53.37836418Z"}

{"log":"citserver[7]: fulltext: indexer has run for 0 seconds; yielded=0\n","stream":"stderr","time":"2024-11-07T13:50:53.379728317Z"}

{"log":"citserver[7]: user_ops: 5 maps to avayacit03\n","stream":"stderr","time":"2024-11-07T13:50:53.380228496Z"}

{"log":"citserver[7]: msgbase: CtdlFetchMessage(457, 1)\n","stream":"stderr","time":"2024-11-07T13:50:53.38032817Z"}

{"log":"citserver[7]: inboxrules: for avayacit03, messages newer than 457\n","stream":"stderr","time":"2024-11-07T13:50:53.380492983Z"}

{"log":"citserver[7]: inboxrules: processing message #458 which is higher than 457, we are in 0000000005.Mail\n","stream":"stderr","time":"2024-11-07T13:50:53.38068976Z"}

{"log":"citserver[7]: inboxrules: processing rule: 0 , field: size\n","stream":"stderr","time":"2024-11-07T13:50:53.38081185Z"}

{"log":"citserver[7]: inboxrules: loading metadata for message 458\n","stream":"stderr","time":"2024-11-07T13:50:53.38082569Z"}

{"log":"citserver[7]: inboxrules: rule activated\n","stream":"stderr","time":"2024-11-07T13:50:53.380832963Z"}

{"log":"ctdlvisor: pid=7 exited, status=139, exitcode=0\n","stream":"stderr","time":"2024-11-07T13:50:53.430515813Z"}

{"log":"ctdlvisor: citserver crashed on signal 11\n","stream":"stderr","time":"2024-11-07T13:50:53.430548361Z"}

{"log":"ctdlvisor: citserver running on pid=76\n","stream":"stderr","time":"2024-11-07T13:50:53.430624425Z"}

{"log":"ctdlvisor: executing citserver\n","stream":"stderr","time":"2024-11-07T13:50:53.430660564Z"}

{"log":"citserver[76]: main: creating lockfile\n","stream":"stderr","time":"2024-11-07T13:50:53.447751474Z"}



[#] Mon Nov 11 2024 10:52:10 UTC from alcomys

Subject: No working install posible on debian bookworm or other raspberry pi os

[Reply] [ReplyQuoted] [Headers] [Print]

Hi Guys,

I have been busy day's to get citadel running on my raspberry pi but without success.

The setup and needed download when use easy install are good to go, but when it comes to login to the admin it goes wrong.

When installing the easy install the standard way so use admin and the password citadel for the web cit to login i got always an password error.

If i run the easy installer again and replace the admin and password with some of my own i have the same problem with password error.

I did searched google for an answer but there is less information on how to get it work on Debian bookworm.

 

Maybe someone did had the same problems as i have? and solved them?

Or maybe someone can help me out here? because it is very frustrating when trying days without success.

Thanks in Advance.

 

Alcomys

 

 

 



[#] Wed Nov 13 2024 02:28:40 UTC from IGnatius T Foobar

Subject: Re: Problem with Webmail.

[Reply] [ReplyQuoted] [Headers] [Print]

I suppose that in some emails clients there is a maximum from
which is cut.

But 70 (??) is too few.

Ok, it will be 256 in the next update.

[#] Wed Nov 13 2024 02:51:49 UTC from IGnatius T Foobar

Subject: Re: When I add a mail filter based on message size, citserver crashes

[Reply] [ReplyQuoted] [Headers] [Print]

 

Thu Nov 07 2024 01:55:20 PM UTC from alperumit

Hello All,

I added a mail filter to an account I created. The rule is as follows; If the message size is larger than 10MB, send the defined reject message and stop. I tried almost every variation but no luck :( will you please help me to solve this? 

Thank you.  

Thank you for such a well researched and clearly written bug report.  I was able to reproduce this issue immediately, and was also able to get a stack trace of the crash, so it ought to be fixable reasonably quickly.

An official issue tracker page has been created at [ https://uncensored.citadel.org/wiki?go=Citadel%20Issue%20Tracker?page=2024nov12-crash ]

 



[#] Wed Nov 13 2024 03:56:50 UTC from IGnatius T Foobar

Subject: Re: When I add a mail filter based on message size, citserver crashes

[Reply] [ReplyQuoted] [Headers] [Print]

Ok, this is fixed in https://code.citadel.org/citadel.git/commit/?id=a2dc9c66382e65082492c255a0bf27d187e383bb

The fixed code will appear in the next released version.

In the mean time, try the following workaround: create a rule that forces the inbox handler to load the message headers.  For example, "if subject equals xyxyxyxyxyx, file into trash, and continue".  Doesn't matter what it is, as long as it appears in the list above your reject rule.

You can remove that dummy rule after the next upgrade.  Watch for a new release of Citadel Server over the next few days.

 



[#] Wed Nov 13 2024 07:48:11 UTC from alperumit

Subject: Re: When I add a mail filter based on message size, citserver crashes

[Reply] [ReplyQuoted] [Headers] [Print]

Hello,

 

Thank you for your attention on such short notice. We also appreciate you spending your valuable personal time to develop and maintain a good product like Citadel.



[#] Wed Nov 13 2024 17:00:00 UTC from beroxer

Subject: citserver NetBSD 100% CPU from pthreads

[Reply] [ReplyQuoted] [Headers] [Print]

Hi All,

I know that NetBSD is not one of the primary OSes for Citadel. I am just an entusiast compiling Citadel for fun on NetBSD. I do not expect support, just sending this information hoping that it will be useful...

BTW, I compiled Citadel under Linux and it is working fine.

The problem is that citserver uses 100% CPU under NetBSD. I found out that the issue is with pthreads. The only way I found to mitigate this is to exclude threading from the code completely (see the patch below). Setting max_threads to 1 does not
mitigate the issue (still 100% CPU)

Additional information:

My versions:
* NetBSD 10.0
* Citadel 4.0.1004
* libcitadel 4.0.1004
* db 18.1.40

Output of ldd:
/opt/citadel/sbin/citserver:
-lssl.15 => /usr/lib/libssl.so.15
-lcrypto.15 => /usr/lib/libcrypto.so.15
-lcrypt.1 => /usr/lib/libcrypt.so.1
-lc.12 => /usr/lib/libc.so.12
-lz.1 => /usr/lib/libz.so.1
-liconv.2
=> /usr/pkg/lib/libiconv.so.2
-lcitadel.4 => /opt/citadel/lib/libcitadel.so.4
-lpthread.1 => /usr/lib/libpthread.so.1
-lical.3 => /usr/pkg/lib/libical.so.3
-licuuc.75 => /usr/pkg/lib/libicuuc.so.75
-licudata.75 => /usr/pkg/lib/libicudata.so.75
-lstdc++.9 => /usr/lib/libstdc++.so.9
-lm.0 => /usr/lib/libm.so.0
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-licui18n.75 => /usr/pkg/lib/libicui18n.so.75
-lldap.6 => /usr/lib/libldap.so.6
-llber.5 => /usr/lib/liblber.so.5
-lgssapi.12 => /usr/lib/libgssapi.so.12
-lkrb5.28 => /usr/lib/libkrb5.so.28
-lhx509.7 => /usr/lib/libhx509.so.7
-lasn1.10 => /usr/lib/libasn1.so.10
-lcom_err.8 => /usr/lib/libcom_err.so.8
-lroken.20 => /usr/lib/libroken.so.20
-lutil.7 => /usr/lib/libutil.so.7
-lwind.1 => /usr/lib/libwind.so.1
-lheimbase.2 => /usr/lib/libheimbase.so.2
-lheimntlm.6 => /usr/lib/libheimntlm.so.6
-lexpat.1 => /usr/pkg/lib/libexpat.so.1
-lcurl.4
=> /usr/pkg/lib/libcurl.so.4
-lnghttp2.14 => /usr/pkg/lib/libnghttp2.so.14
-lidn2.0 => /usr/pkg/lib/libidn2.so.0
-lunistring.5 => /usr/pkg/lib/libunistring.so.5
-lintl.1 => /usr/lib/libintl.so.1
-lresolv.3 => /usr/lib/libresolv.so.3
-ldb18-18.1 => /usr/pkg/lib/libdb18-18.1.so

My test patch (unified) which got citserver going without 100% CPU:
# o< --------------------------------------------------------------------------
--- server/threads.c.orig 2024-11-13 10:52:14.366557357 +0000
+++ server/threads.c 2024-11-13 10:55:38.939885643 +0000
@@ -67,14 +67,10 @@
// Second call to module init functions now that threading is up
initialize_modules(1);

- // Begin with one worker thread. We will expand the pool if necessary
- CtdlThreadCreate(worker_thread);
-
- // The supervisor thread monitors worker threads and spawns more of them if it finds that they are all in use.
+ //NOTE: citserv
on NetBSD is using 100% CPU, so disabling threading!
+ //event loop without threads (although pthread code initialized)
while (!server_shutting_down) {
- if ((active_workers == num_workers) && (num_workers < CtdlGetConfigInt("c_max_workers"))) {
- CtdlThreadCreate(worker_thread);
- }
+ worker_thread(NULL);
usleep(1000000);
}
# o< --------------------------------------------------------------------------

Some other tweaks to get it compiled under NetBSD

# in order to find libdb v18
sed -i 's/^BACKEND_LDFLAGS=.*/BACKEND_LDFLAGS=-ldb18/' configure
sed -i 's@^#include <db.h>@#include <db18/db.h>@' server/backends/berkeley_db/berkeley_db.c

# all the -R (rpaths) are needed for NetBSD, because it does not do traditional shared libraries lookup

CFLAGS="-I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/opt/citadel/include -L/opt/citadel/lib -Wl,-R/opt/citadel/lib" \
LDFLAGS="-L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/opt/citadel/lib -Wl,-R/opt/citadel/lib" \
./configure --ctdldir=/opt/citadel/sbin

Cheers and have fun!

[#] Wed Nov 13 2024 17:43:52 UTC from IGnatius T Foobar

Subject: Re: When I add a mail filter based on message size, citserver crashes

[Reply] [ReplyQuoted] [Headers] [Print]

Thank you for your attention on such short notice. We also
appreciate you spending your valuable personal time to develop
and maintain a good product like Citadel.

Seeing people using and enjoying the Citadel System is very rewarding.

Please be advised that we've pushed a maintenance release (version 1006) that contains the fix to the bug you uncovered. It is available in both Docker and Easy Install packages.

[#] Thu Nov 14 2024 11:41:25 UTC from alperumit

Subject: Re: When I add a mail filter based on message size, citserver crashes

[Reply] [ReplyQuoted] [Headers] [Print]

Hello,

 

I pulled the latest docker image and fired up Citadel. I wrote the rule and it works. Thanks again.

Regards,

 



[#] Thu Nov 14 2024 14:29:12 UTC from IGnatius T Foobar

Subject: Re: citserver NetBSD 100% CPU from pthreads

[Reply] [ReplyQuoted] [Headers] [Print]

The problem is that citserver uses 100% CPU under NetBSD. I found out that
the issue is with pthreads. The only way I found to >mitigate this is to exclude threading from the code completely (see the patch below). Setting max_threads to 1 does not
mitigate the issue (still 100% CPU)

That is indeed an interesting workaround. It would be interesting to see a stack trace to know where the active loop is taking place. Although disabling multithreaded execution isn't a workable solution for the mainline, it will actually work at a very small scale, it will simply answer one request at a time. We had someone trying that under HP-UX about 20 years ago with similar results.

Go to page: First ... 8 9 10 11 [12] 13 14 15 16 ... Last