Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
March 15, 2010, 07:19:46 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
371237
Posts
41089
Topics
93669
Members
Latest Member:
iccil
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Archived Boards
Discontinued Products
Comodo Firewall
Help for v2
IP Mask and Host Name Options?
« previous
next »
Pages:
[
1
]
Author
Topic: IP Mask and Host Name Options? (Read 2127 times)
Toggie
Guest
IP Mask and Host Name Options?
«
on:
February 25, 2007, 03:48:29 AM »
Continuing my endeavours to create a more defined and secure rule set for Comodo, I have a query regarding the use of two options under 'Application control Rules' namely, 'IP Mask' and 'Host Name.'
To better understand my question, let us take an example application, in this case Avast Anti-Virus Home, my AV of choice.
Avast uses a great many servers to deliver updates, each with its own IP address. These servers are configured in CIDER notation, which I assume is a supernet:
66.98.0.0./16
67.15.0.0/16
.
.
75.126.0.0/16
And so on.
Further investigation of the Avast 'setup.ini' file located in the Avast program directory, provides us with the host name for these servers:
Server=download24.avast.com
IP=67.15.196.21
Where the number at the end of 'download' changes based upon IP address.
To confute rules for Avast one could simply use:
avast.setup [ANY] 80 TCP Out Allow
However, to be more precise about which servers Avast is allowed to connect to requires more thought and this is where I need some guidance.
Would it be possible to use the 'IP Mask' or 'Host Name' options within CPF to create more specific rules for applications such as Avast.
For example (and I'm guessing the net mask here) under IP Mask, would this work?
66.98.0.0
255.255.0.0
Alternatively, does the 'Host Name' option support wild cards?
If these options are not possible, can anyone think of any other means by which one might achieve this goal?
Thanks for any help.
Logged
Toggie
Guest
Re: IP Mask and Host Name Options?
«
Reply #1 on:
February 25, 2007, 11:01:44 PM »
From what I can see via my tests, the 'Host Name' option is a non-starter. After specifying a host name in the field provided, CPF appends a block of reserved IP addresses, curiously in the format:
NAME : [host name] - 192.168.255.255 - 192.168.255.255
So it would seem this is only useful for something on a LAN.
I'm still working on the IP Mask...
Logged
panic
Global Moderator
Comodo's Hero
Offline
Posts: 8079
substance constant, depth variable
Re: IP Mask and Host Name Options?
«
Reply #2 on:
February 26, 2007, 12:02:28 AM »
Quote from: Toggie on February 25, 2007, 11:01:44 PM
From what I can see via my tests, the 'Host Name' option is a non-starter. After specifying a host name in the field provided, CPF appends a block of reserved IP addresses, curiously in the format:
NAME : [host name] - 192.168.255.255 - 192.168.255.255
So it would seem this is only useful for something on a LAN.
I'm still working on the IP Mask...
You can add a routable address (or its non-resolved WWW name) as a host name in a block rule. I'm sending you a PM in more details as to how I use this.
Cheers,
Ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
Toggie
Guest
Re: IP Mask and Host Name Options?
«
Reply #3 on:
February 26, 2007, 12:07:41 AM »
I think I'm being a bit dim
I've just realised I should be able to use the 'IP range' option. Assuming I can identify exactly each CIDR blocks Avast uses. entering something like:
67.15.0.1 - 67.15.255.255
Should work...
Logged
Triplejolt
Global Moderator
Comodo's Hero
Offline
Posts: 426
If you are going through hell, keep going!
Re: IP Mask and Host Name Options?
«
Reply #4 on:
February 26, 2007, 05:53:16 AM »
Quote from: Toggie on February 25, 2007, 11:01:44 PM
NAME : [host name] - 192.168.255.255 - 192.168.255.255
I'm still working on the IP Mask...
You don't need to. This specifies a single host (or a single host broadcastaddress in this case). I believe Comodo already assumes the host subnetmask is 255.255.255.255 (which is standard when specifying hosts).
Instead of working with B-class address range, why not just use the URL? Just insert the download24.avast.com in the host-field and let Comodo do the lookups for you?
Logged
Cheers
Triplejolt
"Human salvation lies in the hands of the creatively maladjusted."
Toggie
Guest
Re: IP Mask and Host Name Options?
«
Reply #5 on:
February 26, 2007, 04:21:11 PM »
Quote from: Triplejolt on February 26, 2007, 05:53:16 AM
You don't need to. This specifies a single host (or a single host broadcastaddress in this case). I believe Comodo already assumes the host subnetmask is 255.255.255.255 (which is standard when specifying hosts).
Instead of working with B-class address range, why not just use the URL? Just insert the download24.avast.com in the host-field and let Comodo do the lookups for you?
Hello Triplejolt
The problem with this approach is that Avast appears to use a great many individual servers, which change, more or less, each time it updates. By entering 'download24.avast.com' in the 'Hoat Name' field, Comodo correctly queries for the IP Address and inserts 67.15.196.21 - 67.15.196.21.
Doing that way would require a significant number of rules, one for each server.
Toggie
Logged
Toggie
Guest
Re: IP Mask and Host Name Options?
«
Reply #6 on:
February 26, 2007, 08:25:29 PM »
Plan B
It seems that if I am not specific with the host name i.e. download24.avast.com and use just avast.com, CPF will, quite cleverly, append the entire range of IP Addresses assigned to an entity. The same is also true for services such as gmail.
smtp.gmail.com gives a single address
gmail.com gives the entire range
Simple when you know how
Logged
panic
Global Moderator
Comodo's Hero
Offline
Posts: 8079
substance constant, depth variable
Re: IP Mask and Host Name Options?
«
Reply #7 on:
February 26, 2007, 11:15:36 PM »
Well spotted Toggie. Very clever indeed.
ewen :-)
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
Toggie
Guest
Re: IP Mask and Host Name Options?
«
Reply #8 on:
February 27, 2007, 12:21:28 AM »
LOL
I'll let you know if it doesn't work!
Logged
panic
Global Moderator
Comodo's Hero
Offline
Posts: 8079
substance constant, depth variable
Re: IP Mask and Host Name Options?
«
Reply #9 on:
February 27, 2007, 01:16:52 AM »
Quote from: Toggie on February 27, 2007, 12:21:28 AM
LOL
I'll let you know if it doesn't work!
I'd rather you let me know if it did. LOL
Logged
As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the
Comodo Forum Policy
.
If you don't like it, don't use the forum.
Triplejolt
Global Moderator
Comodo's Hero
Offline
Posts: 426
If you are going through hell, keep going!
Re: IP Mask and Host Name Options?
«
Reply #10 on:
February 27, 2007, 03:58:12 AM »
Quote from: Toggie
By entering 'download24.avast.com' in the 'Hoat Name' field, Comodo correctly queries for the IP Address and inserts 67.15.196.21 - 67.15.196.21.
Doing that way would require a significant number of rules, one for each server.
Well... if avast use different hostnames for every server, then you do. I wasn't aware of this, and I must admit it differs from how other competing companies do this. Usually, it's one hostname used in an "umbrella" fashion (in lack of a better word for it). But if Comodo accepts and can use domain names, then by all means. It's a clever solution indeed. Didn't think of that, lol
Post the results. For the FAQ atleast
Logged
Cheers
Triplejolt
"Human salvation lies in the hands of the creatively maladjusted."
Toggie
Guest
Re: IP Mask and Host Name Options?
«
Reply #11 on:
February 27, 2007, 12:30:08 PM »
Quote from: Triplejolt on February 27, 2007, 03:58:12 AM
Well... if avast use different hostnames for every server, then you do. I wasn't aware of this, and I must admit it differs from how other competing companies do this. Usually, it's one hostname used in an "umbrella" fashion (in lack of a better word for it). But if Comodo accepts and can use domain names, then by all means. It's a clever solution indeed. Didn't think of that, lol
I agree its a strange way to do things. I would have thought a front end/back end server solution, with a single identifier for the connection i.e. download.avast.com, would have been more sensible, but if you look in the Avast setup.ini file located in the programs install directory, you can see the server that avast last connected to along with its IP.
Quote
Post the results. For the FAQ atleast
As soon as I have finished testing I'll put together a guide, perhaps, after its been approved, it may be a useful addition for the FAQ.
Toggie
Logged
Triplejolt
Global Moderator
Comodo's Hero
Offline
Posts: 426
If you are going through hell, keep going!
Re: IP Mask and Host Name Options?
«
Reply #12 on:
March 01, 2007, 03:19:50 AM »
Excellent idea!
And maybe the devs will update the hostname field to eg. wildcard and include it in the latest helpfile
Logged
Cheers
Triplejolt
"Human salvation lies in the hands of the creatively maladjusted."
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Comodo.TV - Our Internet Video Channel
===> Comodo.TV - News and Announcements
===> Comodo.TV - Program Lineup
===> Audience Feedback and Suggestions
=> Which Product do you want Comodo to develop next?
=> How Can I Help Comodo? (Please We Need You!)
===> Report Comodo Forum / Web Site Issues
===> Please Tell Us Your Views and Vote Here!
===> Help Spread the Word - Banners and Logos
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products & Services
-----------------------------
=> Comodo Internet Security - CIS
===> News / Announcements / Feedback - CIS
=====> Wishlist - CIS
===> AV False Positive/Negative Detection Reporting
===> Help - CIS
=====> Guides - CIS
=====> AntiVirus Help - CIS
=======> AntiVirus FAQ - CIS
=====> Firewall Help - CIS
=======> Firewall FAQ - CIS
=====> Defense+ / Sandbox Help - CIS
=======> Defense+ / Sandbox FAQ - CIS
=====> Install / Setup / Configuration Help - CIS
=======> Install / Setup / Configuration FAQ - CIS
===> Bug Report - CIS
=> Comodo Backup - CB
===> News / Announcements / Feedback - CB
===> Comodo Online Backup - COB
===> Help - CB
=====> FAQ - CB
=> Comodo Time Machine - CTM
===> News / Announcements / Feedback - CTM
===> Help - CTM
=====> FAQ - CTM
===> Bug Reports - CTM
=> Comodo Dragon - CD
===> News / Announcements / Feedback - CD
=====> Wishlist - CD
===> Help - CD
=====> FAQ - CD
===> Bug Reports - CD
=> Comodo Disk Encryption - CDE
===> News / Announcements / Feedback - CDE
=====> Wishlist - CDE
===> Help - CDE
=====> FAQ - CDE
===> Bug Reports - CDE
===> Beta Corner - CDE
=> Comodo Secure Email - CSE
===> News / Announcements / Feedback - CSE
===> Help - CSE
=====> FAQ - CSE
===> Bug Reports - CSE
=> Comodo EasyVPN - CEVPN
===> News / Announcements / Feedback - CEVPN
===> Help - CEVPN
=====> FAQ - CEVPN
===> Bug reports - CEVPN
=> Comodo AntiSpam - CAS
=> Comodo TrustConnect - CTC
=> HopSurf - CHS
=> Comodo Instant Malware Analysis Online - CIMA
=> Verification Engine - CVE
-----------------------------
Desktop Utilities & Services
-----------------------------
=> Comodo System Cleaner - File/Registry/Privacy Cleaner - CSC
===> News / Announcements / Feedback - CSC
===> Help - CSC
=====> FAQ - CSC
=> Comodo Cloud Scanner - CCS
===> News / Announcements / Feedback - CCS
===> FAQ - CCS
=> Live PC Support
-----------------------------
Business / Enterprise Security Products & Services
-----------------------------
=> Digital Certificates
===> Code Signing Certificate
===> Content Verification Certificate
===> Email Certificate
===> SSL Certificate
=> PCI DSS Compliance
=> Comodo Endpoint Security Manager
=> Two Factor Authentication for Web Applications
=> Trustlogo
=> Hacker Guardian
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> General Security Questions and Comments
=> Virus/Malware Removal Assistance
=> Leak Testing/Attacks/Vulnerability Research
=> Digital Certificates, Encryption and Digital Signing
=> Other Security Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Česky / Czech
===> Dansk / Danish
===> Nederlands / Dutch
===> Suomi / Finnish
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> Română / Romanian
===> По-русски / Russian
===> Slovenský / Slovak
===> Slovenščina / Slovenian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> Việt / Vietnamese
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
-----------------------------
Archived Boards
-----------------------------
=> Discontinued Products
===> Comodo Anti-Viruspyware (CAVS)
=====> Help for Comodo AntiVirus
=====> FAQ for Comodo Anti-ViruSpyware
=====> Feedback/Comments/Announcements/News about CAVS
===> Comodo BOClean Anti-Malware
=====> Announcements
=====> Comodo BOClean Anti-Malware FAQ
===> Comodo Diskshield
===> Comodo Firewall
=====> Feedback/Comments/Announcements/News
=====> Help for v3
=====> Help for v2
=====> Frequently Asked Questions (FAQ) for Comodo firewall
=====> Comodo Firewall Translations
=====> Bug Reports
===> i-Vault
===> Launch Pad (Discontinued)
===> Comodo Meet (Web Conferencing Product) (Discontinued)
===> Comodo Memory Firewall(Buffer Overflow Protection)
=====> Comodo Memory Firewall Beta Corner
=====> Help
=====> Frequently Asked Questions (Comodo Memory Firewall)
=====> Feedback/Comments/Announcements/News
===> Safesurf
===> Trusttoolbar (Discontinued)
===> Trustfax (online faxing) (discontinued)
===> Trustix Enterprise Firewall
===> User Anywhere (Remote Access product) (Discontinued)
===> UserTrust - First Independent Website Rating - Empowering our users!
===> Comodo Vulnerability Analyzer - CVA
===> ZTL
Page created in 0.056 seconds with 18 queries.
Powered by SMF 1.1.11
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com