your idiotic connection counter is broken

greenbone-nvt-sync:
line 360: FEED_VERSION_SERVER=`grep PLUGIN_SET
$FEED_INFO_TEMP_DIR/plugin_feed_info.inc | sed -e 's/[^0-9]//g'`
line 361: sleep 5

after adding the "sleep 5" it works

so either raise the limit to 2 or fix whatever counts connections on
your server

Am 01.09.18 um 14:58 schrieb Reindl Harald:
> Am 01.09.18 um 00:48 schrieb Reindl Harald:
>> Am 30.08.18 um 10:44 schrieb Reindl Harald:
>>> rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection
>>> refused
>>>
>>> and why?
>>>
>>> that obviosuly happened also end of last month
>>> source: 91.118.73.100
>>
>> are you kidding me?
> 
> you fools limit the connection from a source ip to 1
> "greenbone-nvt-sync" obviously triggers two
> 
> easily to test:
> telnet 89.146.224.58 873
> 
> try to open another connection
> 
> [harry@srv-rhsoft:~]$ telnet 89.146.224.58 873
> Trying 89.146.224.58...
> telnet: connect to address 89.146.224.58: Connection refused
> 
> close teh first one and hit cursor-up + enter
> voila it suceeds
> 
> -------------------
> 
> [root@openvas:~]$ greenbone-nvt-sync
> OpenVAS community feed server - http://www.openvas.org/
> This service is hosted by Greenbone Networks - http://www.greenbone.net/
> 
> All transactions are logged.
> 
> If you have any questions, please use the OpenVAS mailing lists
> or the OpenVAS IRC chat. See http://www.openvas.org/ for details.
> 
> By using this service you agree to our terms and conditions.
> 
> Only one sync per time, otherwise the source ip will be blocked.
> 
> receiving incremental file list
> plugin_feed_info.inc
>           1,131 100%    1.08MB/s    0:00:00 (xfr#1, to-chk=0/1)
> 
> sent 43 bytes  received 1,235 bytes  2,556.00 bytes/sec
> total size is 1,131  speedup is 0.88
> rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection
> refused (111)
> rsync: failed to connect to feed.openvas.org (2a01:130:2000:127::d1):
> Cannot assign requested address (99)
> rsync error: error in socket IO (code 10) at clientserver.c(127)
> [Receiver=3.1.3]
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to