On 2/6/08, C Sights <[EMAIL PROTECTED]> wrote: > Hi, > It would be nice if the debtorrent-client had a configuration option > to allow > apt connections only from local network connections. I think this would be > similar to the debtorrent-tracker option "only_local_override_ip". (This can > currently be configured by specifying network masks.)
That tracker option is different, it specifies whether a peer can override the IP address the tracker sees for it and specify one in the request instead, and says that only peers on local IPs can do that. The option you want is I think already available. I haven't tested this yet, but you could try setting the 'apt_bind' option in the config file to "127.0.0.1". That should cause debtorrent to only listen for local requests (I think). That's the simplest way, but if that doesn't work, you could use the 'allowed_ips' option. You'll have to set it to a filename, and then in that file put a line like 127.0.0.0/16 You'll have to restart DebTorrent after any config file changes to see if it works. Please let me know if it does work for you, and which one. If it doesn't I'll look into it further. Thanks, Cameron -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]