Commit Graph

126 Commits

Author SHA1 Message Date
Christopher Meng
4ec783f748 $(EXTRA_CFLAGS) FOR RPM %{optflags}
We RPM packaging system need to use optflags for secure building, and of course will override the flags you've defined.

However the current one is not good, we should leave it to the end of the flags queue.

[rpmaker@fab SPECS]$ rpm -E %{optflags}
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
2013-08-22 13:40:19 +08:00
Jim Cheetham
c6fc67288a Install man files under $(PREFIX) 2013-08-20 21:53:37 -04:00
Eric
853524c2ae remove redundant -Ws from Makefile 2013-08-20 19:24:18 -04:00
Alex Halderman
5e4143973d Undefine _FORTIFY_SOURCE before defining it, in case it's set by the distro.
Fixes Issue #7.
2013-08-20 13:05:47 -04:00
Alex Halderman
9200992976 Remove Redis objects on make clean
Resolves Issue #33.
2013-08-20 12:23:12 -04:00
Alex Halderman
f34343a887 Clean up Makefile success output 2013-08-20 12:20:53 -04:00
Alex Halderman
b588a7dbaf Clean up GCC flags
Remove some redundant or repeated flags, as noted by ppannuto in Issue #23.
2013-08-20 12:11:48 -04:00
Alex Halderman
81f25a1848 Fix unrecognized option errors when building with older versions of GCC (Issue #23).
This approach suggested by ppannuto.
2013-08-20 12:01:01 -04:00
Zakir Durumeric
99312020ba parse CLI provided output columns 2013-08-20 09:45:52 -04:00
Zakir Durumeric
1ae210f330 Merge branch 'master' into probe-v2 2013-08-20 00:34:27 -04:00
Zakir Durumeric
0b6494a3fb Merge branch 'stable' 2013-08-19 23:01:20 -04:00
Zakir Durumeric
d7972dec68 updating changelog 2013-08-19 23:00:16 -04:00
Zakir Durumeric
28e698cc7f fixing issue #28, fixing memset operation in send_nl_req. 2013-08-19 22:52:03 -04:00
Zakir Durumeric
581725a8dd Fixing issue #24; accidentally clobbering LDFLAGS and CFLAGS previously. 2013-08-19 22:51:56 -04:00
Zakir Durumeric
2a2ce7a2d0 fixing get_gateway malloc error issue #21 2013-08-19 22:51:48 -04:00
Zakir Durumeric
12750cec8d fixing issue #28, fixing memset operation in send_nl_req. 2013-08-19 22:46:05 -04:00
Zakir Durumeric
aa090e63eb Fixing issue #24; accidentally clobbering LDFLAGS and CFLAGS previously. 2013-08-19 21:02:27 -04:00
Zakir Durumeric
b4f8698cb0 further progress 2013-08-19 18:10:55 -04:00
Zakir Durumeric
dab1e823bd fixing get_gateway malloc error issue #21 2013-08-19 11:34:16 -04:00
Zakir Durumeric
582d381b30 adding output-fields to global conf 2013-08-19 10:53:48 -04:00
Zakir Durumeric
952f6cefa1 building fieldset and probe modules 2013-08-19 04:42:25 -04:00
Zakir Durumeric
a0288adec8 beginning the implementation of new output / probe module interface 2013-08-19 03:02:52 -04:00
Zakir Durumeric
b70a2835b9 abstracting out port validation because shared between udp and tcp. 2013-08-18 23:36:57 -04:00
Zakir Durumeric
37630d7325 Merge branch 'stable' 2013-08-18 13:39:47 -04:00
Zakir Durumeric
314fb7b1de updating CHANGELOG 2013-08-18 13:39:12 -04:00
Zakir Durumeric
01de79da5a fixing recv_run header in recv.h. fixes issue #14 2013-08-18 13:35:45 -04:00
Zakir Durumeric
8ed7a2fe36 Merge branch 'master' of github.com:zmap/zmap 2013-08-18 13:34:13 -04:00
Zakir Durumeric
0b791e5c47 fixing recv_run header in recv.h. fixes issue #14 2013-08-18 13:33:30 -04:00
Zakir Durumeric
0d9842af97 Merge pull request #13 from hmoore-r7/bug/fix-udp-malloc-free
Fix strdup/malloc/free ordering to always free the right pointer.
2013-08-18 10:15:08 -07:00
HD Moore
1bf3f2a8d5 Arguments in error message were swapped, fix 2013-08-17 20:59:42 -05:00
HD Moore
d57091dcbf Fix strdup/malloc/free ordering to always free the right pointer.
This commit ensures that udp_send_msg is freed before being reallocated
and freed before the process exits. This also changes the last fprintf
to a log_warn() call, which should be more inline with the intent.
2013-08-17 20:52:43 -05:00
Zakir Durumeric
aeac7d291d fixing readme 2013-08-17 19:32:55 -04:00
Zakir Durumeric
9a40f15e91 cleaning up readme 2013-08-17 18:51:57 -04:00
Zakir Durumeric
779424fe2c Merge branch 'master' of https://github.com/ciccio-87/zmap into ciccio-87-master 2013-08-17 18:51:27 -04:00
Zakir Durumeric
eaf4ece8dd Merge branch 'stable' 2013-08-17 17:11:57 -04:00
Alex Halderman
ce5be6e30f Clean up and add memory requirements. 2013-08-17 17:11:14 -04:00
Zakir Durumeric
387569538c adding v1.0.1 to changelog. 2013-08-17 17:09:55 -04:00
Zakir Durumeric
0b5b8fb80d fixing makefile to not require ssldb for building redis 2013-08-17 16:16:42 -04:00
HD Moore
c455d99298 Clean up snprintf and buffer size (less sloppy). 2013-08-17 15:16:35 -05:00
Alex Halderman
e084d3fb6f Note 64-bit requirement 2013-08-17 16:16:00 -04:00
HD Moore
60011ca520 Clarify order of operations for compare 2013-08-17 15:10:50 -05:00
HD Moore
7455793d2d Fix the data offset for icmp_echoscan 2013-08-17 15:08:32 -05:00
HD Moore
dc75ca2edd Merge branch 'master' into feature/add-json-output
Conflicts:
	INSTALL
2013-08-17 14:49:17 -05:00
HD Moore
c6f21fdeca Small typo fix to a comment 2013-08-17 14:46:55 -05:00
Zakir Durumeric
f86b764cab Merge branch 'hmoore-r7-feature/add-udp-probe-specifiers' 2013-08-17 15:45:30 -04:00
HD Moore
36564d8bb5 Add module names and gw mac address to output 2013-08-17 14:44:29 -05:00
Zakir Durumeric
43239cf5df Merge branch 'hmoore-r7-feature/add-udp-probe-specifiers' of github.com:zmap/zmap into stable 2013-08-17 15:41:26 -04:00
Eric Wustrow
3b2ea3627e merge 2013-08-17 15:30:31 -04:00
HD Moore
15036cfe83 Proper cleanup and typo fixes 2013-08-17 14:11:58 -05:00
HD Moore
ed47f926f5 Free memory on close 2013-08-17 14:06:34 -05:00