| |||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Search | Today's Posts | Mark Forums Read |
| NapShare (Cross-platform) Download Napshare or Neonapster (GnucDNA 1.1.1.6) now A fully automated MUTE Network P2P client made to run 24/7 unattended. Take a nap while it does the work! Supply a list of keywords and it will download overnight, also sharing whatever it gets. Runs natively on Linux, will also run on Windows. Napshare mute p2p file share peer anonymous. |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Sorry, thanks for explaining the problem better. Easy fix: in hosts.c add this line in check_valid_host() if (ip == (guint32) 0xFFFFFFFF) return FALSE; so now it looks like the below (tabs are messed up here). let me know if there are any other problems like this, 255.255.255.255 seems to be the only one that does this. Code: gboolean check_valid_host(guint32 ip, guint16 port)
{
if (!ip || !port) return FALSE; /* IP == 0 || Port == 0 */
if (ip == (guint32) 0x01020304 || ip == (guint32) 0x01010101) return FALSE; /* IP == 1.2.3.4 || IP == 1.1.1.1 */
if ((ip & (guint32) 0xFF000000) == (guint32) 0x00000000) return FALSE; /* IP == 0.0.0.0 / 8 */
if ((ip & (guint32) 0xFF000000) == (guint32) 0x7F000000) return FALSE; /* IP == 127.0.0.0 / 8 */
if ((ip & (guint32) 0xFF000000) == (guint32) 0x0A000000) return FALSE; /* IP == 10.0.0.0 / 8 */
if ((ip & (guint32) 0xFFF00000) == (guint32) 0xAC100000) return FALSE; /* IP == 172.16.0.0 / 12 */
if ((ip & (guint32) 0xFFFF0000) == (guint32) 0xC0A80000) return FALSE; /* IP == 192.168.0.0 / 16 */
if (ip == (guint32) 0xFFFFFFFF) return FALSE; /* IP == 255.255.255.255 */
return TRUE;
} |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xolox network connectin error. | rexmor | User Experience | 0 | August 8th, 2002 08:18 PM |
| Network connection error | Unregistered | Support: General | 0 | June 25th, 2002 06:05 PM |
| it says network connection error | Unregistered | Support: General | 1 | November 26th, 2001 04:50 AM |
| now i am getting a network connction error? | rabb2 | Support: General | 0 | September 20th, 2001 01:08 AM |
| unreachable menu in tray mode | Unregistered | General Windows Support | 1 | September 11th, 2001 02:52 AM |