Zeno Cosini
03-04-2004, 20:18
Ciao ragazzi! Mi spiegate come faccio a fare in modo da poter usare la porta 412 da semplice utente? e magari pure la 411?
Sto impazzendo! Grazias!;)
l.golinelli
04-04-2004, 12:38
Cosa? IPTABLES di usa da ROOT e non da UTENTE... :confused:
Ikitt_Claw
04-04-2004, 12:43
Originariamente inviato da Zeno Cosini
Ciao ragazzi! Mi spiegate come faccio a fare in modo da poter usare la porta 412 da semplice utente? e magari pure la 411?
Sto impazzendo! Grazias!;)
Con GNU/Linux vanilla non si puo` ne` in un senso (usare iptables) ne` nell'altro (avviare i servizi). Devi necessariamente usare i privilegi di root, o quantomeno avere la capability adeguata.
Zeno Cosini
05-04-2004, 20:16
Mmm... Diciamo ok, ho risolto usando porte sopra la 1024 e tutto sembra ok...
Ora qualcuno mi sa spiegare come diavolo avviare un istanza del client direct connect DCTC? Riesco ad avviare dc_gui2, ma ovviamente senza core (DCTC) non va un cacchio!
se digito da shell dctc mi esce una sfilza di "consigli" tipo:
[zeno@Ale zeno]$ dctc
INFO ] ""Direct Connect Text Client v0.85.9|
Usage: dctc [options]
Options:
-h, --help Display this help
-n, --nick=NICKNAME user nickname (default: 'Noname')
-i, --info=INFO user description (default: none)
-c, --cnx=CNX user connection type (default: 'Cable')
-e, --email=EMAIL user e-mail (default: none)
-d, --dlslot=NUM number of download slot (default: 3)
-s, --share=DIR shared directory (default: none)
-o, --offset=NUM add this value to size real size of shared
data (default: 0)
-a, --hostaddr=HOSTIP IP of the host running this client (mandatory
if using active mode)
(default: IP of the first network interface)
-p, --port=PORT localhost port to accept incoming connection
(only in active mode)
(default: 412 (like Direct Connect)). Be
careful, value below 1024 is only allowed to
privileged users (root)
-g, --hubip=HUBIP[:PORT] IP of the hub to connect to. If no port is
given the default port (411) is used
-f, --firewall enable passive mode because host is behind a
firewall (default: not behind a firewall)
-T, --tos=HUB,UDP,DL,UL TOS-Value to use on hub,udp,download,upload
connections. Default values are 0.
-x, --no_xfer Remote users cannot download (same as /DLOFF)
-w, --when_done When download is done, move the file into
done/ directory (same as /DONE).
-t, --no_tty Detach from the tty used by the shell
starting the program
-l, --link Wait a connection on the unix socket before
-m, --mark Add DCTC tag to user description
-Z, --socket_dir=DIR Change the unix socket path (default: ~/.dctc)
starting (only useful with a GUI)
-v, --version=VERSION Force DC version. Modifying this number
doesn't affect DCTC but it allows you to enter
a hub refusing you just because you don't have
the latest version of DC. This DCTC supports
DC protocol version 1,0091
-u, --upload=NUM1,NUM2,NUM3 Bandwidth limit. NUM1 is the number of
512 bytes per second allowed to be sent
NUM2 is the number of 512 bytes per second
allowed to be received. NUM3 is the number
of 8KBytes bloc per second that can be copied
when client gathers GDLs parts.
(default: unlimited [in fact, it is 16MB/s])
Note: this flag is only taken into account
if this client creates the bandwidth limit
semaphore, use /[UDG]BL to change the value
later
-b, --precmd=COMMAND perform the given command BEFORE connecting to
the hub. Not all / commands can be used here,
look at the command list to know which are.
You can run more than one command by using
--precmd for each one. When multiple --precmd
are given, commands are performed in the given
order.
-C, --connectproxy=ADDR[:PORT] address (IP or name) and port of a web proxy
supporting the CONNECT command. The default
port is 8080 if none is provided.
-S, --socksaddr=ADDR address (IP or name) of the SOCKS proxy to use
Default: no SOCKS proxy is used
-P, --socksport=NUM port of the SOCKS proxy. Default: 1080
Only used if -S used
-U, --socksuid=STRING If the SOCKS/Web proxy requires a userID,
this is it. Default: none
-X, --socksv5 Enable SOCKS v5 support. Default: if -S is
used, SOCKS protocol version 4 is used.
-K, --sockspass=STRING If the SOCKS/Web proxy requires a password,
use this flag. Note: if this flag is used,
you MUST also use -U to give a userID.
-D, --virtual_share_dir=DIR Define a directory contains files describing
virtually shared files. (see Docs/Vshare).
Be careful, most of the information you provide can't contain the following
characters because Direct Connect uses them internally: | $
scusate la mia niubbaggine! :muro:
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.