Wouldn't x86 simply be a filter with 2 comparisons : one on a0 to filter only connect, and one on a3 for the sockaddr size ?
Basically, on x86 you have one rule : the one with 2 comparisons
On x64 you have 2 rules : one on the connect syscall, and one on the socketcall syscall with 2 comparisons
Thanks,
Hassan
On Thu, 05 Feb 2015 11:06:03 -0800, F Rafi <farhanible@gmail.com> wrote:
I did some digging and now I understand the different size variations of sockaddr_storage. I guess I can just filter on a2!=6e then.
And we'd have to keep an eye out for x86 systems. I understand that x86_64 does not use socketcall() but, do you know if multiarch support somehow allows 32bit apps on x86_64 to use / translate these calls?
Thanks again!
Farhan