aMule Bug Tracker - aMule
View Issue Details
0001488aMuleServerspublic2009-02-08 20:352009-02-10 18:49
guileless 
 
normalmajoralways
closedwon't fix 
2.2.3 
 
Mac OS X 10.5.5
0001488: ipfilter.dat from emulepawcio.sourceforge.net can not be parsed
The ipfilter.dat file from emulepawcio.sourceforge.net has header lines (starting with #) that cause aMule to fail to parse the file. If I use a text editor to remove these header lines (from the file aMule stores in ~/Library/Application Support/aMule/ipfilter.dat) then aMule can successfully read and parse the file.
So it looks like the code that parses this file in aMule needs to be more paranoid about ignoring these header lines.
2009-02-08 10:32:29: Failed to load ipfilter.dat file '/Users/cwatts/Library/Application Support/aMule/ipfilter.dat', unknown format encountered.

then after I removed the header lines with a text editor:

2009-02-08 11:05:48: Loaded 262759 IP-ranges from '/Users/cwatts/Library/Application Support/aMule/ipfilter.dat'. 0 malformed lines were discarded.
No tags attached.
duplicate of 0001481closed  aMule cannot load IPFILTER that has #comment lines. 
Issue History
2009-02-08 20:35guilelessNew Issue
2009-02-08 20:35guilelessOperating System => Mac OS X 10.5.5
2009-02-10 18:48sturedmanRelationship addedduplicate of 0001481
2009-02-10 18:49sturedmanNote Added: 0003079
2009-02-10 18:49sturedmanStatusnew => closed
2009-02-10 18:49sturedmanResolutionopen => won't fix

Notes
(0003079)
sturedman   
2009-02-10 18:49   
See 1481