Re: [c-nsp] ACL to block udp/0?

Gert Doering via cisco-nsp <[email protected]> Tue, 5 Dec 2023 22:44:49 +0100
Newsgroups gmane.network.nsp.cisco
Message-ID <[email protected]>
Hi,

On Tue, Dec 05, 2023 at 11:27:21PM +0200, Hank Nussbacher via cisco-nsp wrote:
> We encountered something strange.  We run IOS-XR 7.5.2 on ASR9K platform.
> 
> Had a user under udp/0 attack.  Tried to block it via standard ACL:
> 
> 
> ipv4 access-list block-zero
>  20 deny udp any any eq 0
>  30 deny tcp any any eq 0
>  40 permit ipv4 any any

D'Wayne Saunders already pointed at this most likely being fragments -
large packet reflections, and all non-initial fragments being reported by
IOS* as "port 0" (so you should see 1500 byte regular UDP as well, with
a non-0 port number)

IOS XR syntax for fragment blocking is
 
  deny ipv4 any any fragments

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJlb5nRAAoJEB2Cnv7KVigSJGkL/RC+/iVtdnZGS5ZGfzex20us
5BgRVuLWiMP+RmcDLOrKohMhnGvwFF4dCR10dTTLqoIXUMS6fVJU8fEV2HmT2+pS
SFmCHUlAwA1exVSZiDFqupcU9EZPYo+Z7RKHbtqglzR5LMnURUuEBOf6qPfPsQpj
RTg7kCnpYiM6z76QnHtBYOqvfhFHPAwoNx+NMF+5oDsYac4ewFJCVqr4XO84DFel
e7nXDYdC+KG2b8JdVPzFMRHxquje2boZ4MhK2sL024Ne0mzOzUdZHLJ3KVSKyOh3
CiQtUODCk4ahtSg6Zn7cgMWYiTGrXXu92vYgRbQFUlT6Kd6fp58wmcNwKdxDvIID
6/L9XmyZMNS9sn1u+J8MVsRuAtkR3+G1fpX3NaUw6lvQ0WEgSmi7TZPhLlMPtbS5
KNG6zZUo5tW3QKtwn8Y6raI6kT9K/D82k/LjG4aIu7zKFX+BHR7r5D77RjfoG9E0
Opzb0APO8YZRYgS7vbrdTkwyzNfoDUHlSZM/zKKlyA==
=DgGf
-----END PGP SIGNATURE-----