Hi all. I have strange situation with dmesg command. When I want to check something about computer devices, dmesg shows nothing. [CMD=""]#dmesg |grep cd[/CMD] and I dont see any information, just #. A few days ago, everything was okay.
Now, after using this command, I see many entries similar to this: [CMD=""]#dmesg[/CMD]
And these entries is many more!
I checked dmesg.today file in /var/log/ directory with tail command. [CMD=""]#tail -f dmesg.today[/CMD]
This information about attempt to UDP is probably normal, because I dont have any rules in packet filter for DHCP, because of bpf and configuring network during system start. Everything works okay, if it is about network.
Why dmesg command shows only information about socket, RST, connection to closed port, instead of computer information?
Now, after using this command, I see many entries similar to this: [CMD=""]#dmesg[/CMD]
Code:
TCP: [216.14.102.17]:80 to [192.168.1.101]:31644 tcpflags 0x10<ACK>;
tcp_do_segment: FIN_WAIT_2: Received 1460 bytes of data after socket was closed,
sending RST and removing tcpcb
Connection attempt to UDP 192.168.1.101:13615 from 208.67.222.222:53
TCP: [127.0.0.1]:47303 to [127.0.0.1]:25 tcpflags 0x2<SYN>;
tcp_input: Connection attempt to closed port
tcp_do_segment: FIN_WAIT_1: Received 1460 bytes of data after socket was closed,
sending RST and removing tcpcb
I checked dmesg.today file in /var/log/ directory with tail command. [CMD=""]#tail -f dmesg.today[/CMD]
Code:
TCP: [87.98.235.118]:80 to [192.168.1.101]:21147 tcpflags 0x18<PUSH,ACK>; tcp_do_segment: FIN_WAIT_1:
Received 281 bytes of data after socket was closed,
sending RST and removing tcpcb
TCP: [46.4.240.9]:80 to [192.168.1.101]:50581 tcpflags 0x12<SYN,ACK>; tcp_input:
Connection attempt to closed port
TCP: [46.4.240.9]:80 to [192.168.1.101]:63366 tcpflags 0x10<ACK>; tcp_do_segment: FIN_WAIT_2:
Received 1460 bytes of data after socket was closed,
sending RST and removing tcpcb
Connection attempt to UDP 192.168.1.101:68 from 192.168.X.X:67
Why dmesg command shows only information about socket, RST, connection to closed port, instead of computer information?