Skip to content

placentiusz/BadIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BadIP

Bad IP list and location on world map in R

List of IP addresses from which bad peoples try to attack my mail server.
Map file was generated using R and this simple code:

library(rworldmap)
library(IPtoCountry)
library(varhandle)
library(readr)
ipblack_v2 <- read_delim("~/ipblack.csv", 
                         +     ";", escape_double = FALSE, col_names = FALSE, 
                         +     trim_ws = TRUE)
ip_geo <- IP_location(ipblack_v2$X1)
sapply(ip_geo, class)
ip_geo$long <- unfactor(ip_geo$long)
ip_geo$lat <- unfactor(ip_geo$lat)
newmap <- getMap(resolution = "low")
plot(newmap)
points(ip_geo$long, ip_geo$lat, col = "red", cex = .5)

Attack Map

About

Bad IP list and location on world map in R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages