Module Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str ListLoad Str Str Str Str Str If CompareEq Call NameLoad NameLoad Num body If CompareGt Call NameLoad NameLoad Num body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad orelse Assign NameStore ListLoad TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body Expr Call NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Print Call NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str NameLoad Str Str orelse If CompareIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str NameLoad Str Str orelse If CompareIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Global identifier identifier Return BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Print Call NameLoad Print Str Print Str Print Str Print Str Print Str Print Str Print Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num
N/A N/A sys N/A getopt N/A subprocess N/A _name blockip N/A _version 0.1 main N/A N/A argv N/A N/A N/A N/A N/A N/A opts args N/A N/A getopt getopt argv ha:d:lv N/A help add= delete= list version N/A N/A N/A len opts 0 N/A N/A N/A N/A len args 0 N/A N/A opts N/A N/A arg args N/A N/A N/A N/A opts append N/A -a arg N/A N/A opts N/A N/A -h N/A N/A opt arg opts N/A N/A N/A opt N/A -h --help N/A N/A N/A help N/A N/A N/A opt N/A -v --version N/A N/A N/A version N/A N/A N/A opt N/A -a --add N/A N/A N/A N/A subprocess call N/A iptables -A INPUT -s arg -j DROP N/A N/A N/A opt N/A -d --delete N/A N/A N/A N/A subprocess call N/A iptables -D INPUT -s arg -j DROP N/A N/A N/A opt N/A -l --list N/A N/A N/A N/A subprocess call N/A iptables -L -n N/A N/A N/A N/A getopt GetoptError N/A err N/A N/A N/A blockip error:  N/A str err N/A N/A N/A sys exit 2 N/A N/A N/A blockip error (unknown). N/A N/A N/A sys exit 2 N/A version N/A N/A N/A N/A N/A _name _version N/A N/A N/A _name _version N/A help N/A N/A N/A N/A N/A N/A version N/A Usage: blockip [ips|-h|-a ip|-d ip|-l]
 N/A -h, --help:			Displays this message. N/A ips:				Adds IP-addresses to the block list. Example:
	blockip 1.2.3.4 2.3.4.5 N/A -a ip, --add ip:		Adds an IP-address to the block list. Example:
	blockip -a 1.2.3.4 N/A -d ip, --delete ip:		Removes an IP-address from the block list. Example:
	blockip -d 1.2.3.4 N/A -l, --list:			Lists the blocked IP-addresses. N/A -v, --version:			Displays the version of the utility. N/A N/A N/A __name__ __main__ N/A N/A N/A main N/A N/A sys argv N/A 1