Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

how to fake packets in perl

by xufengnju (Initiate)
on Nov 23, 2012 at 04:14 UTC ( #1005209=perlquestion: print w/ replies, xml ) Need Help??
xufengnju has asked for the wisdom of the Perl Monks concerning the following question:

Hello PerlMonks,

I have a linux server in by-pass mode, sitting in-parallel with a switch, that is, it can receive packets that should goes to other hosts. I want to get the packets and process them with perl. After processing, I want to send some specific packet to the original clients such as reset. The question is, how can I make it to fake packets in perl, I mean, I want to send packets using source ip and source mac not belonging to me. Are there some modules ready? Thank you in advance.

Replies are listed 'Best First'.
Re: how to fake packets in perl
by Anonymous Monk on Nov 23, 2012 at 05:24 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2016-08-25 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (354 votes). Check out past polls.