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

A Perl-based Transparent TCP Proxy (TPROXY and POE)

by charlesboyo (Beadle)
on Aug 13, 2011 at 01:22 UTC ( [id://920112]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    $poe_kernel->run();
    exit 0;
    
  2. or download this
    1c1
    < package POE::Wheel::TProxySocketFactory;
    ...
    <   }
    <   DEBUG && warn "set_ip_transparent";
    <
    
  3. or download this
    #!/bin/bash
    INT="eth2"
    ...
    ebtables -t broute -F
    ebtables -t broute -A BROUTING -p IPv4 -i $INT --ip-proto tcp --ip-dpo
    +rt 80 -j redirect  --redirect-target DROP
    ebtables -t broute -A BROUTING -p IPv4 -i $EXT --ip-proto tcp --ip-spo
    +rt 80 -j redirect  --redirect-target DROP
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://920112]
Approved by GrandFather
Front-paged by Tanktalus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-23 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found