Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 taking refuge in the Monastery: (12)
As of 2017-09-21 13:01 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (247 votes). Check out past polls.