Some technical help, please?
Oct. 19th, 2007 09:10Regarding Subnet Masks:
We're getting some SQL injection attacks through our websites from someone in China, specifically (today) 219.135.103.53. Our system is written to be resistant to that sort of thing but because I'm a vindictive bastard, and because I'm tired of my Inbox being full of notifications of "un-runnable queries", I use IIS to block access by IP.
What I'd like to do now is use a subnet mask and just block everything from 219.135.0.0 up to 219.135.255.255.
Am I correct to set the IP to 219.135.0.0 and the subnet mask to 0.0.255.255...?
EDIT: SORRY. Subnet mask is 255.255.0.0
I've tried to make sense of the documentation - and kinda do within the amount of time I have to do so - and used an online calculator to arrive here. I just want to confirm it because I'm the only guy on this friggin' boat with a hand in the engine.
What I'd like to do now is use a subnet mask and just block everything from 219.135.0.0 up to 219.135.255.255.
Am I correct to set the IP to 219.135.0.0 and the subnet mask to 0.0.255.255...?
EDIT: SORRY. Subnet mask is 255.255.0.0
I've tried to make sense of the documentation - and kinda do within the amount of time I have to do so - and used an online calculator to arrive here. I just want to confirm it because I'm the only guy on this friggin' boat with a hand in the engine.