Package: tcpspy Version: 1.6-2 Severity: wishlist Hoi, logging the direction of connection establishment would be a nice feature for tcpspy. Eg: connect: user x, local x:y -> remote z:ftp-d(ata) connect: user x, local x:y <- remote z:ftp-d(ata) regards, Mario
Hello! | logging the direction of connection establishment would be a nice | feature for tcpspy. Eg: | connect: user x, local x:y -> remote z:ftp-d(ata) | connect: user x, local x:y <- remote z:ftp-d(ata) I've already reported the upstream author this bug and he replied: "#97178 - I'll investigate this." So... its his turn. []s Pablo
I did investigate this, and I could find no simple way of figuring out connection direction from the information in /proc/net/tcp. tcpspy 2.0 solves this problem by using a kernel module and can tell whether connect() or accept() was used to create the connection. Unfortunately, tcpspy 2.0 isn't quite ready for `prime time' yet, and it doesn't look like I'll have time to make it such in the near future. Tim