From narendra at etechsupport.net Mon Sep 14 05:27:44 2009 From: narendra at etechsupport.net (Narendra) Date: Mon Sep 14 05:28:03 2009 Subject: [Flow-tools] Fw: Variable binding not working Message-ID: <9C36FE2244AB4ED380A1558D2CCFE037@admin34PC> Hello, I would like to filter specific port all ( IN & Out) traffic. I am trying to Variable binding for specifying dynamic ( at run time) port. but it's not working. My file structure and commands are as follows. File: test_filter.cfg --------------------------------------------------- filter-primitive VAR_PORT type ip-port permit @CPRT default deny filter-definition custom_port match ip-source-port VAR_PORT or match ip-destination-port VAR_PORT File: test_report.cfg ------------------------------------------------------------ include-filter /home/esdsnet/flow_script/test_filter.cfg stat-report t10 type ip-address filter custom_port output sort +octets records 30 fields -flows,-packets,-duration path /home/esdsnet/flow_script/filter_data/@CPRT stat-definition t10 report t10 Command: ----------------------------------------------------------- /usr/bin/flow-cat -p /home/esdsnet/flow_data/lan_flow_data/2009/2009-09/2009-09-12 | flow-report -s test_report.cfg -S t10 -v CPRT=21 ---------------------------------------------------------------------------------------------------------------------- Is there anything weong with my command for filters... Regards, Narendra -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.splintered.net/pipermail/flow-tools/attachments/20090914/bbe2dac1/attachment.htm