Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
August 21, 2008, 09:56:51 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
184899
Posts
21467
Topics
52062
Members
Latest Member:
15edwards
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Desktop Security Products
Comodo Firewall
Help for v2
Time Synchronization and Comodo's pseudo UDP SPI
« previous
next »
Pages:
[
1
]
Author
Topic: Time Synchronization and Comodo's pseudo UDP SPI (Read 1855 times)
Jarmo P
Comodo Member
Offline
Posts: 29
Time Synchronization and Comodo's pseudo UDP SPI
«
on:
February 10, 2007, 07:09:03 AM »
Let's see if I have understood correctly a few things and maybe also able to help clear some concepts to others.
First the clock update preliminary information that are same with any firewall:
1. When starting the update from the systray clock, the svchost.exe sends an UDP packet from local port 123 to time server (default IP 207.46.130.100) port 123.
2. The time server responds to that packet by sending an UDP packet back containing the time value from remote port 123 to local port 123, svchost.exe.
Notice that the sent and received packets are not usually belonging to the same internet connection, but they are related in a sense that it is a request and a reply.
Step 1 in CPF needs to allow in Application Monitor svchost.exe to connect to timeserver IP, UDP port 123. Besides the default allow UDP out to any ip and port network rule.
Now to step 2.
Most CPF users have the default Network Monitor rules of not allowing incoming connections unless running some server type applications.
It is not needed either with time synchronization. Thanks to Network Monitor's SPI, Stateful Packet Inspection.
The incoming reply connection is passed in despite the no explicit UDP incoming allowed rule.
Then CPF Application Monitor that is in my knowledge not implementing any SPI bookkeeping comes to play.
There needs to be a rule allowing svchost.exe allow incoming UDP for local port 123 to your computer IP (or your PC's hostname).
Notice that CPF application incoming rules are more limited than with firewalls like Sygate or Kerio 4 since these allow to specify the remote source server IP). But I see this not as a serious risk if any since normally only SPI matching incoming connections are passed in.
Kerio 4 has pseudo UDP SPI in application rules and thus no incoming rule is needed.
Older firewalls like kerio 2.1.5 or Sygate 5.5 have no pseudo UDP SPI.
Comodo has decided to be very uninformative how their firewall is actually really working, but above are the conclusions I have come to so far.
Hope this helps others besides me, if above is correct.
Jarmo
«
Last Edit: February 10, 2007, 07:40:26 AM by Jarmo P
»
Logged
Jarmo P
Comodo Member
Offline
Posts: 29
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #1 on:
February 12, 2007, 08:40:39 AM »
Anyone?
Able to confirm my findings?
I really want to use this firewall, but as long as it remains a black box ...
Logged
Little Mac
Global Moderator
Comodo's Hero
Offline
Posts: 6000
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #2 on:
February 12, 2007, 02:17:45 PM »
Jarmo,
Have a look at this explanation of Network Rules:
http://forums.comodo.com/index.php/topic,6167.msg45480.html#msg45480
, and also this explanation of CFP's layered ruleset/security:
http://forums.comodo.com/index.php/topic,6167.msg45545.html#msg45545
. The heading for each topic links back to the original topic, where you can post specific questions.
The short answer is that no extra Inbound rule is needed in the Network Monitor as long as you have the default rule to allow the Outbound traffic necessary for the timeserver. This is because the Inbound in this case is in Response/Reply to the Outbound request (ie, when svchost.exe connects to MS timeserver and requests an update on the time). If you were to create a separate In rule, you would be allowing the remote location (timeserver, etc) to connect to your computer at will. This is something you DON'T want.
LM
Logged
date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
Jarmo P
Comodo Member
Offline
Posts: 29
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #3 on:
February 12, 2007, 02:41:09 PM »
Thanks for your reply LM.
I am slowly starting to accept how Comodo works. Makes me trust it more than my initital reaction.
Once I knew it has no SPI bookkeeping on Application Monitor but only on Network Monitor, it was easier for me starting to accept that Act as Server default install access. Since by default all incoming unsolicited connections are blocked in Network rules.
I though did not find any reference to this application monitor missing SPI behaviour on your forum, not in the help file and not even in those links you gave me, unless I read too carelessly. Could had helped me a lot if it was mentioned.
And these days not many software needs to open incoming ports in Network Monitor. Most work just fine with SPI. Some do, but they are usually higher numbered ports and as you sayed opening something like UDP 123 to all would be indeed quite stupid.
Logged
Little Mac
Global Moderator
Comodo's Hero
Offline
Posts: 6000
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #4 on:
February 12, 2007, 02:54:06 PM »
Regarding SPI, I'd refer you to the Help files, under the Overview section, where it has the following info:
Quote
Comodo Firewall Pro - Overview
--------------------------------------------------------------------------------
Introduction
Comodo Firewall Pro is designed as an endpoint security enforcer which fulfills all the requirements of a host based security system should do. With its layered security architecture, it is one of the most challenging personal firewalls available, providing an all-in-one security enforcer for all OSI network communication layers. Comodo Firewall Pro includes an integrated executable file database, which is a comprehensive classification of all known executable files. It is the only firewall which provides such significant information with users.
Network Protection
Comodo Firewall Pro, although designed for personal use, includes an industrial strength stateful inspection firewall, acting at OSI Layers 2, 3 and 4 to filter incoming and outgoing network traffic. Such an advanced filter keeps track of each and every packet sent/received and performs intelligent analysis on critical protocols such as TCP, UDP, FTP etc.
Comodo Personal Firewall also detects and prevents DOS/DDOS attacks including:
SYN/UDP/ICMP Floods,
TCP/UDP Port Scans,
Upon facing such an intrusive attack, it switches to an emergency mode by creating some automatic rules and updating its internal states according to the attack behavior, to secure the host against it until the attack ceases. Users will not notice such a change in terms of functionality but will remain protected.
Quick Features:
Advanced TCP/UDP/ICMP and IP protocol filtering
IP fragmentation handling
DOS/DDOS resistance and handling
Stateful TCP/UDP Protocol Inspection
Application Protection
Although the network protection is adequate to defeat the most of the network based attacks, today’s threats require highly sophisticated application based access filtering mechanisms to enforce true host based security policies.
Comodo Firewall Pro provides a powerful application firewall which is one of the best application filters available in the market.
Restricting network traffic according to the application which generates it, requires filtering at OSI Layers 3, 4, 5, 6 and 7.
Application Filtering
Comodo Firewall Pro provides full control on applications’ networking behaviors.
Application firewall can;
Limit applications network access characteristics such as port, protocol and host.
Give users the ability to control number of connections per minute an application can create
Leak Resistance
Unfortunately, malware programs are evolving rapidly. Many of such programs employ very advanced techniques to conceal their malicious activities so that they easily bypass the standard protection mechanism provided by the most personal firewalls. These techniques are commonly known as “leak” techniques.
Comodo Firewall Pro passed ALL LEAK TESTS with an outstanding success rate not seen in any other firewalls available.
Although passing the known leak tests are often enough to provide you a robust protection, Trojans do not have to limit themselves to these known techniques and they always try to find new ones to cheat the protection mechanism you have. Due to this fact, Comodo developers constantly research to improve our firewall to keep you protected at all times against emerging and unknown threats.
User Friendliness
Comodo Personal Firewall has an easy to use and intuitive GUI which is suitable for both advanced and novice users.
Our selection of wizards make sure novice users will face no difficulties in managing vital security configurations. Advanced users and experts can fine tune Comodo Firewall Pro using its extensive configuration options.
--------------------------------------------------------------------------------
Copyright © 2005 - 2007 COMODO ®. All Rights Reserved
LM
Logged
date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
Jarmo P
Comodo Member
Offline
Posts: 29
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #5 on:
February 12, 2007, 03:09:17 PM »
Something only a firewall expert could understand.
Sounds more as an advertisement one wants to skip as most of the Comodo helpfile actually does.
Sorry for sounding so harsh, it is not your fault LM and thanks for your replies.
The information I needed I still could not find in that excerpt.
«
Last Edit: February 12, 2007, 03:18:13 PM by Jarmo P
»
Logged
Little Mac
Global Moderator
Comodo's Hero
Offline
Posts: 6000
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #6 on:
February 12, 2007, 03:36:01 PM »
Sorry that didn't help...
Do you still have an unanswered question at this point?
LM
Logged
date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
Jarmo P
Comodo Member
Offline
Posts: 29
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #7 on:
February 12, 2007, 03:43:37 PM »
Nope and also thanks for that help file quote.
I would not usually be this critical towards documentation, but this thing had me puzzled for weeks.
Logged
Little Mac
Global Moderator
Comodo's Hero
Offline
Posts: 6000
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #8 on:
February 12, 2007, 03:47:56 PM »
Normally, if you can't find it in the help file (or not in a way that answers your question), the forums are a good place to go. I've always found the users and staff here to be friendly and helpful.
Glad I could help a bit, to clear it up for you.
LM
Logged
date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
OldDuffer
Newbie
Offline
Posts: 3
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #9 on:
March 06, 2007, 07:38:52 AM »
Hi
Please forgive me but I have read various posts and have failed to comprehend the advice given (I am a computer user not a programmer).
I have set up rules and can happily surf the internet, access the router, access other computers on my network. GRC Shields Up reports no problems.
What I cannot get to work is the Internet Time Protocol.
Could anyone give an idiot like me an example of what to set and where.
Logged
ttfn
BoB
Little Mac
Global Moderator
Comodo's Hero
Offline
Posts: 6000
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #10 on:
March 06, 2007, 09:50:18 AM »
Hey Bob,
If you have the default Network Monitor rules in place, and have not placed a block on svchost.exe in the Application Monitor, you should be good to go. That is, if you're referring to the Windows clock synch, where it checks and updates the time. This uses svchost.exe, and makes an outbound connection using UDP, to update.
If you're having a problem with it (which sounds like you may be), can you give some more specifics about what you're experiencing, when/how, etc? That will help on this end.
TNX,
LM
Logged
date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
OldDuffer
Newbie
Offline
Posts: 3
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #11 on:
March 07, 2007, 05:32:25 AM »
Hi, thanks for reply.
There are 3 computers on the network, mine, wifes and weather. All running XP.
The router is a D-Link DSL-G604T.
The computer with Comodo A/V and Comodo Firewall installed is dedicated to running a weather station. It will effectively be unatended. It needs to sync time every 6 hours, this being controlled within the weather software, I am trying to find out what time server it uses.
My computer has Panda internet security.
My wifes has Avast anti-virus and Sygate personal firewall.
The results of testing with the built-in time software are this:
Mine-
Close automatic protection (i.e. disable Panda) / time.nist.gov = no time.windows.com = no.
Wifes-
Firewall and A/V working / time.nist.gov = no time.windows.com = yes.
Weather-
Comodo Firewall and A/V working / time.nist.gov = no time.windows.com = yes.
So I do not think it is a Comodo problem. As to why two computers update the time from windows.com and not from nist.gov and the third from neither I do not know.
Any ideas!
Logged
ttfn
BoB
Little Mac
Global Moderator
Comodo's Hero
Offline
Posts: 6000
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #12 on:
March 07, 2007, 12:14:10 PM »
Bob,
Is the time on the weather station
not
updating, then? Is there a Comodo log entry showing a connection being blocked to the (or a) timeserver IP address?
There should be some setting, presumably, within the weather station software regarding the timeserver used, if it's needing to update separate from Windows updating. If you can't find it, you might contact the software company and ask where it is, or what is used...
Regarding your computer not updating the time, it may have the automatic update disabled... If you open the time control window (double-click the time in the systray) and go to the 3rd tab (Internet Time), see if the box "Automatically synchronize with an internet time server" is checked.
LM
Logged
date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
v0id
Newbie
Offline
Posts: 1
Re: Time Synchronization and Comodo's pseudo UDP SPI
«
Reply #13 on:
March 08, 2007, 01:54:35 PM »
Quote from: OldDuffer on March 07, 2007, 05:32:25 AM
[snip]
Quote from: OldDuffer on March 07, 2007, 05:32:25 AM
So I do not think it is a Comodo problem. As to why two computers update the time from windows.com and not from nist.gov and the third from neither I do not know.
Any ideas!
You might want to give this a try:
Start -> Run ->
cmd
w32tm /resync /rediscover
(or just "w32tm", sans the quotes, for a list of parameters)
Logged
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
** New to the Comodo Forum? Start Here! **
-----------------------------
=> New Member Information
-----------------------------
Want to help Comodo?
-----------------------------
=> Help Spread the Word - Official Comodo banners and logos
=> How can you help Comodo? (Please we do need you!)
===> Help spread the word! (Please read and help)
===> Comodo website issues for submitting website problems only
=> Please tell us your views and Vote here!
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Which Product do you want Comodo to develop next?
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products
-----------------------------
=> Comodo Firewall
===> Feedback/Comments/Announcements/News
===> Leak Testing/Attacks/Vulnerability Research
===> Help for v3
===> Help for v2
===> Frequently Asked Questions (FAQ) for Comodo firewall
===> Comodo Firewall Translations
===> Bug Reports
=> Comodo Anti-Viruspyware (CAVS)
===> Help for Comodo AntiVirus
===> FAQ for Comodo Anti-ViruSpyware
===> Feedback/Comments/Announcements/News about CAVS
===> Virus/Malware Removal Assistance
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo DiskShield
=> Comodo Disk Encryption
=> Comodo Secure Email (CSE) Product
===> CSE Beta Corner
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo SafeSurf and (Comodo's own toolbar)
=> Backup
===> FAQ for Comodo Backup
===> Help
=> Verification Engine (allows you to verify what you see on the Internet)
=> Comodo Vulnerability Analyzer
=> AntiSpam
=> i-Vault
=> Launch Pad
=> Trusttoolbar
-----------------------------
Desktop Utilities
-----------------------------
=> Comodo Registry Cleaner
-----------------------------
Enterprise Security
-----------------------------
=> Comodo Endpoint Security Manager
-----------------------------
Compliance
-----------------------------
=> PCI DSS Compliance
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> Computer Firewalls
=> Anti Virus/Malware Products/Other Security products
=> Free Virus/Spyware/Trojan/Malware Removal by Comodo Experts
=> HIPS (Host Intrusion Prevention Systems)
=> Anti Phishing solutions
=> Digital Certificates, Encryption and Digital Signing
=> General Security Questions and Comments (not product related)
-----------------------------
Free Services for End Users
-----------------------------
=> UserTrust - First Independent Website Rating - Empowering our users!
=> User Anywhere (Remote Access product)
=> Comodo Meet (Web Conferencing Product)
=> Hacker Guardian
=> Trustfax (free Trial) (online faxing)
-----------------------------
Free Products
-----------------------------
=> Link to Free Comodo Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Nederlands / Dutch
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> По-русски / Russian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> tiếng Việt / Vietnamese
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Infrastructure Products
-----------------------------
=> ZTL
=> Trustix Enterprise Firewall
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
Page created in 0.363 seconds with 20 queries.
Powered by SMF 1.1.5
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com