Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: ping_host.nasl hangs

Subject: Re: ping_host.nasl hangs
Date: Sat, 29 Jul 2006 20:30:56 -0700
Renaud
Here's the backtrace you requested. Thanks for the prompt reply,
Barnaby

Attaching to program: /usr/local/sbin/nessusd, process 24534
Reading symbols from /usr/local/lib/libnasl.so.2...done.
Loaded symbols for /usr/local/lib/libnasl.so.2
Reading symbols from /usr/local/lib/libnessus.so.2...done.
Loaded symbols for /usr/local/lib/libnessus.so.2
Reading symbols from /usr/local/lib/libhosts_gatherer.so.2...done.
Loaded symbols for /usr/local/lib/libhosts_gatherer.so.2
Reading symbols from /usr/local/lib/libpcap-nessus.so.2...done.
Loaded symbols for /usr/local/lib/libpcap-nessus.so.2
Reading symbols from /lib64/libutil.so.1...done.
Loaded symbols for /lib64/libutil.so.1
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libssl.so.5...done.
Loaded symbols for /lib64/libssl.so.5
Reading symbols from /lib64/libcrypto.so.5...done.
Loaded symbols for /lib64/libcrypto.so.5
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
0x00000030fc3c2813 in __select_nocancel () from /lib64/libc.so.6
(gdb) bt
#0 0x00000030fc3c2813 in __select_nocancel () from /lib64/libc.so.6
#1 0x00002aaaaae7c3b5 in pcap_read () from /usr/local/lib/libpcap-nessus.so.2
#2 0x00002aaaaae7cd0c in pcap_next () from /usr/local/lib/libpcap-nessus.so.2
#3 0x00002aaaaac06846 in bpf_next_tv (bpf=0, caplen=0x7ffffff52aac,
tv=0x7ffffff52a30) at bpf_share.c:988
#4 0x00002aaaaac068c6 in bpf_next (bpf=0, caplen=0x7ffffff52aac)
at bpf_share.c:1004
#5 0x00002aaaaaac9b4a in capture_next_packet (bpf=0, timeout=1,
sz=0x7ffffff52bcc) at capture_packet.c:98
#6 0x00002aaaaaabebcc in nasl_send_packet (lexic=0x19e2c40)
at nasl_packet_forgery.c:1369
#7 0x00002aaaaaad2186 in nasl_func_call (lexic=0x19e2b20, f=0x19dfe50,
arg_list=0x19c7500) at nasl_func.c:273
#8 0x00002aaaaaad006a in nasl_exec (lexic=0x19e2b20, st=0x19c7e00)
at exec.c:1080
#9 0x00002aaaaaad0104 in nasl_exec (lexic=0x19e2b20, st=0x19c7e40)
at exec.c:1141
#10 0x00002aaaaaad02b9 in nasl_exec (lexic=0x19e2b20, st=0x19c7f60)
at exec.c:887
#11 0x00002aaaaaad08f0 in nasl_exec (lexic=0x19e2b20, st=0x19c7fa0)
at exec.c:923
#12 0x00002aaaaaad02b9 in nasl_exec (lexic=0x19e2b20, st=0x19c85e0)
at exec.c:887
#13 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19e2b20, st=0x19c8620)
at exec.c:895
#14 0x00002aaaaaad08f0 in nasl_exec (lexic=0x19e2b20, st=0x19c8660)
at exec.c:923
#15 0x00002aaaaaad02b9 in nasl_exec (lexic=0x19e2b20, st=0x19c89f0)
at exec.c:887
#16 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19e2b20, st=0x19c8a30)
at exec.c:895
#17 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19e2b20, st=0x19c8a70)
at exec.c:895
#18 0x00002aaaaaad2278 in nasl_func_call (lexic=0x19e2a40, f=0x19e2a00,
arg_list=0x0) at nasl_func.c:277
#19 0x00002aaaaaad006a in nasl_exec (lexic=0x19e2a40, st=0x19ca190)
at exec.c:1080
#20 0x00002aaaaaad13fa in cell2bool (lexic=0x19e2a40, c=Variable "c" is not available.
) at exec.c:94
#21 0x00002aaaaaad03ac in nasl_exec (lexic=0x19e2a40, st=0x19ca1d0)
at exec.c:1253
#22 0x00002aaaaaad0274 in nasl_exec (lexic=0x19e2a40, st=0x19ca3f0)
at exec.c:871
#23 0x00002aaaaaad02b9 in nasl_exec (lexic=0x19e2a40, st=0x19cad30)
at exec.c:887
#24 0x00002aaaaaad2278 in nasl_func_call (lexic=0x19dc760, f=0x19e2670,
arg_list=0x19d2250) at nasl_func.c:277
#25 0x00002aaaaaad006a in nasl_exec (lexic=0x19dc760, st=0x19d2290)
at exec.c:1080
#26 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19d22d0)
at exec.c:895
#27 0x00002aaaaaad0ba8 in nasl_exec (lexic=0x19dc760, st=0x19d2310)
at exec.c:877
#28 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19d2350)
at exec.c:895
#29 0x00002aaaaaad02a5 in nasl_exec (lexic=0x19dc760, st=Variable "st" is not available.
) at exec.c:880
#30 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19d23d0)
at exec.c:895
#31 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19d2410)
at exec.c:895
#32 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19d2450)
at exec.c:895
#33 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19d2490)
at exec.c:895
#34 0x00002aaaaaad0ba8 in nasl_exec (lexic=0x19dc760, st=0x19d24d0)
at exec.c:877
#35 0x00002aaaaaad02b9 in nasl_exec (lexic=0x19dc760, st=0x19dc060)
at exec.c:887
#36 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc0a0)
at exec.c:895
#37 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc0e0)
at exec.c:895
#38 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc120)
at exec.c:895
#39 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc160)
at exec.c:895
#40 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc1a0)
at exec.c:895
#41 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc1e0)
at exec.c:895
#42 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc220)
at exec.c:895
#43 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc260)
at exec.c:895
#44 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc2a0)
at exec.c:895
#45 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc2e0)
at exec.c:895
#46 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc320)
at exec.c:895
#47 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc360)
at exec.c:895
#48 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc3a0)
at exec.c:895
#49 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc3e0)
at exec.c:895
#50 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc420)
at exec.c:895
#51 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc460)
at exec.c:895
#52 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc4a0)
at exec.c:895
#53 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc4e0)
at exec.c:895
#54 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc520)
at exec.c:895
#55 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc560)
at exec.c:895
#56 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc5a0)
at exec.c:895
#57 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc5e0)
at exec.c:895
#58 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc620)
at exec.c:895
#59 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc660)
at exec.c:895
#60 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc6a0)
at exec.c:895
#61 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc6e0)
at exec.c:895
#62 0x00002aaaaaad02e2 in nasl_exec (lexic=0x19dc760, st=0x19dc720)
at exec.c:895
#63 0x00002aaaaaad134a in execute_nasl_script (script_infos=0x13b5260,
name=0x7ffffff58a80 "/usr/local/lib/nessus/plugins/ping_host.nasl",
cache_dir=0x7ffffff578d0 "/usr/local/lib/nessus/plugins/.bin", mode=4)
at exec.c:1840
#64 0x000000000040eb26 in nasl_thread (g_args=0x19ad540) at nasl_plugins.c:241
#65 0x000000000040883c in create_process (function=0x40e900 <nasl_thread>,
argument=0x19ad540) at processes.c:98
#66 0x000000000040e8a2 in nasl_plugin_launch (globals=0x6087b0,
plugin=0x13b5260, hostinfos=Variable "hostinfos" is not available.
) at nasl_plugins.c:161
#67 0x0000000000414a7b in plugin_launch (globals=0x6087b0, sched=0x1577fc0,
plugin=0x18a3b50, hostinfos=0x1902900, preferences=0x56f7d0,
kb=0x2aaaab18f010,
name=0x7ffffff58a80 "/usr/local/lib/nessus/plugins/ping_host.nasl",
launcher=0xfffffffffffffdfe) at pluginlaunch.c:448
#68 0x00000000004056e4 in attack_start (args=Variable "args" is not available.
) at attack.c:260
#69 0x000000000040883c in create_process (function=0x405280 <attack_start>,
argument=0x7ffffff58f80) at processes.c:98
#70 0x0000000000406335 in attack_network (globals=0x6087b0) at attack.c:790
#71 0x00000000004103c3 in server_thread (globals=0x6087b0) at nessusd.c:517
#72 0x000000000040883c in create_process (function=0x40fe40 <server_thread>,
argument=0x6087b0) at processes.c:98
#73 0x000000000040f8af in main_loop () at nessusd.c:862
#74 0x0000000000410fcb in main (argc=Variable "argc" is not available.
) at nessusd.c:1323



Renaud Deraison wrote:


On Jul 29, 2006, at 6:16 AM, barnaby cockcroft wrote:


I installed nessus 2.2.8 on three machines today, one 32 bit FC3 machine, one AMD x86_64 FC4 machine and on my x86_64 FC5 laptop. I did this in reverse order: I couldn't get nessus to run on my laptop (except against localhost, or if I disabled all scanning options), then I couldn't get it to run on my desktop, then in desperation I tried the FC3 machine, where it ran fine.


If this is a Fedora / 64 bit issue, I can't believe there's no-one else who's experienced this, yet the last mention of a similar issue on these lists I can find was in August 2005.

Can anyone give me a clue as to what is happening and how to fix this?

Running gdb against one of the hung nessusd processes running ping_host.nasl gave the following output:

Loaded symbols for /lib64/libnss_files.so.2
0x00000030fc3c2813 in __select_nocancel () from /lib64/libc.so.6


Type 'bt' to get a full backtrace and send it here please.


Thanks,

                -- Renaud

_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus


_______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>