cups netstat output

Hi,

I ran a netstat command right after reboot and this is what I saw. Can anyone tell me what is going here with port 52682?

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2618/cupsd
tcp 0 0 127.0.0.1:52682 127.0.0.1:631 TIME_WAIT -
tcp 0 0 ::1:631 :::* LISTEN 2618/cupsd

Thanks

11.4, gnome

It is a bit difficult to say since the process which communicated with cups is no longer there. As far as I remember TIME_WAIT means socket is already closed and now waits for some further time for packets which were not yet received. I hope someone can explain it better.
Maybe you printed something and that was the communication from your program with CUPS?

Same thing shows up on a new reboot but with a different port. Have not been printing anything


Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 127.0.0.1:631                         0.0.0.0:*                  LISTEN      2596/cupsd          
tcp        0      0 127.0.0.1:38547                     127.0.0.1:631           TIME_WAIT   -                   
tcp        0      0 ::1:631                                   :::*                          LISTEN      2596/cupsd   

I am not a CUPS expert but if I were you I would check
/var/log/cups/access_log to see what tries to access CUPS, if it is
important for you to know. Do you suspect that your system is compromised?


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
ION | 3GB Ram

Hi,

Please use CODE tags instead of PHP tags for such output as it will be easier to read :slight_smile:

As to your original question I’ve got no idea what is the socket you’re asking about for.

Best regards,
Greg