Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Seeking File Server script that uses /dcc send <ip> format

80 views
Skip to first unread message

Rodent

unread,
Jan 25, 2002, 12:33:20 PM1/25/02
to
Hello all,

I'm trying to find a File Server script that will send files using a command
similar to the "/dcc send <ip address>" command line.

I am running mIRC from behind a firewall where I work. Company policy is to
not open up any port ranges for personal use, for security reasons.

Within mIRC, if I type in "/dcc send" and then the receiving user's IP
address, the file will send perfectly fine, as long as the DCC Server
options are enabled on the receiver's side. I simply wish to find a way to
have this process automated in a file server type of script, so that I do
not have to keep checking in to see if anyone is requesting a file.

The XDCC manager works for listing the available files to the user, but will
not initiate a send of the file.

I realize that such the script would require that a DNS Lookup or Resolve IP
type of command must succeed first, but that should at least work for a
majority of the people I encounter.

Thanks for any help.

Rodent

Lord^Dave

unread,
Jan 26, 2002, 1:55:17 AM1/26/02
to
"Rodent" <i_am_...@hotmail.com> wrote in message
news:lug48.399$Dg1.14...@news.netcarrier.net...

you shouldnt need a dns lookup

hit the www.mircscripts.org website, if you cant find one there email me and
i might make ya one

Rodent

unread,
Jan 26, 2002, 7:21:11 PM1/26/02
to
Thanks Lord^Dave,

I'll take a look at that site to see what I can find.

The reason I suggested the need for a DNS lookup was because if I use the
shortcut method of clicking on a user's nick, and selected the DCC / Send
option, it doesn't work. The user receives a message box that I am trying
to send a file, but a connection never goes through.

The only way I've gotten it to work was to manually type in
/dcc send <ip address>

For some reason, the menu option to DCC send a file does not use the same
process; using the other user's Nick name instead, and not correctly
processing the IP connections.

Rodent


"Lord^Dave" <acid...@wn.com.au> wrote in message
news:3c53...@quokka.wn.com.au...

Kyle Hutchins

unread,
Jan 27, 2002, 1:19:14 AM1/27/02
to
"Rodent" <i_am_...@hotmail.com> wrote:
> The reason I suggested the need for a DNS lookup was because if I use the
> shortcut method of clicking on a user's nick, and selected the DCC / Send
> option, it doesn't work. The user receives a message box that I am trying
> to send a file, but a connection never goes through.
>
> The only way I've gotten it to work was to manually type in
> /dcc send <ip address>
>
> For some reason, the menu option to DCC send a file does not use the same
> process; using the other user's Nick name instead, and not correctly
> processing the IP connections.

Right, this is the difference between "normal" DCC and mIRC's DCC server.
If you specify a nickname, the DCC request (not the actual connection) is
sent in a CTCP request to the receiving client. This CTCP includes the
sender's IP address, port number for the DCC connection, etc. Once the
client gets this, if he accepts, _he_ connects to the _server_ on the port
you told him to. Obviously, since you can't listen on a port, this isn't
going to work.

DCC server works differently in that the _sender_ connects to the _receiver_
on his DCC port (59 by default). (Nothing is sent through the IRC server at
all in this case.) This requires no reverse connections, so this method
works for you. Unfortunately, this DCC server method is unique to mIRC, so
many people cannot use it. Still, at least it gives you an option.

If you find a script that works well for you but sends with the "nickname,"
it should be trivial to adjust it to use the IP address instead. (You can
actually just use the hostmask in the /dcc command; it will resolve it for
you.) I'd he happy to help you make the proper changes, but normally it's
just a matter of changing "$nick" to "$site" in the script.

HTH,

--Kyle


Rodent

unread,
Jan 29, 2002, 8:31:20 AM1/29/02
to

"Kyle Hutchins" <dru...@cox.n3t> wrote in message
news:CZM48.3318$zR3.2...@news2.east.cox.net...

Thanks for all of the information, Kyle. I had suspected that any solution
found would be limited to other mIRC users, from trying to do earlier
research on where the problem might be, and what solutions might be out
there. Since the majority of the user's I know do use a mIRC script, it is
an option that is better than nothing.

Currently, I use Polaris SE as my mIRC script. I took a look through the
script and I have to admit that I'm at a loss as to where to begin trying to
find what would need to be changed. While I've done programming, I've never
done anything like what is happening in these scripts, and I'm not exactly
sure where things start in there. Unfortunately, I haven't had the time to
sit down and really look into learning it yet.

The main problem I have to start with, is trying to get everything to be
automated so I do not have to be present to initiate the file sends, as is
done when running an fserve. Right now, no connection will be made when
another user types the trigger to an fserve setup. Among all of the INI
files included with the script, I'm not sure which ones are run in which
order, to accomplish which tasks. Then, once this chat connection is
established and working, the next problem of the actual sending of the file
comes into play.

I'd greatly appreciate any help that could be given to resolve this problem.
It's simply been frustrating me since the firewall was installed about 6
months ago. I am simply surprised that none of the dozens of scripts I've
installed and tried have ever addressed this situation, considering the
rapid growth of firewall usage and security issues.

Thanks again.

Rodent

Kyle Hutchins

unread,
Jan 31, 2002, 2:08:45 PM1/31/02
to
"Rodent" <i_am_...@hotmail.com> wrote:
> Currently, I use Polaris SE as my mIRC script. I took a look through the
> script and I have to admit that I'm at a loss as to where to begin trying
to
> find what would need to be changed. While I've done programming, I've
never
> done anything like what is happening in these scripts, and I'm not exactly
> sure where things start in there. Unfortunately, I haven't had the time
to
> sit down and really look into learning it yet.

If you would send me a copy of the script you have (via e-mail:
dru...@cox.net), I'd be happy to make the necessary modifications for you.
I found a copy of Polaris 2.04 from its official website, but couldn't find
anything about an "SE" version.

> The main problem I have to start with, is trying to get everything to be
> automated so I do not have to be present to initiate the file sends, as is
> done when running an fserve. Right now, no connection will be made when
> another user types the trigger to an fserve setup. Among all of the INI
> files included with the script, I'm not sure which ones are run in which
> order, to accomplish which tasks.

Generally, the INI files that come with scripts aren't "run" manually, but
rather loaded into mIRC's aliases, popups, and remotes sections. Since I
cannot provide any technical support for the script -- I have no experience
with it --, I would recommend reading its documentation for installation
instructions.

--Kyle


B Kelley

unread,
Feb 4, 2002, 12:53:01 PM2/4/02
to
There are a few scripts that can be used in conjunction with firewalls.
I know that Sysreset and Fireserv do this via the dccserver on a specific
port. There is one script called GreyScript that has a function in it to do
a dcc send via an ip for people behind firewalls.

Dont know where the first two are found at but GreyScript can be found at
www.grey-earth.com under downloads. This script is in a release one phase
but it still works for what your needing it to.
Hope this helps in what ur needing.
Barbara


Rodent

unread,
Feb 5, 2002, 12:34:21 PM2/5/02
to

"B Kelley" <bke...@charter.net> wrote in message
news:u5ti5im...@corp.supernews.com...

Thanks Barbara,

I haven't quite figured out how to configure grey-earth yet, the menu's not
quite taking me to any really user-friendly screens for setting up the
options of an fserve. I found a copy of Fireserv and tried that out. It is
allowing a user to connect through a DCC chat when they type in the trigger,
but nothing else happens. There seems to be no File Server functions
enabled. I'll probably send an email to the creator of that script, asking
where the problem might be.

Though I haven't gotten it to quite work yet, I am closer than I was before
your suggestions. Thanks again.

Rodent

0 new messages