Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005209]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2017-04-30 06:10 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (534 votes). Check out past polls.