Welcome, Guest. Please login or register.
March 20, 2010, 12:31:56 AM

Login with username, password and session length

373113 Posts
41388 Topics
94068 Members

Latest Member: mach8

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Archived Boards
| |-+  Discontinued Products
| | |-+  Comodo Firewall
| | | |-+  Help for v2
| | | | |-+  *** ICMP AND CFOSSPEED *** [Resolved]
« previous next »
Pages: 1 [2] Go Down Print
Author Topic: *** ICMP AND CFOSSPEED *** [Resolved]  (Read 5189 times)
panic
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 8102


substance constant, depth variable


« Reply #15 on: October 31, 2006, 04:22:39 PM »

I don't know if I must put my hotsname or cfospeed hostname in the source IP or in the destination IP Huh??

your hostname, because if you or your isp are using dhcp, the ip addresss allocated to you will change. using your hostname circumvents this.

hth
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.
Wingnut
Comodo Family Member
***
Offline Offline

Posts: 71


« Reply #16 on: November 01, 2006, 03:41:46 AM »

Another related question, if you (like me) have a router with the possibility to configure it NOT to answer to ping (ICMP) requests, do you need to enable ping requests in the router and then configure Comodo as described? Also i am a bit confused about the "hostname" part. The "real owner" of hostname in my example is the router, can i like give the router a random hostname and use the described Comodo settings? Im using cfosspeed and it seems to work fine, but im not sure it really does any traffic shaping?
Logged
bubus
Newbie
*
Offline Offline

Posts: 7


« Reply #17 on: November 01, 2006, 07:41:08 AM »

ok.....

rule 1: ICPM IN  (echo request)  Source IP (me or cfos.de?) Destination IP (me or cfos.de?)

rule 2: ICPM OUT  (echo reply)  Source IP (me or cfos.de?) Destination IP (me or cfos.de?)


 Huh Huh Huh Huh Huh

 Viva Comodo
Logged
Triplejolt
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 426


If you are going through hell, keep going!


« Reply #18 on: November 01, 2006, 09:22:55 AM »

rule 1: ICPM IN  (echo request)  Source IP (me or cfos.de?) Destination IP (me or cfos.de?)
Inbound traffic makes you the destination host, so your hostname is inserted as Destination IP
rule 2: ICPM OUT  (echo reply)  Source IP (me or cfos.de?) Destination IP (me or cfos.de?)
Outbound traffic makes you the source host, so your hostname is inserted as Source IP

Hope this helps
Logged

Cheers
Triplejolt

"Human salvation lies in the hands of the creatively maladjusted."
Triplejolt
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 426


If you are going through hell, keep going!


« Reply #19 on: November 01, 2006, 09:30:28 AM »

Also i am a bit confused about the "hostname" part. The "real owner" of hostname in my example is the router, can i like give the router a random hostname and use the described Comodo settings? Im using cfosspeed and it seems to work fine, but im not sure it really does any traffic shaping?
You cannot operate with 2 matching hostnames, in the same manner as you cannot have two identical IP addresses. Or MAC addresses. You will only get an "address mismatch" and the IP stack will fail on either of the two and you won't be able to access the Internet.

If you make the router drop any inbound ICMP requests (as it should do), you don't need to configure the same rule in the firewall. As these ICMP requests won't be forwarded to your computer anyway.
Logged

Cheers
Triplejolt

"Human salvation lies in the hands of the creatively maladjusted."
Frankster
Comodo Member
**
Offline Offline

Posts: 32


« Reply #20 on: November 01, 2006, 09:53:47 AM »

just to let you all participate from my knowledge.. Wink   it's not that important, but nice to know.

by default cfosspeed pings to www.cfos.de, however with a TTL of about 2. that means the ping is returned at hop 2. you can also set it to another destination. the ping destination determines what cFosSpeed consideres as route to the internet.

to change the destination in cfosspeed.ini, in section [param] you can set the key
ping_dest=...

however pings never reach the destination. they live only for 1 or 2 hops, ie. they are already returned by your broadband pop of your provider.

parts of are taken from my conversation with martin, developer of cfos/cfosspeed.

original post can be found here: http://www.cfos.de/cgi-bin/cutecast/cutecast.pl?session=d5qDxHeQer4Eccb1YTgwlB16bD&forum=15&thread=1259

Logged
bubus
Newbie
*
Offline Offline

Posts: 7


« Reply #21 on: November 01, 2006, 12:49:51 PM »

Inbound traffic makes you the destination host, so your hostname is inserted as Destination IPOutbound traffic makes you the source host, so your hostname is inserted as Source IP

Hope this helps


 Cheers Cheers Cheers

thanks!!!
Logged
bubus
Newbie
*
Offline Offline

Posts: 7


« Reply #22 on: November 01, 2006, 01:07:16 PM »



to change the destination in cfosspeed.ini, in section [param] you can set the key
ping_dest=...



so if cfosspeed tell me that it can't ping correctly...

i must put this string: ping_dest=www.cfos.de  in cfosspeed.ini ?
Logged
Wingnut
Comodo Family Member
***
Offline Offline

Posts: 71


« Reply #23 on: November 01, 2006, 04:03:39 PM »

You cannot operate with 2 matching hostnames, in the same manner as you cannot have two identical IP addresses. Or MAC addresses. You will only get an "address mismatch" and the IP stack will fail on either of the two and you won't be able to access the Internet.

If you make the router drop any inbound ICMP requests (as it should do), you don't need to configure the same rule in the firewall. As these ICMP requests won't be forwarded to your computer anyway.

Thanks Triplejolt, that was a good explanation. That means that without the ability for cfosspeed to receive any pings it wont really do any traffic shaping, right?
Logged
Frankster
Comodo Member
**
Offline Offline

Posts: 32


« Reply #24 on: November 02, 2006, 07:29:19 AM »

[at]bubus: no, normally there IS that string already. you can change the string into something more useful if you're in the states, perhaps www.digital.com or some host, that is near to you.
if cfosspeed really can't ping (so, if the firewall blocks pings), than this string wouldn't change a thing. Wink

[at]wingnut: please read my last post carefully... cfosspeed does NOT receive pings, it GENERATES pings to a host. what it receives are the replies from the isp (from the first hops only, never ever from the target itself because the time to live (ttl) for the ping is set to 2 or 3).

it uses this replies to manage the rules for shaping.

what u need to get things going is: (ping cfosspeed -> host)

rule 1: ICPM OUT  (echo request)  Source IP (your_networkname) Destination IP (www.cfos.de)
rule 2: ICPM IN     (echo reply)  Source IP (www.cfos.de) Destination IP (your_networkname)

and to complete the show and to be absolutly sure all ping-directions are satified...
(ping host -> cfosspeed - this will NEVER happen!!!)

rule 1: ICPM IN     (echo request)  Source IP (www.cfos.de) Destination IP (your_networkname)
rule 2: ICPM OUT  (echo reply)  Source IP (your_networkname) Destination IP (www.cfos.de)

to see your networkname simply open a dos-window and type: ping -a 127.0.0.1
the name before the [127.0.0.1] is your networkname

pheww...hope that helps..!!!
Logged
Tags:
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  

SSL Certificate Free Virus Removal Firewall
Page created in -0 seconds with 20 queries.
Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by 7dana.com