Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Jan 20, 2018 7:47 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Fri May 16, 2008 7:45 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Linux 2.6/PPC kernels for Linkstation/KuroBox/HG/HS are available from http://hvkls.dyndns.org/. See the Changelog for details (MSIE > 5.5 is problematic).

PLEASE use the webinstaller to download or install the kernel package, including its variants. Anyone violating the server policy risks to be denied service, if necessary permanently. Thanks for your cooperation!

uboot .dtb files fixed (the format has changed with 2.6.25)


Top
   
PostPosted: Sat May 17, 2008 12:12 am 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
latest-kernel-uboot.tar.gz: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match

I cleared /tmp retried, rebooted etc.. keep getting it. Is it the file your end?


Top
   
PostPosted: Sat May 17, 2008 4:36 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Yeah, should be fixed now, sorry.


Top
   
PostPosted: Wed May 21, 2008 9:12 pm 
Offline
Regular Member

Joined: Mon Aug 01, 2005 9:31 pm
Posts: 76
Do you have any idea why iptables forward doesn't work anymore when I upgraded the kernel the most recent versions? I was using your kernel downloaded last year and every thing worked fine. It's been a while so decided to upgrade the kernel but ....

iptables -t nat -A PREROUTING -p tcp --dport 3389 -s ! 192.168.0.0/24 -j DNAT --to-destination 192.168.0.8:3389


Top
   
PostPosted: Wed May 21, 2008 10:21 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
"lsmod"?


Top
   
PostPosted: Wed May 21, 2008 10:29 pm 
Offline
Regular Member

Joined: Mon Aug 01, 2005 9:31 pm
Posts: 76
Here's what I got

Linkstation:~$ lsmod
Module Size Used by
xt_TCPMSS 5312 0
sha1_generic 2784 0
arc4 1952 0
ecb 3968 0
crypto_blkcipher 20548 1 ecb
ppp_mppe 7780 0
ppp_async 12576 0
crc_ccitt 2048 1 ppp_async
ppp_generic 30228 2 ppp_mppe,ppp_async
slhc 6208 1 ppp_generic
ipt_LOG 5888 6
ipt_recent 10296 2
xt_state 2592 9
xt_tcpudp 3264 23
iptable_mangle 3424 0
iptable_nat 7880 1
nf_nat 19722 1 iptable_nat
nf_conntrack_ipv4 18856 12 iptable_nat,nf_nat
nf_conntrack 67980 4 xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_filter 3584 1
ip_tables 14032 3 iptable_mangle,iptable_nat,iptable_filter
x_tables 17700 7 xt_TCPMSS,ipt_LOG,ipt_recent,xt_state,xt_tcpudp,iptable_nat,ip_tables
nfs 268456 0
nfsd 235384 17
lockd 71480 3 nfs,nfsd
nfs_acl 3968 2 nfs,nfsd
auth_rpcgss 45700 1 nfsd
sunrpc 198548 14 nfs,nfsd,lockd,nfs_acl,auth_rpcgss
exportfs 5088 1 nfsd
ipv6 282880 18


iptables entry

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 23 -s ! 192.168.0.0/24 -m state --state NEW -j LOG --log-prefix "SSH on telnet port: "
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 23 -s ! 192.168.0.0/24 -j DNAT --to-destination 192.168.0.3:22

syslog
May 21 17:24:24 localhost kernel: SSH on telnet port: IN=eth0 OUT= MAC=00:07:40:a4:fd:92:00:15:e9:5d:86:e6:08:00 SRC=158.70.46.100 DST=192.168.0.9 LEN=48 TOS=0x00 PREC=0x00 TTL=114 ID=6457 DF PROTO=TCP SPT=3741 DPT=23 WINDOW=65535 RES=0x00 SYN URGP=0


Top
   
PostPosted: Thu May 22, 2008 5:36 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Off-hand, I don't see what's wrong... May it's worth while upgrading ipatbles t the latest version.


Top
   
PostPosted: Mon Jun 02, 2008 6:41 am 
Offline
Regular Member

Joined: Mon Aug 01, 2005 9:31 pm
Posts: 76
Can you enable CONFIG_IP_NF_NAT_LOCAL when you compile the new kernel? I did some research and found CONFIG_IP_NF_NAT_LOCAL need to be enabled for DNAT to work.

http://osdir.com/ml/security.firewalls. ... 00442.html
http://www.shorewall.net/kernel.htm


My iptables is the most current version, and I'm sure it's something inside the kernel because it was working fine until I upgraded the the kernel to the recent versions.


Top
   
PostPosted: Mon Jun 02, 2008 7:21 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
CONFIG_IP_NF_NAT_LOCAL is not a valid option for 2.6 (me thinks), at least not for 2.6.25.

If you were so kind as to tell me what exactly v102 is missing, I will surely enable it. The minimal configuration option (2nd link, bottom of page) seem to be enabled, or have I overlooked something?


Top
   
PostPosted: Mon Jun 02, 2008 3:21 pm 
Offline
Regular Member

Joined: Mon Aug 01, 2005 9:31 pm
Posts: 76
I did search on CONFIG_IP_NF_NAT_LOCAL and many of the DNAT problem is related to NAT of local connections has not been set in kernel.

Is there a "NAT of local connections" option in Kernel 2.6.25.4?


Top
   
PostPosted: Mon Jun 02, 2008 7:12 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Please tell me what you want me to enable that is not enabled. I'm currently very busy and don't have much time to look into that myself, sorry :(


Top
   
PostPosted: Tue Jun 03, 2008 3:43 pm 
Offline
Regular Member

Joined: Mon Aug 01, 2005 9:31 pm
Posts: 76
I don't have kernel compiling experience. I thought it was just adding a line "CONFIG_IP_NF_NAT_LOCAL =y" to the configuration file since other people had same problem without that in the older version of kernel :oops: .


Top
   
PostPosted: Tue Jun 03, 2008 6:45 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
It gets discarded as soon as you run "make oldconfig". What you need to do is to compare the lines in my .config to the 2.6.20+ section in the second document, some sort of a manual diff operation -- quite a few lines to compare...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited