-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi luca,
- --On Donnerstag, 31. Oktober 2002 09:56 +0100 Luca Deri <[EMAIL PROTECTED]> wrote: > Matthias Henze wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> why does no one answer ? :-(( >> >> > Matthias, > I have committed a patch this week that double checks some activities > with the virtual hosts handling. I am sure that this patch isn't enough > but as I cannot reproduce the problem here I have to wait until somebody > provides me a way to do that. ok, i will try to help - but i had no clue, that your commit's addressed MY problem - it would be nice if you could drop me a line next time, so i can do some new tests in order to help to make ntop more stable - atleast on suse 8 :-) i've seen the commits, but i was not aware, that they address my "problem". > In addition please remember that: > 1. ntop is a project carried on a voluntary basis > 2. we are not forced to answer to all mails (I wish I had time for that) > as we release the software according to the GPL licence (i.e. no > guarantee) 3. we are free to assign priorities to our development > activities (I'm busy with RRD now right now) 4. we provide (see > http://www.ntopsupport.com and http://shop.nop.org) commercial support > for companies like yours. Feel free to take advantage of it. i know all this - and now you know where the "problem" was ... if you want me to stress test ntop on suse 8 i need to know wen my issues are addressd in sources commits :-) thanks matthias >> took some time - but here we go: >> >> Program received signal SIGSEGV, Segmentation fault. >> [Switching to Thread 8201 (LWP 31394)] >> 0x40476a60 in strcmp () from /lib/libc.so.6 >> >> >> (gdb) list >> 735 /* ************************************ */ >> 736 >> 737 /* That's the meat */ >> 738 #ifdef WIN32 >> 739 int ntop_main(int argc, char *argv[]) { >> 740 #else >> 741 int main(int argc, char *argv[]) { >> 742 #endif >> 743 int i, userSpecified; >> 744 char ifStr[196] = {0}; >> >> (gdb) info stack >># 0 0x40476a60 in strcmp () from /lib/libc.so.6 >># 1 0x4016e8fc in updateHTTPVirtualHosts (virtualHostName=0x850cc50 >> "www5.avitos.com", >> theRemHost=0x84b6ff8, bytesSent=660, bytesRcvd=270) at sessions.c:110 >># 2 0x401711eb in handleSession (h=0xbe9ff9b0, fragmentedData=0, >> tcpWin=8217, srcHostIdx=6, sport=80, >> dstHostIdx=1, dport=3185, length=446, tp=0xbe9ff66c, >> packetDataLength=394, >> packetData=0x828ee04 "Date: Wed, 23 Oct 2002 10:12:21 GMT\r\nLocation: >> /shop/index.asp?id=122312&sid=5890270411\r\nContent-Type: >> text/html\r\nSet-Cookie: ASPSESSIONIDGGGQGAYC=IPAIMBDCMGNJBMBDDBHILIBA; >> path=/\r\nCache-control: priv"..., actualDeviceId=1) at sessions.c:1229 >># 3 0x40172473 in handleTCPSession (h=0xbe9ff9b0, fragmentedData=0, >> tcpWin=8217, srcHostIdx=6, sport=80, >> dstHostIdx=1, dport=3185, length=446, tp=0xbe9ff66c, >> tcpDataLength=394, packetData=0x828ee04 "Date: Wed, 23 Oct 2002 >> 10:12:21 GMT\r\nLocation: >> /shop/index.asp?id=122312&sid=5890270411\r\nContent-Type: >> text/html\r\nSet-Cookie: ASPSESSIONIDGGGQGAYC=IPAIMBDCMGNJBMBDDBHILIBA; >> path=/\r\nCache-control: priv"..., actualDeviceId=1) at sessions.c:1570 >># 4 0x4016705f in processIpPkt (bp=0x828edd0 "E", h=0xbe9ff9b0, >># length=460, >> ether_src=0xbe9ff95a "", >> ether_dst=0xbe9ff954 "", actualDeviceId=1) at pbuf.c:789 >># 5 0x4016a6d2 in processPacket (_deviceId=0x1 <Address 0x1 out of >># bounds>, >> h=0xbe9ff9b0, p=0x828edc2 "") >> at pbuf.c:2178 >># 6 0x4017ab27 in pcap_read_packet () from >># /usr/local/lib/libntop-2.1.so.3 7 0x4017a96a in pcap_read () from >># /usr/local/lib/libntop-2.1.so.3 8 0x4017bc32 in pcap_dispatch () from >># /usr/local/lib/libntop-2.1.so.3 9 0x40163721 in pcapDispatch (_i=0x1) >># at ntop.c:107 >># 10 0x403c2e67 in pthread_start_thread () from /lib/libpthread.so.0 >># 11 0x403c2eb5 in pthread_start_thread_event () from /lib/libpthread.so.0 >> >> >> >> (gdb) bt full >># 0 0x40476a60 in strcmp () from /lib/libc.so.6 >> No symbol table info available. >># 1 0x4016e8fc in updateHTTPVirtualHosts (virtualHostName=0x850cc50 >> "www5.avitos.com", >> theRemHost=0x84b6ff8, bytesSent=660, bytesRcvd=270) at sessions.c:110 >> list = (VirtualHostList *) 0x84d5560 >> virtualHostName = 0x850cc50 "www5.avitos.com" >># 2 0x401711eb in handleSession (h=0xbe9ff9b0, fragmentedData=0, >> tcpWin=8217, srcHostIdx=6, sport=80, >> dstHostIdx=1, dport=3185, length=446, tp=0xbe9ff66c, >> packetDataLength=394, >> packetData=0x828ee04 "Date: Wed, 23 Oct 2002 10:12:21 GMT\r\nLocation: >> /shop/index.asp?id=122312&sid=5890270411\r\nContent-Type: >> text/html\r\nSet-Cookie: ASPSESSIONIDGGGQGAYC=IPAIMBDCMGNJBMBDDBHILIBA; >> path=/\r\nCache-control: priv"..., actualDeviceId=1) at sessions.c:1229 >> prevSession = (IPSession *) 0x8657470 >> fragmentedData = 0 >> sport = 80 >> dport = 3185 >> theSession = (IPSession *) 0x8657470 >> flowDirection = 3 >> addedNewEntry = 0 '\000' >> sessionType = 6 >> check = 65535 >> found = 1 >> srcHost = (HostTraffic *) 0x84b6ff8 >> dstHost = (HostTraffic *) 0x8448140 >> hostToUpdate = (HostTraffic *) 0x294 >> tvstrct = {tv_sec = 1035367944, tv_usec = 686043} >> rcStr = >> "dô\237¾\\®I@ÄÂ\"\bP¾\"\bãK\000\000âI@Ø\013R@àèQ@àèQ@^ÊI@Ø\013R@Xõ\237¾ >> \b× >> \t\bêw<@\\\026=@Ä+R@\b×\t\b8ÌI@ÄÂ\"\bôÁ\"\b¤ô\237¾¢\202I@Ø\013R@Xõ\237¾´ >> ô\2 >> 37¾þæ\026@D²\034@\220Î\005\b8%\000\000¹?<@Ø\013R@Xõ\237¾äô\237¾Á\234\027 >> @\0 06\000\000\000\001\000\000\000 >> \021\031@û\013\000\000D²\034@@\201D\bøoK\bô½I@Ø\013R@(\000\000\000 >> \021\031@øoK\b\001\000\000\000\005\000\000\000$õ\237¾<Y\026@"... >> len = 139512912 >># 3 0x40172473 in handleTCPSession (h=0xbe9ff9b0, fragmentedData=0, >> tcpWin=8217, srcHostIdx=6, sport=80, >> dstHostIdx=1, dport=3185, length=446, tp=0xbe9ff66c, >> tcpDataLength=394, packetData=0x828ee04 "Date: Wed, 23 Oct 2002 >> 10:12:21 GMT\r\nLocation: >> /shop/index.asp?id=122312&sid=5890270411\r\nContent-Type: >> text/html\r\nSet-Cookie: ASPSESSIONIDGGGQGAYC=IPAIMBDCMGNJBMBDDBHILIBA; >> path=/\r\nCache-control: priv"..., actualDeviceId=1) at sessions.c:1570 >> tp = (struct tcphdr *) 0x84b6ff8 >> tcpDataLength = 139512912 >> packetData = (u_char *) 0xffffffff <Address 0xffffffff out of >> bounds> >> theSession = (IPSession *) 0x805ce90 >># 4 0x4016705f in processIpPkt (bp=0x828edd0 "E", h=0xbe9ff9b0, >># length=460, >> ether_src=0xbe9ff95a "", >> ether_dst=0xbe9ff954 "", actualDeviceId=1) at pbuf.c:789 >> theSession = (IPSession *) 0xffffffff >> isPassiveSession = 0 >> nonFullyRemoteSession = 1 >> sport = 80 >> dport = 3185 >> ip = {ip_hl = 5, ip_v = 4, ip_tos = 0 '\000', ip_len = 48641, >> ip_id = 49120, ip_off = 64, >> ip_ttl = 64 '@', ip_p = 6 '\006', ip_sum = 3120, ip_src = {s_addr = >> 168430170}, ip_dst = { >> s_addr = 168430081}} >> tp = {th_sport = 20480, th_dport = 28940, th_seq = 804129469, >> th_ack = 3583058877, >> th_x2 = 0 '\000', th_off = 8 '\b', th_flags = 25 '\031', th_win = 8217, >> th_sum = 31087, th_urp = 0} >> up = {uh_sport = 53472, uh_dport = 2053, uh_ulen = 14848, uh_sum = >> 9663} >> icmpPkt = {icmp_type = 0 '\000', icmp_code = 0 '\000', icmp_cksum >> = 0, icmp_hun = { >> ih_pptr = 56 '8', ih_gwaddr = {s_addr = 9528}, ih_idseq = {icd_id = >> 9528, icd_seq = 0}, >> ih_void = 9528, ih_pmtu = {ipm_void = 9528, ipm_nextmtu = 0}, >> ih_rtradv = {irt_num_addrs = 56 '8', >> irt_wpa = 37 '%', irt_lifetime = 0}}, icmp_dun = {id_ts = {its_otime >> = 1077689514, >> its_rtime = 1075622468, its_ttime = 134598880}, id_ip = {idi_ip = >> {ip_hl = 10, ip_v = 10, >> ip_tos = 60 '<', ip_len = 16444, ip_id = 45636, ip_off = 16412, >> ip_ttl = 224 'à', ip_p = 208 'Ð', >> ip_sum = 2053, ip_src = {s_addr = 1075377600}, ip_dst = {s_addr = >> 1075219406}}}, id_radv = { >> ira_addr = 1077689514, ira_preference = 1075622468}, id_mask = >> 1077689514, id_data = "ª"}} >> hlen = 20 >> tcpDataLength = 0 >> udpDataLength = 1077703802 >> off = 0 >> tcpUdpLen = 426 >> srcHostIdx = 6 >> dstHostIdx = 1 >> srcHost = (HostTraffic *) 0x84b6ff8 >> dstHost = (HostTraffic *) 0x8448140 >> etherAddrSrc = "ò=<@ðÐ\005" >> etherAddrDst = "\000\000\000\000tö\237" >> tvstrct = {tv_sec = 138733196, tv_usec = 0} >> theData = ( >> u_char *) 0x828ee04 "Date: Wed, 23 Oct 2002 10:12:21 GMT\r\nLocation: >> /shop/index.asp?id=122312&sid=5890270411\r\nContent-Type: >> text/html\r\nSet-Cookie: ASPSESSIONIDGGGQGAYC=IPAIMBDCMGNJBMBDDBHILIBA; >> path=/\r\nCache-control: priv"... >># 5 0x4016a6d2 in processPacket (_deviceId=0x1 <Address 0x1 out of >># bounds>, >> h=0xbe9ff9b0, p=0x828edc2 "") >> at pbuf.c:2178 >> srcHost = (HostTraffic *) 0x844e0d0 >> dstHost = (HostTraffic *) 0x82fd380 >> srcHostIdx = 3198155098 >> dstHostIdx = 460 >> ehdr = {ether_dhost = "\000\001\002\030\013D", ether_shost = >> "\000\002³L/ÿ", ether_type = 8} >> trp = (struct tokenRing_header *) 0xffffffff >> fddip = (struct fddi_header *) 0x0 >> hlen = 14 >> caplen = 384 >> headerDisplacement = 0 >> length = 460 >> orig_p = (u_char *) 0x828edc2 "" >> p1 = (u_char *) 0x828edd8 "@\0060\f\n\n\nZ\n\n\n\001" >> ether_src = (u_char *) 0xbe9ff95a "" >> ether_dst = (u_char *) 0xbe9ff954 "" >> eth_type = 2048 >> trllc = (struct tokenRing_llc *) 0xffffffff >> fd = (FILE *) 0xbe9ff95a >> ipxBuffer = >> "ÿÿ\000Ñ\000\000\000\000\000\000ÿÿÿÿÿÿ\220\001\217®\202÷\000\001\002àös\ >> 220 >> \001\203!\002\000\030\001\000\000\000³\002\000'\006\031\230\000\000\000\ >> 000 \000\000b\026<@\\\026=@Ì\001\000\000Àù\237¾ >> \000\000\000Àù\237¾¬ù\237¾Tù\237¾]\202<@\000\000\000\000\000\000\000\000 >> ê\0 >> 31É\002\026\202<@Âí(\b\000\000\000\0008%\000\000\000'\006\031\230\002\00 >> 0\0 00\000\000\000" >> actualDeviceId = 1 >># 6 0x4017ab27 in pcap_read_packet () from >># /usr/local/lib/libntop-2.1.so.3 >> No symbol table info available. >># 7 0x4017a96a in pcap_read () from /usr/local/lib/libntop-2.1.so.3 >> No symbol table info available. >># 8 0x4017bc32 in pcap_dispatch () from /usr/local/lib/libntop-2.1.so.3 >> No symbol table info available. >># 9 0x40163721 in pcapDispatch (_i=0x1) at ntop.c:107 >> rc = -1 >> i = 1 >> pcap_fd = 11 >> readMask = {__fds_bits = {2048, 0 <repeats 31 times>}} >># 10 0x403c2e67 in pthread_start_thread () from /lib/libpthread.so.0 >> No symbol table info available. >># 11 0x403c2eb5 in pthread_start_thread_event () from /lib/libpthread.so.0 >> No symbol table info available. >> >> >> >> - - - - --On Montag, 21. Oktober 2002 05:59 -0700 Burton Strauss >> <[EMAIL PROTECTED]> wrote: >> >> >> >>> Suggestion: Collect and send the failure information. >>> >>> See the instructions re gdb at http://snapshot.ntop.org >>> >>> >>> -----Burton >>> >>> ---------- Original Message ---------------------------------- >>> From: Matthias Henze <[EMAIL PROTECTED]> >>> Reply-To: [EMAIL PROTECTED] >>> Date: Mon, 21 Oct 2002 10:30:02 +0200 >>> >>> >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> hi, >>>> >>>> my ntop -V stats: >>>> >>>> ntop v.2.1.3 MT [i686-suse-linux] (10/14/02 03:33:02 PM build) >>>> >>>> on a suse linux 8, uname -a stats: >>>> >>>> Linux fw 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown >>>> >>>> ntop is build manualy from the sources. >>>> >>>> ntop is started like this: >>>> >>>> /usr/local/bin/ntop -u nobody -w 3000 -P /usr/lib/ntop >>>> - -p /usr/lib/ntop/protocol.list -i eth0,eth1 -M -S1 -m 10.10.0.0/16 >>>> >>>> >>>> the problem: >>>> >>>> on this system ntop crashes after a random period of time without any >>>> messsage. additionaly i can crash ntop by clicking "stats" -> >>>> "networkload" and then on one of the graphs. >>>> >>>> >>>> any suggestion ?? >>>> >>>> TIA >>>> >>>> >>>> Matthias Henze [EMAIL PROTECTED] >>>> >>>> >>> >>> __________________________________________________ >>> D O T E A S Y - "Join the web hosting revolution!" >>> http://www.doteasy.com >>> _______________________________________________ >>> Ntop-dev mailing list >>> [EMAIL PROTECTED] >>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev >>> >>> >>> >>> >> >> >> >> >> >> Matthias Henze [EMAIL PROTECTED] >> >> Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> MHC SoftWare GmbH voice: +49-(0)9533-92006-0 >> Fichtera 17 fax: +49-(0)9533-92006-6 >> 96274 Itzgrund/Germany e-Mail: [EMAIL PROTECTED] >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.0.6-2 (MingW32) >> Comment: Weitere Infos: siehe http://www.gnupg.org >> >> iEYEARECAAYFAj3A6bMACgkQkuyUDXwkmpY5yACePFgB6o69Wi0ST/SNkKGknx83 >> bNQAnjT1cFcGLvZgs6rPsSISeLpvsk8D >> =BV3a >> -----END PGP SIGNATURE----- >> >> >> >> _______________________________________________ >> Ntop-dev mailing list >> [EMAIL PROTECTED] >> http://listgateway.unipi.it/mailman/listinfo/ntop-dev >> >> > > > -- > Luca Deri <[EMAIL PROTECTED]> http://luca.ntop.org/ > Hacker: someone who loves to program and enjoys being > clever about it - Richard Stallman > > > _______________________________________________ > Ntop-dev mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev > > Matthias Henze [EMAIL PROTECTED] Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc - - - - - - - - - - - - - - - - - - - - - - - - - - - - MHC SoftWare GmbH voice: +49-(0)9533-92006-0 Fichtera 17 fax: +49-(0)9533-92006-6 96274 Itzgrund/Germany e-Mail: [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6-2 (MingW32) Comment: Weitere Infos: siehe http://www.gnupg.org iEYEARECAAYFAj3A/jwACgkQkuyUDXwkmpb21ACeMduIg8A6Zz230jESdc7TISZg LgUAn1hItpyXKWtExhh2TcDd/eAacKXP =1PuE -----END PGP SIGNATURE----- _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev