From: shacky <shacky83@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Ulogd-MySQL tables specifications
Date: Fri, 12 Oct 2007 15:17:06 +0200 [thread overview]
Message-ID: <7fedbc910710120617l136eb671qcd8a8c861a79ebc9@mail.gmail.com> (raw)
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.
reply other threads:[~2007-10-12 13:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7fedbc910710120617l136eb671qcd8a8c861a79ebc9@mail.gmail.com \
--to=shacky83@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).