[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-tasks] [task #4489] Send IP blocking state of servers to GUI

From: spiralvoice
Subject: [Mldonkey-tasks] [task #4489] Send IP blocking state of servers to GUI
Date: Mon, 8 Aug 2005 18:13:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050805 Firefox/1.0.6


                 Summary: Send IP blocking state of servers to GUI
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: spiralvoice
            Submitted on: Mon 08.08.2005 um 18:13
                Category: GUI
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Should Start On: Mon 08.08.2005 um 00:00
   Should be Finished on: Mon 08.08.2005 um 00:00



I am currently working on a patch which will be applied shortly to CVS.
This patch prevents connections to IP blacklisted servers, these
connections make no sense and result in lowid EDK server connects. Telnet and
HTML interface display an info if a server
has a blacklisted IP.

I am planing a new option enable_ip_blocking true|false which
disables IP blocklist *checking* during runtime so it is not
possible to create a new connection state like blocked.

let buf_server proto buf s =
  buf_int buf s.server_num;
  buf_int buf s.server_network;
  if proto < 2 then
    buf_ip buf (Ip.ip_of_addr s.server_addr)
    buf_addr buf s.server_addr;
  buf_int16 buf s.server_port;
  buf_int buf s.server_score;
  buf_list buf buf_tag s.server_tags;
  buf_int64_28 proto buf s.server_nusers;
  buf_int64_28 proto buf s.server_nfiles;
  buf_host_state proto buf s.server_state;
  buf_string buf s.server_name;
  buf_string buf s.server_description;
  if proto > 28 then
    buf_bool buf s.server_preferred

create a new field here which is sent to the GUI
"blocked true|false", its data is filled during runtime and
create a new protocol version. This should be the best solution.


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]