This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Help getting two bots link each other

Old posts that have not been replied to for several years.
Locked
R
RItalMan

Help getting two bots link each other

Post by RItalMan »

Hi all !

On a channel, me & a friend have got two eggdrops and we can not exchange their user list.

Module share and transfer are loaded, we have both a dcc port range so that file exchanges are available, mine is running behind a router, his is directly connected to the net.

We have the following configuration for both modules (share & transfer):

Code: Select all

loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 300

loadmodule share
set allow-resync 1
set resync-time 900
set private-global 1
set private-globals "mnot"
set private-user 1
set private-owner 1
I'm running a Debian sid, and he is running a Gentoo, we both use the package and latest version.

Any ideas ? thanks by advance
S
Satras
Voice
Posts: 28
Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany

Post by Satras »

User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Have you uncommented the set nat-ip setting?
R
RItalMan

Post by RItalMan »

Yes we followed the enhancements documentation and I also specified my wan IP in set nat-ip so I wonder why it still does not work ?
S
Satras
Voice
Posts: 28
Joined: Wed Oct 27, 2004 12:16 pm
Location: Germany

Post by Satras »

Any error Message ?
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

ok, so you have an nat-ip...did you comment out set my-hostmask and set my-ip as it says...?

Code: Select all

    set nat-ip "127.0.0.1"
      If you have a NAT firewall (you box has an IP in one of the following
      ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
      10.0.0.0-10.255.255.255 and your firewall transparently changes your
      address to a unique address for your box) or you have IP masquerading
      between you and the rest of the world, and /dcc chat,/ctcp chat or
      userfile sharing aren't working, enter your outside IP here. Do not
      enter anything for my-ip or my-hostname if you use this setting.
Z
Zod

Post by Zod »

YooHoo wrote:ok, so you have an nat-ip...did you comment out set my-hostmask and set my-ip as it says...?

Code: Select all

   Do not
      enter anything for my-ip or my-hostname if you use this setting.
it says not to use those if you use natip
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

:lol: yeah, that's what 'commenting' out a setting means :lol:
I have a few questions regarding your settings for the share module...
you have set private-global set to 1...so your bots will not exchange any global flags at all. You also have set private-user set to 1 as well... to quote eggdrop.conf:

Code: Select all

When sharing user lists, don't accept ANY userfile changes from other bots? Paranoid people should use this feature on their hub bot. This will force all userlist changes to be made via the hub.
set private-user 0
I also am confused with where this set private-owner variable came from...I've searched and searched for this in my own docs, to no avail. Maybe you confused this with the only variable that seems to not be in your conf, set override-bots... :mrgreen: hope this helps you
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

an error message would be helpful.. if nat-ip is set correctly.. and reserved-portrange (the ports the file will be sent on) and it still does not work.. try setting my-ip as well.. to your lan ip
a.k.a. hellios
Locked