Page 118 of 120 FirstFirst ... 1868108116117118119120 LastLast
Results 1,171 to 1,180 of 1196

Thread: Moblock (peerguardian linux alternative)

  1. #1171

    Re: Moblock (peerguardian linux alternative)

    Quote Originally Posted by draggy View Post
    I have a server setup to be a router, using iptables rules for the firewall and NAT forwarding. Since moblock adds rules to iptables, what would be the best way to integrate my rules and moblock's rules?
    Afaik, the best way to do it is by hand, i.e.: run moblock and copy the iptables file it creates to a temporary file somewhere. Then get your iptables file that you usually use and manually integrate the rules from the temp file into your usual iptables file.
    -- quixotic-cynic

  2. #1172

    Re: Moblock (peerguardian linux alternative)

    Quote Originally Posted by pt123 View Post
    When I try to update it I get this error:
    Code:
    E: /var/cache/apt/archives/moblock_0.9~rc2-10+hardy+i386_i386.deb: subprocess new pre-removal script returned error exit status 3
    Is there a way to fix this problem.
    Try:
    sudo moblock-control stop
    sudo aptitude update
    sudo aptitude safe-upgrade (or sudo aptitude and find the package yourself)
    sudo moblock-control start
    -- quixotic-cynic

  3. #1173
    Join Date
    Jul 2005
    Beans
    574
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Moblock (peerguardian linux alternative)

    quixotic-cynic, i compliled myself due to there not being any amd64 deb available. or is there?
    hardy 64 bit

  4. #1174
    Join Date
    Apr 2008
    Beans
    7

    Re: Moblock (peerguardian linux alternative)

    Is there a webmin module available for moblock? If not, could someone point me to some basic documentation on creating webmin modules?

    Ideally, I'd like the module to offer the following functionality:

    1) Stop/start services
    2) Allow user to add/remove whitelisted ports/IPs
    3) Choose which lists to enable.
    4) Pull up recent log entries.

    Thanks,

    MB

  5. #1175

    Re: Moblock (peerguardian linux alternative)

    Quote Originally Posted by jamesford View Post
    quixotic-cynic, i compliled myself due to there not being any amd64 deb available
    Makes sense; to my knowledge only i386 is built due to who has what pc available.
    -- quixotic-cynic

  6. #1176
    Join Date
    Jul 2005
    Beans
    740
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Moblock (peerguardian linux alternative)

    Quote Originally Posted by quixotic-cynic View Post
    Try:
    sudo moblock-control stop
    * Stopping MoBlock moblock [fail]

    I got the above, I don't run moblock on start up ( and don't wish to).

    When I tried
    sudo /etc/init.d/moblock stop
    I got
    * Stopping MoBlock moblock [fail]

    When I tried
    sudo /etc/init.d/moblock start
    I got
    * MoBlock is configured not to start automatically at boot time.
    * To change this edit the MOBLOCK_INIT entry in /etc/moblock/moblock.conf.
    * Also check /etc/default/moblock.

    Not sure if this meant it succeeded in starting.
    It didn't because Mobloquer is reporting it couldn't start.

    Interestingly I was able to start it through Mobloquer.

    I will try uninstalling moblock and then reinstalling it.

    When I tried to remove it I got this message:
    Code:
    Removing moblock ...
     * Stopping MoBlock moblock                                              [fail] 
    invoke-rc.d: initscript moblock, action "stop" failed.
    dpkg: error processing moblock (--remove):
     subprocess pre-removal script returned error exit status 3
     * MoBlock is configured not to start automatically at boot time.
     * To change this edit the MOBLOCK_INIT entry in /etc/moblock/moblock.conf.
     * Also check /etc/default/moblock.
    Errors were encountered while processing:
     moblock
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Maybe I should booting into recovery mode and sudo apt-get remove moblock
    Last edited by pt123; April 27th, 2008 at 11:23 PM. Reason: uninstalling doesn't work either

  7. #1177

    Re: Moblock (peerguardian linux alternative)

    Quote Originally Posted by pt123 View Post
    * Stopping MoBlock moblock [fail]

    I got the above, I don't run moblock on start up ( and don't wish to).
    Ok, that was not clear to me. I thought the reason it might not be working is that it was unsuccessfully stopping moblock... but, if it's not running in the first place then I guess it's something else.
    -- quixotic-cynic

  8. #1178
    Join Date
    Jan 2007
    Beans
    772

    Re: Moblock (peerguardian linux alternative)

    @pt123: your problem was fixed in moblock (0.9~rc2-4). Probably you kept your old /etc/init.d/moblock.
    Anyway, set MOBLOCK_INIT="1", then updating will work. Make sure to install all new config files when you are asked by apt/synaptic/whatever. I recommend to make all configuration changes in /etc/default/moblock. After the update you can safely go back to MOBLOCK_INIT="0".

    @emphtollow: I suggest to whitelist the specific IP of your FTP server with the WHITE_IP_OUT="" option. Have a look at /var/log/moblock.log to see which IP is blocked. You can also do this with a simple click in mobloquer.

    @lucien:
    Using the WHITE_IP_OUT="" option might also help you. So I fixed jabber here.

    Quote Originally Posted by mike.berggren View Post
    Is there a webmin module available for moblock?
    No, I don't think so.

    @jhezza: if you did not already quixotic-cynic's advice: do a "sudo moblock-control update" that should fix the package installation. Installation failed because somehow the blocklists could not be downloaded/installed. Have a look at /var/log/moblock-control.log to learn more about what went wrong.

    @draggy: Sorry, no idea. All I can say is that with the MARKing feature (since moblock 0.9~rc2) it is easy to integrate MoBlock with firewalls. Simply start MoBlock after all other iptables insertions. but I don't know if there are specific things when using nat

    Quote Originally Posted by jamesford View Post
    im having a lot of troubles installing moblock in hardy (amd64) -0.9~rc2-10 compiled myself

    during install i get messages like
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    iptables: No chain/target/match by that name
    * Some iptables rules could not be deleted. The most common reason for this is
    * that they did not exist. If MoBlock was not running this is the correct
    * behaviour. But if MoBlock was running there is some problem. Make sure that
    * MoBlock inserts its iptables rules correctly and that other software, e.g.
    * firewall applications, don't delete them. Make sure that MoBlock is started
    * after other firewall applications.
    Well, this is not a problem. This e.g. always comes if you stop an already stopped Moblock. Post your iptables rules and I might see if INCOMING traffic is checked. Note that other firewalls (I don't know ufw) might purge your moblock iptables rules, so make sure to (re-)start moblock after starting/stopping them.

    Quote Originally Posted by jamesford View Post
    quixotic-cynic, i compliled myself due to there not being any amd64 deb available. or is there?
    Finally good news for you: I've got a new amd64 laptop So just wait some time
    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.

  9. #1179
    Join Date
    Apr 2008
    Beans
    7

    Re: Moblock (peerguardian linux alternative)

    I want a deeper understanding of how Moblock works... is there any documentation (ERDs, flowcharts, etc) that show how the process works?

    Btw, is moblock multi-threaded? I would assume so but thought I'd check anyway...

    -MB

  10. #1180
    Join Date
    Jul 2005
    Beans
    740
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Moblock (peerguardian linux alternative)

    Quote Originally Posted by jre View Post
    @pt123: your problem was fixed in moblock (0.9~rc2-4). Probably you kept your old /etc/init.d/moblock.
    Anyway, set MOBLOCK_INIT="1", then updating will work. Make sure to install all new config files when you are asked by apt/synaptic/whatever. I recommend to make all configuration changes in /etc/default/moblock. After the update you can safely go back to MOBLOCK_INIT="0".
    The files have it set to 1 in the /etc/init.d/moblock file and in /etc/moblock/moblock.conf. I have not touched either of them.

    Which one takes priority.

Page 118 of 120 FirstFirst ... 1868108116117118119120 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
  •