|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
General Gnutella Development Discussion For general discussion about Gnutella development. |
| LinkBack | Thread Tools | Display Modes |
| |||
i agree. my only question is will this work in linux 2.4? i used to work with bsd systems which were all nat based, and while i could manually configure forwarding for a single system, i couldn't do anything similar to what linux 2.2's irc or ftp modules allow. at home i still run 2.2 on my server, so i haven't really played around with 2.4 ip routing stuff. still, such a module would be *very* welcome :) |
| ||||
Yes, NAT is supported in kernel 2.4.x, simple masqueraded forwarding is also possible with older kernels. Right now the feedback for this new linux kernel module is _very_ low... maybe someone want to help coding? Here is a link about "Writing a Module for netfilter" (kernel 2.4) http://www.linux-mag.com/depts/gear.html |
| ||||
Mailinglist I did setup a mailinglist for developers now. If there are more coders/network or gnutella specialists who would like to help, please join. This is only about gnutella module development, not about gnutella clients. To subscribe to the list: Send an email with the following text to the mail server (inside body, no subject). To: imailsrv@pirate.de subscribe gnutella (nick)name CU, Moak [UPDATE] The mailinglist is closed due lack of interest and might be used for another gnutella project in future. Last edited by Moak; February 15th, 2002 at 09:51 AM. |
| |||
I'm using Debian with a 2.4.12 kernel. I have a utility called FWBuilder installed, to allow me to manipulate the iptables stuff graphically. My laptop (Win 2000 most times :-) ) sits behind my linux firewall, and I use Bearshare and/or Phex with no problems. You just have to configure iptables to forward whatever port you are sharing on (default 6346) to your internal machine (in my case the laptop). Everything works fine, I just have to configure my Gnutella client to specify the IP address as the one on my external interface. The actual iptables lines that configures the forwarding is # # Rule #0 # # Gnutella # iptables -N RULE_0 iptables -A OUTPUT -p tcp -m state --state NEW -d 192.168.0.2 --destination-port 6346 -j RULE_0 iptables -A FORWARD -p tcp -m state --state NEW -d 192.168.0.2 --destination-port 6346 -j RULE_0 iptables -A RULE_0 -m state --state NEW -j LOG --log-level debug --log-prefix "RULE 0 -- Accept " iptables -A RULE_0 -m state --state NEW -j ACCEPT but I highly recommend fwbuilder. HTH, Gollo. |
| |||
Well. That is true. But well known. Thanks anyway. The problem with this is: It is good for ONE client behind a firewall. But when there are several of them it is hard to maintain. And with DHCP nearly impossible. And your aproach has the problem: If you have a dynamic external IP you have to readjust the force IP-option. That should be done by this module on the fly. Thanks again for your idea. cu Dun3 |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which Gnutella clients for Linux you like most? | Morgwen | General Gnutella / Gnutella Network Discussion | 8 | January 31st, 2009 05:45 AM |
Which is the best Gnutella client for Linux? | Morgwen | General Gnutella / Gnutella Network Discussion | 24 | October 18th, 2003 03:29 AM |
Which gnutella client is best for windows and linux? | sipher | General Gnutella / Gnutella Network Discussion | 29 | April 10th, 2002 11:34 PM |
Linux based AUTOMATIC gnutella client, RFC | taer | General Gnutella / Gnutella Network Discussion | 0 | March 22nd, 2002 03:59 PM |
Linux & Masquerading | Moak | User Experience | 0 | October 4th, 2001 05:23 AM |