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 ?

Submitter:  Christophe Dumez <cdumez>
Submitted:  Fri 17 Nov 2006 10:30:24 AM UTC
   
 
Category:  HTTP interface Severity:  3 - Normal
Item Group:  Program malfunction Status:  Invalid
Assigned to:  mlpango Open/Closed:  Closed
Release:  2.8.1 Release:  CVS
Operating System:  Linux Binaries 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>
Group Member
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-18 mlpango StatusNone Invalid
    Open/ClosedOpen Closed
2006-11-18 spiralvoice Assigned toNone mlpango
2006-11-17 cdumez Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code