eMule and iptables

This is a discussion on eMule and iptables within the Linux Security forums, part of the System Security and Security Related category; I am looking for iptables firewall rules for eMule, which accepts all connections and forwards, but I can find anything ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-09-2004
Martijn
 
Posts: n/a
Default eMule and iptables

I am looking for iptables firewall rules for eMule, which accepts all
connections and forwards, but I can find anything useful on the net.
There are lots of discussions on usenet about rules but I'd rather
have a set of rules which will work right away than trying out all
suggestions in the discussion threads.

I have a Linux router which runs RH 7.3 with two network cards of
which eth0 (with IP 10.0.0.1) is connected to an Alcatel/Thompson ADSL
modem (with IP 10.0.0.138). The other network card eth1 (IP
192.168.1.10) is connected to a switching hub and connected to that is
a PC which runs eMule (IP 192.168.1.60).

Maybe someone has a similar setup and can give me a copy of their
rc.firewall or rc.local with all the rules necessary to allow all
e-mule connections through.

Thank you,

Martijn Janssen
Reply With Quote
  #2 (permalink)  
Old 09-09-2004
NeoSadist
 
Posts: n/a
Default Re: eMule and iptables

Martijn wrote:

> I am looking for iptables firewall rules for eMule, which accepts all
> connections and forwards, but I can find anything useful on the net.
> There are lots of discussions on usenet about rules but I'd rather
> have a set of rules which will work right away than trying out all
> suggestions in the discussion threads.
>
> I have a Linux router which runs RH 7.3 with two network cards of
> which eth0 (with IP 10.0.0.1) is connected to an Alcatel/Thompson ADSL
> modem (with IP 10.0.0.138). The other network card eth1 (IP
> 192.168.1.10) is connected to a switching hub and connected to that is
> a PC which runs eMule (IP 192.168.1.60).
>
> Maybe someone has a similar setup and can give me a copy of their
> rc.firewall or rc.local with all the rules necessary to allow all
> e-mule connections through.
>
> Thank you,
>
> Martijn Janssen


1) Find what ports eMule uses.
2) Open those to all incoming connections (if you're using stateful, then
it's state "new", or else include -syn to denote SYN packets).
3) P2P sharing of copyrighted materials is against the law and is evil.

--
By doing just a little every day, you can gradually let the task
completely overwhelm you.

Reply With Quote
  #3 (permalink)  
Old 09-09-2004
Travis Casey
 
Posts: n/a
Default Re: eMule and iptables

NeoSadist wrote:
> Martijn wrote:


>> I am looking for iptables firewall rules for eMule, which accepts all
>> connections and forwards, but I can find anything useful on the net.
>> There are lots of discussions on usenet about rules but I'd rather
>> have a set of rules which will work right away than trying out all
>> suggestions in the discussion threads.


[snip]

> 1) Find what ports eMule uses.


There's a couple of ways to do this. One would be to turn off the firewall
for a few minutes, run eMule and a packet sniffer, and see what ports get
used. It'd probably be a good idea to do it twice, so you can see which
ports (if any) are dynamically assigned.

Ideally, you ought to be able to dig up the docs for eMule and find out from
them; unfortunately, ports used aren't always well-documented.

> 2) Open those to all incoming connections (if you're using stateful, then
> it's state "new", or else include -syn to denote SYN packets).


> 3) P2P sharing of copyrighted materials is against the law and is evil.


Well, actually, it's neither.

--
ZZzz |\ _,,,---,,_ Travis S. Casey <efindel@earthlink.net>
/,`.-'`' -. ;-;;,_ No one agrees with me. Not even me.
|,4- ) )-,_..;\ ( `'-'
'---''(_/--' `-'\_)
Reply With Quote
  #4 (permalink)  
Old 09-09-2004
NeoSadist
 
Posts: n/a
Default Re: eMule and iptables

Travis Casey wrote:

>> 3) P2P sharing of copyrighted materials is against the law and is evil.

>
> Well, actually, it's neither.


As in sharing copyrighted materials P2P without the license to do so. I'm
not going to argue this over usenet because it's already been decided.

--
Only adults have difficulty with childproof caps.

Reply With Quote
  #5 (permalink)  
Old 09-10-2004
Travis Casey
 
Posts: n/a
Default Re: eMule and iptables

NeoSadist wrote:
> Travis Casey wrote:


>>> 3) P2P sharing of copyrighted materials is against the law and is evil.

>>
>> Well, actually, it's neither.

>
> As in sharing copyrighted materials P2P without the license to do so. I'm
> not going to argue this over usenet because it's already been decided.


You didn't say anything about lacking a license. In any case, though, what
you need to share copyrighted files is permission; a license is one way to
obtain that, but not the only one. Whether it's evil, however, is a moral
question, and depends on the moral system in use.

--
ZZzz |\ _,,,---,,_ Travis S. Casey <efindel@earthlink.net>
/,`.-'`' -. ;-;;,_ No one agrees with me. Not even me.
|,4- ) )-,_..;\ ( `'-'
'---''(_/--' `-'\_)
Reply With Quote
  #6 (permalink)  
Old 09-10-2004
Geoffrey King
 
Posts: n/a
Default Re: eMule and iptables

On Fri, 10 Sep 2004 10:00:30 +0000, Travis Casey wrote:

> You didn't say anything about lacking a license. In any case, though, what
> you need to share copyrighted files is permission; a license is one way to
> obtain that, but not the only one. Whether it's evil, however, is a moral
> question, and depends on the moral system in use.


I share Linux ISO's with MLDonkey does that make me evil?

--
A bug in the hand is better than one as yet undetected.

Reply With Quote
  #7 (permalink)  
Old 09-10-2004
Geoffrey King
 
Posts: n/a
Default Re: eMule and iptables

On Thu, 09 Sep 2004 14:41:10 -0600, NeoSadist wrote:

> 1) Find what ports eMule uses.


4662 TCP
4672 UDP

You should be able to change these ports in your client though.

--
B Integer out of range, 0:1

Reply With Quote
  #8 (permalink)  
Old 09-11-2004
NeoSadist
 
Posts: n/a
Default Re: eMule and iptables

Geoffrey King wrote:

> On Fri, 10 Sep 2004 10:00:30 +0000, Travis Casey wrote:
>
>> You didn't say anything about lacking a license. In any case, though,
>> what you need to share copyrighted files is permission; a license is one
>> way to
>> obtain that, but not the only one. Whether it's evil, however, is a
>> moral question, and depends on the moral system in use.

>
> I share Linux ISO's with MLDonkey does that make me evil?


No, but it makes you look stupid because we're talking about something else.
Even then, BitTorrent works better and faster, and is more trustworthy when
coming from the home page of the Linux ISO maker. You must also realize
that P2P has a bad history of people sending each other infected files, so
don't think ISOs are immune to infection, or loss of data integrity as
well.
But anyways, we were talking about something totally different.

--
Death is nature's way of telling you to slow down

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0