1) You could write your own file generator which will generate all ips in the range you specify.
2) You could attempt to modify the program code of your chat software (if you have access to source code).
Main Topics
Browse All Topicshi
i have my own chat software written in JS and VB.
when we ban a user from the chat room their IP get saved in a file.txt on the server so they can not enter the chat room anymore.
some users change IP everytime they log on to the net so we need to be able to ban a range of IP's.
i.e.
80.191.150.0 to 80.191.150.255
to do this we have to write all IP's from 1 to 255
and as you can imagine this is time consuming.
i tried
80.191.150.* or 80.191.150.0-255 but it doesnt work.
im sure there is a way to do this but dont know how.
can anyone help me plz.
p.s. when we ban an IP, that IP gets into our banip list on the server which is a "txt" file
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Try this:
--------------------------
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function ban(){
var ip = '<!--#echo var="REMOTE_ADDR"-->';
if (ip == "x.x.x.x" || ip == "x.x.x.x") {
alert("Attention\nYour IP address \("+ip+"\) has been banned!");
history.go(-1);
window.location.replace("h
}
}
ban();
// End -->
</script>
--------------------------
Business Accounts
Answer for Membership
by: stu215Posted on 2004-05-13 at 08:41:51ID: 11060300
If you ban a range of IP users, you may end up killing users that have done nothing wrong...
for example :
If someone uses AOL as their ISP, and you ban AOL's IP range, a LOT of people will be cut out.
Sadly thats what i use to connect to the net via modem these days...
The same would happen for Verizon, etc... as they use DHCP to give a user a different IP address every time they log on.
~Stu