Commit Graph

194 Commits

Author SHA1 Message Date
angryziber
a37dfaa590 * bug: rescanning now works again, more tests written to avoid breaking in the future
* bug: statistics are now counted correctly in case of all display methods + rescanning, more tests

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@162 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-16 20:29:36 +00:00
angryziber
84c8b1f2ea web detect label corrected and description added
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@161 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-15 21:29:52 +00:00
angryziber
f3433db082 ConnectException is now ignored as well
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@160 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-15 20:53:36 +00:00
angryziber
c315533cb7 socket options added for optimization
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@159 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-15 20:50:50 +00:00
angryziber
96da49de99 Some new fetchers:
* PortTextFetcher - generic fetcher for fetching some text from ports
* WebDetectFetcher - uses PortTextFetcher for detecting the web servers
* LastAliveTimeFetcher - another not yet implemented fetcher

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@158 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-15 20:49:41 +00:00
angryziber
e6e04d5c5f long texts are now wrapped
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@157 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-15 20:43:07 +00:00
angryziber
5b24ec0ff0 * RandomFeeder.getInfo() now returns the count before the addresses - this seems more logical
* workaround of strange SWT or GTK bug with spinner: it updates it's textual value only when it looses focus
* ExportProcessorTest fixed

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@156 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-14 14:13:22 +00:00
angryziber
c6c4f5be0a Now SraristicsDialog shows the name of the feeder
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@155 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-14 13:53:10 +00:00
angryziber
6e4beed198 Show scanning stats configuration option added, if true, then it is shown at the end of each scan
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@154 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-14 13:37:59 +00:00
angryziber
2095bf1729 * ScanInfo class introduced inside of the ScanningResultList to encapsulate statistics
* Menu item "show scan info" and Ctrl+I now work

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@153 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-13 22:36:12 +00:00
angryziber
67906f8e77 Show last scan info partially implemented
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@152 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-12 22:36:31 +00:00
angryziber
a2ea36df63 Labels now need to terminate by a word character (non-dot), otherwise partial labels are matched and fail
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@151 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-12 22:34:59 +00:00
angryziber
cffb456654 UserErrorExceptions are now displayed in a bit more polite way
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@150 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-12 19:30:30 +00:00
angryziber
a7454ba4e9 nasty bugfix: UDPPinger now closes DatagramSockets properly (otherwise large scans result in reaching the limit of number of open files)
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@149 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-12 10:48:25 +00:00
angryziber
74412a52d6 * Ctrl+C is not a global key binding anymore, so default Ctrl+C behaviour (copy) should work in edit fields now in the MainWindow.
* Enter now produces the expected behaviour when the program has just started

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@148 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-11 22:30:57 +00:00
angryziber
bc230c962c Main window title no longer includes version number, but reflects the currently selected Feeder or Favorite name. This makes it easier to run several Angry IP Scanner and distinguish between them.
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@147 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-11 21:57:08 +00:00
angryziber
20d1e86dc2 git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@146 375186e5-ef17-0410-b0b6-91563547dcda 2007-07-11 21:44:31 +00:00
angryziber
ce47871d92 bugfix: display method ALIVE now shows hosts with open ports as well
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@145 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-11 15:58:05 +00:00
angryziber
5eff00bb7a statusbar's configtext update is now triggered from the ToolsActions, not the OptionsDialog
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@144 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-11 15:42:41 +00:00
angryziber
4426844151 New status bar field showing the currently selected display method (ALL, ALIVE, PORTS)
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@143 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-10 22:22:00 +00:00
angryziber
9026278adb Functional:
* display method is now implemented and works (all, only alive, only ports)
* start/stop button is now disabled in the KILLING state to be more clear to the user

Technical:
* ScanningResultsConsumer deleted, several ScanningResultCallback implementations are now in StartStopScanningAction
* preparation indexes are no longer required for passing to ScanningResultList, a lot of interface changes

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@142 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-10 22:00:23 +00:00
angryziber
2df546a888 ScanningResultList now has an internal map for indexing of addresses. Rescanning now works properly.
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@141 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-09 19:07:15 +00:00
angryziber
7e2d427cac * Transition listeners are not longer stored at the ScanningState enum - it is equivalent to static. Now StateMachine does that.
* More transition methods in StateMachine, they now throw exceptions if source state is unexpected.
* Feeders now use varagrs for initialize method
* RescanFeeder and RESTARTING state introduced to support rescanning
* More tests
* Warning: rescanning functionality is not yet complete - it doesn't update the correct items in the list, more work with ScanningResultList is needed


git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@140 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-08 19:30:56 +00:00
angryziber
5b368cd445 PortIterator now checks port numbers to be in the correct range.
OptionsDialog now validates the port string, both in real-time and after pressing ok.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@139 375186e5-ef17-0410-b0b6-91563547dcda
2007-07-04 21:48:49 +00:00
angryziber
8d86971da3 * tests are now in the default build path
* a few compilation errors fixed related to Java 5 transition
* StateMachine is now tested

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@138 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-24 20:25:52 +00:00
angryziber
43df609c1b StateMachine is now in charge of state transitions
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@137 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-24 19:47:37 +00:00
angryziber
662e111d04 StartStopScanningAction no longer holds current state itself
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@136 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-24 18:27:00 +00:00
angryziber
2c68534ea7 Refactoring: states now has their special enum: ScanningState. No more int constants. StateMachine introduced, but not used much yet.
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@135 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-24 17:09:32 +00:00
angryziber
603f7c0357 The project now is configured for Java 5.
All raw types now used generics.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@134 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-14 19:09:49 +00:00
angryziber
ebdf994b52 fixed classpath and added some files to svn:ignore
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@133 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 22:04:25 +00:00
angryziber
df7109f907 README is now outside of the trunk for curious people browsing the repository
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@132 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:56:37 +00:00
angryziber
43c65e865b restored tests from the previous separate ipscan-unittest project, Java 1.5 is now required for everything
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@131 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:54:57 +00:00
angryziber
739af0ebf2 restoring the trunk as previous ipscan subdirectory - this is now the one and only eclipse project
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@130 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:43:45 +00:00
angryziber
753b6cdde9 temporarily moved ipscan to the upper level
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@128 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:39:33 +00:00
angryziber
d4fb02033f temporarily moved ipscan to the upper level
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/ipscan@128 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:39:33 +00:00
angryziber
3ae6cbb31b removing separate projects, all the important stuff is moved into the ipscan directory
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@127 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:26:27 +00:00
angryziber
6fcec6f51e removing separate projects, all the important stuff is moved into the ipscan directory
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@127 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:26:27 +00:00
angryziber
1e41e1e660 starting to merge several separate projects back into one: no more separate unit tests and swt
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@126 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:19:15 +00:00
angryziber
dfa0cdb34c starting to merge several separate projects back into one: no more separate unit tests and swt
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@126 375186e5-ef17-0410-b0b6-91563547dcda
2007-06-13 21:19:15 +00:00
angryziber
91013d1446 scanner.init() is now done in the main thread
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@125 375186e5-ef17-0410-b0b6-91563547dcda
2007-05-31 19:45:05 +00:00
angryziber
7e36b53619 scanner.init() is now done in the main thread
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@125 375186e5-ef17-0410-b0b6-91563547dcda
2007-05-31 19:45:05 +00:00
angryziber
9afd1a6782 OptionsDialog now uses form layout.
Display tab now has some options in it: NotScannedValue and NotAvailableValue can now be configured.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@124 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-23 21:30:06 +00:00
angryziber
629eb9a87b OptionsDialog now uses form layout.
Display tab now has some options in it: NotScannedValue and NotAvailableValue can now be configured.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@123 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-23 21:29:42 +00:00
angryziber
68e76fb92d OptionsDialog now uses form layout.
Display tab now has some options in it: NotScannedValue and NotAvailableValue can now be configured.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@123 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-23 21:29:42 +00:00
angryziber
5d70401d07 MainWindow: workaround added for a bug in SWT GTK + Compiz
OptionsDialog: window size is now dynamic to better support different themes.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@122 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-21 22:32:41 +00:00
angryziber
9842de3e22 MainWindow: workaround added for a bug in SWT GTK + Compiz
OptionsDialog: window size is now dynamic to better support different themes.

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@122 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-21 22:32:41 +00:00
angryziber
06aff6bb61 unittests fixed, warnings removed
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@121 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-21 22:06:51 +00:00
angryziber
016a83b251 unittests fixed, warnings removed
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@120 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-21 22:06:39 +00:00
angryziber
b105de3cbd unittests fixed, warnings removed
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@120 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-21 22:06:39 +00:00
angryziber
442c36830e Alignment of main window controls improved for various GTK themes (should become better for Win32 and Mac, too)
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk/ipscan@119 375186e5-ef17-0410-b0b6-91563547dcda
2007-01-21 20:08:34 +00:00