Skip to contentSkip to conversation

Some confuisions about following script

DISCUSSION Salman Ahmed 1 participant 1 message May 23, 2003

lore
Share & tools
lore
#0 lore raw

I have downloaded one script from internet which some parts are making confusion which are:

####################################################
#----Create logging chains-----#

##These are the logging-chains. They all have a certain limit of log-entries/sec to prevent log-flooding
##The syslog-entries will be fireparse-compatible (see
http://www.fireparse.com)

#Invalid packets (not ESTABLISHED,RELATED or NEW)

	$IPTABLES -N LINVALID
	$IPTABLES -A LINVALID -m limit --limit $LOGLIMIT

--limit-burst $LOGLIMITBURST -j LOG --log-prefix "fp=INVALID:1 a=DROP " $IPTABLES -A LINVALID -j DROP

#####################################################

I am having following confusions.

What is LOGLIMIT
What is LOGLIMITBURST and
What is --log-prefix "fp=INVALID:1 a=DROP "

How can we only block mns messenger and yahoo
messenger?

How can we block all communications except www.

Please help me out.

Best Regards
Salman

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com