[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] TCP/IP Stack Vulnerability
- To: "H. S." <security@xxxxxxxxxxxxxxxx>, full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: Re: [Full-disclosure] TCP/IP Stack Vulnerability
- From: Diego Casati <diego.casati@xxxxxxxxx>
- Date: Sun, 17 Apr 2005 23:25:49 +0000
Try this
root@ip_fix:~/vortex# gcc -DLINUX storm.c -lpcap -o storm
On 4/17/05, H. S. <security@xxxxxxxxxxxxxxxx> 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
>
>
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/