help in security assignment

Posted by scatman on Stack Overflow See other posts from Stack Overflow or by scatman
Published on 2010-03-09T08:43:04Z Indexed on 2010/03/09 8:51 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

i have to write a program that sniffs network packets (part1-the simple part).
and i have to update the program (part2) so that it will be able to terminate connections.
the specific requirements are:
construct raw packets by specifying data link layer and network layer information including appropriate source and destination MAC and IP addresses. These packets are intended to terminate the connection. To do so, you should used SOCK_RAW as the socket type to be able to set the header information by yourself.
can anybody give me some ideas on the second part?
should i hijack the session,apply a dos attack on one of the users??

all i need is some tips of how to terminate the connection. i am using c programming language. and this is a course assignment for the security course.

© Stack Overflow or respective owner

Related posts about security

Related posts about c