After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164624 - GGV makes a gigantic burst of network connections when starting
GGV makes a gigantic burst of network connections when starting
Status: RESOLVED DUPLICATE of bug 160531
Product: GGV
Classification: Deprecated
Component: general
2.8.x
Other Linux
: Normal major
: ---
Assigned To: Jaka Mocnik
Jaka Mocnik
Depends on:
Blocks:
 
 
Reported: 2005-01-19 20:17 UTC by kris
Modified: 2005-02-02 18:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
screenshot of described ftp connection (170.77 KB, image/png)
2005-01-19 20:17 UTC, kris
Details
recently used file list (110.93 KB, text/plain)
2005-02-01 20:31 UTC, Loïc Minier
Details
Capture of GGV's traffic (65.50 KB, application/octet-stream)
2005-02-01 20:42 UTC, Loïc Minier
Details

Description kris 2005-01-19 20:17:11 UTC
1) call ggv from command line or shortcut
2) check firewall

this is always reproducable (unless you click on the .ps file in nautilus, and
it opens up as a viewer there)

When opening a .ps or .pdf document, but only as a stand-alone (not as a view in
Nautilus), my firewall notes that ggv is making an ftp connection to another
computer in my building.  It is always the same computer; it used to be in my
/etc/hosts list, but I removed it and it still does this.

I didn't notice it until I installed firestarter, and now I see it listed in the
"active connections" area, whenever ggv is open (but not when it is being used
as a viewer inside Nautilus).
Comment 1 kris 2005-01-19 20:17:56 UTC
Created attachment 36254 [details]
screenshot of described ftp connection
Comment 2 Loïc Minier 2005-02-01 20:21:55 UTC
Hi,
I believe this a very serious problem in GGV.

The cause is probably the list of recenly opened files, which seems to be
scanned on startup.

GGV took 25 seconds to start on a small document, then took less, then longer,
when I discovered it was timeouting on DNS queries and HTTP requests to a
webmail I visited.

It's doing an insane amount of traffic, I took a network trace which I could
attach if you want (it would require some cleaning though) where in the first 10
seconds GGV did 130 DNS queries.  130 *network* DNS queries, not the one that
were sucessful on my local machine (I run a caching BIND9).

Then came about 100 HTTP packets (packets, ie requests, responses and responses
continuations)...

That's a real DoS.

And I happen to connect over a GPRS link!  Imagine how _that_ would lag.
Plus the URL locations I visited might disclose completely private stuff!

Hence, I marked this bug as major, but it might be a bug in the recent file list
or gnomevfs and updated the GNOME version.
Comment 3 Loïc Minier 2005-02-01 20:31:34 UTC
Created attachment 36840 [details]
recently used file list

Here's a sample recently used file list, it's awfully filled with sensitive
information!
Comment 4 kris 2005-02-01 20:38:22 UTC
using my firewall I blocked connections to the one computer ggv was connecting
to (which is does not host any of the files in my recent file list), and now
when I start it up from the command line I get this error

$ ggv
(ggv:25903): gnome-vfs-modules-WARNING **: gnome_vfs_inet_connection_create
("tian.hwr.arizona.edu", 0) = "Generic error"

so I guess this is a gnome-vfs problem? (not that I know anything about this)

Comment 5 Loïc Minier 2005-02-01 20:42:11 UTC
Created attachment 36841 [details]
Capture of GGV's traffic

Here's a sample of the packets.
Comment 6 kris 2005-02-01 21:26:16 UTC
I don't know if this info helps...

I have been checking my logs for a couple weeks now, and no other gnome program
seems to have this behavior (making connections to this or any other machine).  

Also, I use Xfce mostly, and ggv still behaves this way when I call it from the
command line within Xfce 4.2.  
Comment 7 Jaka Mocnik 2005-02-02 18:28:18 UTC
this is surely a duplicate of the pestering recent-files module bug... I am just
about to finally fix this.

*** This bug has been marked as a duplicate of 160531 ***