kris
|
44a4cb90e6
|
Fixing the assertion failure: "Target.cc:396: void Target::stopTimeOutClock(const timeval*): Assertion 'htn.toclock_running == true' failed." This was caused when a target had scripts in multiple run levels. The problem was the time-out clocks added for --host-timeout support in NSE (r6657--appears to be present since 4.52). Now the time-out clocks are started before each runlevel execution, which (besides not failing assert) makes more sense because the timer would have been counting even when the target had no scripts in the current runlevel.
|
2008-04-16 17:56:48 +00:00 |
|
kris
|
fa9bd6be6e
|
Allow unfiltered ports to be selected in NSE
|
2008-04-09 01:54:14 +00:00 |
|
fyodor
|
d3d97d934b
|
print host name and IP in a script engine status message, rather than just hostname (which Nmap sometimes does not know). Patch from Jah
|
2008-04-05 23:52:41 +00:00 |
|
majek04
|
caf8008940
|
Previously, process_mainloop() assumed that there can occur only one event for l_nsock_loop(). This is obviously wrong. This caused that some lua threads wakeups (when multiple events happend for one nsock_loop) were delayed. They were handled but way after real events happened. This patch changes the handing of events. Now we execute every lua thread which is in running_scripts(). I hope that every thread will be scheduled in nsock and removed from running_scripts and added to waiting_scripts.
|
2008-02-27 00:56:19 +00:00 |
|
doug
|
da39aace20
|
NSE run-time interaction support
|
2007-12-30 03:26:43 +00:00 |
|
doug
|
4a2ca9b350
|
NSE --host-timeout support
|
2007-12-30 03:17:57 +00:00 |
|
fyodor
|
09512ff092
|
o Fix a bunch of warning/error messages which contained an extra
newline. Thanks to Brandon Enright for the patch.
|
2007-12-21 03:38:04 +00:00 |
|
kris
|
6d09f60956
|
From r6465, pass 0 as the third arg of lua_gc() instead of NULL. gcc gave me a warning because the argument is an int and not a pointer. I grepped in liblua/ and saw usage in there using 0 as well.
|
2007-12-09 00:50:33 +00:00 |
|
stoiko
|
c30adcd5bf
|
perform lua-garbage collection everytime a script finishes excecution
(should solve the endless loops of NSE)
|
2007-12-08 17:23:38 +00:00 |
|
stoiko
|
91e7ed8aa6
|
a quick hack to the scheduling algorithm of scripts, which allows scripts to
finish execution earlier (and thus close the sockets earlier)
|
2007-08-30 18:35:32 +00:00 |
|
stoiko
|
4767dd8c70
|
script arguments now get checked before nmap starts scanning
|
2007-08-20 21:56:36 +00:00 |
|
fyodor
|
d7f207450c
|
merge soc07 r5279 - nse fixes
|
2007-08-11 06:03:25 +00:00 |
|
fyodor
|
f025e86b0b
|
merge soc07 r5085:5094 - removed a period which could lead to slightly confusing output such as 'Read data files from: ..' when they are read from the current directory; Always print a message when the script database is updated successfully; Added a whole bunch of entries to the CHANGELOG in preparation for the first soc07 release; latest auto-generated files; add a question mark to a textual question
|
2007-08-11 05:14:52 +00:00 |
|
fyodor
|
a09a6e2007
|
merge soc07 r4994:5001 - Adding <portused> element for the open TCP port used when performing OS Detection. Only closed TCP and UDP were being printed; I guess it was just an oversight; Call endTask() in process_mainloop() in nse_main.cc so task ending information (like the <taskend> element) are printed; old_locale is allocated on the STACK not the HEAP; NULL is NOT a valid PCRE pointer.
|
2007-08-11 04:42:31 +00:00 |
|
fyodor
|
65e680a634
|
merge soc07 r4939 - fixed a small bug in formatscriptoutput (output.cc) which caused a core dump
|
2007-08-11 04:25:05 +00:00 |
|
fyodor
|
58522c59f6
|
merge soc07 r4822 - Reduce the number of build dependencies.
|
2007-08-11 03:35:46 +00:00 |
|
fyodor
|
cb8101dbcc
|
merge soc07 r4821 - fix nse build system issues
|
2007-08-11 03:35:12 +00:00 |
|
fyodor
|
b361685be8
|
NSE committed
|
2006-12-11 00:34:26 +00:00 |
|