pastebin
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
pastebin
Follow @pastebin
create new paste
trending pastes
sign up
login
my settings
my profile
My Pastes
Public Pastes
Untitled
0 sec ago
Untitled
4 sec ago
codigo aqi 3
27 sec ago
Untitled
7 sec ago
Untitled
8 sec ago
Elegant Crypter by More...
15 sec ago
Untitled
9 sec ago
Untitled
11 sec ago
Layout Width
Share Pastebin
Untitled
By: a guest | Mar 18th, 2010 | Syntax:
None
| Size: 0.21 KB | Hits: 42 | Expires: Never
Download
|
Raw
|
Embed
|
Report abuse
#!/bin/sh
IPTABLES=/sbin/iptables
$IPTABLES -F
$IPTABLES -A SPOOFED -j LOG --log-prefix "WARN! spoofed ip:" --log-level 7
$IPTABLES -A LOG -j DROP
iptables -A INPUT -i eth_out -s 127.0.0.0/8 -j SPOOFED
create new paste
|
create new version of this paste
RAW Paste Data
#!/bin/sh IPTABLES=/sbin/iptables $IPTABLES -F $IPTABLES -A SPOOFED -j LOG --log-prefix "WARN! spoofed ip:" --log-level 7 $IPTABLES -A LOG -j DROP iptables -A INPUT -i eth_out -s 127.0.0.0/8 -j SPOOFED