Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

Comment on how to fake packets in perl
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2015-10-10 01:50 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls