Portál AbcLinuxu, 20. července 2025 10:19
iptables
je pouze konfigurační rozhraní, kterým nastavujete tabulky, podle nichž driver jádra (netfilter) filtruje vlastní pakety.
cat syslog | grep "jmeno_logu" >> iptables.log
kern.=debug /var/log/firewall
Sep 16 18:52:07 barbucha smbd[4858]: [2005/09/16 18:52:07, 0] lib/util_sock.c:get_peer_addr(952) Sep 16 18:52:07 barbucha smbd[4858]: getpeername failed. Error was Transport endpoint is not connected Sep 16 18:52:07 barbucha smbd[4858]: [2005/09/16 18:52:07, 0] lib/util_sock.c:write_socket_data(388) Sep 16 18:52:07 barbucha smbd[4858]: write_socket_data: write failure. Error = Connection reset by peer Sep 16 18:52:07 barbucha smbd[4858]: [2005/09/16 18:52:07, 0] lib/util_sock.c:write_socket(413) Sep 16 18:52:07 barbucha smbd[4858]: write_socket: Error writing 4 bytes to socket 17: ERRNO = Connection reset by peer Sep 16 18:52:07 barbucha smbd[4858]: [2005/09/16 18:52:07, 0] lib/util_sock.c:send_smb(605) Sep 16 18:52:07 barbucha smbd[4858]: Error writing 4 bytes to client. -1. (Connection reset by peer)Panebože co to je?!
smbd
určitě neloguje pod facility kern
. Nemluvě o tom, že Samba může používat vlastní logy a nemusí logovat přes syslog vůbec…
kernel
. A ty jsou (skoro) všechny od firevalu, ty si dám bokem. Trochu jsem to před tím nepochopil, tak sorry
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.