summaryrefslogtreecommitdiffstats
path: root/recipes-security/isic/files/isic-0.07-netinet.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2014-09-14 22:06:50 -0700
committerArmin Kuster <akuster808@gmail.com>2014-10-26 12:35:48 -0700
commit33e45ec16c848f35439ca2cd0a1126f8ba6528d1 (patch)
tree432bc715bc480105a7f2021301be6d230339c6df /recipes-security/isic/files/isic-0.07-netinet.patch
parentb59053a3dddc34844b52a9fe830c72497a9c9e02 (diff)
downloadmeta-security-33e45ec16c848f35439ca2cd0a1126f8ba6528d1.tar.gz
isic: Add new package
This adds the ISIC is a suite of utilities to exercise the stability of an IP and its component stacks (TCP/UDP/ICMP etc.) It generates piles of pseudo random packets with configurable tendancies, then sent to the target to penetrate its firewall rules or find bug backported two patches from Redhat. Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/isic/files/isic-0.07-netinet.patch')
-rw-r--r--recipes-security/isic/files/isic-0.07-netinet.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/recipes-security/isic/files/isic-0.07-netinet.patch b/recipes-security/isic/files/isic-0.07-netinet.patch
new file mode 100644
index 0000000..c4ea74e
--- /dev/null
+++ b/recipes-security/isic/files/isic-0.07-netinet.patch
@@ -0,0 +1,68 @@
1isic: add missing header file
2
3Backport:
4http://pkgs.fedoraproject.org/cgit/isic.git/tree/isic-0.07-netinet.patch
5
6Signed-off-by: Armin Kuster <akuster808@gmail.com>
7
8Index: isic-0.07/multisic.c
9===================================================================
10--- isic-0.07.orig/multisic.c
11+++ isic-0.07/multisic.c
12@@ -1,5 +1,8 @@
13 #include "isic.h"
14
15+#include <netinet/udp.h>
16+/*#include <netinet/tcp.h>*/
17+
18 /* This is tuned for ethernet sized frames (1500 bytes)
19 * For user over a modem or frame (or other) you will have to change the
20 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
21Index: isic-0.07/tcpsic.c
22===================================================================
23--- isic-0.07.orig/tcpsic.c
24+++ isic-0.07/tcpsic.c
25@@ -1,5 +1,7 @@
26 #include "isic.h"
27
28+#include <netinet/tcp.h>
29+
30 /* This is tuned for ethernet sized frames (1500 bytes)
31 * For user over a modem or frame (or other) you will have to change the
32 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
33Index: isic-0.07/tcpsic6.c
34===================================================================
35--- isic-0.07.orig/tcpsic6.c
36+++ isic-0.07/tcpsic6.c
37@@ -1,5 +1,7 @@
38 #include "isic.h"
39
40+#include <netinet/tcp.h>
41+
42 /* This is tuned for ethernet sized frames (1500 bytes)
43 * For user over a modem or frame (or other) you will have to change the
44 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
45Index: isic-0.07/udpsic.c
46===================================================================
47--- isic-0.07.orig/udpsic.c
48+++ isic-0.07/udpsic.c
49@@ -1,5 +1,7 @@
50 #include "isic.h"
51
52+#include <netinet/udp.h>
53+
54 /* This is tuned for ethernet sized frames (1500 bytes)
55 * For user over a modem or frame (or other) you will have to change the
56 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
57Index: isic-0.07/udpsic6.c
58===================================================================
59--- isic-0.07.orig/udpsic6.c
60+++ isic-0.07/udpsic6.c
61@@ -1,5 +1,7 @@
62 #include "isic.h"
63
64+#include <netinet/udp.h>
65+
66 /* This is tuned for ethernet sized frames (1500 bytes)
67 * For user over a modem or frame (or other) you will have to change the
68 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of