iptables u32 tests and user logging

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

 



Hello All,
I am couple of questions on whether iptables can used to achieve my requirement.

Test Setup
Two Fedora core 9 ( kernel 2.6.25.6-55) systems running Intel 2 core
duo processor as iSCSI initiator/target connected via Gig Ethernet
switch
IP Tables v 1.4.0

Requirement
On the target system, I have to look for packets that have TOS bits
set and in those packets, I have look beyond the TCP header i.e. into
iSCSI header for specific values.
In this case, i am looking for iSCSI read command( first byte) and
notedown ITT value ( 4 bytes, from 16-19 )

I studied manual pages and I am not sure whetehr IP tables/u32/ulog
can help me to achieve me this requirement.

Questions
1. I just need to pull out few bytes out from the packet and log it.
2. Whether ulog can record only few bytes or interested bytes in the paylod ??

Thanks in advance for your suggestions

Regards
Padmanabhan
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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