Thread: how to set IP values correctly
Status: Alpha
Brought to you by:
coroberti
From: Brocha S. <br...@ca...> - 2010-01-19 09:15:46
|
Hello, I am having trouble figuring out what the correct values are for the IP settings for my machine. (INTERFACE, NETMASK, IP_ADDR_MIN/MAX) The various things i have tried result in this error: 1 0 0 1 !! ERR Couldn't bind to '192.168.2.108' (my conf file has 2 URLs and it is making the request to the first one but reports that there is an error. I don't care if all the clients share the same IP or different ones.) Also, in the output .txt file what is the meaning of H/F and H/F/S ? Thanks, Brocha |
From: Robert I. <cor...@gm...> - 2010-01-19 09:24:25
|
Hi Brocha, On Tue, Jan 19, 2010 at 11:15 AM, Brocha Strous <br...@ca...>wrote: > Hello, > I am having trouble figuring out what the correct values are for the IP > settings for my machine. (INTERFACE, NETMASK, IP_ADDR_MIN/MAX) The > various things i have tried result in this error: > > 1 0 0 1 !! ERR Couldn't bind to '192.168.2.108' > > (my conf file has 2 URLs and it is making the request to the first one > but reports that there is an error. I don't care if all the clients > share the same IP or different ones.) > Please, fill the PROBLEM-REPORTING form within the curl-loader distribution, otherwise we'll try to guess, what you are doing > > Also, in the output .txt file what is the meaning of H/F and H/F/S ? > H/F - statistics for non-encrypted traffic (HTTP/FTP) H/F/S - statistics for HTTPS / FTPS > > Thanks, > Brocha > -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Brocha S. <br...@ca...> - 2010-01-19 09:35:06
|
CURL-LOADER VERSION: 0.50, September 21, 2009 HW DETAILS: CPU/S and memory are must: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz Mem: 3056880k total LINUX DISTRIBUTION and KERNEL (uname -r): 2.6.31-16-generic GCC VERSION (gcc -v): gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) COMPILATION AND MAKING OPTIONS (if defaults changed): defaults COMMAND-LINE: ./curl-loader -r -f conf/streamMedia.conf CONFIGURATION-FILE (The most common source of problems): ########### GENERAL SECTION ################################ BATCH_NAME= stream-media CLIENTS_NUM_MAX=1 # Same as CLIENTS_NUM INTERFACE =eth0 NETMASK=255.0.0.0 IP_ADDR_MIN= 192.168.11.104 IP_ADDR_MAX= 192.168.11.104 CYCLES_NUM= 1 URLS_NUM= 2 ########### URL SECTION #################################### URL=http://localhost/load/main.php URL_SHORT_NAME="media-art" REQUEST_TYPE=POST FORM_USAGE_TYPE= AS_IS FORM_STRING= "ws_name=MediaArt&ws_action=Read&descriptor-media_id=12375647&credentials-session_id=200a9faa5c561bb39c240b4b249b6c9c&descriptor-media_kind=track&descriptor-format=jpg&descriptor-type=cover art" TIMER_URL_COMPLETION = 5000 TIMER_AFTER_URL_SLEEP = 1000 URL="" URL_USE_CURRENT=1 URL_SHORT_NAME="media" REQUEST_TYPE=POST FORM_USAGE_TYPE= AS_IS FORM_STRING= "ws_name=MediaHandle&ws_action=Create&descriptor-media_id=12375647&credentials-session_id=200a9faa5c561bb39c240b4b249b6c9c&descriptor-media_kind=track&format=audio/mp3&protocol=HTTP&descriptor-with_ad=0" TIMER_URL_COMPLETION = 5000 TIMER_AFTER_URL_SLEEP = 2000 DOES THE PROBLEM AFFECT: EXECUTION DESCRIPTION: only the first URL is attempted and the output files contain errors. I know i am probably setting the values for cleint IPs incorrectly, but i don't know how to set them correctly. :::::::::::::: stream-media.ctx :::::::::::::: 1 ,cycles:1,state:-1,b-in:704,b-out:388,req:1,1xx:0,2xx:1,3xx:0,4xx:0,5xx:0,err: 1,T-err:0 :::::::::::::: stream-media.log :::::::::::::: # 1172523270 Tue Jan 19 11:21:48 2010 # msec_offset cycle_no url_no client_no (ip) indic info 2 0 0 1 !! ERR Couldn't bind to '192.168.11.104' 1180 0 0 1 !! OK 200 :::::::::::::: In case this helps here is the output of ifconfig: eth0 Link encap:Ethernet HWaddr 00:24:7e:e0:7c:93 inet addr:192.168.11.104 Bcast:192.168.11.255 Mask:255.255.255.0 inet6 addr: fe80::224:7eff:fee0:7c93/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:675929 errors:0 dropped:0 overruns:0 frame:0 TX packets:377850 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:815512774 (815.5 MB) TX bytes:36485498 (36.4 MB) Memory:fc000000-fc020000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14098 errors:0 dropped:0 overruns:0 frame:0 TX packets:14098 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2783373 (2.7 MB) TX bytes:2783373 (2.7 MB) virbr0 Link encap:Ethernet HWaddr 5e:7e:cc:84:32:fb inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:96 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:11916 (11.9 KB) wlan0 Link encap:Ethernet HWaddr 00:26:c6:37:28:d0 inet addr:192.168.2.109 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::226:c6ff:fe37:28d0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1237990 errors:0 dropped:0 overruns:0 frame:0 TX packets:717816 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1555743680 (1.5 GB) TX bytes:71947705 (71.9 MB) wmaster0 Link encap:UNSPEC HWaddr 00-26-C6-37-28-D0-33-37-00-00-00-00-00-00-00-00 UP RUNNING MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Robert Iakobashvili wrote: > Hi Brocha, > > On Tue, Jan 19, 2010 at 11:15 AM, Brocha Strous <br...@ca... > <mailto:br...@ca...>> wrote: > > Hello, > I am having trouble figuring out what the correct values are for > the IP > settings for my machine. (INTERFACE, NETMASK, IP_ADDR_MIN/MAX) The > various things i have tried result in this error: > > 1 0 0 1 !! ERR Couldn't bind to '192.168.2.108' > > (my conf file has 2 URLs and it is making the request to the first one > but reports that there is an error. I don't care if all the clients > share the same IP or different ones.) > > > Please, fill the PROBLEM-REPORTING form within the curl-loader > distribution, otherwise we'll try to guess, what you are doing > > > Also, in the output .txt file what is the meaning of H/F and H/F/S ? > > > H/F - statistics for non-encrypted traffic (HTTP/FTP) > H/F/S - statistics for HTTPS / FTPS > > > Thanks, > Brocha > > > > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com <http://www.ghotit.com> > Assistive technology that understands you > ...................................................................... > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > |
From: Robert I. <cor...@gm...> - 2010-01-19 10:05:25
|
Hi Brocha, Thank you for the PRF. On Tue, Jan 19, 2010 at 11:34 AM, Brocha Strous <br...@ca...>wrote: > CURL-LOADER VERSION: 0.50, September 21, 2009 > > ./curl-loader -r -f conf/streamMedia.conf > Are you running it as a superuser? > > > CONFIGURATION-FILE (The most common source of problems): > > ########### GENERAL SECTION ################################ > > BATCH_NAME= stream-media > CLIENTS_NUM_MAX=1 # Same as CLIENTS_NUM > INTERFACE =eth0 > *NETMASK=255.0.0.0* > IP_ADDR_MIN= 192.168.11.104 > IP_ADDR_MAX= 192.168.11.104 > The addresses of 192.168. subnet are related to netmask *255.255.255.0* *that you can see yourself below:* > > eth0 Link encap:Ethernet HWaddr 00:24:7e:e0:7c:93 > inet addr:192.168.11.104 Bcast:192.168.11.255 * > Mask:255.255.255.0 > * inet6 addr: fe80::224:7eff:fee0:7c93/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:675929 errors:0 dropped:0 overruns:0 frame:0 > TX packets:377850 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:815512774 (815.5 MB) TX bytes:36485498 (36.4 MB) > Memory:fc000000-fc020000 > > Note, that on this stage, I am not checking the rest of your configuration. Please, be aware about: http://curl-loader.sourceforge.net/doc/faq.html and example configurations in ./conf-examples > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > |
From: Brocha S. <br...@ca...> - 2010-01-19 10:24:09
|
I have tried it with the 255.255.255.0 netmask too and it didn't work. I have also tried it with all the different interfaces listed in the ifconfig and the corresponding IP and netmask and none of those worked either. I am running as root. Thanks, Brocha Robert Iakobashvili wrote: > Hi Brocha, > > Thank you for the PRF. > > On Tue, Jan 19, 2010 at 11:34 AM, Brocha Strous <br...@ca... > <mailto:br...@ca...>> wrote: > > CURL-LOADER VERSION: 0.50, September 21, 2009 > > ./curl-loader -r -f conf/streamMedia.conf > > Are you running it as a superuser? > > > > > CONFIGURATION-FILE (The most common source of problems): > > ########### GENERAL SECTION ################################ > > BATCH_NAME= stream-media > CLIENTS_NUM_MAX=1 # Same as CLIENTS_NUM > INTERFACE =eth0 > *NETMASK=255.0.0.0* > IP_ADDR_MIN= 192.168.11.104 > IP_ADDR_MAX= 192.168.11.104 > > > The addresses of 192.168. subnet are related to netmask *255.255.255.0* > *that you can see yourself below:* > > > > eth0 Link encap:Ethernet HWaddr 00:24:7e:e0:7c:93 > inet addr:192.168.11.104 Bcast:192.168.11.255 > *Mask:255.255.255.0 > * inet6 addr: fe80::224:7eff:fee0:7c93/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:675929 errors:0 dropped:0 overruns:0 frame:0 > TX packets:377850 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:815512774 (815.5 MB) TX bytes:36485498 (36.4 MB) > Memory:fc000000-fc020000 > > Note, that on this stage, I am not checking the rest of your > configuration. > > Please, be aware about: > http://curl-loader.sourceforge.net/doc/faq.html > > and example configurations in ./conf-examples > > > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com <http://www.ghotit.com> > Assistive technology that understands you > ...................................................................... > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > |
From: Robert I. <cor...@gm...> - 2010-01-19 10:49:43
|
Hi Brocha, On Tue, Jan 19, 2010 at 12:24 PM, Brocha Strous <br...@ca...>wrote: > I have tried it with the 255.255.255.0 netmask too and it didn't work. I > have also tried it with all the different interfaces listed in the > ifconfig and the corresponding IP and netmask and none of those worked > either. > I am running as root. > > Thanks, > Brocha Interesting... In any case, 255.255.255.0 netmask is the correct one for your addresses. What happens, if you try, e.g. 192.168.2.108 as the IP-address? Sincerely, Robert |
From: Robert I. <cor...@gm...> - 2010-01-19 10:54:06
|
Hi Brocha, On Tue, Jan 19, 2010 at 12:49 PM, Robert Iakobashvili <cor...@gm...>wrote: > Hi Brocha, > > On Tue, Jan 19, 2010 at 12:24 PM, Brocha Strous <br...@ca...>wrote: > >> I have tried it with the 255.255.255.0 netmask too and it didn't work. I >> have also tried it with all the different interfaces listed in the >> ifconfig and the corresponding IP and netmask and none of those worked >> either. >> I am running as root. >> >> Thanks, >> Brocha > > > Interesting... > In any case, 255.255.255.0 netmask is the correct one for your addresses. > What happens, if you try, e.g. 192.168.2.108 as the IP-address? > > Sincerely, > Robert > Looking at your log file: # 1172523270 Tue Jan 19 11:21:48 2010 # msec_offset cycle_no url_no client_no (ip) indic info *2 0 0 1 !! ERR Couldn't bind to '192.168.11.104' - This might be OK since the address exists. 1180 0 0 1 !! OK 200 - And this is the response from server.* Run the same with -v and you'll see even more details in your logfile. Make a capture by wireshark, and you'll see the traffic going. Since you CYCLES_NUM= 1 - it makes exactly a single cycle. * *-- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Brocha S. <br...@ca...> - 2010-01-19 11:01:10
|
I see it going to the first URL but not the second one. And in the statistics it doesn't report the 200OK: :::::::::::::: stream-media.ctx :::::::::::::: 1 ,cycles:1,state:-1,b-in:704,b-out:388,req:1,1xx:0,2xx:1,3xx:0,4xx:0,5xx:0,err: 1,T-err:0 :::::::::::::: stream-media.log :::::::::::::: # 1177944446 Tue Jan 19 12:52:09 2010 # msec_offset cycle_no url_no client_no (ip) indic info 2 0 0 1 !! ERR Couldn't bind to '192.168.2.108' 1721 0 0 1 !! OK 200 root@brocha-t400:/home/brocha/software/curl-loader-0.50# more stream-media.*:::::::::::::: stream-media.ctx :::::::::::::: 1 ,cycles:1,state:-1,b-in:704,b-out:388,req:1,1xx:0,2xx:1,3xx:0,4xx:0,5xx:0,err: 1,T-err:0 :::::::::::::: stream-media.log :::::::::::::: # 1177944446 Tue Jan 19 12:52:09 2010 # msec_offset cycle_no url_no client_no (ip) indic info 2 0 0 1 !! ERR Couldn't bind to '192.168.2.108' 1721 0 0 1 !! OK 200 :::::::::::::: stream-media.ops :::::::::::::: Operations: Success Failed Timed ou t URL0:media-art 0 0 0 0 0 0 URL1:media 0 0 0 0 0 0 Operations: Success Failed Timed ou t URL0:media-art 0 0 1 1 0 0 URL1:media 0 0 0 0 0 0 :::::::::::::: stream-media.txt :::::::::::::: RunTime(sec),Appl,Clients,Req,1xx,2xx,3xx,4xx,5xx,Err,T-Err,D,D-2xx,Ti,To 0, H/F , 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 388 0, H/F/S , 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 *, *, *, *, *, *, *, *, *, *, *, *, *, * RunTime(sec),Appl,Clients,Req,1xx,2xx,3xx,4xx,5xx,Err,T-Err,D,D-2xx,Ti,To 1, H/F , 0, 1, 0, 1, 0, 0, 0, 1, 0, 1721, 1721, 704, 388 1, H/F/S , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 Robert Iakobashvili wrote: > Hi Brocha, > > On Tue, Jan 19, 2010 at 12:49 PM, Robert Iakobashvili > <cor...@gm... <mailto:cor...@gm...>> wrote: > > Hi Brocha, > > On Tue, Jan 19, 2010 at 12:24 PM, Brocha Strous > <br...@ca... <mailto:br...@ca...>> wrote: > > I have tried it with the 255.255.255.0 netmask too and it > didn't work. I > have also tried it with all the different interfaces listed > in the > ifconfig and the corresponding IP and netmask and none of > those worked > either. > I am running as root. > > Thanks, > Brocha > > > Interesting... > In any case, 255.255.255.0 netmask is the correct one for your > addresses. > What happens, if you try, e.g. 192.168.2.108 as the IP-address? > > Sincerely, > Robert > > > > Looking at your log file: > > # 1172523270 Tue Jan 19 11:21:48 2010 > # msec_offset cycle_no url_no client_no (ip) indic info > *2 0 0 1 !! ERR Couldn't bind to '192.168.11.104' - This might be OK > since the address exists. > 1180 0 0 1 !! OK 200 - And this is the response from server.* > > Run the same with -v and you'll see even more details in your logfile. > Make a capture by wireshark, and you'll see the traffic going. > Since you CYCLES_NUM= 1 - it makes exactly a single cycle. > * * > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com <http://www.ghotit.com> > Assistive technology that understands you > ...................................................................... > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > |
From: Robert I. <cor...@gm...> - 2010-01-19 11:36:36
|
Hi Brocha, On Tue, Jan 19, 2010 at 1:00 PM, Brocha Strous <br...@ca...>wrote: > I see it going to the first URL but not the second one. > > And in the statistics it doesn't report the 200OK: > > Please, don't top-post. 1. Try more cycles, like 100 or -1 2. If any issues, please, submit another request with another subject since your issue is different. 3. Please, explain what you are intended to do, and which example is taken as the base for your configuration file. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |