I set heartbeat to 60 on the client and idle to 120 on the server. Reconnects seem fine now, although I never did nail down the exact conditions under which reconnects failed.
But I still have the problem of weird buffering on the client side. If I run `sudo ls` on the client side, locally I get something like:
node=
grax.sea.marchex.com type=SYSCALL msg=audit(1468448156.161:3288765): arch=c000003e syscall=59 success=yes exit=0 a0=8f81e8 a1=8f7578 a2=8febf0 a3=7ffd3d956370 items=2 ppid=19387 pid=19388 auid=2288 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts4 ses=399 comm="ls" exe="/bin/ls" key="rootcmd"
node=
grax.sea.marchex.com type=PATH msg=audit(1468448156.161:3288765): item=0 name="/bin/ls" inode=132438 dev=09:01 mode=0100755 ouid=0 ogid=0 rdev=00:00
node=
grax.sea.marchex.com type=PATH msg=audit(1468448156.161:3288765): item=1 name=(null) inode=71179 dev=09:01 mode=0100755 ouid=0 ogid=0 rdev=00:00
But remotely, I just get:
node=
grax.sea.marchex.com type=SYSCALL msg=audit(1468448156.161:3288765): arch=c000003e syscall=59 success=yes exit=0 a0=8f81e8 a1=8f7578 a2=8febf0 a3=7ffd3d956370 items=2 ppid=19387 pid=19388 auid=2288 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts4 ses=399 comm="ls" exe="/bin/ls" key="rootcmd"
Just the first line of the audit record. No matter how long I wait. If I then run `sudo ls` again, *then* the rest of the lines show up in the server's log.
The buffering appears to be on the client side, because if I restart the server's auditd, those lines are not lost: they still appear in the remote log ... but not until the next time I run `sudo ls` on the client side.
This is on 1.7.x. This does not happen on 2.4.x or 2.6.x.