How to block long list of consecutive IP address?
How to call linux route command inside a script?
How to block consecutive IP address using bash script or perl script?
How to block local IP address permanently?
The are times that a server does not need to listen and process any TCP/UDP request for a long list of consecutive local IP addresses.
This blog entry provides a starting point of creating server scripts to block a long list of consecutive IP address from the server for permanent blocking.
To start, launch your fave editor and create a IPblock.sh bash script like with contents similar to the next few lines. This blog entry assumes that you have bash shell and perl currently installed from the machine.
From below example, we are permanently blocking IP address from
192.168.0.10 to 192.168.0.254.Here's a simple sample script that does the job.
#!/bin/bashThis can also be accomplished using perl script which does the same function. Create a separate IPblock.pl perl script like so.
echo Blocking started ...
for ((i=10;i<=254;i=i+1)); do /sbin/route add -host 192.168.0.$i reject done echo Done
#!/usr/bin/perl -wMake sure these scripts are root executable like so
my $i;
for ($i=10; $i<=254; $i++ ) { system ("/sbin/route del -host 192.168.0.$i reject"); } }
# chmod 700 IPblock.shNow, to execute individually
# chmod 700 IPblock.pl
# ./IPblock.shAdditionally, the above scripts can be scheduled for regular execution if you need them so by using crontab utility.
# ./IPblock.pl











1082 comments:
«Oldest ‹Older 1001 – 1082 of 1082 Newer› Newest»Very interesting content which helps me to get the in depth knowledge about the technology.
Mobile Apps Training Institute in Chennai | Mobile Apps Training Institute in Velachery | Mobile Apps Training Institute in Saidapet
All the points you described so beautiful. Every time i read your blog content and i so surprised that how you can write so well.
Microsoft Certification Training in Chennai | Microsoft Certification Training in Velacherry | Microsoft Certification Training in Saidapet
Excellent post with all required information and admirable stories. Anticipating for your future posts. Keep up the Good work.
Best Embedded Systems Training Institute in Chennai |Best Embedded Systems Training Institute in Keelkattalai
Very good and informative article. Thanks for sharing such nice article, keep on updating such good articles.
Bootstrap Training Institute in Chennai | Bootstrap Training Institute in Velachery | Bootstrap Training Institue in Tambaram | Bootstrap Training Institue in Guindy
Thanks for your post! Through your pen I found the problem up interesting! I believe there are many other people who are interested in them just like me! Thanks your shared!... I hope you will continue to have similar posts to share with everyone! I believe a lot of people will be surprised to read this article! Best DevOps online training in hyderabad
Good content and thanks for giving nice information to read your blog.
Graphic Designing Training Institute in Chennai | Graphic Design Certification Course in Adyar
Excellent, Healthy and Creative content with more information required for IT and Non-IT professionals. I am looking forward for your future posts. Keep up the Good work.
Best SEO Training in Chennai | Best SEO Training in Adyar
Excellent, Healthy and Creative content with more information required for IT and Non-IT professionals. I am looking forward for your future posts. Keep up the Good work.
Best MBA Project Center in Chennai | Best MBA Project Center in Tambaram
Your blog is very informative with useful information,thanks a lot for sharing such a wonderful article,its very useful for me.keep updating your creative knowledge.!...
Blueprism Training Course in Chennai | Blueprism Training Course in Velachery | Blueprism Training Course in Tambaram
All the points you described so beautiful. Every time i read your blog content and i so surprised that how you can write so well.
Uipath Robotics Process Automation in Chennai | Uipath Robotics Process Automation in Velacherry | Uipath Robotics Process Automation in Tambaram
Your Blog is really awesome with useful and helpful content for us.Thanks for sharing ..keep updating more information.
QA Training Training in Chennai | QA Testing Training in Tambaram | QA Testing Training in Velachery | QA Testing Training in Guindy
This blog very easily understandable. Thanks for sharing such an informative post with us.This is a nice post in an interesting line of content.
Tally Training Course in Chennai | Tally Training Course in Velcherry | Tally Training Course in Pallikaranai
Nice Post! It is really interesting to read from the beginning and Keep up the good work and continue sharing like this.
Best MATLAB Training in Chennai | Best MATLAB Training in Velachery
Very informative blog. Thanks for sharing such good information and keep on updating.This is a nice post in an interesting line of content.Thanks for sharing this article.
PCB Training in Chennai | PCB Training in Velcherry | PCB Training in Guindy
I have read your blog its very attractive and impressive. I like it your blog...
Web Design And Development Training in Chennai | Web Design And Development Training in Velcherry | Web Design And Development Training in Taramani
Wonderful article.It is to define the concepts very well.Clearly explain the information.It has more valuable information for
encourage me to achieve my career goal.
Best Android Training institute in kanchipuram
Wonderful article.It is to define the concepts very well.Clearly explain the information.It has more valuable information for encourage me to achieve my career goal.
Best Android Training institute in kanchipuram
Thanks for your post! Through your pen I found the problem up interesting! I believe there are many other people who are interested in them just like me! Thanks your shared!... I hope you will continue to have similar posts to share with everyone! I believe a lot of people will be surprised to read this article! DevOps online training in hyderabad
Thanks its Great Article... I love to read your articles because your writing style is too good, its is very very helpful for all of us.
PHP and MYSQL Training Course in Chennai | PHP and MYSQL Training Course in Velcherry | PHP and MYSQL Training Course in OMR
Very informative blog. Thanks for sharing such good information and keep on updating.This is a nice post in an interesting line of content.Thanks for sharing this article.
VLSI Training in Chennai | VLSI Training in Velcherry | VLSI Training in OMR
It's very great post...Thanks for sharing such an informative post..
Thanks for sharing this valuable information.. I saw your website and get more details..Nice work...
HP and QTP Training Course in Chennai | HP and QTP Training Course in Velcherry | HP and QTP Training Course in Pallavaram
Attend The Digital Marketing Course Bangalore From ExcelR. Practical Digital Marketing Course Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Digital Marketing Course Bangalore.
Digital Marketing Course Bangalore
Very Informative...Glad to find your blog...Keep Sharing...
Java Script Course in Chennai | Java Script Course in Medavakkam
Attend The Machine Learning course Bangalore From ExcelR. Practical Machine Learning course Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Machine Learning course Bangalore.
Machine Learning course Bangalore
Thank you for your information. I have got some important suggestions from it. Keep on sharing.
Best Computer Service in Chennai | Best Computer Service in Kovilambakkam
You have provided a nice article, Thank you very much for this one. And I hope this will be useful for many people. And I am waiting for your next post keep on updating these kinds of knowledgeable things
Android Training in Chennai
Android Course in Chennai
App Development Course in Chennai
Android Development Course in Chennai
Android App Development Course in Chennai
You have provided a nice article, Thank you very much for this one. And I hope this will be useful for many people. And I am waiting for your next post keep on updating these kinds of knowledgeable things
App Development Course in Chennai
Android Development Course in Chennai
Android Training Institutes in Bangalore
Android App Development Course in Bangalore
Android Course in Coimbatore
Android App Development Course in Coimbatore
Android Course in Madurai
Thank you for your information. I have got some important suggestions from it. Keep on sharing.
Best Computer Service in Chennai | Best Computer Service in Kovilambakkam
very nyc..
coronavirus update
inplant training in chennai
inplant training
inplant training in chennai for cse
inplant training in chennai for ece
inplant training in chennai for eee
inplant training in chennai for mechanical
internship in chennai
online internships
Technical knowlege developement...
Coronavirus Update
Intern Ship In Chennai
Inplant Training In Chennai
Internship For CSE Students
Online Internships
Internship For MBA Students
ITO Internship
When I am searching for different sort of information, at that time I found yours blog. online Linux training
I am looking for and I love to post a comment that "The content of your post is awesome" Great work!
Digital marketing courses in Bangalore
I have bookmarked your website because this site contains valuable information in it. I am really happy with articles quality and presentation.
Thanks a lot for keeping great stuff. I am very much thankful for this site.
Very good informative blog, keep sharing.
BEST ANGULAR JS TRAINING IN CHENNAI WITH PLACEMENT
https://www.acte.in/angular-js-training-in-chennai
https://www.acte.in/angular-js-training-in-annanagar
https://www.acte.in/angular-js-training-in-omr
https://www.acte.in/angular-js-training-in-porur
https://www.acte.in/angular-js-training-in-tambaram
https://www.acte.in/angular-js-training-in-velachery
Pretty article! I found some useful information in your blog....
so here we provide,
We provide you with flexible services and complete hybrid network solutions. It can provide your organisation with exceptional data speeds, advanced external security protection, and high-resilience by leveraging the latest SD-WAN and networking technologies to monitor, manage and strengthening your organisation’s existing network devices.
https://www.quadsel.in/networking/>
https://twitter.com/quadsel/
https://www.linkedin.com/company/quadsel-systems-private-limited/
https://www.facebook.com/quadselsystems/
#quadsel #network #security #technologies #managedservices #Infrastructure #Networking #OnsiteResources #ServiceDeskSupport #StorageServices #WarrantyAMCServices #datacentersolutions #DataCenterBuild #EWaste #InfraConsolidation #DisasterRecovery #NetworkingServices #ImagingServices #MPS #Consulting #WANOptimisation #enduserservices
Bring your Organisation Brand into the Digital World, to know more contact us
www.bluebase.in
https://www.facebook.com/bluebasesoftware/
https://www.linkedin.com/…/bluebase-software-services-pvt-…/
https://twitter.com/BluebaseL/
#applications #EnterpriseSolutions #CloudApplication #HostingServices #MobileAppDevelopment #Testing #QA #UIdesign #DigitalMarketing #SocialMediaOptimisation #SMO #SocialMediaMarketing #SMM #SearchEngineOptimisation #SEO #SearchEngineMarketing #SEM #WebsiteDevelopment #WebsiteDesigning #WebsiteRevamping #crm #erp #custombuildapplication #android #ios
Attend The Artificial Intelligence course From ExcelR. Practical Artificial Intelligence course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Artificial Intelligence course.
Artificial Intelligence Course
Really nice post. Thank you for sharing amazing information.
Digital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery
Attend The Bangalore Digital Marketing Course From ExcelR. Practical Bangalore Digital Marketing Course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Bangalore Digital Marketing Course.
Bangalore Digital Marketing Course
Thank you for taking the time and sharing this information with us. It was indeed very helpful and insightful while being straight forward and to the point.
CCNA Training Institute in Chennai | CCNA Training Institute in Velachery
Thanks for the well-written post and I will follow your updates regularly and this is really helpful. Keep posting more like this.
Oracle Training | Online Course | Certification in chennai | Oracle Training | Online Course | Certification in bangalore | Oracle Training | Online Course | Certification in hyderabad | Oracle Training | Online Course | Certification in pune | Oracle Training | Online Course | Certification in coimbatore
I do agree your blog for quiz programming concepts, which is very helpful to grow up your knowledge. keep sharing more
AWS training in chennai | AWS training in annanagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery
IEEE Cloud computing DOamin is a general term for anything that involves delivering hosted services over the Internet. cloud computing projects The cloud projects for cse is a metaphor for a global network of remote servers which operates as a single ecosystem, commonly associated with the Internet. IEEE FInal Year Networking Projects for CSE Domains Networking Projects cloud computing is the delivery of computing projects services—including servers, storage, databases, networking projects, software, analytics, and intelligence
JavaScript Training in Chennai
JavaScript Training in Chennai
Awesome blog. Your articles really impressed for me, because of all information so nice and unique...
Best Paper Plates Shop in Chennai | Best Paper Plates Shop in thirukkalukundram
Great Article
Cloud Computing Projects
Networking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
Your website is really cool and this is a great inspiring article. Much thanks to you such a great amount for sharing this sort of information.
Visit us for online business card printing.
Great Article
Cloud Computing Projects
Networking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
trung tâm tư vấn du học canada vnsava
công ty tư vấn du học canada vnsava
trung tâm tư vấn du học canada vnsava uy tín
công ty tư vấn du học canada vnsava uy tín
trung tâm tư vấn du học canada vnsava tại tphcm
công ty tư vấn du học canada vnsava tại tphcm
điều kiện du học canada vnsava
chi phí du học canada vnsava
#vnsava
@vnsava
Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
Artificial Intelligence Training in Chennai
Ai Training in Chennai
Artificial Intelligence training in Bangalore
Ai Training in Bangalore
Artificial Intelligence Training in Hyderabad | Certification | ai training in hyderabad
Artificial Intelligence Online Training
Ai Online Training
Blue Prism Training in Chennai
Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly
Java training in Chennai
Java Online training in Chennai
Java Course in Chennai
Best JAVA Training Institutes in Chennai
Java training in Bangalore
Java training in Hyderabad
Java Training in Coimbatore
Java Training
Java Online Training
Thanks for this informative blog please keep posting more often as it might help someone who is looking to gain more knowledge.
selenium training in chennai
selenium training in chennai
selenium online training in chennai
selenium training in bangalore
selenium training in hyderabad
selenium training in coimbatore
selenium online training
nice thanks for sharing.....................!
pega training
pega training
Salesforce Admin training
Salesforce Admin training
Salesforce Admin training
sql admin training
angular js training
mulesoft training
puppet training
magento training
hadoop training
obiee training
ethical hacking training
Resources like the one you mentioned here will be very useful to me ! I will post a link to this page on my blog. I am sure my visitors will find that very useful
angular js training in chennai
angular training in chennai
angular js online training in chennai
angular js training in bangalore
angular js training in hyderabad
angular js training in coimbatore
angular js training
angular js online training
nice post
Software Testing Training in Chennai | Certification | Online
Courses
Software Testing Training in Chennai
Software Testing Online Training in Chennai
Software Testing Courses in Chennai
Software Testing Training in Bangalore
Software Testing Training in Hyderabad
Software Testing Training in Coimbatore
Software Testing Training
Software Testing Online Training
It’s always so sweet and also full of a lot of fun for me personally and my office colleagues to search your blog a minimum of thrice in a week to see the new guidance you have got.
java training in chennai
java training in omr
aws training in chennai
aws training in omr
python training in chennai
python training in omr
selenium training in chennai
selenium training in omr
very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
Azure Training in Chennai
Azure Training in Bangalore
Azure Training in Hyderabad
Azure Training in Pune
Azure Training | microsoft azure certification | Azure Online Training Course
Azure Online Training
Wonderful blog with great piece of information. Regards to your effort. Keep sharing more such blogs.Looking forward to learn more from you.
sap training in chennai
sap training in porur
azure training in chennai
azure training in porur
cyber security course in chennai
cyber security course in porur
ethical hacking course in chennai
ethical hacking course in porur
This article content is really unique and amazing.This article really helpful and explained very well.So i am really thankful to you for sharing keep it up..
oracle training in chennai
oracle training in tambaram
oracle dba training in chennai
oracle dba training in tambaram
ccna training in chennai
ccna training in tambaram
seo training in chennai
seo training in tambaram
Amazing and interesting blog found to be well written in a simple manner that everyone will understand and gain the enough knowledge from your blog being more informative is an added advantage for the users who are going through it. Once again nice blog keep it up.
DevOps Training in Chennai
DevOps Online Training in Chennai
DevOps Training in Bangalore
DevOps Training in Hyderabad
DevOps Training in Coimbatore
DevOps Training
DevOps Online Training
Excellent Blog! I would Thanks for sharing this wonderful content.its very useful to us.I gained many unknown information, the way you have clearly explained is really fantastic.keep posting such useful information.
Full Stack Training in Chennai | Certification | Online Training Course
Full Stack Training in Bangalore | Certification | Online Training Course
Full Stack Training in Hyderabad | Certification | Online Training Course
Full Stack Developer Training in Chennai | Mean Stack Developer Training in Chennai
Full Stack Training
Full Stack Online Training
One of the best blogs that i have read still now. Thanks for your contribution in sharing such a useful information. Waiting for your further updates.
Digital Marketing Training in Chennai
Digital Marketing Course in Chennai
SEO Training in Chennai
Digital Marketing Training in Bangalore
Digital Marketing Training in Hyderabad
Digital Marketing Training in Coimbatore
Digital Marketing Training
Digital Marketing Course
Digital Marketing Online Training
Thank you for taking the time and sharing this information with us. It was indeed very helpful and insightful while being straight forward and to the point.
web designing training in chennai
web designing training in velachery
digital marketing training in chennai
digital marketing training in velachery
rpa training in chennai
rpa training in velachery
tally training in chennai
tally training in velachery
Thanks for your marvelous posting! It is very useful and good
hardware and networking training in chennai
hardware and networking training in annanagar
xamarin training in chennai
xamarin training in annanagar
ios training in chennai
ios training in annanagar
iot training in chennai
iot training in annanagar
Great site and a great topic as well I really get amazed to read this.This is incredible,I feel really happy to have seen your webpage.I gained many unknown information, the way you have clearly explained is really fantastic.keep posting such useful information.
Data Science Training In Chennai
Data Science Online Training In Chennai
Data Science Training In Bangalore
Data Science Training In Hyderabad
Data Science Training In Coimbatore
Data Science Training
Data Science Online Training
I like the blog format as you create user engagement in the complete article. Thanks for the informative posts.
Web Designing Training in Chennai
Web Designing Course in Chennai
Web Designing Training in Bangalore
Web Designing Course in Bangalore
Web Designing Training in Hyderabad
Web Designing Course in Hyderabad
Web Designing Training in Coimbatore
Web Designing Training
Web Designing Online Training
I feel really happy to have seen your webpage.I am feeling grateful to read this.you gave a nice information for us.please updating more stuff content...keep up!!
Android Training in Chennai
Android Online Training in Chennai
Android Training in Bangalore
Android Training in Hyderabad
Android Training in Coimbatore
Android Training
Android Online Training
I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.
IELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip.
acte reviews
acte velachery reviews
acte tambaram reviews
acte anna nagar reviews
acte porur reviews
acte omr reviews
acte chennai reviews
acte student reviews
Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site...
AWS Course in Bangalore
AWS Course in Hyderabad
AWS Course in Coimbatore
AWS Course
AWS Certification Course
AWS Certification Training
AWS Online Training
AWS Training
Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
ISTQB Certification Course in Chennai | ISTQB Certification Course in Velachery
I love you post this great article and give inspiration..thanks
Incredible articles and awesome, Your blog furnished us with important data to work with. Each tip of your post are amazing. we provide Blend Optimization Training Online at affordable charges. to know more visit our website.
I have read your blog. It’s very informative and useful blog. You have done really great job. Keep update your blog. Thanks..
Really it was an awesome article...very interesting to read.. You have provided a nice article....Thanks for sharing..
IELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
Spoken english classes in chennai | Communication training
great blog.thanks for sharing information
Web design Training in Chennai
Web design Training in Velachery
Web design Training in Tambaram
Web design Training in Porur
Web design Training in Omr
Web design Training in Annanagar
Python Training in Bangaloer
SCCM online training
SCOM online training
MSBI online training
salesforce online training
Mulesoft online training
Webmethods online training
wonderful article contains lot of valuable information. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
This article resolved my all queries.good luck an best wishes to the team members.learn digital marketing use these following link
Digital Marketing Course in Chennai
I have read your blog. It’s very informative and useful blog. You have done really great job. Keep update your blog. Thanks..
DevOps Training in Chennai
DevOps Course in Chennai
Goodsalesforce training in chennai
software testing training in chennai
robotic process automation rpa training in chennai
blockchain training in chennai
devops training in chennai
Awesome article!!! Eagerly waiting for your new article... thanks for sharing with us.
advantages of seo
how to improve english pronunciation
web design using html
automation testing tools
salesforce interview questions for freshers
salesforce developer interview questions and answers
blue prism interview questions and answers pdf free download
Cool stuff you have and you keep overhaul every one of us
digital marketing course malaysia
Post a Comment