 |

 |
|
 |
| |
08-13-2009, 02:23 PM
|
#11
|
Country: 
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
jre, you were right.moblock is up and running.the only problem left is that i see useless messages in my /var/log/message file when moblock denies a packet:
Code:
Aug 13 19:56:10 kernel: nf_queue: error creating packet message
Aug 13 19:56:53 kernel: printk: 3 messages suppressed.
Aug 13 19:56:53 kernel: nf_queue: error creating packet message
for the rest it works like a charm. Later this evening I'll post the howto + link to the modified scripts. A you will see, I had to change a bunch of paths in there and couple of functions.
Thanks,
Dino
|
|
|
| |
08-13-2009, 02:51 PM
|
#12
|
|
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
Grats. And I hope I can integrate all your changes.
I donīt have these messages in /var/log/messages. But is everything working? Does "blockcontrol test" work? And do you still have internet access with moblock running?
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
|
|
|
| |
08-13-2009, 03:26 PM
|
#13
|
Country: 
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
jre, my outgoing connections are not working except for the port exceptions I have defined. So the blockcontrol test is unable to ping to a host address. Where do i have to whitelist my own nas address?
In my post on the Synology forum, I have a iptables -L -nv dump. could you have a look?
http://forum.synology.com/enu/viewto...p=70227#p70227
Thanks again,
Dino
|
|
|
| |
08-14-2009, 10:04 AM
|
#14
|
|
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
The iptables look ok on a first glance. Iīll have a detailed look on your changes later. You should hint people to the fact that they have to "blockcotnrol update" manually, because you donīt have the cron.daily job.
Whitelisting IPs:
- Either IP ranges in (/etc/blockcontrol/)allow.p2p
- or IPs in blockcotnrol.conf
Code:
WHITE_IP_FORWARD=""
WHITE_IP_IN=""
WHITE_IP_OUT=""
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
|
|
|
| |
08-14-2009, 10:28 AM
|
#16
|
|
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
just keep a look on moblock.log to see what was blocked.
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
|
|
|
| |
08-17-2009, 05:22 PM
|
#17
|
|
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
started revisiting your package: - Thereīs no need to ship a separate init-functions. They are included in blockcontrol.lib. If LSB is not found blockcotnrol will use those internal ones.
- Was specifying /opt/(s)bin in PATH not enough to get the external applications working!? (e.g. is it really necessary to /opt/sbin/iptables, when you have PATH="/opt/bin:/opt/sbin:/usr/bin:/bin:/sbin:/usr/sbin"
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
Last edited by jre : 08-17-2009 at 05:27 PM.
|
|
|
| |
11-04-2009, 02:10 PM
|
#19
|
|
|
Re: moblock on Synology NAS - All kernel modules available, but moblock won't start
First off, we moved on with development: blockcontrol is now pglcmd and nfblock (based on moblock) is pgld. Iīm going to greatly improve the Makefile for these (in the next weeks ...), so that you donīt have to adjust paths in the single files.
Your upload problem: probably the file suffix was not allowed - e.g. you may pack them as gz. Also please tell me what version you changed exactly, or even better: send patches. You may also mail me:
jre-phoenix
at users.sourceforge.net
When Iīve seen the built-inb LSB changes Iīll try to implement them here.
Why did you use a custom script to insert the kernel modules? Please send it, I want to implement that, too, if necessary.
logrotate is a config script for, err, logrotate. E.g. the logrotate config file from blockcontrol is placed in /etc/logrotate.d/blockcontrol. Then the logrotate utility fires up daily, and moves the current /var/log/blockcontrol.log to /var/log/blockcontrol.log.1.
At the same time blockcontrol.log.1. gets blockcontrol.log.2.gz (so it gets compressed), and so on up to blockcontrol.log.12.gz. So this is a utility to keep logfiles small and archive them for some time.
__________________
Code:
Please post your logfiles and output of commands wrapped in
[ CODE ] tags. You find them in the advanced editing mode: #
Maintainer of http://moblock-deb.sourceforge.net: MoBlock, mobloquer, blockcontrol and NFBlock Debian packages.
Author of blockcontrol, previously moblock-control.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:27 AM.
 |
|
 |
|
 |