Tom Eastep
2017-06-07 21:44:24 UTC
Hi,
My last Shorewall rule is DROP with logging options (:info:polbl).
It's a custom DROP action identical to the upstream version, except
it includes the SRC IP addr. in an ipset.
I usually get messages in the log such as Shorewall:polbl:DROP...
Jun 5 16:47:51 kernel: Shorewall:polbl:COUNT:IN=enp9s5 OUT=
MAC=00:0d:88:cd:7f:c5:00:13:f7:23:ef:b4:08:00 SRC=1.2.3.4
DST=192.168.100.2 LEN=60 TOS=0x00 PREC=0x00 TTL=124 ID=10689
PROTO=255 MARK=0x2
- From your most recent dump:My last Shorewall rule is DROP with logging options (:info:polbl).
It's a custom DROP action identical to the upstream version, except
it includes the SRC IP addr. in an ipset.
I usually get messages in the log such as Shorewall:polbl:DROP...
Jun 5 16:47:51 kernel: Shorewall:polbl:COUNT:IN=enp9s5 OUT=
MAC=00:0d:88:cd:7f:c5:00:13:f7:23:ef:b4:08:00 SRC=1.2.3.4
DST=192.168.100.2 LEN=60 TOS=0x00 PREC=0x00 TTL=124 ID=10689
PROTO=255 MARK=0x2
Chain DROPBL (24 references)
pkts bytes target prot opt in out source
destination
4 1667 LOG all -- * * 0.0.0.0/0
0.0.0.0/0 LOG flags 0 level 6 prefix "Shorewall:polbl:COUNT:"
0 0 ~log640 icmp -- * * 0.0.0.0/0
0.0.0.0/0 [goto] icmptype 3 code 4 /* Needed ICMP types */
What is the reason for which the packet was DROPped? What does
COUNT mean exactly, especially with PROTO=255?
That rule doesn't indicate that the packet is being dropped -- itCOUNT mean exactly, especially with PROTO=255?
simply means that it is being logged and counted.
- -Tom
- --
Tom Eastep \ Q: What do you get when you cross a mobster with
Shoreline, \ an international standard?
Washington, USA \ A: Someone who makes you an offer you can't
http://shorewall.org \ understand
\_______________________________________________