[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f87d771805041716255839f0f7@mail.gmail.com>
Date: Mon Apr 18 00:25:57 2005
From: diego.casati at gmail.com (Diego Casati)
Subject: TCP/IP Stack Vulnerability
Try this
root@...fix:~/vortex# gcc -DLINUX storm.c -lpcap -o storm
On 4/17/05, H. S. <security@...olutionsp.com> wrote:
> Hey,
>
> I am having two errors compiling this code. I want to test it on my LAN,
> as I have a windows box and several linux ones.
>
> gcc -lpcap tcp-ack.c -o storm
> tcp-ack.c: In function `DeletePacket':
> tcp-ack.c:350: error: syntax error before "CurrentPacket"
> tcp-ack.c: In function `FindPacket':
> tcp-ack.c:366: error: invalid lvalue in assignment
> tcp-ack.c: In function `PCapHandler':
> tcp-ack.c:453: warning: initialization from incompatible pointer type
>
> I'm trying to compile on a FreeBSD 5.2.1-RELEASE system.
>
> line 350 reads:
> CurrentPacket->NextPacket
> CurrentPacket->NextPacket->NextPacket;
>
> line 366 reads:
> if (Source == Packet->Source && Destination
> =Packet->Destination && SourcePort == Packet->SourcePort &&
> DestinationPort == Packet->DestinationPort)
>
> What could be the problem?
>
> Kind Regards
>
>
Powered by blists - more mailing lists