bugmldonkey, a multi-networks file-sharing client - Bugs: bug #18318, bad subnet mask for allowed IPs ?

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18318: bad subnet mask for allowed IPs ?

Submitted by:  Christophe Dumez <cdumez>
Submitted on:  Fri 17 Nov 2006 10:30:24 AM UTC  
 
Category: HTTP interfaceSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Invalid
Assigned to: pango <mlpango>Open/Closed: Closed
Release: CVSRelease: 2.8.1
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: Intel x86

Sat 18 Nov 2006 02:50:00 PM UTC, comment #1:

by specifying 172.20.227.255, in "old MLdonkey notation", you're giving access from 172.20.227.0/24 IPs, or addresses in the range 172.20.227.0-172.20.227.255. That has nothing to do with your network netmask (beside the fact it's a netmask too).

By the way, recent versions of MLdonkey accept both CIDR and ranges notations, so you can use them instead of the old notation (which is becoming deprecated, hence the automatic translation that you noticed).

pango <mlpango>
Project MemberIn charge of this item.
Fri 17 Nov 2006 10:30:24 AM UTC, original submission:

Hi,

When I add some IPs to allowed IPs using web interface, some of them are converted, here is the log:
2006/11/17 11:18:21 [cO] allowed_ips: converted 172.20.227.255 to 172.20.227.0/24

This convertion is not OK because my subnet mask is 255.255.0.0, not 255.255.255.0. I didn't find anywhere in options to set the subnet mask so I supposed it is detected automatically.

root@hydrogen /media/big/mldonkey-distrib-2.8.1 # ifconfig eth0
eth0 Lien encap:Ethernet HWaddr xx:00:E8:16:xx:xx
inet adr:172.20.0.2 Bcast:172.20.255.255 Masque:255.255.0.0
adr inet6: fe80::200:e8ff:fe16:af13/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:857605948 errors:3685 dropped:37665 overruns:3685 frame:3627
TX packets:918875875 errors:608 dropped:0 overruns:0 carrier:608
collisions:0 lg file transmission:1000
RX bytes:2249539281 (2.0 GiB) TX bytes:792834837 (756.1 MiB)
Interruption:177 Adresse de base:0xe000

Christophe Dumez <cdumez>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 18 Nov 2006 02:54:55 PM UTCmlpangoStatusNone=>Invalid
  Open/ClosedOpen=>Closed
Sat 18 Nov 2006 12:55:26 PM UTCspiralvoiceAssigned toNone=>mlpango
Fri 17 Nov 2006 10:30:24 AM UTCcdumezCarbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1