summaryrefslogtreecommitdiff
path: root/src/main/java
Commit message (Collapse)AuthorAge
* Make IllegalArgumentExceptions print the same error formatGravatar Matthias Jaros2026-08-21
|
* Moved exception HelpRequested from cliparser into App to make it moreGravatar Matthias Jaros2026-08-21
| | | | obvious what happens.
* Let Consumer of PortResults also wait till all threads died instead ofGravatar Matthias Jaros2026-08-21
| | | | stopping immediatetly on cancellation
* Refactored checkPort method. Seperated error handling code from businessGravatar Matthias Jaros2026-08-21
| | | | logic
* Refactored ProducerThread:Gravatar Matthias Jaros2026-08-21
| | | | | | - Stopped exposing of semaphore used to control amount of workers - No outside modification of crucial ProducerState necessary - Moved aquire up before getting things out of the queue
* Minor refactoringGravatar Matthias Jaros2026-08-21
|
* Move consumer loop into custom method and also split error handling andGravatar Matthias Jaros2026-08-21
| | | | business logic from PortResult into seperate methods
* Refactored consumer into custom methodGravatar Matthias Jaros2026-08-21
|
* Get rid of RejectedExecutionException when cancelling a scanGravatar Matthias Jaros2026-08-20
|
* Fixed not waiting on shutdownNow()Gravatar Matthias Jaros2026-08-19
|
* Added timeout to call also cancelNow() path in case something hangs badlyGravatar Matthias Jaros2026-08-19
|
* exitcode Variable needed because finally block does not run after exitGravatar Matthias Jaros2026-08-19
| | | | Use System.exit only if return code is !=0
* Removed useless exitcode fieldGravatar Matthias Jaros2026-08-19
|
* FormattingGravatar Matthias Jaros2026-08-18
|
* Do not pollute scan results with online checkGravatar Matthias Jaros2026-08-18
|
* Minor improvementsGravatar Matthias Jaros2026-08-18
|
* Validate portrange already in cli parser instead of printing an errorGravatar Matthias Jaros2026-08-18
| | | | message for every host that tries to parse the specified ports
* Fixed PortScanRateLimiter global for all hosts instead of per host onlyGravatar Matthias Jaros2026-08-18
|
* Removed possibility of setting timeout to 0 which would mean no wait atGravatar Matthias Jaros2026-08-18
| | | | all.
* Print error in CliPrinter instead of ScannerGravatar Matthias Jaros2026-08-13
|
* Wrapped exceptions in PortScanResultAccumulator instead of printing themGravatar Matthias Jaros2026-08-13
| | | | and messing with cliprinter
* Renamed PortResultAccumulator to PortScanResultAccumulator which matchesGravatar Matthias Jaros2026-08-13
| | | | | | better what it does. Also now added feature to count appearance of certain exceptions and which ports are affected and print error log now in only one line instead of 10000x
* Added ScanHostException to wrap lower level Exceptions and also encodeGravatar Matthias Jaros2026-08-13
| | | | host info in it.
* Moved ProducerThread counter to ProducerThreadGravatar Matthias Jaros2026-08-13
|
* Increased speed 1000x times by replacing hostGravatar Matthias Jaros2026-08-13
| | | | | reachable method with another port scan task. The speed is gained by removing thread pinning method isReachable()
* Renamed jscanner package to jnsGravatar Matthias Jaros2026-08-12
|
* Moved exitCode up into main try catch logicGravatar Matthias Jaros2026-08-12
|
* Minor improvementsGravatar Matthias Jaros2026-08-12
|
* Cancellation method better namingGravatar Matthias Jaros2026-08-12
|
* Major refactoring of package structureGravatar Matthias Jaros2026-08-12
|
* Error similar to result outputGravatar Matthias Jaros2026-08-11
|
* Boundaries: Added PortList class to encapsulate BitSet and thus have aGravatar Matthias Jaros2026-08-11
| | | | clear boundary to the outside world that uses the result
* Added commentGravatar Matthias Jaros2026-08-11
|
* Instead of reading a string as banner read bytes and then inGravatar Matthias Jaros2026-08-10
| | | | ServiceDetector convert to string
* Changed name and description of cli parametersGravatar Matthias Jaros2026-08-08
|
* Improved printing of errors at resultGravatar Matthias Jaros2026-08-07
| | | | Improved printing of success results
* Improved error messagesGravatar Matthias Jaros2026-08-07
|
* Created central variable for poll interval. Set interval even higherGravatar Matthias Jaros2026-08-07
| | | | | than before since it only affects reaction time to idle events and does not effect performance when data arrives
* Removed exception from signature.Gravatar Matthias Jaros2026-08-07
| | | | Enhanced error message and comments
* Comments refactoredGravatar Matthias Jaros2026-08-07
|
* Prevent noop when nothing is readGravatar Matthias Jaros2026-08-07
|
* Rewrote readBanner method to socketchannelGravatar Matthias Jaros2026-08-07
|
* Moved socketLimit before portRateLimiter because otherwise burst canGravatar Matthias Jaros2026-08-07
| | | | | happen if sockets reach limit and too many threads accumulate after portRateLimiter
* Increased polling intervalGravatar Matthias Jaros2026-08-06
|
* Fixed two time check against hostGravatar Matthias Jaros2026-08-06
|
* Also use LockSupport for PortScanRateLimiterGravatar Matthias Jaros2026-08-06
|
* Changed CliDefaults to max performance rather than soft resource usage.Gravatar Matthias Jaros2026-08-06
| | | | I want speeeeeeeed
* Added ports to status lineGravatar Matthias Jaros2026-08-06
|
* Tuning parametersGravatar Matthias Jaros2026-08-06
|
* Replaced PortTotalCounters with Total counters inside the Counter classGravatar Matthias Jaros2026-08-06
|