Ulogd-MySQL tables specifications

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

 



Hi.
I'm writing a web interface for Ulogd, and I need to know how the
MySQL "ulog" table's columns in the database are formed.
For example, if I try to send a bad packet to the firewall, I get this
log in the Ulogd MySQL table:

id = 1 (which is the ID of the record)
raw_mac = 00:0c:29:d6:50:04:00:11:95:5f:d2:bf:08:00 (what MAC address
is this? How I can get this?)
oob_time_sec = 1192200188 (what is this?)
oob_time_usec = 724256 (what is this?)
oob_prefix = Shorewall:lan2fw:DROP: (the prefix wrote by Shorewall)
oob_mark = 0 (what is this?)
oob_in = eth0 (the "in" interface)
oob_out = [blank] (the "out" interface, it is blank because it isn't a
forwarded packet)
ip_saddr = 3232235887 (this should be "192.168.1.111", but how I can get this?)
ip_daddr = 3232235807 (this should be "192.168.1.31", but how I can get this?)
ip_protocol = 1 (this should be "icmp", what are all the other values?)
ip_tos = 0 (what is this?)
ip_ttl = 128 (what is this?)
ip_totlen = 60 (what is this?)
ip_ihl = 5 (what is this?)
ip_csum = 20718 (what is this?)
ip_id = 26100 (what is this?)
ip_fragoff = NULL (what is this?)
tcp_sport = NULL (this is the TCP source port)
tcp_dport = NULL (this is the TCP destination port)
tcp_seq = NULL (what is this?)
tcp_ackseq =  NULL (what is this?)
tcp_window =  NULL (what is this?)
tcp_urg =  NULL (what is this?)
tcp_urgp =  NULL (what is this?)
tcp_ack =  NULL (what is this?)
tcp_psh =  NULL (what is this?)
tcp_srt =  NULL (what is this?)
tcp_syn =  NULL (what is this?)
tcp_fin =  NULL (what is this?)
udp_sport = NULL (this is the UDP source port)
udp_dport = NULL (this is the UDP destination port)
udp_len = NULL (what is this?)
icmp_type = 8 (this it the ICMP type)
icmp_code = 0 (what is this?)
icmp_echoid = 1024 (what is this?)
icmp_echoseq = 27929 (what is this?)
icmp_gateway = NULL (what is this?)
icmp_fragmtu = NULL (what is this?)
pwsniff_user = NULL (what is this?)
pwsniff_pass = NULL (what is this?)
ahesp_spi = NULL (what is this?)

Could you help me to understand the values I didn't know, please?

Thank you very much!
Bye.
-
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