Wednesday, October 31, 2007

SNIFFER_10_31_2007

23. I have gone through the USER SPACE code of libipt_layer7.c and got the idea of how it functions.

24. NEXT TASK is to understand the KERNEL SPACE code and make ipt_sample adapt the methodology.

25. RULES

iptables -A OUTPUT -t mangle -m layer7 --l7proto ftp
iptables -A OUTPUT -t mangle -m sample --src-ip --dst-ip -j ACCEPT

26 . from looking at my code, I THINK MY FETCHING OF DATA IS NOT CORRECT ! Will confirm
it tonight.

Thanks Master !!! Let's see how it goes !

No comments: