Page 5 of 65 FirstFirst ... 345671555 ... LastLast
Results 41 to 50 of 650

Thread: General MoBlock thread

  1. #41
    Join Date
    Nov 2006
    Beans
    19

    Re: General MoBlock thread

    I can't get your latest to install (r-12). I'm building my own package mind, on a powerpc NAS. Previous one installs, but this goes through the questions (which makes it alot better by the way) and then gives dpkg error.
    I've probably made a mistake in how to build it though, this is what I did:

    Code:
    mkdir moblock
    cd moblock
    sudo apt-get build-dep -y moblock
    wget http://moblock-deb.sourceforge.net/preview/moblock-0.9~rc2-12.source.tgz
    tar zxvf moblock*
    cd moblock-*
    dpkg-buildpackage -rfakeroot
    cd ..
    sudo dpkg -i moblock*.deb
    Like I say, it's probably me, it starts to install and I answer all questions but then it fails to install after that.

  2. #42
    Join Date
    Jan 2007
    Beans
    772

    Re: General MoBlock thread

    Quote Originally Posted by Bauldrick View Post
    Like I say, it's probably me, it starts to install and I answer all questions but then it fails to install after that.
    What output do you get during your failed install? What's in /var/log/moblock-control.log and .../moblock.log?

    I can install this version just fine here, but maybe I changed something manually during development which isn't represented in the source ...

    Thanks for the feedback!!
    Please post your logfiles and output of commands wrapped in code tags:
    Code:
    [code]output[/code]
    Co-author of PeerGuardian Linux (pgl). Maintainer of the pgl package repositories for Debian and Ubuntu.

  3. #43
    Join Date
    Nov 2006
    Beans
    19

    Re: General MoBlock thread

    Heres the error:

    Code:
    dpkg: error processing moblock (--install):
     subprocess post-installation script returned error exit status 10
    Processing triggers for man-db ...
    Errors were encountered while processing:
     moblock
    nothing really in /var/log/moblock-control.log

    Code:
    2008-06-28 11:20:30 BST End: moblock-control stop
    and moblock.log

    Code:
    Sat Jun 28 11:20:29| Got SIGTERM! Dumping stats and exiting.
    On a completely different note, on my little machine when moblock starts the cpu gets hammered for 2-3 minutes. top shows 92-97%

  4. #44
    Join Date
    Jan 2007
    Beans
    772

    Re: General MoBlock thread

    "exit status 10" is not of moblock-control.
    I can merely guess that this results from "dash" being the default shell on ubuntu, while on Debian it's still "bash". I had a similar problem just now here after I changed to dash.
    You may try it again by changing in your moblock-0.9~rc2/debian/postinst the first line to
    Code:
    #!/bin/bash
    and then rebuild the package.

    The high CPU usage might result from MoBlock loading the blocklist and merging overlapping/duplicate ranges. I guess your NAS has low CPU power? IIRC on my Pentium 3, 800 MHz it took me about 30 secs to start up.
    Anyway, there's a clone of MoBlock (NFBlockD ) which is less resource intensive, but for now I will do nothing about that.

    Finally, nice to hear that you have (had) it running on a PowerPC NAS!!
    Last edited by jre; June 29th, 2008 at 12:07 AM.
    Please post your logfiles and output of commands wrapped in code tags:
    Code:
    [code]output[/code]
    Co-author of PeerGuardian Linux (pgl). Maintainer of the pgl package repositories for Debian and Ubuntu.

  5. #45
    Join Date
    Mar 2008
    Location
    Lost in Wisconsin
    Beans
    102

    Re: General MoBlock thread

    I just installed Moblock-nfq on a fresh install of Hardy and am having a problem here. I was adding and removing custom blocklists to /etc/moblock/blocklists.list and when I ran sudo moblock-control reload I get the message '...fail!'

    All moblock-control commands fail now (start, stop, update, etc)

    What can I do here? I don't want to try uninstalling moblock via synaptic out of fear something will get messed up.

    Help?

    here's the moblock-control.log

    2008-07-06 10:28:32 AM CDT Begin: /usr/bin/moblock-control reload
    Building blocklist * Error 6: www.bluetack.co.uk/config/nipfilter.dat.gz not available. Check your /etc/moblock/blocklists.list and try a "moblock-control update" first. Aborting!
    2008-07-06 10:28:32 AM CDT Begin: /usr/bin/moblock-control update
    Updating blocklists ...
    Updating nipfilter.dat.gz * .
    * Blocklists updated.
    Building blocklist ...done.
    Installing blocklist to /etc/moblock/ipfilter.dat ...done.
    * MoBlock is not running.
    2008-07-06 10:29:05 AM CDT End: /usr/bin/moblock-control update
    2008-07-06 10:29:05 AM CDT Begin: /usr/bin/moblock-control start
    Inserting iptables ...done.
    Starting MoBlock ...done.
    2008-07-06 10:29:06 AM CDT End: /usr/bin/moblock-control start
    2008-07-06 10:30:56 AM CDT Begin: /usr/bin/moblock-control update
    Updating blocklists ...
    Updating nipfilter.dat.gz * . No update available.
    * Blocklists updated.
    Building blocklist ...done.
    Installing blocklist to /etc/moblock/ipfilter.dat ...done.
    Reloading MoBlock ...done.
    2008-07-06 10:31:26 AM CDT End: /usr/bin/moblock-control update
    2008-07-06 10:37:48 AM CDT Begin: /usr/bin/moblock-control reload
    Building blocklist * Error 6: http://www.bluetack.co.uk/config/level1.gz not available. Check your /etc/moblock/blocklists.list and try a "moblock-control update" first. Aborting!
    2008-07-06 10:37:55 AM CDT Begin: /usr/bin/moblock-control update
    Updating blocklists ...
    Updating nipfilter.dat.gz * . No update available.
    Updating level1.gz * .
    Updating ads-trackers-and-bad-pr0n.gz * .
    Updating spyware.gz * .
    Updating spider.gz * .
    * Blocklists updated.
    Building blocklist ...done.
    Installing blocklist to /etc/moblock/ipfilter.dat ...done.
    Reloading MoBlock ...done.
    2008-07-06 10:39:41 AM CDT End: /usr/bin/moblock-control update
    2008-07-06 10:41:46 AM CDT Begin: /usr/bin/moblock-control reload
    Building blocklist ...done.
    Installing blocklist to /etc/moblock/ipfilter.dat ...done.
    * MoBlock has some strange status.
    * Try "moblock-control stop". Otherwise kill all moblock processes,
    * delete /var/run/moblock.pid and all iptables rules related to MoBlock.
    2008-07-06 10:41:46 AM CDT End: /usr/bin/moblock-control reload
    2008-07-06 10:42:06 AM CDT Begin: /usr/bin/moblock-control stop
    Deleting iptables ...done.
    Stopping MoBlock/sbin/start-stop-daemon: warning: failed to kill 22565: No such process
    ...fail!
    2008-07-06 10:42:06 AM CDT End: /usr/bin/moblock-control stop
    2008-07-06 10:42:17 AM CDT Begin: /usr/bin/moblock-control restart
    Deleting iptables ...fail!
    Stopping MoBlock/sbin/start-stop-daemon: warning: failed to kill 22565: No such process
    ...fail!
    * MoBlock has some strange status.
    * Try "moblock-control stop". Otherwise kill all moblock processes,
    * delete /var/run/moblock.pid and all iptables rules related to MoBlock.
    2008-07-06 10:42:21 AM CDT End: /usr/bin/moblock-control restart
    2008-07-06 10:43:29 AM CDT Begin: /usr/bin/moblock-control reload
    Building blocklist ...done.
    Installing blocklist to /etc/moblock/ipfilter.dat ...done.
    * MoBlock has some strange status.
    * Try "moblock-control stop". Otherwise kill all moblock processes,
    * delete /var/run/moblock.pid and all iptables rules related to MoBlock.
    2008-07-06 10:43:29 AM CDT End: /usr/bin/moblock-control reload
    2008-07-06 10:45:05 AM CDT Begin: /usr/bin/moblock-control stop
    Deleting iptables ...fail!
    Stopping MoBlock/sbin/start-stop-daemon: warning: failed to kill 22565: No such process
    ...fail!
    2008-07-06 10:45:05 AM CDT End: /usr/bin/moblock-control stop
    2008-07-06 10:48:22 AM CDT Begin: /usr/bin/moblock-control stop
    Deleting iptables ...fail!
    Stopping MoBlock/sbin/start-stop-daemon: warning: failed to kill 22565: No such process
    ...fail!
    2008-07-06 10:48:22 AM CDT End: /usr/bin/moblock-control stop
    2008-07-06 10:55:20 AM CDT Begin: /usr/bin/moblock-control reload
    Building blocklist ...done.
    Installing blocklist to /etc/moblock/ipfilter.dat ...done.
    * MoBlock has some strange status.
    * Try "moblock-control stop". Otherwise kill all moblock processes,
    * delete /var/run/moblock.pid and all iptables rules related to MoBlock.
    2008-07-06 10:55:20 AM CDT End: /usr/bin/moblock-control reload
    2008-07-06 11:07:05 AM CDT Begin: /usr/bin/moblock-control stop
    Deleting iptables ...fail!
    Stopping MoBlock/sbin/start-stop-daemon: warning: failed to kill 22565: No such process
    ...fail!
    2008-07-06 11:07:05 AM CDT End: /usr/bin/moblock-control stop
    2008-07-06 11:07:05 AM CDT Begin: /usr/bin/moblock-control start
    * MoBlock has some strange status.
    * Try "moblock-control stop". Otherwise kill all moblock processes,
    * delete /var/run/moblock.pid and all iptables rules related to MoBlock.
    2008-07-06 11:07:05 AM CDT End: /usr/bin/moblock-control start
    2008-07-06 11:07:20 AM CDT Begin: /usr/bin/moblock-control start
    * MoBlock has some strange status.
    * Try "moblock-control stop". Otherwise kill all moblock processes,
    * delete /var/run/moblock.pid and all iptables rules related to MoBlock.
    2008-07-06 11:07:20 AM CDT End: /usr/bin/moblock-control start
    Last edited by sleepitoff; July 6th, 2008 at 05:12 PM.

  6. #46
    Join Date
    Jan 2007
    Beans
    772

    Re: General MoBlock thread

    You mixed blocklists of different formats. Either use nipfilter.dat.gz or
    level1.gz/ads-trackers-and-bad-pr0n.gz/spyware.gz/spider.gz.

    If you want to use nipfilter.dat:
    - set BLOCKLIST_FORMAT="d" in /etc/moblock/moblock.conf.
    - Don't use the other lists
    - Note that level1 is already part of nipfilter.dat. Please have a look at /usr/share/doc/moblock/README.blocklists.gz to learn more about these blocklists.

    If you want to use the other lists (I suggest this solution):
    - First of, install the "moblock" package instead of "moblock-nfq". In moblock-nfq there's a bug when using multiple lists (but this bug is not the reason for your current problems).
    - Keep the setting BLOCKLIST_FORMAT="p" in /etc/moblock/moblock.conf
    - Don't use nipfilter.dat at the same time.

    I guess when you have fixed this setup MoBlock will work again.

    jre
    Please post your logfiles and output of commands wrapped in code tags:
    Code:
    [code]output[/code]
    Co-author of PeerGuardian Linux (pgl). Maintainer of the pgl package repositories for Debian and Ubuntu.

  7. #47
    Join Date
    Jan 2007
    Beans
    772

    Re: General MoBlock thread

    New MoBlock (0.9~rc2-13) packages:

    • debconf support added
    • port 80 and 443 whitelisted per default again
    • LAN traffic automatically whitelisted (experimental)
    • port logging
    • hopefully removed all bashisms


    Have fun.

    I have not made a separate file release of moblock-control, yet. Contact me if you want one now.

    The development repository is still not updated.

    Quote Originally Posted by Bauldrick View Post
    Heres the error:

    Code:
    dpkg: error processing moblock (--install):
     subprocess post-installation script returned error exit status 10
    Processing triggers for man-db ...
    Errors were encountered while processing:
     moblock
    This is also solved. I had removed a variable at one place but kept it at another :-/
    Sorry that it took me so long to tell you this

    jre
    Please post your logfiles and output of commands wrapped in code tags:
    Code:
    [code]output[/code]
    Co-author of PeerGuardian Linux (pgl). Maintainer of the pgl package repositories for Debian and Ubuntu.

  8. #48
    Join Date
    Oct 2007
    Beans
    47
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Exclamation Re: General MoBlock thread

    I'm not sure if this is Moblock or Bluetack, but every time I update, the log says "no update available", for every list. This has been going on for like a week. I tried manually deleting the lists in /var/spool/moblock and re-downloading them, but the blocked IP ranges number stays the same.

    any ideas?
    Last edited by Dawa; July 18th, 2008 at 10:26 PM.

  9. #49
    Join Date
    Jan 2007
    Beans
    772

    Re: General MoBlock thread

    Quote Originally Posted by Dawa View Post
    I'm not sure if this is Moblock or Bluetack, but every time I update, the log says "no update available", for every list.
    Please post your /etc/moblock/blocklists.list.
    AFAIK the [n|p]ipfilter.dat list is updated only at a weekly basis. While the single lists (level1.gz et al.) are updated daily or even at a higher frequency. For the latter it's important to use "moblock" not "moblock-nfq" or "moblock-ipq".

    greets
    jre
    Please post your logfiles and output of commands wrapped in code tags:
    Code:
    [code]output[/code]
    Co-author of PeerGuardian Linux (pgl). Maintainer of the pgl package repositories for Debian and Ubuntu.

  10. #50
    Join Date
    Oct 2007
    Beans
    47
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: General MoBlock thread

    Code:
    # blocklists.list - lists the blocklists used by moblock-control
    #
    # Place one URL per line for every blocklist. Any line which starts with a
    # (hash) is a comment and is ignored.
    #
    # All lists have to be in the same blocklist format. This format has to be
    # specified in moblock.conf.
    # The name of the blocklist has to be the same as the basename of the URL, i.e.
    # php redirects are not possible.
    #
    # If the remote server doesn´t support timestamping start the line with
    # "notimestamp". Don´t abuse this. This is only necessary if the remote
    # server doesn´t provide timestamping (Error 400).
    #
    # For local blocklists start the line with "locallist".
    #
    # Have a look at /usr/share/doc/moblock/README.blocklists.gz for some
    # available blocklists.
    #
    # Do a "moblock-control update" when you have edited this file.
    #
    www.bluetack.co.uk/config/ads-trackers-and-bad-pr0n.gz
    www.bluetack.co.uk/config/bogon.gz
    www.bluetack.co.uk/config/dshield.gz
    www.bluetack.co.uk/config/edu.gz
    www.bluetack.co.uk/config/fornonlancomputers.gz
    www.bluetack.co.uk/config/hijacked.gz
    www.bluetack.co.uk/config/iana-multicast.gz
    www.bluetack.co.uk/config/iana-private.gz
    www.bluetack.co.uk/config/iana-reserved.gz
    www.bluetack.co.uk/config/level1.gz
    www.bluetack.co.uk/config/level2.gz
    www.bluetack.co.uk/config/level3.gz
    www.bluetack.co.uk/config/Microsoft.gz
    www.bluetack.co.uk/config/proxy.gz
    www.bluetack.co.uk/config/rangetest.gz
    www.bluetack.co.uk/config/spider.gz
    www.bluetack.co.uk/config/spyware.gz
    www.bluetack.co.uk/config/templist.gz
    #
    #locallist /etc/moblock/custom-blocklist.p2p
    that's my blocklists.list. looks normal, i think..

Page 5 of 65 FirstFirst ... 345671555 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •