On Sun, May 11, 2008 at 1:30 PM, Niall O Broin <niall at linux.ie> wrote:
> I have a server w.x.y.z running an snmpd which claims it is being queried
> by another server (claims == Connection from TCP: [a.b.c.d] in
> net-snmpd.log) . Now, a.b.c.d should not be making snmp connections to
> w.x.y.z so to check, I ran tcpdump on a.b.c.d and sure enough, there it is
> making connections to w.x.y.z - but I still have no idea what process is
> making these spurious connections.
>> So the question now is how do I found out what process is doing this?
> tcpdump will tell me the source port of the packets, but that's fairly
> transient? Is there some way of persuading tcpdump to tell me the pid of the
> process sending the packets? Thinking about the operation of tcpdump, I
> can't see how there would be, but I live in hope that one of you geniuses
> will have an answer for me ;-)
Run identd on a.b.c.d and wrap snmpd on w.x.y.z in tcpd; add a script trap
to tcpd to query authd on a.b.c.d?
Colm
--
Colm Buckley / colm at tuatha.org / +353 87 2469146
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!