Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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]
[Discipulus]: and it's GPIO how are seen by the OS? Perl can speak thougth them?
[marto]: yes
[Discipulus]: thanks i definetively must learn such stuff.. i must come out with a killing product and after i'll just do Perl elctronic and music.. ;=)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-10-17 09:55 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (225 votes). Check out past polls.