Block ASN instead of IP/CIDRs on Ubuntu [closed]
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
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.
add a comment |
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
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
add a comment |
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
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
ubuntu ip ipv4 cidr
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
answered Jan 2 at 8:05
AnthemAnthem
546
546
add a comment |
add a comment |
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