Michael C. Toren on 20 Apr 2005 14:59:50 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] iptables

On Wed, Apr 20, 2005 at 10:51:41AM -0400, Jeff Abrahamson wrote:
>  + iptables -A INPUT -p udp --dport 123 -src admin.math.drexel.edu -j ACCEPT
>  Bad argument `admin.math.drexel.edu'^M
>  Try `iptables -h' or 'iptables --help' for more information.^M

Change "-src" to "--src", or just use "-s".  You may also want to specify
the IP address of admin.math.drexel.edu rather than having iptables look
it up in DNS, which could potentially be spoofed.


perl -e'$u="\4\5\6";sub H{8*($_[1]%79)+($_[0]%8)}sub G{vec$u,H(@_),1}sub S{vec
($n,H(@_),1)=$_[2]}$_=q^{P`clear`;for$iX){PG($iY)?"O":" "forX8);P"\n"}for$iX){
forX8){$c=scalar grep{G@$_}[$i-1Y-1Z-1YZ-1Y+1ZY-1ZY+1Z+1Y-1Z+1YZ+1Y+1];S$iY,G(
/,\$_/xg;s/X/(0..7/g;s/P/print+/g;eval' #     Michael C. Toren <mct@toren.net>

Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug