Gavin77 said:
nobody else has confirmed or denied my problem
I can confirm your problem. I run two systems, one with Ubuntu 11.10 (Oneiric) and one with Linux Mint 12, which is based upon Ubuntu 11.10 (Oneiric). Both do exactly as you describe.
Plus, whenever I open pgl-gui, I get the warning shown in the attached image.
I checked the two log files, as directed, and found the following:
From pglcmd.log:
Code:
2012-02-29 07:19:38 EST Begin: pglcmd update
Updating blocklists ...
Updating bluetack_dshield... . No update available.
Extracting bluetack_dshield, detected 7z...
7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,2 CPUs)
Processing archive: /var/spool/pgl/bluetack_dshield/downloaded/bluetack_dshield
Extracting bt_dshield.txt
Everything is Ok
Size: 6927
Compressed: 1728
done.
Blocklists updated.
Building blocklist ...
WARN: Invalid ASCII line:
INFO: ASCII: 120 entries loaded from "STDIN"
INFO: Merged 10 of 120 entries.
INFO: Blocking 110 IP ranges (5220 IPs).
Blocklist built.
Reloading pgld ...done.
2012-02-29 07:19:44 EST End: pglcmd update
pglcmd.wd: pgld is not running!
The watchdog detected that the daemon is not running.
To disable the watchdog set WATCHDOG="0" in /etc/pgl/pglcmd.conf.
Now doing a restart:
* Restarting only PeerGuardian Linux pgld
From pgld.log:
Code:
Feb 29 07:19:44 INFO: Closing logfile: /var/log/pgl/pgld.log
Feb 29 07:19:44 INFO: Reopened logfile: /var/log/pgl/pgld.log
Feb 29 07:19:44 WARN: pgld dbus is already initialized.
Feb 29 07:19:44 ERROR: Cannot initialize D-Bus
Feb 29 07:23:54 INFO: Connected to dbus system bus.
Feb 29 07:23:54 INFO: Started.
Feb 29 07:23:54 INFO: ASCII: 110 entries loaded from "/var/lib/pgl/master_blocklist.p2p"
Feb 29 07:23:54 INFO: Blocking 110 IP ranges (5220 IPs).
Feb 29 07:23:54 INFO: NFQUEUE: binding to queue 92
Feb 29 07:23:54 INFO: ACCEPT mark: 20
Feb 29 07:23:54 INFO: REJECT mark: 10
This occurred after I deleted all downloaded blocklists and set pgl-gui to only load the bluetack_dshield list as a test. I originally got the warning in the attached image when I first installed pgl with the default list selection, so I went through three tests, loading only one list (as shown), two lists and three. Every time, I got the same warning in the attached image, the same "WARN: Invalid ASCII line:" error, and the log files looked very similar to what I have shown here.
I am going to remove pgl, try changing the repository to "Natty", as suggested, reinstall pgl, and see what happens. <<Time passes>> Okay, I did that and got the following from pglcmd.log (not including all of the download and extract messages):
Code:
done.
WARN: Invalid ASCII line:
INFO: ASCII: 791177 entries loaded from "STDIN"
INFO: Merged 573455 of 791177 entries.
INFO: Blocking 217722 IP ranges (2800039871 IPs).
Blocklist built.
Inserting iptables ...
..Setting up iptables for INPUT:
....Creating chain and inserting NFQUEUE rule [ OK ]
....Whitelisting IP ranges [ OK ]
....Inserting block rule [ OK ]
..Setting up iptables for OUTPUT:
....Creating chain and inserting NFQUEUE rule [ OK ]
....Whitelisting IP ranges [ OK ]
....Inserting block rule [ OK ]
..Setting up iptables for FORWARD:
....Creating chain and inserting NFQUEUE rule [ OK ]
....Inserting block rule [ OK ]
..Allowing loopback traffic: INPUT OUTPUT [ OK ]
..Allowing OUTPUT traffic to DNS server 192.168.1.1 [ OK ]
..Allowing FORWARD traffic to DNS server 192.168.1.1 [ OK ]
..Allowing LAN traffic ...
....INPUT from 192.168.1.0/24 [ OK ]
....OUTPUT to 192.168.1.0/24 [ OK ]
....FORWARD from 192.168.1.0/24 to 192.168.1.0/24 [ OK ]
..LAN traffic allowed.
..Activating chains:
....INPUT
....OUTPUT
....FORWARD
..Chains activated.
Iptables inserted.
Starting pgld [ OK ]
Starting pglcmd.wd [ OK ]
2012-02-29 13:12:39 EST End: pglcmd start
And this from pgld.log:
Code:
Feb 29 13:12:39 INFO: Connected to dbus system bus.
Feb 29 13:12:39 INFO: Started.
Feb 29 13:12:39 INFO: ASCII: 217722 entries loaded from "/var/lib/pgl/master_blocklist.p2p"
Feb 29 13:12:39 INFO: Blocking 217722 IP ranges (2800039871 IPs).
Feb 29 13:12:39 INFO: NFQUEUE: binding to queue 92
Feb 29 13:12:39 INFO: ACCEPT mark: 20
Feb 29 13:12:39 INFO: REJECT mark: 10
As you can see, I still got the "WARN: Invalid ASCII line:" in the log file during the installation. When I opened pgl-gui, I again got the warning in the attached image. So far, I have tried an Update, a Reload, and a Restart, all of which worked without disabling pgl. But, I did get the following log entry in pglcmd.log:
Code:
2012-02-29 13:20:20 EST Begin: pglcmd restart
Stopping pglcmd.wd ...done.
Emailing stats ...done.
Deleting iptables ...
Please install an MTA on this system if you want to use sendmail!
..Executing iptables remove script /var/lib/pgl/.pglcmd.iptables.remove.sh ...done.
..Removing iptables remove script /var/lib/pgl/.pglcmd.iptables.remove.sh ...done.
Iptables deleted.
Stopping pgld ...done.
Inserting iptables ...
..Setting up iptables for INPUT:
....Creating chain and inserting NFQUEUE rule ...done.
....Whitelisting IP ranges ...done.
....Inserting block rule ...done.
..Setting up iptables for OUTPUT:
....Creating chain and inserting NFQUEUE rule ...done.
....Whitelisting ports ...done.
....Whitelisting IP ranges ...done.
....Inserting block rule ...done.
..Setting up iptables for FORWARD:
....Creating chain and inserting NFQUEUE rule ...done.
....Inserting block rule ...done.
..Allowing loopback traffic: INPUT OUTPUT ...done.
..Allowing OUTPUT traffic to DNS server 192.168.1.1 ...done.
..Allowing FORWARD traffic to DNS server 192.168.1.1 ...done.
..Allowing LAN traffic ...
....INPUT from 192.168.1.0/24 ...done.
....OUTPUT to 192.168.1.0/24 ...done.
....FORWARD from 192.168.1.0/24 to 192.168.1.0/24 ...done.
..LAN traffic allowed.
..Activating chains:
....INPUT
....OUTPUT
....FORWARD
..Chains activated.
Iptables inserted.
Starting pgld ...done.
Starting pglcmd.wd ...done.
2012-02-29 13:20:21 EST End: pglcmd restart
No, I do not have an MTA installed (that I know of), which is new to the log entry here, but did show up during my original tests of loading one, two and three of the blocklists.
I apologize if anyone objects to this very long message. I cannot make heads or tails out of what is going on, but figured I would post all of this in case it might help someone else to figure it out. Cheers!
Bookmarks