Block ASN instead of IP/CIDRs on Ubuntu [closed]












-2















I am planning to block too many IPs (60k CIDRs) so I am concerned about the performance of my f1.micro (512MB RAM) Ubuntu 18 server.



Is it possible to block ASN instead of blocking individual CIDRs?



If not possible then what would be the best practice to add entries into the server without having any performance issue?










share|improve this question















closed as off-topic by duskwuff, tripleee, jww, AdrianHHH, Makyen Jan 2 at 8:51


This question appears to be off-topic. The users who voted to close gave these specific reasons:



  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – duskwuff, tripleee, Makyen

  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – jww, AdrianHHH


If this question can be reworded to fit the rules in the help center, please edit the question.












  • 3





    Stack Overflow is a site for programming and development questions. You should use another site on the Stack Exchange network for this question.

    – jww
    Jan 2 at 6:13
















-2















I am planning to block too many IPs (60k CIDRs) so I am concerned about the performance of my f1.micro (512MB RAM) Ubuntu 18 server.



Is it possible to block ASN instead of blocking individual CIDRs?



If not possible then what would be the best practice to add entries into the server without having any performance issue?










share|improve this question















closed as off-topic by duskwuff, tripleee, jww, AdrianHHH, Makyen Jan 2 at 8:51


This question appears to be off-topic. The users who voted to close gave these specific reasons:



  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – duskwuff, tripleee, Makyen

  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – jww, AdrianHHH


If this question can be reworded to fit the rules in the help center, please edit the question.












  • 3





    Stack Overflow is a site for programming and development questions. You should use another site on the Stack Exchange network for this question.

    – jww
    Jan 2 at 6:13














-2












-2








-2


1






I am planning to block too many IPs (60k CIDRs) so I am concerned about the performance of my f1.micro (512MB RAM) Ubuntu 18 server.



Is it possible to block ASN instead of blocking individual CIDRs?



If not possible then what would be the best practice to add entries into the server without having any performance issue?










share|improve this question
















I am planning to block too many IPs (60k CIDRs) so I am concerned about the performance of my f1.micro (512MB RAM) Ubuntu 18 server.



Is it possible to block ASN instead of blocking individual CIDRs?



If not possible then what would be the best practice to add entries into the server without having any performance issue?







ubuntu ip ipv4 cidr






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 5:41







Kolkata Calcutta

















asked Jan 2 at 5:32









Kolkata CalcuttaKolkata Calcutta

349




349




closed as off-topic by duskwuff, tripleee, jww, AdrianHHH, Makyen Jan 2 at 8:51


This question appears to be off-topic. The users who voted to close gave these specific reasons:



  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – duskwuff, tripleee, Makyen

  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – jww, AdrianHHH


If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by duskwuff, tripleee, jww, AdrianHHH, Makyen Jan 2 at 8:51


This question appears to be off-topic. The users who voted to close gave these specific reasons:



  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – duskwuff, tripleee, Makyen

  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – jww, AdrianHHH


If this question can be reworded to fit the rules in the help center, please edit the question.








  • 3





    Stack Overflow is a site for programming and development questions. You should use another site on the Stack Exchange network for this question.

    – jww
    Jan 2 at 6:13














  • 3





    Stack Overflow is a site for programming and development questions. You should use another site on the Stack Exchange network for this question.

    – jww
    Jan 2 at 6:13








3




3





Stack Overflow is a site for programming and development questions. You should use another site on the Stack Exchange network for this question.

– jww
Jan 2 at 6:13





Stack Overflow is a site for programming and development questions. You should use another site on the Stack Exchange network for this question.

– jww
Jan 2 at 6:13












1 Answer
1






active

oldest

votes


















-1














A simple answer is no.



Any computer that sends request to your server will only let you know its IP address and there is no automatic process to convert the IP address to ASN, hence there is no native matching process that can match an IP with its associated ASN..



This will guide you on how ot efficiently block IPs on a Linux server. https://superuser.com/questions/810853/how-do-i-block-a-host-by-asn-example-as16276






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    -1














    A simple answer is no.



    Any computer that sends request to your server will only let you know its IP address and there is no automatic process to convert the IP address to ASN, hence there is no native matching process that can match an IP with its associated ASN..



    This will guide you on how ot efficiently block IPs on a Linux server. https://superuser.com/questions/810853/how-do-i-block-a-host-by-asn-example-as16276






    share|improve this answer




























      -1














      A simple answer is no.



      Any computer that sends request to your server will only let you know its IP address and there is no automatic process to convert the IP address to ASN, hence there is no native matching process that can match an IP with its associated ASN..



      This will guide you on how ot efficiently block IPs on a Linux server. https://superuser.com/questions/810853/how-do-i-block-a-host-by-asn-example-as16276






      share|improve this answer


























        -1












        -1








        -1







        A simple answer is no.



        Any computer that sends request to your server will only let you know its IP address and there is no automatic process to convert the IP address to ASN, hence there is no native matching process that can match an IP with its associated ASN..



        This will guide you on how ot efficiently block IPs on a Linux server. https://superuser.com/questions/810853/how-do-i-block-a-host-by-asn-example-as16276






        share|improve this answer













        A simple answer is no.



        Any computer that sends request to your server will only let you know its IP address and there is no automatic process to convert the IP address to ASN, hence there is no native matching process that can match an IP with its associated ASN..



        This will guide you on how ot efficiently block IPs on a Linux server. https://superuser.com/questions/810853/how-do-i-block-a-host-by-asn-example-as16276







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 2 at 8:05









        AnthemAnthem

        546




        546

















            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith