DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-05-26 12:21:49

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

ip-blocker on dns-323?

will be an ip-blocker (like peerguardian or moblock) in a further fun_plug version avaible?
the fun_plug 0.5 has so many programs included or for update, but no ip-blocker.

greetz, erox.


DNS-323 FW 1.05 (US)

Offline

 

#2 2008-05-26 14:43:49

mindbender
Member
Registered: 2007-10-29
Posts: 10

Re: ip-blocker on dns-323?

Offline

 

#3 2008-05-26 21:39:25

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: ip-blocker on dns-323?

thanks so much...


DNS-323 FW 1.05 (US)

Offline

 

#4 2008-05-26 22:31:24

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: ip-blocker on dns-323?

Does moblock block ports by default or just IPs?
TIA!

Offline

 

#5 2008-05-28 21:56:47

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: ip-blocker on dns-323?

nUll wrote:

Does moblock block ports by default or just IPs?
TIA!

it only blocks ips


DNS-323 FW 1.05 (US)

Offline

 

#6 2008-05-29 21:05:39

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: ip-blocker on dns-323?

help! i can't install moblock...

---------------------------------------

# tar -xzf moblock_0.8-1_arm.ipk
tar: Unrecognised file type

---------------------------------------

what's the problem?
it also don't work with other packages...


DNS-323 FW 1.05 (US)

Offline

 

#7 2008-05-29 22:04:18

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: ip-blocker on dns-323?


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#8 2008-05-29 22:43:30

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: ip-blocker on dns-323?

SilentException wrote:

erox: http://dns323.kood.org/howto:optware

i know this site.
i also used it.
but it won't work.
i can't make a .tar-file from the .ipk-file.
it seems that it don't understand .ipk's.


DNS-323 FW 1.05 (US)

Offline

 

#9 2008-05-29 22:55:38

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: ip-blocker on dns-323?

ipk is a tgz file.

#mv name.ipk name.tgz
#tar xvzf name.tgz

Last edited by SilentException (2008-05-29 22:56:07)


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#10 2008-05-29 23:09:17

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: ip-blocker on dns-323?

did not work, too. sad
the same error as ipk.


DNS-323 FW 1.05 (US)

Offline

 

#11 2008-05-30 13:24:56

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: ip-blocker on dns-323?

.ipk files are GZIP files, so the correct command is tar xf name.ipk
The .ipk file contains 2 TGZ archives "control.tar.gz" and "data.tar.gz"
You can ignore & delete control, all binaries are in data.tar.gz

Offline

 

#12 2008-05-30 16:24:45

erox
Member
From: Berlin / Germany
Registered: 2007-12-24
Posts: 18
Website

Re: ip-blocker on dns-323?

i tryed it out, but without success.
error message is: "Invalid tar magic "

could this came from FW 1.05?


DNS-323 FW 1.05 (US)

Offline

 

#13 2008-05-30 22:52:18

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: ip-blocker on dns-323?

Why are you trying to untar a ipk file?
It should install automatically through ipkg install moblock
zcat the file if you still want to try and unstar it and see if is valid

Offline

 

#14 2008-05-30 22:57:09

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: ip-blocker on dns-323?

just untar it in windows using winrar. but i had no problems untaring on dns-323 either so you must be doing something wrong. do
#ls -la `which tar`

and paste the output


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#15 2008-05-30 23:49:28

nUll
Member
Registered: 2008-03-09
Posts: 113

Re: ip-blocker on dns-323?

Does anybody know where can I get the .p2p file?

Thank You,

Offline

 

#16 2009-01-08 06:35:11

metronet
Member
Registered: 2007-06-14
Posts: 8

Re: ip-blocker on dns-323?

has anyone got this to work? i'm using FW1.05 & funplug ver. 4

getting this error message:

FATAL: Module ipt_NFQUEUE not found.
FATAL: Module ipt_state not found.
iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

* Logging to ./moblock.log
* Ranges loaded: 241915
* Using .dat file format
* Merged ranges: 0
* Skipped useless ranges: 0
nfnl_talk: sendmsg(netlink) Connection refused


something to do with kernel module i guess...

Offline

 

#17 2009-08-10 02:37:07

Len0X
New member
Registered: 2009-08-10
Posts: 4

Re: ip-blocker on dns-323?

Hi all


if you want to block specific IP from NAT .... other
let's try 192.168.1.120



1. telnet device

Code:

vi /mnt/HD_a2/fun_plug

press o
add at the end

Code:

route add -host 192.168.1.200 reject

press Esc
press :
press w
press Enter
press :
press q!

###done###
restart

check the result

Code:

route

should be new line:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.200   *               255.255.255.255 !H    0      0        0 *

%%%%%%%DONE%%%%%
thank to morsik / http://forum.fedora.pl/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB