Some confuisions about following script

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

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux