From: lists_todd@mac.com
To: Steve Grubb <sgrubb@redhat.com>
Cc: linux-audit@redhat.com
Subject: Re: saddr value in connect()
Date: Mon, 05 May 2014 17:31:02 -0700 [thread overview]
Message-ID: <E902AE20-A3F8-4895-88AF-E240C792A062@mac.com> (raw)
In-Reply-To: <20140505182621.45cb8670@ivy-bridge>
[-- Attachment #1.1: Type: text/plain, Size: 742 bytes --]
On May 5, 2014, at 3:26 PM, Steve Grubb <sgrubb@redhat.com> wrote:
> saddr is a hex encoded blob that is a struct sockaddr.
I’m writing my own parsing code to add Linux analysis to my Mac-based BSM audit analysis tools, so I might be asking some “out of left field” questions from time to time. I’ve been working my way through decoding things like the sockaddr hex blob.
>> …
>
> Its a socket address structure. It may or may not be null terminated
> depending on the socket type.
>
>> ...
>
> Its other fields in struct sockaddr.
>
>> ...
>
> That would be an abstract af_unix socket.
With that info I did a little more digging and found a lot of this information in
$ man 7 unix
Thanks!
Todd
[-- Attachment #1.2: Type: text/html, Size: 2105 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2014-05-06 0:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 22:11 saddr value in connect() lists_todd
2014-05-05 22:26 ` Steve Grubb
2014-05-06 0:31 ` lists_todd [this message]
2014-05-06 17:55 ` Steve Grubb
2014-05-15 16:20 ` lists_todd
2014-05-15 16:55 ` Steve Grubb
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=E902AE20-A3F8-4895-88AF-E240C792A062@mac.com \
--to=lists_todd@mac.com \
--cc=linux-audit@redhat.com \
--cc=sgrubb@redhat.com \
/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