Commit Graph

88 Commits

Author SHA1 Message Date
Přemysl Eric Janouch d3d709e994 Fix packaging, update README 2016-03-11 20:34:38 +01:00
Přemysl Eric Janouch 9c16e19786 Fix build without Lua 2015-10-01 22:58:18 +02:00
Přemysl Eric Janouch d9d9e1f498 Compile in Lua support opportunistically 2015-10-01 22:53:43 +02:00
Přemysl Eric Janouch 58b4b2d06d Convert README to AsciiDoc 2015-09-27 01:51:09 +02:00
Přemysl Eric Janouch 396cc0f5f5 Fix library searching 2015-08-06 21:56:21 +02:00
Přemysl Eric Janouch 268a359cf4 Bump liberty
Pulling in kqueue support.
2015-08-06 21:14:19 +02:00
Přemysl Eric Janouch c0ff71e9be Fix BSD build 2015-08-06 01:15:11 +02:00
Přemysl Eric Janouch 871ae9be8e Hide the indicator while printing info messages 2015-06-27 22:07:52 +02:00
Přemysl Eric Janouch de4009fb4d Aborting units -> stopping units 2015-05-13 06:57:06 +02:00
Přemysl Eric Janouch b2cc2709c6 Add an option to list all services 2015-05-13 06:49:16 +02:00
Přemysl Eric Janouch 30997471e7 Use getservbyname() on undetermined ports 2015-05-13 06:31:20 +02:00
Přemysl Eric Janouch 7954f504a6 Get rid of "All rights reserved" 2015-05-13 06:10:44 +02:00
Přemysl Eric Janouch 2e32296dfc Add an MPD service detection plugin 2015-05-13 06:08:49 +02:00
Přemysl Eric Janouch 144b8f9c58 Print undetermined services 2015-05-13 05:56:31 +02:00
Přemysl Eric Janouch debebcde96 Don't initialize the transport immmediately
Do it only once we're actually connected.
2015-05-13 04:34:25 +02:00
Přemysl Eric Janouch ef8dd33edd Use bold mode instead of standout 2015-05-13 04:05:33 +02:00
Přemysl Eric Janouch 3f2e616492 Travis CI: Change IRC notification address 2015-04-03 00:03:36 +02:00
Přemysl Eric Janouch 2c19df6bdd Bump liberty 2015-03-29 04:03:16 +02:00
Přemysl Eric Janouch 2e44af621d Move to liberty 2015-02-28 21:57:57 +01:00
Přemysl Eric Janouch 2dccb650bb Miscellaneous little changes 2015-02-26 22:58:00 +01:00
Přemysl Eric Janouch 48927ea643 Update .gitignore 2015-02-25 22:01:52 +01:00
Přemysl Eric Janouch 68627ddb5e Don't die if the terminal cannot be detected 2015-02-22 20:49:31 +01:00
Přemysl Eric Janouch 6c30579882 Add a useful assertion to the poller 2015-02-21 19:01:21 +01:00
Přemysl Eric Janouch 8de88140f5 Fix resource leak 2015-02-14 08:37:41 +01:00
Přemysl Eric Janouch 71aca1ad15 Travis CI: Try adding Coverity scan 2015-02-14 08:15:27 +01:00
Přemysl Eric Janouch 0ec0a7779a Tiny fixes 2015-02-12 02:33:15 +01:00
Přemysl Eric Janouch 17164b69b7 Make sure to install Lua plugins if enabled 2015-02-09 20:48:48 +01:00
Přemysl Eric Janouch 30a6af515d Make sure to link with libcrypto
Archlinux seems to have removed -lcrypto from libssl.pc.
2015-02-08 18:31:20 +01:00
Přemysl Eric Janouch f3c5bad858 Travis CI: Try getting a newer Jansson 2015-02-08 16:55:28 +01:00
Přemysl Eric Janouch 31f57cd83e Fix Travis CI dependencies 2015-02-08 05:46:15 +01:00
Přemysl Eric Janouch 14046db38d Add Travis CI configuration 2015-02-08 05:44:02 +01:00
Přemysl Eric Janouch d8ecd402c9 Introduce Lua API version checking 2015-01-21 00:12:41 +01:00
Přemysl Eric Janouch 8ecdab1ddd Comment out the SOCKS4A scanner
It can't really detect if the server really supports SOCKS4A.
2015-01-21 00:06:44 +01:00
Přemysl Eric Janouch 45595157e8 Fix Lua detection 2015-01-21 00:06:26 +01:00
Přemysl Eric Janouch eb0f8a028c Implement a Lua 5.3 plugin loader plugin
Also implemented SOCKS detection in said language.

There are probably going to be some bugs.

The program is no longer Valgrind-clean, as that would require plugin
deinitialization, in which there is very little point.
2015-01-18 04:14:45 +01:00
Přemysl Eric Janouch 7cb6fcdaff Rewrite to use CMake
Now the project is at least installable.

Added a LICENSE file.

Likely about to implement Lua plugins.
2015-01-17 16:10:12 +01:00
Přemysl Eric Janouch 77509ceb56 No more Clang bullshit 2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch 4810b37b29 -Wpedantic/scan-build stuff 2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch 3ecf06ba46 Fix subnet targets 2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch 31bb98c995 The targets are not always hostnames
If a target specified on the command line equals its IP address string,
don't put the string as a hostname in the results.
2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch fcf21ca4cf Fix a memory leak 2014-09-25 22:39:17 +02:00
Přemysl Eric Janouch 88d92c87ce Fix the optimization
It wasn't all that easy.
2014-09-25 22:38:52 +02:00
Přemysl Eric Janouch 9f6a98d540 Fix the indicator 2014-09-25 22:37:20 +02:00
Přemysl Eric Janouch 55648e3f3b Fix hiding the indicator 2014-09-25 00:33:03 +02:00
Přemysl Eric Janouch 0e51b37411 Optimize and simplify the epoll poller
On my own machine (4096 max FD's), scanning localhost for all services,
there was no change to speak of.  On another one, though, with 65536
max FD's scanning localhost and another machine simultaneously for
a specific service, there was a dramatic speedup allowing much faster
scans, with userspace load dropping to about a quarter of a second.

As a bonus, it makes the code simpler.
2014-09-24 21:39:17 +02:00
Přemysl Eric Janouch 49e7f1798e Get rid of some memory holes on x86_64 2014-09-24 20:28:18 +02:00
Přemysl Eric Janouch 21cab71e75 Fix the epoll poller
Setting the fd to -1 broke poller_remove_from_dispatch().
2014-09-24 19:03:45 +02:00
Přemysl Eric Janouch 89edba14f0 Sort epoll_wait() output earlier 2014-09-24 19:00:09 +02:00
Přemysl Eric Janouch 50e27cf3d8 Order the results by port 2014-09-24 18:59:55 +02:00
Přemysl Eric Janouch 734931d84f Fix the hotspot
Valgrind seems to be quite happy with it now.
2014-09-24 01:02:09 +02:00