Check IP-Ranges in diagnostics...

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
User avatar
Rainer
Normal user
Normal user
Posts: 166
Joined: 2007-06-21 13:40
Location: Zweibrücken - Germany

Check IP-Ranges in diagnostics...

Post by Rainer » 2010-03-22 09:37

Hello, check IP-Ranges in diagnostics to avoid overlapping of these.

Kind regards :)
Rainer Noa

User avatar
mattg
Moderator
Moderator
Posts: 20794
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Check IP-Ranges in diagnostics...

Post by mattg » 2010-03-22 15:19

Good idea!!
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Check IP-Ranges in diagnostics...

Post by martin » 2010-03-23 20:08

But overlapping of IP ranges is normal and in many cases not an error. I mean, the My computer IP range overlaps the Internet IP range?

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Check IP-Ranges in diagnostics...

Post by ^DooM^ » 2010-03-23 20:13

True however it would be useful for non default ranges to perhaps throw a caution up as possible issue.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Check IP-Ranges in diagnostics...

Post by martin » 2010-03-23 20:28

Yes, maybe. Maybe you have an IP range for 192.168.0.1-192.168.0.255 with some permissions, and then a specific IP range for 192.168.0.10 (where the web server may run). There's many cases where it's a good idea to have overlapping IP ranges. So warning people in these cases might cause confusion? Maybe it's a good idea if the warning message is clear enough...

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Check IP-Ranges in diagnostics...

Post by ^DooM^ » 2010-03-23 20:31

You could make it smart based on priority

If priority is higher and falls inside a lower priority range then that would assume a correct entry however if priority is lower or same then throw up a warning?
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Check IP-Ranges in diagnostics...

Post by martin » 2010-03-23 21:43

That is true though. So the diagnostics test should check for IP ranges not being used.

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Check IP-Ranges in diagnostics...

Post by ^DooM^ » 2010-03-23 22:11

Yes i think that's probably all you can check for realistically.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

User avatar
mattg
Moderator
Moderator
Posts: 20794
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Check IP-Ranges in diagnostics...

Post by mattg » 2010-03-24 02:03

I was thinking that if a summary of the IP ranges is included in the diagnostics, we may just get some extra info to help solve some of the issues, but you are correct, if you call that 'diagnostics', you actually need to check for something that is incorrect....

Perhaps the copy to clipboard button can just add some summary text, in preparation for posting to the forum, or sending to a paid tech for assistance...
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
Rainer
Normal user
Normal user
Posts: 166
Joined: 2007-06-21 13:40
Location: Zweibrücken - Germany

Re: Check IP-Ranges in diagnostics...

Post by Rainer » 2010-03-24 08:29

Hello, if a IP is overlapping with another IP in another rule, the check should say which rule it is and the priority of the rule.

Kind regards :)
Rainer Noa

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Check IP-Ranges in diagnostics...

Post by ^DooM^ » 2010-03-24 10:34

Rainer, All IP ranges overlap though.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

Post Reply