Refreshing Python filters?

David Hláčik david at hlacik.eu
Sun Jun 8 12:49:42 UTC 2008


Hello Julien,
i have tried both methods, now {'newsgroups':'local.sandbox','access':'RPA'}

and thanks for pointing me on telnet, here comes really interesting
result, what does it means?

boss at boss ~]$ telnet dev01.net.hlacik.eu 119
Trying 10.10.10.183...
Connected to dev01.net.hlacik.eu (10.10.10.183).
Escape character is '^]'.
200 dev01.net.hlacik.eu InterNetNews NNRP server INN 2.4.4 ready (posting ok).
mode reader
200 dev01.net.hlacik.eu InterNetNews NNRP server INN 2.4.4 ready (posting ok).
group local.sandbox
480 Authentication required for command
authinfo user boss
381 PASS required
authinfo pass secret
*** glibc detected *** - nnrpd: boss.net.hlacik.eu authinfo
                        : free(): invalid next size (fast): 0x096e00b8
***
======= Backtrace: =========
/lib/libc.so.6[0x35bc78]
/lib/libc.so.6(cfree+0x90)[0x35f220]
- nnrpd: boss.net.hlacik.eu authinfo
 (PY_access+0x3dc)[0x8073e0c]
- nnrpd: boss.net.hlacik.eu authinfo
 (PERMgetpermissions+0x90e)[0x806ba0e]
- nnrpd: boss.net.hlacik.eu authinfo
 (CMDauthinfo+0x333)[0x8061233]
- nnrpd: boss.net.hlacik.eu authinfo
 (main+0xb9e)[0x8065d1e]
/lib/libc.so.6(__libc_start_main+0xdc)[0x309dec]
- nnrpd: boss.net.hlacik.eu authinfo
 [0x805c921]
======= Memory map: ========
00110000-0023a000 r-xp 00000000 08:01 128718
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
0023a000-0023f000 rwxp 0012a000 08:01 128718
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
0023f000-00241000 rwxp 0023f000 00:00 0
00241000-00243000 r-xp 00000000 08:01 32130      /lib/libutil-2.5.so
00243000-00244000 r-xp 00001000 08:01 32130      /lib/libutil-2.5.so
00244000-00245000 rwxp 00002000 08:01 32130      /lib/libutil-2.5.so
00245000-0024e000 r-xp 00000000 08:01 32113      /lib/libnss_files-2.5.so
0024e000-0024f000 r-xp 00008000 08:01 32113      /lib/libnss_files-2.5.so
0024f000-00250000 rwxp 00009000 08:01 32113      /lib/libnss_files-2.5.so
002c6000-002cb000 r-xp 00000000 08:01 32089      /lib/libcrypt-2.5.so
002cb000-002cc000 r-xp 00004000 08:01 32089      /lib/libcrypt-2.5.so
002cc000-002cd000 rwxp 00005000 08:01 32089      /lib/libcrypt-2.5.so
002cd000-002f4000 rwxp 002cd000 00:00 0
002f4000-00431000 r-xp 00000000 08:01 32081      /lib/libc-2.5.so
00431000-00433000 r-xp 0013d000 08:01 32081      /lib/libc-2.5.so
00433000-00434000 rwxp 0013f000 08:01 32081      /lib/libc-2.5.so
00434000-00437000 rwxp 00434000 00:00 0
00509000-0050a000 r-xp 00509000 00:00 0          [vdso]
006fa000-00709000 r-xp 00000000 08:01 32136      /lib/libresolv-2.5.so
00709000-0070a000 r-xp 0000e000 08:01 32136      /lib/libresolv-2.5.so
0070a000-0070b000 rwxp 0000f000 08:01 32136      /lib/libresolv-2.5.so
0070b000-0070d000 rwxp 0070b000 00:00 0
007d6000-007d8000 r-xp 00000000 08:01 32093      /lib/libdl-2.5.so
007d8000-007d9000 r-xp 00001000 08:01 32093      /lib/libdl-2.5.so
007d9000-007da000 rwxp 00002000 08:01 32093      /lib/libdl-2.5.so
0095e000-00969000 r-xp 00000000 08:01 32109
/lib/libgcc_s-4.1.2-20070626.so.1
00969000-0096a000 rwxp 0000a000 08:01 32109
/lib/libgcc_s-4.1.2-20070626.so.1
009ca000-009dc000 r-xp 00000000 08:01 32134      /lib/libpthread-2.5.so
009dc000-009dd000 r-xp 00011000 08:01 32134      /lib/libpthread-2.5.so
009dd000-009de000 rwxp 00012000 08:01 32134      /lib/libpthread-2.5.so
009de000-009e0000 rwxp 009de000 00:00 0
00aba000-00acd000 r-xp 00000000 08:01 32097      /lib/libnsl-2.5.so
00acd000-00ace000 r-xp 00012000 08:01 32097      /lib/libnsl-2.5.so
00ace000-00acf000 rwxp 00013000 08:01 32097      /lib/libnsl-2.5.so
00acf000-00ad1000 rwxp 00acf000 00:00 0
00af1000-00b16000 r-xp 00000000 08:01 32095      /lib/libm-2.5.so
00b16000-00b17000 r-xp 00024000 08:01 32095      /lib/libm-2.5.so
00b17000-00b18000 rwxp 00025000 08:01 32095      /lib/libm-2.5.so
00d2d000-00d31000 r-xp 00000000 08:01 32112      /lib/libnss_dns-2.5.so
00d31000-00d32000 r-xp 00003000 08:01 32112      /lib/libnss_dns-2.5.so
00d32000-00d33000 rwxp 00004000 08:01 32112      /lib/libnss_dns-2.5.so
00e7a000-00e93000 r-xp 00000000 08:01 32084      /lib/ld-2.5.so
00e93000-00e94000 r-xp 00018000 08:01 32084      /lib/ld-2.5.so
00e94000-00e95000 rwxp 00019000 08:01 32084      /lib/ld-2.5.so
08048000-0818e000 r-xp 00000000 08:01 147845     /usr/lib/news/bin/nnrpd
0818e000-081b3000 rw-p 00145000 08:01 147845     /usr/lib/news/bin/nnrpd
081b3000-081c3000 rw-p 081b3000 00:00 0
096dd000-09753000 rw-p 096dd000 00:00 0
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f3b000-b7fbd000 rw-p b7f3b000 00:00 0
b7fbd000-b7fdf000 r--s 00000000 08:01 162123
/var/spool/news/overview/group.index
b7fdf000-b7fe2000 rw-p b7fdf000 00:00 0
b7fe5000-b7fe7000 rw-p b7fe5000 00:00 0
bf85b000-bf874000 rw-p bf85b000 00:00 0          [stack]
Connection closed by foreign host.




On Sun, Jun 8, 2008 at 2:20 PM, Julien ÉLIE <julien at trigofacile.com> wrote:
> Hi David,
>
>> Hello Julien , thank you for you effort anyway. I am getting closer
>> and i am restarting innd every time i made a change to my python
>> hooks.
>
> It seems to be useless to totally restart it if there is no syntax
> error in your scripts. (At least for innd filters; I have not tested
> nnrpd filters.)
>
>
>> When my access module returns : {'read':'*','post':'*'} , it works
>> just fine and i am getting access to all newsgroups, but when my
>> access module returns :
>> {'read':'local.sandbox,'write':'local.sandbox'} i will get an error in
>> client Windows Mail and all others too (no in news.notice logs)
>
> Did you also try this one?
>   {'newsgroups':'local.sandbox','access':'RPA'}
>
>
> And what if you telnet your server?
>
> 14:16 news at news ~% telnet news.trigofacile.com 119
> Trying 91.121.26.68...
> Connected to news.trigofacile.com.
> Escape character is '^]'.
> 200 news.trigofacile.com InterNetNews server INN 2.5.0 (20080608 prerelease)
> ready
> mode reader
> 200 news.trigofacile.com InterNetNews NNRP server INN 2.5.0 (20080608
> prerelease) ready (posting ok).
> group news.software.nntp
> 211 1186 149 4780 news.software.nntp
> body
> 222 149 <468bf4ab$0$322$e4fe514c at news.xs4all.nl> body
> [...]
> .
> quit
> 205 .
> Connection closed by foreign host.
>
> --
> Julien ÉLIE
>
> « -- Ouvre l'œil, et le bon !
>  -- L'autre, je peux pas encore l'ouvrir, je risque pas de me tromper ! »
> (Astérix)
>


More information about the inn-workers mailing list