Discussion:
[Openvas-discuss] rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection refused
Reindl Harald
2018-08-30 08:44:50 UTC
Permalink
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

-----------

[***@openvas:~]$ /usr/local/bin/openvas-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
timestamp
13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 106 bytes 99.33 bytes/sec
total size is 13 speedup is 0.09
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 community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/
Reindl Harald
2018-08-31 22:48:07 UTC
Permalink
Post by 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?


dfn-cert-2011.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.67kB/s 0:00:00 (xfr#13, to-chk=19/42)
dfn-cert-2012.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.67kB/s 0:00:00 (xfr#14, to-chk=17/42)
dfn-cert-2013.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.67kB/s 0:00:00 (xfr#15, to-chk=15/42)
dfn-cert-2014.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.67kB/s 0:00:00 (xfr#16, to-chk=13/42)
dfn-cert-2015.xml

0 0% 0.00kB/s 0:00:00
2,134,445 100% 7.43MB/s 0:00:00 (xfr#17, to-chk=12/42)
dfn-cert-2015.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.65kB/s 0:00:00 (xfr#18, to-chk=11/42)
dfn-cert-2016.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.65kB/s 0:00:00 (xfr#19, to-chk=9/42)
dfn-cert-2017.xml

0 0% 0.00kB/s 0:00:00
3,125,006 100% 10.46MB/s 0:00:00 (xfr#20, to-chk=8/42)
dfn-cert-2017.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.62kB/s 0:00:00 (xfr#21, to-chk=7/42)
dfn-cert-2018.xml

0 0% 0.00kB/s 0:00:00
2,391,125 100% 3.90MB/s 0:00:00 (xfr#22, to-chk=6/42)
dfn-cert-2018.xml.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.30kB/s 0:00:00 (xfr#23, to-chk=5/42)
sha1sums

0 0% 0.00kB/s 0:00:00
2,236 100% 3.73kB/s 0:00:00 (xfr#24, to-chk=4/42)
sha256sums

0 0% 0.00kB/s 0:00:00
3,148 100% 5.26kB/s 0:00:00 (xfr#25, to-chk=3/42)
sha256sums.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.30kB/s 0:00:00 (xfr#26, to-chk=2/42)
timestamp

0 0% 0.00kB/s 0:00:00
13 100% 0.02kB/s 0:00:00 (xfr#27, to-chk=1/42)
timestamp.asc

0 0% 0.00kB/s 0:00:00
181 100% 0.30kB/s 0:00:00 (xfr#28, to-chk=0/42)

sent 47,014 bytes received 1,052,279 bytes 732,862.00 bytes/sec
total size is 54,348,568 speedup is 49.44
/usr/sbin/openvasmd
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
timestamp

0 0% 0.00kB/s 0:00:00
13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes received 104 bytes 294.00 bytes/sec
total size is 13 speedup is 0.09
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 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

0 0% 0.00kB/s 0:00:00
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]
Post by Reindl Harald
-----------
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
timestamp
13 100% 12.70kB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 43 bytes received 106 bytes 99.33 bytes/sec
total size is 13 speedup is 0.09
rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection
refused (111)
Cannot assign requested address (99)
rsync error: error in socket IO (code 10) at clientserver.c(127)
[Receiver=3.1.3]
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/
Reindl Harald
2018-09-01 12:58:29 UTC
Permalink
Post by Reindl Harald
Post by 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

[***@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

-------------------

[***@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]
Reindl Harald
2018-09-01 13:04:34 UTC
Permalink
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
Post by Reindl Harald
Post by Reindl Harald
Post by 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
telnet 89.146.224.58 873
try to open another connection
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
-------------------
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)
Cannot assign requested address (99)
rsync error: error in socket IO (code 10) at clientserver.c(127)
[Receiver=3.1.3]
Loading...