Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.software.newsreader > #5296 > unrolled thread

[MesNews] Import Export Messaggi salvati e Post inviati

Started byIdP <domandtime@zoho.com>
First post2021-05-17 18:36 +0200
Last post2021-06-21 15:56 +0200
Articles 20 on this page of 52 — 2 participants

Back to article view | Back to it.comp.software.newsreader


Contents

  [MesNews] Import Export Messaggi salvati e Post inviati IdP <domandtime@zoho.com> - 2021-05-17 18:36 +0200
    Re: [MesNews] Import Export Messaggi salvati e Post inviati issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-05-21 12:58 +0200
      Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-05-31 21:31 +0200
        Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-01 21:46 +0200
          Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-01 23:02 +0200
            Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-02 00:08 +0200
              Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-01 22:41 +0000
            Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-02 00:50 +0200
              Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-02 15:32 +0200
                Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-03 15:39 +0200
                  Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-03 15:46 +0200
                    Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-08 19:56 +0200
                      Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-08 21:27 +0200
                        Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-09 01:30 +0200
                          Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-09 07:30 +0200
                            Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-10 00:11 +0200
                              Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-10 01:14 +0200
                                Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-10 15:15 +0200
                                  Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-10 16:26 +0200
                                    Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-10 21:56 +0200
                                      Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-10 22:54 +0200
                                        Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-10 23:52 +0200
                                          Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-11 00:12 +0200
                                            Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 00:38 +0200
                                              Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 00:44 +0200
                                                Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 00:54 +0200
                                                  Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 01:22 +0200
                                                    Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-11 08:06 +0200
                                                      Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 13:09 +0200
                  Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-04 03:03 +0200
                    Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-04 07:54 +0200
                      Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-04 14:00 +0200
                        Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-04 18:31 +0200
                        Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-04 20:47 +0200
                  Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-08 01:12 +0200
                    Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-08 11:58 +0200
        Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-01 16:34 +0200
      Re: [MesNews] Import Export Messaggi salvati e Post inviati IdP <domandtime@zoho.com> - 2021-05-23 15:00 +0200
        Re: [MesNews] Import Export Messaggi salvati e Post inviati issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-05-24 12:20 +0200
          Leafnode (was: Re: [MesNews] Import Export Messaggi salvati e Post inviati)n IdP <domandtime@zoho.com> - 2021-05-28 21:28 +0200
            Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-05-29 23:59 +0200
              Re: Leafnode IdP <domandtime@zoho.com> - 2021-05-30 15:10 +0200
                Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-05-30 16:26 +0200
                  Re: Leafnode IdP <domandtime@zoho.com> - 2021-05-31 18:16 +0200
                Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 00:11 +0200
                  Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-11 08:07 +0200
                    Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 13:24 +0200
                      Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 13:38 +0200
                        Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 14:03 +0200
                        Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-11 23:53 +0200
                          Re: Leafnode issdr <p_u_n_k_i_n_d@yahoo.it> - 2021-06-21 13:10 +0200
                            Re: Leafnode IdP <domandtime@zoho.com> - 2021-06-21 15:56 +0200

Page 1 of 3  [1] 2 3  Next page →


#5296 — [MesNews] Import Export Messaggi salvati e Post inviati

FromIdP <domandtime@zoho.com>
Date2021-05-17 18:36 +0200
Subject[MesNews] Import Export Messaggi salvati e Post inviati
Message-ID<s7u62a$g4a$1@dont-email.me>
I post inviati sono in Dossiers Messages E come file di testo con 
estensione .news, uno per ogni giornata.

I messaggi salvati sono invece in Sauvegarde, sempre come file .news, 
in folder con i nomi delle cartelle locali di backup create 
dall'utente.

Trattandosi di file di testo, non sarebbe difficile recuperarne il 
contenuto in qualche modo. Quello che mi interessa, però, è se esiste 
un sistema per esportare e reimportare all'interno di MesNews, per 
esempio per trasferirli da un'installazione a un'altra. Chessò, avevo 
un'installazione MesNews dalla quale ho inviato tot post Usenet, ora ne 
ho un'altra dalla quale ho inviato altri post, vorrei "fondere" e 
centralizzare il tutto nell'ultima installazione. Idem per i post 
salvati...

L'ideale forse sarebbe un convertitore in formato mbox leggibile anche 
da applicazioni terze.

-- 
IdP

[toc] | [next] | [standalone]


#5297

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-05-21 12:58 +0200
Message-ID<87sg2g1hhe.fsf@ID-313311.news.uni-berlin.de>
In reply to#5296
IdP wrote:

> Chessò, avevo un'installazione MesNews dalla quale ho inviato tot post
> Usenet, ora ne ho un'altra dalla quale ho inviato altri post, vorrei
> "fondere" e centralizzare il tutto nell'ultima installazione.

potresti valutare di avere un server sempre attivo. ho messo leafnode su
una schedina (Raspberry Pi) che si alimenta alla porta usb del
router. ddns sulla scheda stessa nel caso in cui il router non lo
supporti, io accedo via openssh, ma si può creare anche una VPN
punto-punto.

[toc] | [prev] | [next] | [standalone]


#5298 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-05-31 21:31 +0200
SubjectRe: Leafnode
Message-ID<87a6oag0ok.fsf@ID-313311.news.uni-berlin.de>
In reply to#5297
IdP wrote:

> issdr wrote on 30/05/2021 :
>
>>>> no, dai un FQDN nel file di configurazione di leafnode, anche fittizio.
>
> ...
>> ti confermo che il file di configurazione viene letto sotto /opt, per la
>> precisione /opt/etc/news/leafnode/ (due directory da creare)
>
>
> Forse dipende dalla distribuzione o dalla versione, da me legge il
> config in /opt/etc , che ho creato sulla base del config.example.

ok

> Ho de-commentato la riga hostname e inserito un FQDN fittizio.

ok

[...]

> A questo punto va avanti però ottengo un Aborted alla fine di
> fetchnews -fv...
>
> leafnode 1.11.7: verbosity level is 1, debugmode is 0
> Forced active fetch requested from command-line (option -f).
> try_lock(timeout=5), fqdn="my.xxomississs.org"
> erased stale pid 20497 host my.xxomississs.org lockfile
> /opt/var/spool/news/leaf.node/lock.file
> Forced active fetch after trouble reading active file.
> nntp.aioe.org: connecting to port nntp...
> Aborted

ahio.

,----
| :/$ sudo rm -vf /opt/var/spool/news/leaf.node/lock.file
| removed ‘/opt/var/spool/news/leaf.node/lock.file’
| :/$ sudo /opt/sbin/fetchnews -vvv
| leafnode 1.11.7: verbosity level is 3, debugmode is 0
| try_lock(timeout=0), fqdn="ID-313311.news.uni-berlin.de"
| Forced active fetch after trouble reading active file.
| 130.133.4.11: connecting to port 119...
| Aborted
| :/$ sudo tail -1 /var/log/messages
| 2021-05-31T21:04:38+02:00 SiNoLogo coredump: Process fetchnews[31687] dumped core on signal [6].
`----

da una prima ricerca, potrebbe essere un problema non da poco, legato al
tipo di processore sul nas, mannaggia... approfondirò.

> Inoltre, dopo aver avviato leafnode quindi con "Leafnode NNTP Daemon
> running...", non riesco a connettermi in telnet da pc locale.

questo invece sembra un problema di configurazione del wrapper, telnet è
l'unica prova che ho fatto (con successo) quando ho installato il
server.

[toc] | [prev] | [next] | [standalone]


#5306 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-01 21:46 +0200
SubjectRe: Leafnode
Message-ID<87fsy1jrkt.fsf@ID-313311.news.uni-berlin.de>
In reply to#5298
IdP wrote:

> issdr wrote on 31/05/2021 :
> ...
>> :/$ sudo tail -1 /var/log/messages
>> 2021-05-31T21:04:38+02:00 SiNoLogo coredump: Process
>> fetchnews[31687] dumped core on signal [6].
>
> Confermo, uguale da me identico log.

brutte notizie, problema noto e mai risolto:

https://www.leafnode.org/pipermail/leafnode-list/2011q4/002407.html

ci sarebbe da iscriversi e postare questo (anche se sono stati rimossi i
simboli dall'eseguibile...):
,----
| :/$ sudo gdb fetchnews /volume1/\@fetchnews.core
| Reading symbols from fetchnews...(no debugging symbols found)...done.
| [New LWP 13540]
| Core was generated by `fetchnews -vvv'.
| Program terminated with signal SIGABRT, Aborted.
| #0  0x401ef8c0 in raise () from /opt/lib/libc.so.6
| (gdb) backtrace
| #0  0x401ef8c0 in raise () from /opt/lib/libc.so.6
| #1  0x401f0b8c in abort () from /opt/lib/libc.so.6
| #2  0x00021478 in ?? ()
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
`----

nella stessa discussione consigliano di ricompilare, magari una versione
successiva del server, ma dubito se ne venga fuori, questo problema di
libc tocca anche altri applicativi

> issdr wrote on 30/05/2021 :
> ...
>> mi spiace per i possibili malware sul sito di Antonio,
>
> Comunque la segnalazione era sul mirror su Tiscali.
> Invece no problem ora che ho rintracciato il sito originale
> http://www.mrshark.it/qechowto/index.html

bene. a suo tempo quell'howto è stato un aiuto per molti noob (me
compreso).


[toc] | [prev] | [next] | [standalone]


#5308 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-01 23:02 +0200
SubjectRe: Leafnode
Message-ID<gsjioh-28d.ln1@host.not_for_real_absoluetyl_not.org>
In reply to#5306
issdr has brought this to us :

> brutte notizie, problema noto e mai risolto:
>
> https://www.leafnode.org/pipermail/leafnode-list/2011q4/002407.html
...
> nella stessa discussione consigliano di ricompilare, magari una versione
> successiva del server, ma dubito se ne venga fuori, questo problema di
> libc tocca anche altri applicativi

Chi ha un nas con almeno 3 o 4 giga di RAM forse potrebbe tentare 
tramite virtual machine?

[toc] | [prev] | [next] | [standalone]


#5309 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-02 00:08 +0200
SubjectRe: Leafnode
Message-ID<87eedlfdad.fsf@ID-313311.news.uni-berlin.de>
In reply to#5308
IdP wrote:

> Chi ha un nas con almeno 3 o 4 giga di RAM forse potrebbe tentare
> tramite virtual machine?

sì (beato lui).

in ogni caso, ho installato un po' di strumenti di sviluppo e compilato
leafnode-1.11.12 (già lanciato fetchnews ed ottenuto un active file).

ora sto vedendo come fargli offrire i suoi _servigi_ alla rete locale.

[toc] | [prev] | [next] | [standalone]


#5310 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-01 22:41 +0000
SubjectRe: Leafnode
Message-ID<3lpioh-vic.ln1@ID-313311.news.uni-berlin.de>
In reply to#5309
On 2021-06-01, issdr <p_u_n_k_i_n_d@yahoo.it> wrote:

> in ogni caso, ho installato un po' di strumenti di sviluppo e compilato
> leafnode-1.11.12 (già lanciato fetchnews ed ottenuto un active file).
>
> ora sto vedendo come fargli offrire i suoi _servigi_ alla rete locale.

configurato /etc/inetd.conf (nativo del nas, ho disintallato xinetd da
ipkg che in avvio ammazzava eventuali processi correnti); messo i
permessi necessari in /etc/hosts.allow et voila (dopo aver lanciato
/bin/inetd - mi resta da vedere come lanciarlo all'avvio della macchina)

per finire:

| :/$ cat /etc/cron.d/leafnode
| # Cron entries for Leafnode.
| # Run fetchnews every 4 minutes.
| */4 * * * *  root if [ -x /usr/local/sbin/fetchnews ]; then /usr/local/sbin/fetchnews; fi

[toc] | [prev] | [next] | [standalone]


#5311 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-02 00:50 +0200
SubjectRe: Leafnode
Message-ID<877djdfbdj.fsf@ID-313311.news.uni-berlin.de>
In reply to#5308
IdP wrote:

> Chi ha un nas con almeno 3 o 4 giga di RAM forse potrebbe tentare
> tramite virtual machine?

| Message-ID: <gsjioh-28d.ln1
                          ^^^
sei uno di quelli? <g>

[toc] | [prev] | [next] | [standalone]


#5312 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-02 15:32 +0200
SubjectRe: Leafnode
Message-ID<1tdkoh-odj.ln1@host.not_for_real_absoluetyl_not.org>
In reply to#5311
issdr wrote on 02/06/2021 :
> IdP wrote:
>
>> Chi ha un nas con almeno 3 o 4 giga di RAM forse potrebbe tentare
>> tramite virtual machine?
>
>> Message-ID: <gsjioh-28d.ln1
>                           ^^^
> sei uno di quelli? <g>

Purtroppo no, ma nel frattempo ho messo leafnode su un banalissimo 
vecchio pc.

[toc] | [prev] | [next] | [standalone]


#5313 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-03 15:39 +0200
SubjectRe: Leafnode
Message-ID<8735tzxe2h.fsf@ID-313311.news.uni-berlin.de>
In reply to#5312
IdP wrote:

> Purtroppo no, ma nel frattempo ho messo leafnode su un banalissimo
> vecchio pc.

nas con 256 mb di ram qua.

,----[ /etc/profile ]
| #/etc/profile: system-wide .profile file for ash.
| 
| umask 022
| 
| PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/opt/sbin:/opt/bin
| export PATH
[...]
`----

:/$ source /etc/profile
:/$ sudo -s
Password:
sh-4.3# ipkg install make gcc gawk pcre pcre-dev tcpwrappers
sh-4.3# wget https://sourceforge.net/projects/leafnode/files/leafnode/1.11.12/leafnode-1.11.12.tar.bz2
sh-4.3# tar jxvf leafnode-1.11.12.tar.bz2
sh-4.3# cd leafnode-1.11.12
sh-4.3# ./configure
sh-4.3# make
sh-4.3# make install

,----[ /etc/leafnode/config ]
| expire = 99999
| server = 
| initialfetch = 200
| username = 
| password = 
| port = 119
| hostname = 
| allow_8bit_headers = 1
`----

,----[ /etc/inetd.conf ]
| #telnet	stream	tcp	nowait	root	/usr/bin/telnetd	telnetd
| nntp	stream	tcp	nowait	news	/opt/libexec/tcpd	/usr/local/sbin/leafnode
`----

sh-4.3# /bin/inetd

,----[ /etc/cron.d/leafnode ]
| # Cron entries for Leafnode.
| # Run fetchnews every 10 minutes.
| */10 * * * *  root if [ -x /usr/local/sbin/fetchnews ]; then /usr/local/sbin/fetchnews; fi
`----

prova così intanto, se funziona tutto vediamo come far partire il wrapper
con il nas.

ciao

[toc] | [prev] | [next] | [standalone]


#5314 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-03 15:46 +0200
SubjectRe: Leafnode
Message-ID<878s3r3vsw.fsf@ID-313311.news.uni-berlin.de>
In reply to#5313
issdr wrote:

[...]

> prova così intanto, se funziona tutto vediamo come far partire il wrapper
> con il nas.
>
> ciao

,----[ hosts.allow ]
| # /etc/hosts.allow: list of hosts that are allowed to access the system.
| #                   See the manual pages hosts_access(5) and hosts_options(5).
| #
| # Example:    ALL: LOCAL @some_netgroup
| #             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
| #
| # If you're going to protect the portmapper use the name "rpcbind" for the
| # daemon name. See rpcbind(8) and rpc.mountd(8) for further information.
| #
| 
| #-- leafnode begin
| leafnode: 127.0.0.1,192.168.0.0/16
| #-- leafnode end
`----

connessione dal nas stesso e dalle reti locali di classe c (puoi mettere
il tuo primo ottetto significativo -il primo zero- e passare alla
maschera canonica /24)

[toc] | [prev] | [next] | [standalone]


#5322 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-08 19:56 +0200
SubjectRe: Leafnode
Message-ID<s9ob1b$6b9$1@dont-email.me>
In reply to#5314
issdr wrote on 03/06/2021 :
> issdr wrote:
>
> [...]
>
>> prova così intanto, se funziona tutto vediamo come far partire il wrapper
>> con il nas.
>> 
>> ciao
>
> ,----[ hosts.allow ]
>> # /etc/hosts.allow: list of hosts that are allowed to access the system.
>> #                   See the manual pages hosts_access(5) and 
>> hosts_options(5). #
>> # Example:    ALL: LOCAL @some_netgroup
>> #             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
>> #
>> # If you're going to protect the portmapper use the name "rpcbind" for the
>> # daemon name. See rpcbind(8) and rpc.mountd(8) for further information.
>> #
>> 
>> #-- leafnode begin
>> leafnode: 127.0.0.1,192.168.0.0/16
>> #-- leafnode end
> `----
>
> connessione dal nas stesso e dalle reti locali di classe c (puoi mettere
> il tuo primo ottetto significativo -il primo zero- e passare alla
> maschera canonica /24)

Aggiunte anche le righe per l'allow.

Vedo finalmente una porticina 119 sul nas in rete locale...

Però provando a scaricare la lista dei gruppi da mesnews mi dà server 
irrangiungibile...

-- 
IdP

[toc] | [prev] | [next] | [standalone]


#5323 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-08 21:27 +0200
SubjectRe: Leafnode
Message-ID<87h7i8dun9.fsf@ID-313311.news.uni-berlin.de>
In reply to#5322
IdP wrote:

> Aggiunte anche le righe per l'allow.
>
> Vedo finalmente una porticina 119 sul nas in rete locale...
>
> Però provando a scaricare la lista dei gruppi da mesnews mi dà server
> irrangiungibile...

hai ricaricato inetd?

sempre da root (fai sudo -s):

sh-4.3# pidof inetd

poi killi il numero di processo; oppure, in un colpo:

sh-4.3# kill $(pidof inetd)

e poi lo rilanci:

sh-4.3# /bin/inetd

[toc] | [prev] | [next] | [standalone]


#5324 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-09 01:30 +0200
SubjectRe: Leafnode
Message-ID<s9ouib$e4l$1@dont-email.me>
In reply to#5323
issdr wrote on 08/06/2021 :
> IdP wrote:
>
>> Aggiunte anche le righe per l'allow.
>> 
>> Vedo finalmente una porticina 119 sul nas in rete locale...
>> 
>> Però provando a scaricare la lista dei gruppi da mesnews mi dà server
>> irrangiungibile...
>
> hai ricaricato inetd?
>
> sempre da root (fai sudo -s):
>
> sh-4.3# pidof inetd
>
> poi killi il numero di processo; oppure, in un colpo:
>
> sh-4.3# kill $(pidof inetd)
>
> e poi lo rilanci:
>
> sh-4.3# /bin/inetd

Sì, ma non risolve.

Comunque noto che dopo il kill il processo viene automaticamente 
riavviato con un altro pid.
Se lo avvio anche manualmente, pidof inetd mostra due pid.


Stavo anche ˈpensando se vale la pena installare il newsreader tin da 
ipkg per leggere da leafnode in locale.

-- 
IdP

[toc] | [prev] | [next] | [standalone]


#5325 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-09 07:30 +0200
SubjectRe: Leafnode
Message-ID<87im2nhaes.fsf@ID-313311.news.uni-berlin.de>
In reply to#5324
IdP wrote:

> Sì, ma non risolve.

hai indirizzi di rete particolari? controlla che sia il nas (comando
ifconfig) che la macchina da cui ti colleghi abbiano come primi due
ottetti 192 e 168.

butta un occhio anche in /etc/hosts.deny

poi verifica che non ci siano regole particolari sul firewall del nas
(iptables -L)

> Comunque noto che dopo il kill il processo viene automaticamente
> riavviato con un altro pid.
> Se lo avvio anche manualmente, pidof inetd mostra due pid.

sempre da amministratore, lancia un find / -name inetd (per essere
sicuri che ci sia un solo eseguibile uno sulla macchina)

sul tuo nas fa respawn, da me no. problema in meno per te (credo ti
parta già in automatico)

> Stavo anche ˈpensando se vale la pena installare il newsreader tin da
> ipkg per leggere da leafnode in locale.

quello o slrn (provato, utilizzando vim come editor)

[toc] | [prev] | [next] | [standalone]


#5326 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-10 00:11 +0200
SubjectRe: Leafnode
Message-ID<s9re9k$1nl$1@dont-email.me>
In reply to#5325
issdr wrote on 09/06/2021 :
> IdP wrote:
>
>> Sì, ma non risolve.
>
> hai indirizzi di rete particolari? controlla che sia il nas (comando
> ifconfig) che la macchina da cui ti colleghi abbiano come primi due
> ottetti 192 e 168.
>
> butta un occhio anche in /etc/hosts.deny

Nessuna anomalia.

> poi verifica che non ci siano regole particolari sul firewall del nas
> (iptables -L)

Dovrebbe esserci solo l'anti-DOS.

sudo iptables -L
Password:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
DOS_PROTECT  all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain DOS_PROTECT (1 references)
target     prot opt source               destination
RETURN     icmp --  anywhere             anywhere             icmp 
echo-request limit: avg 1/sec burst 5
DROP       icmp --  anywhere             anywhere             icmp 
echo-request
RETURN     tcp  --  anywhere             anywhere             tcp 
flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
DROP       tcp  --  anywhere             anywhere             tcp 
flags:FIN,SYN,RST,ACK/RST
RETURN     tcp  --  anywhere             anywhere             tcp 
flags:FIN,SYN,RST,ACK/SYN limit: avg 10000/sec burst 100
DROP       tcp  --  anywhere             anywhere             tcp 
flags:FIN,SYN,RST,ACK/SYN


>> Comunque noto che dopo il kill il processo viene automaticamente
>> riavviato con un altro pid.
>> Se lo avvio anche manualmente, pidof inetd mostra due pid.
>
> sempre da amministratore, lancia un find / -name inetd (per essere
> sicuri che ci sia un solo eseguibile uno sulla macchina)

C'è solo /usr/bin/inetd

In /etc/inetd.conf ho come previsto

#telnet stream  tcp     nowait  root    /usr/bin/telnetd        telnetd
nntp    stream    tcp    nowait    news    /opt/libexec/tcpd    
/usr/local/sbin/leafnode

a cui si aggiungono, quando attivo il server telnet

telnet  stream  tcp6 nowait     root    /usr/bin/telnetd        telnetd 
-h
telnet  stream  tcp nowait      root    /usr/bin/telnetd        telnetd 
-h




> sul tuo nas fa respawn, da me no. problema in meno per te (credo ti
> parta già in automatico)

OK

>> Stavo anche ˈpensando se vale la pena installare il newsreader tin da
>> ipkg per leggere da leafnode in locale.
>
> quello o slrn (provato, utilizzando vim come editor)


Insallato slrn
Riesco  a vedere la lista dei gruppi su nntp.aioe.org per esempio, ma 
non su localhost
O forse sbaglio io il comando?

slrn -h localhost
slrn 0.9.9p1
Loading /opt/share/slrn/slang/slrn.sl
Using newsrc file /var/services/homes/my_nas_admin/.jnewsrc for server 
localhost.
Connecting to localhost ...
Unable to make connection. Giving up
Run-Time Error
slrn fatal error:
Failed to initialize server.


Provato anche come root...

$ sudo slrn -h localhost -f /root/.jnewsrc --create
slrn 0.9.9p1

Loading /opt/share/slrn/slang/slrn.sl
Using newsrc file /root/.jnewsrc for server localhost.
Connecting to host localhost ...
Failed to initialize server
Run-Time Error
Reason:
slrn fatal error:
Failed to initialize server.

-- 
IdP

[toc] | [prev] | [next] | [standalone]


#5327 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-10 01:14 +0200
SubjectRe: Leafnode
Message-ID<87wnr2vde8.fsf@ID-313311.news.uni-berlin.de>
In reply to#5326
IdP wrote:

> $ sudo slrn -h localhost -f /root/.jnewsrc --create
> slrn 0.9.9p1
>
> Loading /opt/share/slrn/slang/slrn.sl
> Using newsrc file /root/.jnewsrc for server localhost.
> Connecting to host localhost ...
> Failed to initialize server
> Run-Time Error
> Reason:
> slrn fatal error:
> Failed to initialize server.

grep news /etc/groups

?

[toc] | [prev] | [next] | [standalone]


#5329 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-10 15:15 +0200
SubjectRe: Leafnode
Message-ID<s9t38t$ufe$1@dont-email.me>
In reply to#5327
issdr wrote on 10/06/2021 :

> grep news /etc/groups
>
> ?

C'è il gruppo news:x:1000 , però in /etc/group


In /var/log/messages trovo varie righe
inetd: nntp/tcp: bind: Permission denied
intervallate di 10 minuti (come da cron)

-- 
IdP

[toc] | [prev] | [next] | [standalone]


#5330 — Re: Leafnode

Fromissdr <p_u_n_k_i_n_d@yahoo.it>
Date2021-06-10 16:26 +0200
SubjectRe: Leafnode
Message-ID<87o8cdeqy8.fsf@ID-313311.news.uni-berlin.de>
In reply to#5329
IdP wrote:

> issdr wrote on 10/06/2021 :
>
>> grep news /etc/groups
>>
>> ?
>
> C'è il gruppo news:x:1000 , però in /etc/group

m'è scappata una "s". il group id (1000) mi sa che non va bene, ma per
ora fai un tentativo aggiungendo i duepunti e news in coda (niente
spazi)

> In /var/log/messages trovo varie righe
> inetd: nntp/tcp: bind: Permission denied
> intervallate di 10 minuti (come da cron)

qui ti sta dicendo che fetchnews non ha le autorizzazioni giuste per
uscire da nntp (porta 119, trovi le associazioni in
/etc/service). vediamo se inserendo nel gruppo news l'utente news si
sistema la cosa

[toc] | [prev] | [next] | [standalone]


#5331 — Re: Leafnode

FromIdP <domandtime@zoho.com>
Date2021-06-10 21:56 +0200
SubjectRe: Leafnode
Message-ID<s9tqp2$kml$1@dont-email.me>
In reply to#5330
issdr wrote on 10/06/2021 :
> IdP wrote:
>
>> issdr wrote on 10/06/2021 :
>> 
>>> grep news /etc/groups
>>> 
>>> ?
>> 
>> C'è il gruppo news:x:1000 , però in /etc/group
>
> m'è scappata una "s". il group id (1000) mi sa che non va bene, ma per
> ora fai un tentativo aggiungendo i duepunti e news in coda (niente
> spazi)

Ok, quindi cambio in
news:x:1000:news

>> In /var/log/messages trovo varie righe
>> inetd: nntp/tcp: bind: Permission denied
>> intervallate di 10 minuti (come da cron)
>
> qui ti sta dicendo che fetchnews non ha le autorizzazioni giuste per
> uscire da nntp (porta 119, trovi le associazioni in
> /etc/service). vediamo se inserendo nel gruppo news l'utente news si
> sistema la cosa


Attualmente in services c'è

nntp            119/tcp         readnews untp   # USENET News Transfer 
Protocol


Provo a riavviare...

Per ora non noto differenze...


Dopo il riavvio del sistema inetd non è partito da solo, l'ho avviato 
manualmente...

In /var/log/messages vedo anche una sfilza di inetd cannot execute 
/opt/libexec/tcpd: No such file or directory

-- 
IdP

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | it.comp.software.newsreader


csiph-web