rpms/isic/devel isic-0.06-gcc4.patch, NONE, 1.1 isic-0.06-make.patch, NONE, 1.1 isic.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Fri May 19 14:02:17 UTC 2006
Author: jwilson
Update of /cvs/extras/rpms/isic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2656/devel
Modified Files:
.cvsignore sources
Added Files:
isic-0.06-gcc4.patch isic-0.06-make.patch isic.spec
Log Message:
auto-import isic-0.06-2 on branch devel from isic-0.06-2.src.rpm
isic-0.06-gcc4.patch:
--- NEW FILE isic-0.06-gcc4.patch ---
diff -urNad isic-0.06~/icmpsic.c isic-0.06/icmpsic.c
--- isic-0.06~/icmpsic.c 2004-11-06 21:11:11.000000000 +0100
+++ isic-0.06/icmpsic.c 2005-10-18 00:29:41.000000000 +0200
@@ -265,7 +265,7 @@
payload = (short int *)((u_char *) icmp + 4);
for(cx = 0; cx <= (payload_s >> 1); cx+=1)
- (u_short) payload[cx] = rand() & 0xffff;
+ payload[cx] = rand() & 0xffff;
if ( rand() <= (RAND_MAX * ICMPCksm) )
diff -urNad isic-0.06~/isic.c isic-0.06/isic.c
--- isic-0.06~/isic.c 2004-11-06 21:11:14.000000000 +0100
+++ isic-0.06/isic.c 2005-10-18 00:29:41.000000000 +0200
@@ -229,8 +229,8 @@
payload = (short int *)(buf + IP_H);
for(cx = 0; cx <= (payload_s >> 1); cx+=1)
- (u_int16_t) payload[cx] = rand() & 0xffff;
- (u_int16_t) payload[payload_s] = rand() & 0xffff;
+ payload[cx] = rand() & 0xffff;
+ payload[payload_s] = rand() & 0xffff;
if ( printout ) {
printf("%s ->",
diff -urNad isic-0.06~/tcpsic.c isic-0.06/tcpsic.c
--- isic-0.06~/tcpsic.c 2004-11-06 21:11:16.000000000 +0100
+++ isic-0.06/tcpsic.c 2005-10-18 00:29:41.000000000 +0200
@@ -317,7 +317,7 @@
payload = (short int *)((u_char *) tcp + 20);
for(cx = 0; cx <= (payload_s >> 1); cx+=1)
- (u_int16_t) payload[cx] = rand() & 0xffff;
+ payload[cx] = rand() & 0xffff;
if ( rand() <= (RAND_MAX * TCPCksm) )
libnet_do_checksum(l, (u_int8_t *)buf, IPPROTO_TCP, (tcp->th_off << 2)
diff -urNad isic-0.06~/udpsic.c isic-0.06/udpsic.c
--- isic-0.06~/udpsic.c 2004-11-06 21:11:20.000000000 +0100
+++ isic-0.06/udpsic.c 2005-10-18 00:29:41.000000000 +0200
@@ -292,7 +292,7 @@
payload = (short int *)((u_char *) udp + UDP_H);
for(cx = 0; cx <= (payload_s >> 1); cx+=1)
- (u_int16_t) payload[cx] = rand() & 0xffff;
+ payload[cx] = rand() & 0xffff;
if ( printout ) {
printf("%s,%i ->",
isic-0.06-make.patch:
--- NEW FILE isic-0.06-make.patch ---
--- Makefile.in.orig 2006-05-18 14:43:37.000000000 -0400
+++ Makefile.in 2006-05-18 14:48:07.000000000 -0400
@@ -2,7 +2,7 @@
# To build for Trinux, add '-static' to LDFLAGS
# and 'strip *sic' after they compile
-PREFIX ?= /usr/local
+PREFIX ?= @prefix@
CC = @CC@
DEFS = @DEFS@ `libnet-config --defines`
@@ -48,5 +48,5 @@
tar -czvf isic-$(VERSION).tgz isic-$(VERSION)/* )
install: $(BINS)
- $(INSTALL) -m 0755 -d ${PREFIX}/bin
- $(INSTALL) -m 0755 -c $(BINS) ${PREFIX}/bin
+ $(INSTALL) -m 0755 -d $(DESTDIR)${PREFIX}/bin
+ $(INSTALL) -m 0755 -c $(BINS) $(DESTDIR)${PREFIX}/bin
--- NEW FILE isic.spec ---
Name: isic
Version: 0.06
Release: 2%{?dist}
Summary: IP Stack Integrity Checker
Group: Applications/Internet
License: BSD
Url: http://www.packetfactory.net/projects/ISIC/
Source0: http://www.packetfactory.net/projects/ISIC/%{name}-%{version}.tgz
Patch1: isic-0.06-gcc4.patch
Patch2: isic-0.06-make.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: libnet >= 1.1.0
BuildRequires: libnet-devel >= 1.1.0
%description
ISIC is a suite of utilities to exercise the stability of
an IP Stack and its component stacks (TCP, UDP, ICMP et.
al.) It generates piles of pseudo random packets of the
target protocol. The packets be given tendancies to conform
to. Ie 50% of the packets generated can have IP Options.
25% of the packets can be IP fragments... But the
percentages are arbitrary and most of the packet fields
have a configurable tendancy.
The packets are then sent against the target machine to
either penetrate its firewall rules or find bugs in the
IP stack.
ISIC also contains a utility generate raw ether frames to
examine hardware implementations.
%prep
%setup -q
%patch1 -p1 -b .gcc4
%patch2 -p0 -b .make
chmod 644 wrapper.sh
%build
%configure --prefix=/usr --libdir=/usr/%{_lib} --mandir=/usr/share/man
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/esic
%{_bindir}/icmpsic
%{_bindir}/isic
%{_bindir}/tcpsic
%{_bindir}/udpsic
%doc README ChangeLog INSTALL wrapper.sh
%changelog
* Thu May 18 2006 Jarod Wilson <jwilson at redhat.com> 0.06-2
- make wrapper.sh chmod 644
* Thu May 18 2006 Jarod Wilson <jwilson at redhat.com> 0.06-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/isic/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 19 May 2006 14:00:51 -0000 1.1
+++ .cvsignore 19 May 2006 14:02:17 -0000 1.2
@@ -0,0 +1 @@
+isic-0.06.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/isic/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 May 2006 14:00:51 -0000 1.1
+++ sources 19 May 2006 14:02:17 -0000 1.2
@@ -0,0 +1 @@
+289304088b6bd34008449ec20b3af423 isic-0.06.tgz
More information about the fedora-extras-commits
mailing list