Forgot your password?

typodupeerror

Comment: iptables (Score 3, Informative) 47

by ls671 (#37841712) Attached to: New Attack Tool Exploits SSL Renegotiation Bug

INTIF2=vmnet1
PORTFWIP2=192.168.4.38

$IPTABLES -A rule_j14 -m limit --limit 120/minute --limit-burst 50 -j ACCEPT
$IPTABLES -A rule_j14 -m limit --limit 1/minute -j LOG --log-prefix "wharf"
$IPTABLES -A rule_j14 -j DROP

let i=0
while [ $i -lt $EXTIF_LIST_SIZE ]
do
for redirport in 25 587 995 21 113 22 563 119
do

$IPTABLES -A INPUT -i ${EXTIF_LIST[i]} -p tcp --dport ${redirport} \
-m state --state NEW -m limit --limit 1/minute \
-j LOG --log-prefix "wharf wharf"

$IPTABLES -A INPUT -i ${EXTIF_LIST[i]} -p tcp --dport ${redirport} \
-m state --state NEW -j DROP
$IPTABLES -A FORWARD -i ${EXTIF_LIST[i]} -o $INTIF2 -d ${MAIL_FW_IP[i]} -p tcp \
--dport $redirport -m state --state NEW -j rule_j14

$IPTABLES -A FORWARD -i ${EXTIF_LIST[i]} -o $INTIF2 -d ${MAIL_FW_IP[i]} -p tcp \
--dport $redirport -m state --state ESTABLISHED,RELATED -j ACCEPT

$IPTABLES -A PREROUTING -t nat -p tcp -d ${EXTIP_LIST[i]} --dport $redirport \
-m state --state NEW -m hashlimit --hashlimit 60/hour --hashlimit-burst 15 \
--hashlimit-htable-expire 3600000 --hashlimit-mode srcip,dstport \
--hashlimit-name j14-${redirport} \
-j DNAT --to ${MAIL_FW_IP[i]}:$redirport

done
let i=$i+1
done

Comment: Re:Totally believable. (Score 2) 387

by ls671 (#37395164) Attached to: Ask Slashdot: Best Use For a New Supercomputing Cluster?

Well, shutting your car down and powering it up excessively will cause a car gas engine to wear faster since it is generally accepted that an important part of a car engine wear occurs when you power it up. For a short period, oil isn't evenly distributed and this cause excessive wear and stress compared to while it is running smootly.

For the rest things like:
-"not shutting your water heater when you leave for 3 months will save you money because it will cost more in the end to eat the water when you get back"
-"it cost less in fuel or electricity to leave and engine running because restarting it will burn so much more -fuel/electricity"
etc. etc.
are mostly urban legend.

Comment: Re:quit saying the cloud (Score 1) 192

by ls671 (#37261016) Attached to: James Gosling Leaves Google

Nowadays, almost every big provider is using the word "cloud" to offer small to medium companies managed services and they even propose it to bigger corporations. "The cloud" is a lot more convenient for them because it means that you do not know where your data is located.

As for "the cloud is meaningless", well not exactly, it is just less precise. You could say:
-The Ford engine blew up
-The Mercedes-Benz engine blew up
or just: The engine blew up

Same for the cloud:
-The Google cloud
-The Amazon cloud
or just: the cloud

Plus what is telling you they do not have peering agreement to use each other resources and both save money on operating cost ? ;-)
http://xkcd.com/908/

If only Dionysus were alive! Where would he eat? -- Woody Allen

Working...