Score:1

How to check an IP address is blocked by IP Route?

cn flag

My server is constantly getting attacked by Amazon India servers.

I added 35.154.0.0/16 range to the route for IP address 35.154.252.15

ip route add blackhole 35.154.0.0/16

But when I check if the IP address is blocked, it does not output anything.

ip route show 35.154.252.15

How can I make sure 35.154.252.15 is blocked by ip route?

Score:2
fr flag

man ip-route:

   ip route get
          get a single route
          this command gets a single route to a destination and prints its
          contents exactly as the kernel sees it.

So try:

ip route get 35.154.252.15
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.