|
From: xavier <lis...@na...> - 2003-11-17 00:53:30
|
Hello, the peep client (cvs version) is dying when the connexion is dead on the other end... (ie the server segfaults, free the binded ports, logparser is left alone) may be it should try to re-open the tcp socket until it succeed ? (like, sleep 2 sec, try again, sleep 2 sec, try again.... ?) thanks xavier 1.3 : peep client 1.2 : peep server it actually needs 2 packets to die : 811.446203 192.168.1.3 -> 192.168.1.2 00:05:5d:ff:2c:c4 TCP 57561 > 2001 [SYN] Seq=2701702917 Ack=0 Win=5640 Len=0 811.446474 192.168.1.2 -> 192.168.1.3 00:50:da:3b:7d:96 TCP 2001 > 57561 [SYN, ACK] Seq=2698818766 Ack=2701702918 Win=5792 Len=0 811.491784 192.168.1.3 -> 192.168.1.2 00:05:5d:ff:2c:c4 TCP 57561 > 2001 [ACK] Seq=2701702918 Ack=2698818767 Win=5640 Len=0 811.493200 192.168.1.3 -> 192.168.1.2 00:05:5d:ff:2c:c4 TCP 57561 > 2001 [PSH, ACK] Seq=2701702918 Ack=2698818767 Win=5640 Len=550 811.493385 192.168.1.2 -> 192.168.1.3 00:50:da:3b:7d:96 TCP 2001 > 57561 [ACK] Seq=2698818767 Ack=2701703468 Win=6600 Len=0 818.581155 192.168.1.3 -> 192.168.1.2 00:05:5d:ff:2c:c4 TCP 57561 > 2001 [PSH, ACK] Seq=2701703468 Ack=2698818767 Win=5640 Len=551 818.581358 192.168.1.2 -> 192.168.1.3 00:50:da:3b:7d:96 TCP 2001 > 57561 [ACK] Seq=2698818767 Ack=2701704019 Win=7714 Len=0 826.265347 192.168.1.2 -> 192.168.1.3 00:50:da:3b:7d:96 TCP 2001 > 57561 [FIN, ACK] Seq=2698818767 Ack=2701704019 Win=7714 Len=0 826.317003 192.168.1.3 -> 192.168.1.2 00:05:5d:ff:2c:c4 TCP 57561 > 2001 [ACK] Seq=2701704019 Ack=2698818768 Win=5640 Len=0 832.725455 192.168.1.3 -> 192.168.1.2 00:05:5d:ff:2c:c4 TCP 57561 > 2001 [PSH, ACK] Seq=2701704019 Ack=2698818768 Win=5640 Len=552 832.725665 192.168.1.2 -> 192.168.1.3 00:50:da:3b:7d:96 TCP 2001 > 57561 [RST] Seq=2698818768 Ack=0 Win=0 Len=0 here is the dump : [Sun Nov 16 19:38:01 2003] Checking group [sudo] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [procmail] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [inrx] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [incoming] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [outgoing] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [reject] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [smtp] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [test] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [cron] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [identd] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Checking group [drop] against group and excluded group lists ... [Sun Nov 16 19:38:01 2003] Trying to match regex [sudo] for event [sudo] [Sun Nov 16 19:38:01 2003] Trying to match regex [D=procmail] for event [procmail] [Sun Nov 16 19:38:01 2003] Trying to match regex [LASTFOLDER=IN.rx] for event [inrx] [Sun Nov 16 19:38:01 2003] Trying to match regex [<=] for event [incoming] [Sun Nov 16 19:38:01 2003] Trying to match regex [=>] for event [outgoing] [Sun Nov 16 19:38:01 2003] Trying to match regex [reject] for event [reject] [Sun Nov 16 19:38:01 2003] Trying to match regex [smtp :] for event [smtp] [Sun Nov 16 19:38:01 2003] Trying to match regex [test : ] for event [test] [Sun Nov 16 19:38:01 2003] Trying to match regex [cron] for event [cron] [Sun Nov 16 19:38:01 2003] cron: Nov 16 19:38:01 192.168.1.20 PAM_unix[7787]: (cron) session opened for user mail by (uid=0) [Sun Nov 16 19:38:01 2003] Adding [emris.8d.com] to [host] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [logparser] to [client] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [0] to [type] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [cron] to [sound] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [128] to [location] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [0] to [priority] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [255] to [volume] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [1069029481] to [date] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [Nov 16 19:38:01 192.168.1.20 PAM_unix[7787]: (cron) session opened for user mail by (uid=0) ] to [data] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [0] to [metric] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Adding [info] to [level] of class [Net::Peep::Data::Notice] [Sun Nov 16 19:38:01 2003] Sending client [logparser] packet to server(s) from host [emris.8d.com] ... [Sun Nov 16 19:38:01 2003] Notice: [Sun Nov 16 19:38:01 2003] type: [0] [Sun Nov 16 19:38:01 2003] sound: [cron] [Sun Nov 16 19:38:01 2003] location: [128] [Sun Nov 16 19:38:01 2003] priority: [0] [Sun Nov 16 19:38:01 2003] volume: [255] [Sun Nov 16 19:38:01 2003] dither: [] [Sun Nov 16 19:38:01 2003] Getting option [protocol] ... [Sun Nov 16 19:38:01 2003] Got [tcp] ... [Sun Nov 16 19:38:01 2003] Getting option [autodiscovery] ... [Sun Nov 16 19:38:01 2003] Got [0] ... [Sun Nov 16 19:38:01 2003] The notice will be sent to the following servers: [192.168.1.2:2001]. [Sun Nov 16 19:38:01 2003] Getting option [protocol] ... [Sun Nov 16 19:38:01 2003] Got [tcp] ... [Sun Nov 16 19:38:01 2003] Getting option [protocol] ... [Sun Nov 16 19:38:01 2003] Got [tcp] ... [Sun Nov 16 19:38:01 2003] Packet header bound for [192.168.1.2:2001]: [Sun Nov 16 19:38:01 2003] version: [2] [Sun Nov 16 19:38:01 2003] type: [4] [Sun Nov 16 19:38:01 2003] content: [1] [Sun Nov 16 19:38:01 2003] magic: [0xDEADBEEF] [Sun Nov 16 19:38:01 2003] len: [383] [Sun Nov 16 19:38:01 2003] XML: [ [Sun Nov 16 19:38:01 2003] <notice> [Sun Nov 16 19:38:01 2003] <client>logparser</client> [Sun Nov 16 19:38:01 2003] <data><![CDATA[Nov 16 19:38:01 192.168.1.20 PAM_unix[7787]: (cron) session opened for user mail by (uid=0) ]]></data> [Sun Nov 16 19:38:01 2003] <date>1069029481</date> [Sun Nov 16 19:38:01 2003] <host>emris.8d.com</host> [Sun Nov 16 19:38:01 2003] <level>info</level> [Sun Nov 16 19:38:01 2003] <location>128</location> [Sun Nov 16 19:38:01 2003] <metric>0</metric> [Sun Nov 16 19:38:01 2003] <priority>0</priority> [Sun Nov 16 19:38:01 2003] <sound>cron</sound> [Sun Nov 16 19:38:01 2003] <type>0</type> [Sun Nov 16 19:38:01 2003] <volume>255</volume> [Sun Nov 16 19:38:01 2003] </notice> [Sun Nov 16 19:38:01 2003] ] [Sun Nov 16 19:38:01 2003] Found existing [TCP] socket for server [192.168.1.2:2001] ... [141] xavier$ -- xavier |