Article delegate-en/1329 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1328@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: nntp posting limit?
16 Sep 2001 19:41:35 GMT "Mr. Sharkey" <pfycqbdyi-jqwqhpezu6xr.ml@ml.delegate.org>



Yutaka Sato wrote:

> On 09/17/01(02:26) I wrote in <_A1327@delegate-en.ML_>


 > Another possible reason is "NNTP-connecion-cache" is doing something
 > wrong.  NNTPCONF=nntpcc:0 will disable the function.
 >


Just tried this, and no luck, but I've left it on for the rest of the
tests.




>  |Thank you.  A possible reason is that the server is not
>  |receiving/recognizing the ending ".CRLF" via your DeleGate for
>  |some reason. 
>  |
>  |Could you check what is sent to the server, especially if or not
>  |".CRLF" is sent, and what the server respond, with the folowing
>  |parameters?
>  |
>  |  FTOSV=-tee-v-L FFROMSV=-tee-v-L
>  |
>  |These parameters will record the communication with the server into logfile.
> 



Ok, this is wht is recorded - It's worthwhile to note that after the
final '.^M', nothing I type is transmitted (at least, nothing shows up
in the log), nor is the disconnection recorded in the log when I disconnect:




09/16 15:16:30.26 [10341] 1+0: -- Fork(OnetimeServer): 10339 -> 10341
09/16 15:16:30.26 [10341] 1+0: (0) accepted [17] -@[A.B.C.D]foo_machine:1942 (-0.002s)(1)
09/16 15:16:30.26 [10341] 1+0: PATH: nntp://aaaa.bbbbbbb.com:119!192.168.2.3:119!foo_machine:1942!anonymous@foo_machine;1000667790
09/16 15:16:30.28 [10341] 1+0: ConnectToServer: DFLT=nntp://aaaa.bbbbbbb.com:119 REAL=://:0
09/16 15:16:30.34 [10341] 1+0: ConnectToServer connected [7] {207.35.177.134:119 <- 192.168.2.3:53406} [0.061s]
09/16 15:16:30.34 [10343] 1+0: -- Fork(FFROMSV): 10341 -> 10343
09/16 15:16:30.35 [10342] 1+0: -- Fork(FTOSV): 10341 -> 10342
09/16 15:16:30.36 [10341] 1+0: NNTP-LOGIN; from=foo_machine; to=aaaa.bbbbbbb.com:119; ACCEPTED
09/16 15:16:30.36 [10341] 1+0: FQDN: aaaa.bbbbbbb.com
09/16 15:16:30.36 [10341] 1+0: [0] newServer = nntp://aaaa.bbbbbbb.com:119
09/16 15:16:30.36 [10341] 1+0: islocal = 1
09/16 15:16:30.36 [10341] 1+0: setLISTcache: private=0 created=0 TIMEOFF=0 /var/lib/nobody/delegate/cache/nntp/aaaa.bbbbbbb.com
/LIST/active
09/16 15:16:30.36 [10341] 1+0: [0][0] = <=> nntp://:@aaaa.bbbbbbb.com:119/
09/16 15:16:30.36 [10341] 1+0: MOUNT[0] aaaa.bbbbbbb.com[1]
09/16 15:16:30.37 [10341] 1+0: MOUNT[0] aaaa.bbbbbbb.com[1] rw
09/16 15:16:30.37 [10341] 1+0: #### no authorization required
200 NNTP Server (Twister v1.2.0)^M
09/16 15:16:30.58 [10341] 1+0: ## S-C 200 NNTP Server^M
09/16 15:16:30.59 [10341] 1+0: DO_INIT
09/16 15:16:30.59 [10341] 1+0: getting HELP from aaaa.bbbbbbb.com...
HELP^M
100 Legal Commands^M
   article [<messageid>|number]^M
   authinfo type value^M
   body [<messageid>|number]^M
   date^M
   group newsgroup^M
   head [<messageid>|number]^M
   help^M
   last^M
   list [active wildmat|active.times|counts wildmat]^M
   list [overview.fmt|newsgroups wildmat]^M
   listgroup newsgroup^M
   mode reader^M
   newgroups yyyymmdd hhmmss [GMT]^M
   newnews newsgroups yyyymmdd hhmmss [GMT]^M
   next^M
   post^M
   stat [<messageid>|number]^M
   xhdr field [range]^M
   xover [range]^M
   xpat field range pattern^M
   quit^M
.^M
LIST ACTIVE control^M
215 NewsGroups Follow^M
control 0003725777 0003725724 y^M
.^M
09/16 15:16:31.18 [10341] 1+0: CLOSE previous cache: private=0 TIMEOFF=0 /var/lib/nobody/delegate/cache/nntp/aaaa.bbbbbbb.com/L
IST/active
09/16 15:16:31.18 [10341] 1+0: setLISTcache: private=0 created=0 TIMEOFF=0 /var/lib/nobody/delegate/cache/nntp/aaaa.bbbbbbb.com
/LIST/active
09/16 15:16:31.18 [10341] 1+0: with LIST ACTIVE [wildmat] = /var/lib/nobody/delegate/cache/nntp/aaaa.bbbbbbb.com/LIST/active
09/16 15:16:31.18 [10341] 1+0: reuse pathost[news.bbbbbbb.com] in [age=544] /var/lib/nobody/delegate/cache/nntp/aaaa.bbbbbbb.com/lib/pathhost
09/16 15:16:34.90 [10341] 1+0: POST after response flush (0)
09/16 15:16:34.87 [10341] 1+0: NNTP POST
09/16 15:16:36.74 [10341] 1+0: Permitted: alt.test [aaaa.bbbbbbb.com,M=1,R=0]
09/16 15:16:36.74 [10341] 1+0: POST to server[0][aaaa.bbbbbbb.com] alt.test
POST^M
340 Send Article to be Posted^M
09/16 15:16:36.99 [10341] 1+0: ## S-C 340 Send Article to be Posted [][]
09/16 15:16:36.99 [10341] 1+0: NNTP POST: 340 Send Article to be Posted^M
09/16 15:16:36.99 [10341] 1+0: Permitted: alt.test [aaaa.bbbbbbb.com,M=1,R=0]
09/16 15:16:36.99 [10341] 1+0: Permitted: alt.test [aaaa.bbbbbbb.com,M=1,R=0]
From: test@test..^M
Newsgroups: alt.test^M
Subject: test^M
Date: Friday, 16-Sept-01 16:14:55 EST^M
Followup-To: alt.test^M
Expires: Saturday, 17-Sept-01 00:00:00 EST^M
Date-Received: Friday, 16-Sept-01 16:59:30 EST^M
Organization: Test^M
X-Forwarded: by - (DeleGate/7.5.2)^M
^M
123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-^M

(22 lines snipped

123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-^M
.^M




Another interesting thing - if I send:


(snip)
123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-
---------------------------------------------------------------------------------------------------
.
help


All that shows up in the log is:

123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-^M
---------------------------------------------------------------------------------------------------^M
.^M


  There's no record of anything sent after the '.' on the last line.




 >  | > - where the DeleGate is hanging inspected with gdb by where command
 >  |Sorry - can you give me the command line you wish me to run? I'm
 >  |not familiar with using gdb.
 >
 > % gdb thePathNameOf-delegated thePidOfTheHangingDeleGateProcess
 > (gdb) where
 > (gdb) quit
 >


This is when it's in the process of hanging -

(btw - upgraded to v 7.5.2, but no differnece)



root@solar:~/delegate7.5.2 # gdb src/delegated 9683
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...(no debugging symbols found)...
/root/delegate7.5.2/9683: No such file or directory.
Attaching to program: /root/delegate7.5.2/src/delegated, Pid 9683
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
0x400f91f7 in poll () from /lib/libc.so.6
(gdb) where
#0  0x400f91f7 in poll () from /lib/libc.so.6
#1  0x812b284 in PollIns ()
#2  0x805a9c4 in pollServPort ()
#3  0x8052e5a in pollServPortAndSticky ()
#4  0x8053219 in AcceptByMain ()
#5  0x8051d5f in _main ()
#6  0x8050ba3 in delegate_main ()
#7  0x812af5f in alloca_call ()
#8  0x811fddb in randstack_call ()
#9  0x80555bc in mainX ()
#10 0x804ad0d in main ()
#11 0x40051baf in __libc_start_main () from /lib/libc.so.6
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /root/delegate7.5.2/src/delegated, Pid 9683



Eventually it times out.







> Hi,
> 
> In message <_A1326@delegate-en.ML_> on 09/17/01(00:57:38)
> you "Mr. Sharkey" <pfycqbdyi-jqwqhpezu6xr.ml@ml.delegate.org> wrote:
>  |It's independant - I can always enter the header. It's when the body
>  |is too large (looks like 1024+ characters) and I send the final '.',
>  |that it hangs.
> 
> It looks like so but there is no such limitation and NNTP-DeleGate
> has been used for many years without such problem, at least used with
> INN news server.  Could you tell me what your NNTP server is,
> on which OS?


I'm sorry I don't know - I don't have access to the server.


> Maybe the DeleGate is pending in ... NNTP_POST() -> fgetsFS() -> ...
> to receive the response code from the server.
> 
>  | > - what the last line of LOGFILE shows when the DeleGate is hanging
> ...
>  |And when it hangs:
>  |09/16 11:38:47.40 [7974] 6+0: NNTP POST: 340 ok (POST via DeleGate).^M
>  |09/16 11:38:47.42 [7962] 5+0/6: POST to server[0][aaaa.bbbbbbb.com] alt.test
>  |09/16 11:38:47.46 [7962] 5+0/6: NNTP POST: 340 Send Article to be Posted^M
>  |09/16 11:38:47.46 [7962] 5+0/6: Permitted: alt.test [aaaa.bbbbbbb.com,M=1,R=0]
>  |09/16 11:38:47.47 [7962] 5+0/6: Permitted: alt.test [aaaa.bbbbbbb.com,M=1,R=0]
> 
> Thank you.  A possible reason is that the server is not
> receiving/recognizing the ending ".CRLF" via your DeleGate for
> some reason. 
> 
> Could you check what is sent to the server, especially if or not
> ".CRLF" is sent, and what the server respond, with the folowing
> parameters?
> 
>   FTOSV=-tee-v-L FFROMSV=-tee-v-L
> 
> These parameters will record the communication with the server into logfile.
> 
> Cheers,
> Yutaka
> --
>   @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
> ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
> _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
> 







M.


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V