taskmldonkey, a multi-networks file-sharing client - Tasks: task #4489, Send IP blocking state of servers...

 
 

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

task #4489: Send IP blocking state of servers to GUI

Submitter:  spiralvoice <spiralvoice>
Submitted:  Mon 08 Aug 2005 06:13:22 PM UTC
   
 
Category:  GUI Priority:  5 - Normal
Status:  Done Assigned to:  su_blanc
Open/Closed:  Closed Should Start On:  Mon 08 Aug 2005 12:00:00 AM UTC
Should be Finished on:  Mon 08 Aug 2005 12:00:00 AM UTC

Discussion

Sun 21 Aug 2005 04:08:03 PM UTC, comment #2: 

Done with patch #4333, thanks to z

spiralvoice <spiralvoice>
Group administrator
Mon 08 Aug 2005 06:19:16 PM UTC, comment #1: 
spiralvoice <spiralvoice>
Group administrator
Mon 08 Aug 2005 06:13:22 PM UTC, original submission:  

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.

guiEncoding.ml

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)
  else
    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.

spiralvoice <spiralvoice>
Group administrator

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-21 spiralvoice Open/ClosedOpen Closed
2005-08-21 spiralvoice StatusNone Done
2005-08-08 spiralvoice Assigned toNone su_blanc

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code