Net Stuff – Gilberto – Blog

Archive for the 'Manual' Category

configurar unrealircd.conf ejemplo


Febrero 2nd, 2010

/*
* example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* $Id: example.conf,v 1.1.1.1.6.1.2.53.2.13 2009/01/03 15:13:58 syzop Exp $
*
* Works for Unreal3.2 and up
*
* Okay guys.  This is the new example.conf. Its look is much like C++, kinda.
* Anyway it is time to go over this.  It’s hard to pick up at first, but
* with some pratice and reading you’ll understand.
*
* Just copy this file to your main unrealircd dir and call it ‘unrealircd.conf’.
*
* NOTE:  All lines, except the opening { line, end in an ;, including the
* closing } line. The IRCd will ignore commented lines.
*
* PLEASE READ doc/unreal32docs.html! The online version is also available at:
* www.vulnscan.org/UnrealIRCd/unreal32docs.html
* It contains a lot information about the configfile: gives information about
* every block, variable, etc..
* If you try to edit this file without reading the documentation properly
* then you are pretty much guaranteed to fail!
*/
/* Type of comments */
#Comment type 1 (Shell type)
// Comment type 2(C++ style)
/* Comment type 3 (C Style) */
#those lines are ignored by the ircd.
/*
* UnrealIRCd supports modules, loading some of them is required.
* You need at least the commands module and a cloaking module.
*/
/* FOR *NIX, uncomment the following 2lines: */
//loadmodule “src/modules/commands.so”;
//loadmodule “src/modules/cloak.so”;
/* FOR Windows, uncomment the following 2 lines: */
loadmodule “modules/commands.dll”;
loadmodule “modules/cloak.dll”;
/*
* You can also include other configuration files.
* help.conf contains all the /helpop text. The badwords.*.conf
* files contain all the badword entries for mode +G…
* spamfilter.conf contains some good rules for current trojans.
* You probably want to include them:
*/
include “help.conf”;
include “badwords.channel.conf”;
include “badwords.message.conf”;
include “badwords.quit.conf”;
include “spamfilter.conf”;
/*
* NEW: me {}
* OLD: M:Line
* me {} defines the name, description and unreal server numeric for
* this server. Syntax is as follows:
* me {
*  name “server.name”;
*  info “Server Description”;
*  numeric (server numeric*);
* };
* If linking, this numeric may not be used by any other server on the network.
*/
me
{
name “irc.x.net”;
info “X NetWork”;
numeric 1;
};
/*
* NEW: admin {}
* OLD: A:Line
* Admin gives information on the server admin. you
* may put as many lines under admin { as you wish.
* Syntax is as follows:
* admin {
*   “first line”;
*   “second line”;
*   [etc]
* };
*/
admin {
“Bob Smith”;
“bob”;
“widely@used.name”;
};
/*
* NEW: class {}
* OLD: Y:line (old was confusing)
* These define settings for classes. A class is a group setting for
* connections. Example, server connections, instead of going to a client’s
* class, you direct it to the server class. Syntax is as follows
* class (class name)
* {
*     pingfreq (how often to ping a user/server in seconds);
*     maxclients (how many connections for this class);
*     sendq (maximum send queue from a connection);
*     recvq (maximum receive queue from a connection [flood control]);
*  };
*/
class           Clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class           Servers
{
pingfreq 90;
maxclients 10; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
/*
* NEW: allow {}
* OLD: I:Line
* This defines allowing of connections…
* Basically for clients, it allows them to connect so you can have some
* control and/or set a password.
* Syntax is as follows:
* allow {
*    ip (ip mask to allow);
*    hostname (host mask);
*    class (class to send them to [see class {}]);
*    password “(password)”; (optional)
*    maxperip (how many connections per ip); (optional)
* };
*/
allow {
ip             *@*.*;
hostname       *@*.*;
class           Clients;
maxperip 5;
};
/* Passworded allow line */
allow {
ip             *@255.255.255.255;
hostname       *@*.passworded.ugly.people;
class           clients;
password “f00Ness”;
maxperip 1;
};
/*
* NEW: allow channel {}
* OLD: chrestrict
* Allows a user to join a channel…
* like an except from deny channel.
* Syntax:
* allow channel {
*   channel “channel name”;
* };
*/
allow           channel {
channel “#WarezSucks”;
};
/*
* NEW: oper {}
* OLD: O:Line
* Defines an IRC Operator
* IRC operators are there to keep sanity to the server and usually keep it
* maintained and connected to the network.
* The syntax is as follows:
* oper (login) {
*     class (class to put them in, if different from I, moves them to new
*                class);
*     from {
*        userhost (ident@host);
*        userhost (ident@host);
*     };
*     flags
*     {
*       (flags here*);
*     };
*     OR
*     flags “old type flags, like OAaRD”;
* };
*/
/* For a list of oper flags, see doc/unreal32docs.html#operblock
* [HIGHLY recommended to read]
*/
oper PiCkSiE {
class           clients;
from {
userhost *@*.*;
};
password “1″;
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* NEW: listen {}
* OLD: P:Line
* This defines a port for the ircd to bind to, to
* allow users/servers to connect to the server.
* Syntax is as follows:
* listen (ip number):(port number)
* {
*   options {
*     (options here);
*   };
* };
* or for a plain
* listen: listen (ip):(port);
*
* NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
*
* That works also.
*/
/* Options for listen:
OLD | NEW
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
* besides numerous high-SSL ports, some people say you should run
* it at 994 because that’s the official SSL port.. but that
* requires root! Besides, port 194 is the official irc port and
* have you ever seen an ircd running on that?
* So, our suggestion is to use port 6697 for SSL, this is used by
* quite some networks and is recognized by for example StunTour.
* You are free to open up as many SSL ports as you want, but
* by (also) using 6697 you help the world standardize a bit ;) .
*/
listen         *:6697
{
options
{
clientsonly;
};
};
listen         *:8067;
listen         *:6667;
/* NOTE: If you are on an IRCd shell with multiple IP’s you are
*       likely to get ‘Address already in use’ errors in your log
*       and the ircd won’t start. This means you MUST bind
*       to a specific IP instead of ‘*’, so for example:
*       listen 1.2.3.4:6667;
*       Obviously, replace the IP with the IP that was assigned to you.
*/
/*
* NEW: link {}
* OLD: C/N:Lines
* This defines an okay for a server connection.
* NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
* Syntax is as follows:
* link (server name)
* {
* username (username, * works too);
* hostname (ip number/hostmask);
* bind-ip (What IP to bind to when connecting, or *);
* port (port to connect to, if any);
* hub (If this is a hub, * works, or servermasks it may bring in);
* [or leaf *;]
* password-connect “(pass to send)”;
* password-receive “(pass we should receive)”;
* class (class to direct servers into);
* options {
* (options here*);
* };
*      // If we use SSL, we can choose what cipher to use in SSL mode
*      // Retrieve a list by “openssl ciphers”, separate ciphers with :’s
*
*      ciphers “DES-CBC3-MD5″;
*
* };
*/
/*
options:
OLD | NEW
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link            hub.mynet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub             *;
password-connect “LiNk”;
password-receive “LiNk”;
class           servers;
options {
/* Note: You should not use autoconnect when linking services */
};
};
/*
*
* NEW: ulines {}
* OLD: U:Line
* U-lines give servers more power/commands, this should ONLY be set
* for services/stats servers and NEVER for normal UnrealIRCd servers!
* Syntax is as follows:
* ulines {
* (server to uline);
* (server to uline);
*  [etc]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* NEW: drpass {}
* OLD: X:Line
* This defines the passwords for /die and /restart.
* Syntax is as follows:
* drpass {
*  restart “(password for restarting)”;
*  die “(password for die)”;
* };
*/
drpass {
restart “I-love-to-restartfsdfdsf”;
die “die-you-stupidxfxfdxf”;
};
/*
* NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have
* as many as you wish.
*
* FLAGS: errors, kills, tkl, connects, server-connects, kline, oper
*
* Syntax:
* log “log file”
* {
*    flags
*    {
*        flag;
*        flag;
*        etc..
*    };
* };
*/
log “ircd.log” {
/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
same log */
maxsize 2097152;
flags {
oper;
kline;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* NEW: alias {}
* OLD: N/A
* This allows you to set command aliases such as /nickserv, /chanserv etc
* FLAGS: services, stats, normal
*
* Syntax:
* alias “name” {
* target “points to”;
* type aliastype;
* };
*
* [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]
*/
// This points the command /nickserv to the user NickServ who is connected to the set::services-server server
/*alias NickServ {
target “NickServ”;
type services;
};*/
// If you want the command to point to the same nick as the command, you can leave the nick entry out
//alias ChanServ { type services; };
// Points the /statserv command to the user StatServ on the set::stats-server server
//alias StatServ { type stats; };
// Points the /superbot command to the user SuperBot
//alias SuperBot { type normal; };
/* Standard aliases */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* NEW: alias {}
* OLD: N/A
* This allows you to set command aliases such as /identify, /services, etc
*
* Syntax:
* alias “name” {
* format “format string” {
* target “points to”;
*              type aliastype;
* parameters “parameters to send”;
* };
* type command;
* };
*/
/* This is shown seperately because even though it has teh same name as the previous directive, it is very
* different in syntax, although it provides a similar function and relys on the standard aliases to work.
*/
/*
alias “identify” {
format “^#” {
target “chanserv”;
type services;
parameters “IDENTIFY %1-”;
};
format “^[^#]” {
target “nickserv”;
type services;
parameters “IDENTIFY %1-”;
};
type command;
};
*/
/* The alias::format directive is a regular expression. The first format matches the /identify command when
* the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY
* %1-. The second format matches then /identify command when the first character is not a #. It then
* passes the command to the nickserv alias with parameters IDENTIFY %1-.
*/
/* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
* parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
* N until the last parameter in the string. You may also specify %n which is replaced by
* the user’s nickname.
*/
/* Standard aliases */
alias “services” {
format “^#” {
target “chanserv”;
type services;
parameters “%1-”;
};
format “^[^#]” {
target “nickserv”;
type services;
parameters “%1-”;
};
type command;
};
alias “identify” {
format “^#” {
target “chanserv”;
type services;
parameters “IDENTIFY %1-”;
};
format “^[^#]” {
target “nickserv”;
type services;
parameters “IDENTIFY %1-”;
};
type command;
};
/* This is an example of a real command alias */
/* This maps /GLINEBOT to /GLINE <parameter> 2d etc… */
alias “glinebot” {
format “.+” {
command “gline”;
type real;
parameters “%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123″;
};
type command;
};
/*
* NEW: tld {}
* OLD: T:Line
* This sets a different motd and rules files
* depending on the clients hostmask.
* Syntax is as follows:
* tld {
*    mask (ident@host);
*    motd “(motd file)”;
*    rules “(rules file)”;
* };
*/
tld {
mask *@*.*;
motd “ircd.motd”;
rules “ircd.rules”;
};
/* note: you can just delete the example block above,
* in which case the defaults motd/rules files (ircd.motd, ircd.rules)
* will be used for everyone.
*/
/*
* NEW: ban nick {}
* OLD: Q:Line
* Bans a nickname, so it can’t be used.
* Syntax is as follows:
* ban nick {
* mask “(nick to ban)”;
* reason “(reason)”;
* };
*/
ban nick {
mask “*C*h*a*n*S*e*r*v*”;
reason “Reserved for Services”;
};
/*
* NEW: ban ip {}
* OLD: Z:Line
* Bans an ip from connecting to the network.
* Syntax:
* ban ip { mask (ip number/hostmask); reason “(reason)”; };
*/
ban ip {
mask 195.86.232.81;
reason “Delinked server”;
};
/*
* NEW: ban server {}
* OLD: Server Q:Line
* Disables a server from connecting to the network.
* if the server links to a remote server, local server
* will disconnect from the network.
* Syntax is as follows:
* ban server {
* mask “(server name)”;
* reason “(reason to give)”;
* };
*/
ban server {
mask eris.berkeley.edu;
reason “Get out of here.”;
};
/*
* NEW: ban user {}
* OLD: K:Line
* This makes it so a user from a certain mask can’t connect
* to your server.
* Syntax:
* ban user { mask (hostmask/ip number); reason “(reason)”; };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason “Idiot”;
};
/*
* NEW: ban realname {}
* OLD: n:Line
* This bans a certain realname from being used.
* Syntax:
* ban realname {
* mask “(real name)”;
* reason “(reason)”;
* };
*/
ban realname {
mask “Swat Team”;
reason “mIRKFORCE”;
};
ban realname {
mask “sub7server”;
reason “sub7″;
};
/*
* NOTE FOR ALL BANS, they may be repeated for addition entries!
*
* NEW: except ban {}
* OLD: E:Line
* This makes it so you can’t get banned.
* Syntax:
* except ban { mask (ident@host); };
* Repeat the except ban {} as many times
* as you want for different hosts.
*/
except ban {
/* don’t ban stskeeps */
mask           *stskeeps@212.*;
};
/*
* NEW: deny dcc {}
* OLD: dccdeny.conf
* Use this to block dcc send’s… stops
* viruses better.
* Syntax:
* deny dcc
* {
*   filename “file to block (ie, *exe)”;
*   reason “reason”;
* };
*/
deny dcc {
filename “*sub7*”;
reason “Possible Sub7 Virus”;
};
/*
* NEW: deny channel {}
* OLD: N/A (NEW)
* This blocks channels from being joined.
* Syntax:
* deny channel {
* channel “(channel)”;
* reason “reason”;
* };
*/
deny channel {
channel “*warez*”;
reason “Warez is illegal”;
};
/*
* NEW: vhost {}
* OLD: Vhost.conf file
* This sets a fake ip for non-opers, or
* opers too lazy to /sethost :P
* Syntax:
*   vhost {
*       vhost (vhost.com);
*       from {
*            userhost (ident@host to allow to use it);
*       };
*       login (login name);
*       password (password);
*   };
*        then to use this vhost, do /vhost (login) (password) in IRC
*/
vhost {
vhost           i.hate.microsefrs.com;
from {
userhost       *@*.image.dk;
};
login           stskeeps;
password        moocowsrulemyworld;
};
/* You can include other configuration files */
/* include “klines.conf”; */
/* Network configuration */
set {
network-name “ROXnet”;
default-server “irc.roxnet.org”;
services-server “services.roxnet.org”;
stats-server “stats.roxnet.org”;
help-channel “#ROXnet”;
hiddenhost-prefix “rox”;
/* prefix-quit “no”; */
/* Cloak keys should be the same at all servers on the network.
* They are used for generating masked hosts and should be kept secret.
* The keys should be 3 random strings of 5-100 characters
* (10-20 chars is just fine) and must consist of lowcase (a-z),
* upcase (A-Z) and digits (0-9) [see first key example].
* HINT: On *NIX, you can run ‘./unreal gencloak’ in your shell to let
*       Unreal generate 3 random strings for you.
*/
cloak-keys {
“aoAr1HnR6gl3sJ7hVz4Zb7×4YwpW”;
“r1HnR6gl3J7hVz4Zb7xoAr1HnR0x”;
“aoAr1HnR6gl3r1HnR6gl3J7h7×3B”;
};
/* on-oper host */
hosts {
local “locop.roxnet.org”;
global “ircop.roxnet.org”;
coadmin “coadmin.roxnet.org”;
admin “admin.roxnet.org”;
servicesadmin “csops.roxnet.org”;
netadmin “netadmin.roxnet.org”;
host-on-oper-up “no”;
};
};
/* Server specific configuration */
set {
kline-address “root@hotmail.com”;
modes-on-connect “+ixw”;
modes-on-oper “+xwgs”;
oper-auto-join “#opers”;
options {
hide-ulines;
/* You can enable ident checking here if you want */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* The minimum time a user must be connected before being allowed to use a QUIT message,
* This will hopefully help stop spam */
anti-spam-quit-message-time 10s;
/* Make the message in static-quit show in all quits – meaning no
custom quits are allowed on local server */
/* static-quit “Client quit”; */
/* You can also block all part reasons by uncommenting this and say ‘yes’,
* or specify some other text (eg: “Bye bye!”) to always use as a comment.. */
/* static-part yes; */
/* This allows you to make certain stats oper only, use * for all stats,
* leave it out to allow users to see all stats. Type ‘/stats’ for a full list.
* Some admins might want to remove the ‘kGs’ to allow normal users to list
* klines, glines and shuns.
*/
oper-only-stats “okfGsMRUEelLCXzdD”;
/* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
throttle {
connections 3;
period 60s;
};
/* Anti flood protection */
anti-flood {
nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
};
/* Spam filter */
spamfilter {
ban-time 1d; /* default duration of a *line ban set by spamfilter */
ban-reason “Spam/Advertising”; /* default reason */
virus-help-channel “#help”; /* channel to use for ‘viruschan’ action */
/* except “#help”; channel to exempt from filtering */
};
};
/*
* Problems or need more help?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
* 3) If you still have problems you can go irc.ircsystems.net #unreal-support,
*    note that we require you to READ THE DOCUMENTATION and FAQ first!
*/

/*

* example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).

* $Id: example.conf,v 1.1.1.1.6.1.2.53.2.13 2009/01/03 15:13:58 syzop Exp $

*

* Works for Unreal3.2 and up

*

* Okay guys.  This is the new example.conf. Its look is much like C++, kinda.

* Anyway it is time to go over this.  It’s hard to pick up at first, but

* with some pratice and reading you’ll understand.

*

* Just copy this file to your main unrealircd dir and call it ‘unrealircd.conf’.

*

* NOTE:  All lines, except the opening { line, end in an ;, including the

* closing } line. The IRCd will ignore commented lines.

*

* PLEASE READ doc/unreal32docs.html! The online version is also available at:

* www.vulnscan.org/UnrealIRCd/unreal32docs.html

* It contains a lot information about the configfile: gives information about

* every block, variable, etc..

* If you try to edit this file without reading the documentation properly

* then you are pretty much guaranteed to fail!

*/

/* Type of comments */

#Comment type 1 (Shell type)

// Comment type 2(C++ style)

/* Comment type 3 (C Style) */

#those lines are ignored by the ircd.

/*

* UnrealIRCd supports modules, loading some of them is required.

* You need at least the commands module and a cloaking module.

*/

/* FOR *NIX, uncomment the following 2lines: */

//loadmodule “src/modules/commands.so”;

//loadmodule “src/modules/cloak.so”;

/* FOR Windows, uncomment the following 2 lines: */

loadmodule “modules/commands.dll”;

loadmodule “modules/cloak.dll”;

/*

* You can also include other configuration files.

* help.conf contains all the /helpop text. The badwords.*.conf

* files contain all the badword entries for mode +G…

* spamfilter.conf contains some good rules for current trojans.

* You probably want to include them:

*/

include “help.conf”;

include “badwords.channel.conf”;

include “badwords.message.conf”;

include “badwords.quit.conf”;

include “spamfilter.conf”;

/*

* NEW: me {}

* OLD: M:Line

* me {} defines the name, description and unreal server numeric for

* this server. Syntax is as follows:

* me {

*  name “server.name”;

*  info “Server Description”;

*  numeric (server numeric*);

* };

* If linking, this numeric may not be used by any other server on the network.

*/

me

{

name “irc.x.net”;

info “X NetWork”;

numeric 1;

};

/*

* NEW: admin {}

* OLD: A:Line

* Admin gives information on the server admin. you

* may put as many lines under admin { as you wish.

* Syntax is as follows:

* admin {

*   “first line”;

*   “second line”;

*   [etc]

* };

*/

admin {

“Bob Smith”;

“bob”;

“widely@used.name”;

};

/*

* NEW: class {}

* OLD: Y:line (old was confusing)

* These define settings for classes. A class is a group setting for

* connections. Example, server connections, instead of going to a client’s

* class, you direct it to the server class. Syntax is as follows

* class (class name)

* {

*     pingfreq (how often to ping a user/server in seconds);

*     maxclients (how many connections for this class);

*     sendq (maximum send queue from a connection);

*     recvq (maximum receive queue from a connection [flood control]);

*  };

*/

class           Clients

{

pingfreq 90;

maxclients 500;

sendq 100000;

recvq 8000;

};

class           Servers

{

pingfreq 90;

maxclients 10; /* Max servers we can have linked at a time */

sendq 1000000;

connfreq 100; /* How many seconds between each connection attempt */

};

/*

* NEW: allow {}

* OLD: I:Line

* This defines allowing of connections…

* Basically for clients, it allows them to connect so you can have some

* control and/or set a password.

* Syntax is as follows:

* allow {

*    ip (ip mask to allow);

*    hostname (host mask);

*    class (class to send them to [see class {}]);

*    password “(password)”; (optional)

*    maxperip (how many connections per ip); (optional)

* };

*/

allow {

ip             *@*.*;

hostname       *@*.*;

class           Clients;

maxperip 5;

};

/* Passworded allow line */

allow {

ip             *@255.255.255.255;

hostname       *@*.passworded.ugly.people;

class           clients;

password “f00Ness”;

maxperip 1;

};

/*

* NEW: allow channel {}

* OLD: chrestrict

* Allows a user to join a channel…

* like an except from deny channel.

* Syntax:

* allow channel {

*   channel “channel name”;

* };

*/

allow           channel {

channel “#WarezSucks”;

};

/*

* NEW: oper {}

* OLD: O:Line

* Defines an IRC Operator

* IRC operators are there to keep sanity to the server and usually keep it

* maintained and connected to the network.

* The syntax is as follows:

* oper (login) {

*     class (class to put them in, if different from I, moves them to new

*                class);

*     from {

*        userhost (ident@host);

*        userhost (ident@host);

*     };

*     flags

*     {

*       (flags here*);

*     };

*     OR

*     flags “old type flags, like OAaRD”;

* };

*/

/* For a list of oper flags, see doc/unreal32docs.html#operblock

* [HIGHLY recommended to read]

*/

oper PiCkSiE {

class           clients;

from {

userhost *@*.*;

};

password “1″;

flags

{

netadmin;

can_zline;

can_gzline;

can_gkline;

global;

};

};

/*

* NEW: listen {}

* OLD: P:Line

* This defines a port for the ircd to bind to, to

* allow users/servers to connect to the server.

* Syntax is as follows:

* listen (ip number):(port number)

* {

*   options {

*     (options here);

*   };

* };

* or for a plain

* listen: listen (ip):(port);

*

* NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;

*

* That works also.

*/

/* Options for listen:

OLD | NEW

S serversonly

C clientsonly

J java

s ssl

* standard

*/

/* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,

* besides numerous high-SSL ports, some people say you should run

* it at 994 because that’s the official SSL port.. but that

* requires root! Besides, port 194 is the official irc port and

* have you ever seen an ircd running on that?

* So, our suggestion is to use port 6697 for SSL, this is used by

* quite some networks and is recognized by for example StunTour.

* You are free to open up as many SSL ports as you want, but

* by (also) using 6697 you help the world standardize a bit ;) .

*/

listen         *:6697

{

options

{

clientsonly;

};

};

listen         *:8067;

listen         *:6667;

/* NOTE: If you are on an IRCd shell with multiple IP’s you are

*       likely to get ‘Address already in use’ errors in your log

*       and the ircd won’t start. This means you MUST bind

*       to a specific IP instead of ‘*’, so for example:

*       listen 1.2.3.4:6667;

*       Obviously, replace the IP with the IP that was assigned to you.

*/

/*

* NEW: link {}

* OLD: C/N:Lines

* This defines an okay for a server connection.

* NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!

* Syntax is as follows:

* link (server name)

* {

* username (username, * works too);

* hostname (ip number/hostmask);

* bind-ip (What IP to bind to when connecting, or *);

* port (port to connect to, if any);

* hub (If this is a hub, * works, or servermasks it may bring in);

* [or leaf *;]

* password-connect “(pass to send)”;

* password-receive “(pass we should receive)”;

* class (class to direct servers into);

* options {

* (options here*);

* };

*      // If we use SSL, we can choose what cipher to use in SSL mode

*      // Retrieve a list by “openssl ciphers”, separate ciphers with :’s

*

*      ciphers “DES-CBC3-MD5″;

*

* };

*/

/*

options:

OLD | NEW

S ssl

Z zip

N/A autoconnect

N/A quarantine

N/A nodnscache

*/

link            hub.mynet.com

{

username *;

hostname 1.2.3.4;

bind-ip *;

port 7029;

hub             *;

password-connect “LiNk”;

password-receive “LiNk”;

class           servers;

options {

/* Note: You should not use autoconnect when linking services */

};

};

/*

*

* NEW: ulines {}

* OLD: U:Line

* U-lines give servers more power/commands, this should ONLY be set

* for services/stats servers and NEVER for normal UnrealIRCd servers!

* Syntax is as follows:

* ulines {

* (server to uline);

* (server to uline);

*  [etc]

* };

*/

ulines {

services.roxnet.org;

stats.roxnet.org;

};

/*

* NEW: drpass {}

* OLD: X:Line

* This defines the passwords for /die and /restart.

* Syntax is as follows:

* drpass {

*  restart “(password for restarting)”;

*  die “(password for die)”;

* };

*/

drpass {

restart “I-love-to-restartfsdfdsf”;

die “die-you-stupidxfxfdxf”;

};

/*

* NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have

* as many as you wish.

*

* FLAGS: errors, kills, tkl, connects, server-connects, kline, oper

*

* Syntax:

* log “log file”

* {

*    flags

*    {

*        flag;

*        flag;

*        etc..

*    };

* };

*/

log “ircd.log” {

/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the

same log */

maxsize 2097152;

flags {

oper;

kline;

connects;

server-connects;

kills;

errors;

sadmin-commands;

chg-commands;

oper-override;

spamfilter;

};

};

/*

* NEW: alias {}

* OLD: N/A

* This allows you to set command aliases such as /nickserv, /chanserv etc

* FLAGS: services, stats, normal

*

* Syntax:

* alias “name” {

* target “points to”;

* type aliastype;

* };

*

* [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]

*/

// This points the command /nickserv to the user NickServ who is connected to the set::services-server server

/*alias NickServ {

target “NickServ”;

type services;

};*/

// If you want the command to point to the same nick as the command, you can leave the nick entry out

//alias ChanServ { type services; };

// Points the /statserv command to the user StatServ on the set::stats-server server

//alias StatServ { type stats; };

// Points the /superbot command to the user SuperBot

//alias SuperBot { type normal; };

/* Standard aliases */

alias NickServ { type services; };

alias ChanServ { type services; };

alias OperServ { type services; };

alias HelpServ { type services; };

alias StatServ { type stats; };

/*

* NEW: alias {}

* OLD: N/A

* This allows you to set command aliases such as /identify, /services, etc

*

* Syntax:

* alias “name” {

* format “format string” {

* target “points to”;

*              type aliastype;

* parameters “parameters to send”;

* };

* type command;

* };

*/

/* This is shown seperately because even though it has teh same name as the previous directive, it is very

* different in syntax, although it provides a similar function and relys on the standard aliases to work.

*/

/*

alias “identify” {

format “^#” {

target “chanserv”;

type services;

parameters “IDENTIFY %1-”;

};

format “^[^#]” {

target “nickserv”;

type services;

parameters “IDENTIFY %1-”;

};

type command;

};

*/

/* The alias::format directive is a regular expression. The first format matches the /identify command when

* the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY

* %1-. The second format matches then /identify command when the first character is not a #. It then

* passes the command to the nickserv alias with parameters IDENTIFY %1-.

*/

/* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a

* parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from

* N until the last parameter in the string. You may also specify %n which is replaced by

* the user’s nickname.

*/

/* Standard aliases */

alias “services” {

format “^#” {

target “chanserv”;

type services;

parameters “%1-”;

};

format “^[^#]” {

target “nickserv”;

type services;

parameters “%1-”;

};

type command;

};

alias “identify” {

format “^#” {

target “chanserv”;

type services;

parameters “IDENTIFY %1-”;

};

format “^[^#]” {

target “nickserv”;

type services;

parameters “IDENTIFY %1-”;

};

type command;

};

/* This is an example of a real command alias */

/* This maps /GLINEBOT to /GLINE <parameter> 2d etc… */

alias “glinebot” {

format “.+” {

command “gline”;

type real;

parameters “%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123″;

};

type command;

};

/*

* NEW: tld {}

* OLD: T:Line

* This sets a different motd and rules files

* depending on the clients hostmask.

* Syntax is as follows:

* tld {

*    mask (ident@host);

*    motd “(motd file)”;

*    rules “(rules file)”;

* };

*/

tld {

mask *@*.*;

motd “ircd.motd”;

rules “ircd.rules”;

};

/* note: you can just delete the example block above,

* in which case the defaults motd/rules files (ircd.motd, ircd.rules)

* will be used for everyone.

*/

/*

* NEW: ban nick {}

* OLD: Q:Line

* Bans a nickname, so it can’t be used.

* Syntax is as follows:

* ban nick {

* mask “(nick to ban)”;

* reason “(reason)”;

* };

*/

ban nick {

mask “*C*h*a*n*S*e*r*v*”;

reason “Reserved for Services”;

};

/*

* NEW: ban ip {}

* OLD: Z:Line

* Bans an ip from connecting to the network.

* Syntax:

* ban ip { mask (ip number/hostmask); reason “(reason)”; };

*/

ban ip {

mask 195.86.232.81;

reason “Delinked server”;

};

/*

* NEW: ban server {}

* OLD: Server Q:Line

* Disables a server from connecting to the network.

* if the server links to a remote server, local server

* will disconnect from the network.

* Syntax is as follows:

* ban server {

* mask “(server name)”;

* reason “(reason to give)”;

* };

*/

ban server {

mask eris.berkeley.edu;

reason “Get out of here.”;

};

/*

* NEW: ban user {}

* OLD: K:Line

* This makes it so a user from a certain mask can’t connect

* to your server.

* Syntax:

* ban user { mask (hostmask/ip number); reason “(reason)”; };

*/

ban user {

mask *tirc@*.saturn.bbn.com;

reason “Idiot”;

};

/*

* NEW: ban realname {}

* OLD: n:Line

* This bans a certain realname from being used.

* Syntax:

* ban realname {

* mask “(real name)”;

* reason “(reason)”;

* };

*/

ban realname {

mask “Swat Team”;

reason “mIRKFORCE”;

};

ban realname {

mask “sub7server”;

reason “sub7″;

};

/*

* NOTE FOR ALL BANS, they may be repeated for addition entries!

*

* NEW: except ban {}

* OLD: E:Line

* This makes it so you can’t get banned.

* Syntax:

* except ban { mask (ident@host); };

* Repeat the except ban {} as many times

* as you want for different hosts.

*/

except ban {

/* don’t ban stskeeps */

mask           *stskeeps@212.*;

};

/*

* NEW: deny dcc {}

* OLD: dccdeny.conf

* Use this to block dcc send’s… stops

* viruses better.

* Syntax:

* deny dcc

* {

*   filename “file to block (ie, *exe)”;

*   reason “reason”;

* };

*/

deny dcc {

filename “*sub7*”;

reason “Possible Sub7 Virus”;

};

/*

* NEW: deny channel {}

* OLD: N/A (NEW)

* This blocks channels from being joined.

* Syntax:

* deny channel {

* channel “(channel)”;

* reason “reason”;

* };

*/

deny channel {

channel “*warez*”;

reason “Warez is illegal”;

};

/*

* NEW: vhost {}

* OLD: Vhost.conf file

* This sets a fake ip for non-opers, or

* opers too lazy to /sethost :P

* Syntax:

*   vhost {

*       vhost (vhost.com);

*       from {

*            userhost (ident@host to allow to use it);

*       };

*       login (login name);

*       password (password);

*   };

*        then to use this vhost, do /vhost (login) (password) in IRC

*/

vhost {

vhost           i.hate.microsefrs.com;

from {

userhost       *@*.image.dk;

};

login           stskeeps;

password        moocowsrulemyworld;

};

/* You can include other configuration files */

/* include “klines.conf”; */

/* Network configuration */

set {

network-name “ROXnet”;

default-server “irc.roxnet.org”;

services-server “services.roxnet.org”;

stats-server “stats.roxnet.org”;

help-channel “#ROXnet”;

hiddenhost-prefix “rox”;

/* prefix-quit “no”; */

/* Cloak keys should be the same at all servers on the network.

* They are used for generating masked hosts and should be kept secret.

* The keys should be 3 random strings of 5-100 characters

* (10-20 chars is just fine) and must consist of lowcase (a-z),

* upcase (A-Z) and digits (0-9) [see first key example].

* HINT: On *NIX, you can run ‘./unreal gencloak’ in your shell to let

*       Unreal generate 3 random strings for you.

*/

cloak-keys {

“aoAr1HnR6gl3sJ7hVz4Zb7×4YwpW”;

“r1HnR6gl3J7hVz4Zb7xoAr1HnR0x”;

“aoAr1HnR6gl3r1HnR6gl3J7h7×3B”;

};

/* on-oper host */

hosts {

local “locop.roxnet.org”;

global “ircop.roxnet.org”;

coadmin “coadmin.roxnet.org”;

admin “admin.roxnet.org”;

servicesadmin “csops.roxnet.org”;

netadmin “netadmin.roxnet.org”;

host-on-oper-up “no”;

};

};

/* Server specific configuration */

set {

kline-address “root@hotmail.com”;

modes-on-connect “+ixw”;

modes-on-oper “+xwgs”;

oper-auto-join “#opers”;

options {

hide-ulines;

/* You can enable ident checking here if you want */

/* identd-check; */

show-connect-info;

};

maxchannelsperuser 10;

/* The minimum time a user must be connected before being allowed to use a QUIT message,

* This will hopefully help stop spam */

anti-spam-quit-message-time 10s;

/* Make the message in static-quit show in all quits – meaning no

custom quits are allowed on local server */

/* static-quit “Client quit”; */

/* You can also block all part reasons by uncommenting this and say ‘yes’,

* or specify some other text (eg: “Bye bye!”) to always use as a comment.. */

/* static-part yes; */

/* This allows you to make certain stats oper only, use * for all stats,

* leave it out to allow users to see all stats. Type ‘/stats’ for a full list.

* Some admins might want to remove the ‘kGs’ to allow normal users to list

* klines, glines and shuns.

*/

oper-only-stats “okfGsMRUEelLCXzdD”;

/* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */

throttle {

connections 3;

period 60s;

};

/* Anti flood protection */

anti-flood {

nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */

};

/* Spam filter */

spamfilter {

ban-time 1d; /* default duration of a *line ban set by spamfilter */

ban-reason “Spam/Advertising”; /* default reason */

virus-help-channel “#help”; /* channel to use for ‘viruschan’ action */

/* except “#help”; channel to exempt from filtering */

};

};

/*

* Problems or need more help?

* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html

* 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!

* 3) If you still have problems you can go irc.ircsystems.net #unreal-support,

*    note that we require you to READ THE DOCUMENTATION and FAQ first!

*/

Instalar Windows XP desde Memoria USB


Enero 19th, 2010

El siguiente tutorial trata acerca de como instalar el sistema operativo Windows XP en una memoria USB (pendrive)

Aqui les dejo la direccion http://www.taringa.net/posts/ebooks-tutoriales/2276712/Instalar-Windows-XP-con-una-memoria-flash-USB.html

Cabe mencionar que una vez que instalen el Windows tendran que editar el archivo boot.ini para corregir por si algo esta mal…

Gamma Panel


Noviembre 14th, 2009

Bueno pues resulta que les contare teniendo en mente que este post sea un poco mas largo de lo normal escrito con mis propias palabras para asi atraer mas usuarios de los buscadores y tener mas visitas y por fin me llege el p00t0 cheque de AdSense de Google lo que pasa fue que tengo un monitor que se ve muy oscuro (es oscuro u obscuro? :| ) entonces muchas cosas no se miraban bien y la solucion fue este programa llamada Gamma Panel si tienen el mismo problema con su monitor instalen eso…

Lo pueden descargar haciendo click aqui Gamma Pannel

Transferir – Pasar -Saldo – Movistar


Noviembre 10th, 2009

Marcas *109#

Saldra el menu y seleccionas la opcion 4 que dice:

Traspaso de Saldo

Introduce lo que se te indica:

Cantidad de saldo a transferir.

Numero al que se le transferira.

Por ultimo debes indicar el PIN y listo.

BitchX – Uso Basico en el IRC – Configurar – Alias


Noviembre 3rd, 2009

El siguiente texto trata sobre el uso basico del BitchX en el IRC solo veremos lo mas importante…

Para conectarse al IRC lo ideal seria hacer esto:

BitchX -n Gilberto irc.metachat.net (El parametro -n es para indicar que nick usara Gilberto Luego el servidor)

Nos conectamos al IRC y hacemos algunos cambios para que no sea muy molesto cada quien sus gustos claro

/set AUTOKICK_ON_VERSION OFF

/set AUTO_AWAY OFF

/set AUTO_JOIN_ON_INVITE OFF

/set FLOOD_PROTECTION OFF

/set FLOOD_WARNING OFF

Creando los alias mas comunes

/alias b { msg botserv say $C $0- }

/alias cs { msg chanserv $0- }

/alias ns { msg chanserv $0- }

/alias ms { msg memoserv $0- }

/alias os { msg operserv $0- }

/alias ja { say hAhAHAhAhahAHAhaHAHahAhAhAHAhAhAjAhAjAjAJAhajAhAjaHahAhAHa }

/alias raw { quote $0- }

Una vez hecho todo eso guardamos los cambios con:

/saveirc -all

Aparecera algo como esto:

ùíù BitchX: IRCII settings saved to /home/Gilberto/.bitchxrc

Para entrar a canales es:

/j NombreDelCanal

Para salir del canal donde estas:

/part

Para cambiar nick:

/nick NuevoNick

Para enviar un mensaje por privado a alguien puedes utilizar el privado (1 a la vez normalmente) o:

/msg Nick Mensaje

Para Utilizar privado con alguien:

/query Nick

Cuando estas en privado con alguien todo lo que escribas se le manda a el para cerrar el privado es:

/query

Para cambiar entre ventanas presiona:

 CTRL+X

Para entrar a un canal donde te hayan invitado (/invite) presiona:

CTRL+X

SlackWare Linux Como Router NAT iptables – How To


Octubre 22nd, 2009

SlackWare Linux Como Router NAT iptables – How To

Configurar la red en el archivo: /etc/rc.d/rc.inet1.conf

Agregar en el archivo /etc/rc.d/rc.local lo siguiente:

iptables -F
iptables -t mangle -F
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j SNAT –to-source 187.149.11.94

echo 1 > /proc/sys/net/ipv4/ip_forward

dhcpd eth1

 

Remplazar 187.149.11.94 por tu IP publica.

Replace 187.149.11.94 with your public IP.

Libro – SlackWare – Book


Octubre 16th, 2009

El libro que todo Slacker debe de tener y en español :)

http://www.slackware-es.com/slackbook/book.html

wget – proxy


Octubre 14th, 2009

Para usar un proxy con el wget necesitamos editar el archivo de configuracion el cual es: /etc/wgetrc

pico /etc/wgetrc

Editamos las siguientes lineas:

use_proxy = on
http_proxy = http://proxy.servidor.com:8080/

BitchX – Proxy


Octubre 14th, 2009

Para usar proxy en el BitchX se hace mediante los siguientes comandos:

/set socks_host proxy.servidor.com

/set socks_port 8080

Luego conectarse al servidor:

/server irc.metachat.net

mIRC – Comandos


Octubre 14th, 2009

Los siguientes son los comandos basicos mas utilizados en el mIRC

Recuerda que todos los comandos van precedidos de la barra “/” y pueden ser ejecutados en cualquier ventana.

Moviéndonos por la Red:

  • /server
    Nos conecta al servidor de IRC.
    Ejemplo: /server irc.metachat.net
  • /nick
    Nos permite cambiar nuestro nick por el que le indiquemos.
    Ejemplo: /nick Groucho
  • /list
    Nos muestra la lista de canales disponibles. Podemos, opcionalmente, indicarle un patrón de búsqueda.
    Ejemplo: /list
    Ejemplo: /list *granada*
  • /join
    Nos permite unirnos a un canal en concreto.
    Ejemplo: /join #Sinaloa
  • /part
    Nos permite salir de un canal en concreto.
    Ejemplo: /part #Culiacan
  • /partall
    Nos permite salir de todos los canales en los que estemos.
  • /hop
    Nos permite salir y volver a entrar de un canal.
  • /quit
    Nos desconecta del servidor de IRC. Podemos, opcionalmente, indicarle un mensaje de salida.
    Ejemplo: /quit
    Ejemplo: /quit Nos vemos en otro momento :)
  • Hablando en la Red:

  • /msg
    Para hablar a un usuario o a un canal.
    Ejemplo: /msg Groucho hola, qué tal ?
    Ejemplo: /msg #Sinaloa hola amigos del canal !
  • /amsg
    Para hablar al mismo tiempo en todos los canales a los que estemos concetados.
    Ejemplo: /amsg hola a todos !quit
  • /notice
    Para mandar un texto en forma de notificación.
    Ejemplo: /notice GloyD hazme caso cuando tengas un momento
  • /me
    Nos permite hablar en tercera persona.
    Ejemplo: /me se va a comer y vuelve dentro de un rato
  • /ame
    Hace lo mismo que el comando anterior, pero en todos los canales a los que estemos conectados.
  • /query
    Abre un privado con el nick que le indiquemos.
    Ejemplo: /query Groucho
  • Solicitando Información:

  • /who
    Nos muestra información sobre un canal en el que estemos o sobre un nick.
    Ejemplo: /who Groucho
    Ejemplo: /who #EpA
  • /whois
    Nos muestra información más específica sobre un nick.
    Ejemplo: /whois Luzdegas
  • /ison
    Nos indica si un nick está conectado o no al IRC.
    Ejemplo: /ison CHaN
  • /help
    Nos muestra la ayuda interna del mIRC.
  • Siendo Operador de un Canal:

  • /mode
    Cambia los modos de un canal.
    Ejemplo: /mode #canal +o Groucho
  • /ban
    Pone un ban al nick o la máscara indicada.
    Ejemplo: /ban #canal quiensea
  • /kick
    Expulsa a un usuario de un canal. Podemos, opcionalmente, indicarle un motivo de expulsión.
    Ejemplo: /kick #canal Pepito
    Ejemplo: /kick #canal Pepito No te quiero en este canal.
  • /invite
    Invita a un usuario a entrar en el canal.
    Ejemplo: /invite DiGGeR #Mexico
  • /topic
    Nos permite cambiar el TOPIC del canal.
    Ejemplo: /topic #canal Hoy hablamos del tiempo :)
  • /omsg
    Permite enviar un mensaje a todos los Operadores del canal.
    Ejemplo: /omsg #canal Atentos, desde este momento moderamos el canal.
  • /onotice
    Permite enviar una notificación a todos los Operadores del canal.
    Ejemplo: /onotice #canal hoy tenemos pocos usuarios !
  • Otros comandos muy usuales:

  • /away
    Nos permite entrar o salir en el sistema de ausencia.
    Ejemplo: /away
    Ejemplo: /away ahora mismo no estoy porque es la hora de comer
  • /ignore
    Permite ignorar a un usuario molesto.
    Ejemplo: /ignore Pepito
  • /dccchat
    Permite abrir una conversación privada con otro usuario.
    Ejemplo: /dccchat Chenon
  • /send
    Permite enviar un archivo a otro usuario.
    Ejemplo: /send
    Ejemplo: /send Groucho cancion.mp3
  • /clear
    Limpia la ventana en la que se ejecuta el comando.
  • /clearall
    Limpia todas las ventanas.
  • /close -m
    Cierra todos los privados que tengas abiertos.
  • /timestamp on/off
    Activa o desactiva la marca de tiempo durante las conversaciones.
  • /log on/off
    Activa o desactiva la grabación de la conversación actual.
  • Fuente: http://www.irc-hispano.es/ayuda/usuario/33-comandos

    Configurar mIRC – Basico


    Octubre 14th, 2009

    El mIRC es uno de los programas más utilizados para realizar conexiones a redes IRC bajo Windows, es un programa gratuito y pese a que se cumplan los 30 días de evaluación se puede seguir utilizándolo sin que se vean limitadas sus funciones. Básicamente es un programa fácil de manejar, altamente configurable y con múltiples opciones de personalización. Posee una página oficial donde se comentan las ultimas modificaciones sufridas por el programa en su ultima versión y ofrece una zona de descarga donde poder adquirirlo, la url oficial del mIRC es: http://www.mirc.com/ también puedes encontrar una página oficial del mIRC en Castellano en: http://www.mirces.com/

    Lo primero que hay que hacer después de instalar el mIRC es configurar los datos básicos para una conexión. Al arrancar el programa nos aparecerá una ventana con los datos del autor y como registrarnos, después de cerrarla nos aparecerá un cuadro de dialogo pidiéndonos los datos para configurar el programa y la conexión. A este cuadro de diálogo podemos acceder también desde la barra de menú, seleccionando tools y después options.

    En los campos que nos aparecen hay que rellenar:

    • Full name:
    • Esta información aparecerá cada vez que alguien nos haga un whois, por lo que a no ser que queramos que todo el mundo sepa nuestro nombre completo, lo rellenaremos poniendo una frase, una palabra que nos guste, o cualquier otra cosa. 

    • E-mail Address:
    • Igual que en el caso anterior esta información puede ser vista por cualquiera mientras estemos conectados, así que, reitero el consejo de antes. Esta vez en formato mi@frase.preferida 

    • Nickname:
    • Aquí pondremos el nick (nombre o alias) con el que queramos ser reconocidos en el IRC. 

    • Alternative:
    • Aquí pondremos otro nick por si el que habíamos elegido en primer lugar ya esta siendo utilizado por otro usuario. 

    • Invisible mode:
    • Si marcamos esta casilla no nos volveremos invisibles para las personas que estén en los mismos canales que nosotros, pero si para aquellos que no estén presentes, aunque si nos verán aquellos que nos tengan en su notify o los que hagan un whois a nuestro nick. 

    • New server Window:
    • Realiza la conexión en el mismo mirc sin cerrar para ello otras conexiones que se encuentren operativas, de esta forma se puede chatear en varios servidores de IRC de forma simultanea.

    El siguiente paso es configurar el servidor de IRC al que queremos acceder, como ya viene configurado por defecto, explicaremos como verlo y seleccionarlo. Lo primero que tenemos que hacer es pulsar sobre Servers, tras lo cual en la lista de servidores que nos aparece buscaremos algun server, pulsaremos sobre el y veremos que nos aparece Random Server, lo seleccionamos y le damos a edit para ver la configuración:

    • Descritption:
    • Una breve reseña que nos facilite identificarlo. Por defecto viene Random Server podemos cambiarlo por otra cosa, por ejemplo pondremos Generico 

    • IRC Server:
    • Servidor al que conectar. Dejaremos el que viene por defecto: irc.metachat.net 

    • Port(s):
    • Puerto al que conectar, por defecto 6667 

    • Group:
    • Esta opción sirve para diferenciar los distintos servidores, en nuestro caso dejaremos IRC-Hispano 

    • Password:
    • Algunos servidores necesitan un password para dar acceso, el nuestro por ahora no, así lo dejaremos en blanco.

    Una vez definidos estos campos pulsaremos sobre el botón OK y ya tendremos el servidor configurado.

    Si nos fijamos habrá cambiado lo de Random Server por Generico que fue lo que pusimos. Si le damos a Select nos ira a la pantalla de Conect y estará debajo de invisible mode el servidor que configuramos, que será al cual conectaremos si le diéramos a Connect, pero eso será luego, cuando terminemos de configurar nuestro mIRC.

    A continuación rellenaremos el apartado de Options:

    • Conect on startup:
    • Esta casilla es mejor dejarla en blanco, sirve para conectarnos directamente al arrancar el programa, al último servidor utilizado y con el último nick usado. 

    • Reconnect on disconnection:
    • Si marcamos esta casilla el programa nos conectará automáticamente cada vez que la conexión se interrumpa, en las mismas condiciones en que estábamos antes. 

    • Pop up dialog on startup:
    • Al marcar esta casilla cada vez que arranquemos el mIRC se nos abrirá automáticamente el cuadro de dialogo del setup. 

    • Move to top of list on conect:
    • Desplaza nuestro server actual al primero de la lista. Cómodo cuando se tienen muchos configurados y se conecta habitualmente solo a dos o tres de ellos. 

    • Check for time out connection:
    • Realiza un ping al servidor cada cierto tiempo para comprobar que seguimos conectados 

    • Preserve nicknames:
    • Evita que se cambien los nicks que aparecen en la ventana de opciones para conectar, aunque se cambiaran mientras estuvimos conectados. 

    • Default port:
    • Será el puerto por el que intentara conectar. Por defecto el 6667.

    Hay otros 3 botones que explicaremos rápidamente para que sirven:

    El botón de Perform sirve para indicar comandos que queremos que se ejecuten al conectar.

    El botón de Retry sirve para configurar los intentos de re-conexion en caso de que se nos caiga la conexion o no logremos conectar, ya viene configurada por defecto.

    El botón de Advanced sirve para configurar el puerto o el rango de puertos que usaremos para enviar por DCC mediante el mIRC, puerto o rango de puertos que tendremos que tener abierto en nuestro router, y que va desde el 1024 al 5000. Si por ejemplo tuviéramos abiertos el 1024 y el 1025 pondríamos en first 1024 y en last 1025.

    El siguiente paso será configurar el Local Info:

    • Local Host:
    • Lo dejaremos en blanco, el programa se encargará de configurarlo cuando conectemos. 

    • IP Address:
    • También en blanco. 

    • On conect, alwais get:
    • Marcaremos la casilla de Local Host. 

    • Lookup Method:
    • Marcaremos la casilla de Server.

    Pasaremos ahora a definir el Identd:

    En este apartado se definirán algunos datos del usuario y de la maquina que usa. Lo más importante es la definición del UserID ya que este dato formara parte de la mascara de usuario que tendremos al conectar a la red de IRC. En caso de no definirlo el programa usara por defecto la primera parte de la dirección de mail que definimos en el primer apartado:

    • Enable Identd server:
    • Da la opción de tener activado el modo de identificación del usuario. 

    • User ID:
    • Identificación del usuario o nombre de la máquina. Se pude poner cualquier palabra o secuencia de letras y símbolos, teniendo en cuenta que ni la letra eñe ni algunos símbolos serán admitidos por todos los servidores, lo que podría impedirnos conectar. 

    • System:
    • Sistema bajo el que trabaja nuestra máquina. No tiene por que ser el real. 

    • Port:
    • Este apartado lo definirá automáticamente el programa dependiendo del sistema real que usemos en nuestro ordenador, no influye el que hayamos definido en el apartado anterior. 

    • Show identd requests:
    • Nos mostrara las peticiones de identificarnos que realice el server sobre nosotros mientras estemos conectados. 

    • Enable only when connecting:
    • Solo activara el Identd en el momento de conectar. 

    • Use ID from email address:
    • Si se va a usar como ID la primera parte de la dirección de email que definimos en Connect

    Lo último que nos queda por configurar es el Firewall, no lo modificaremos y lo dejaremos tal cual.

    Aun se pueden definir muchas mas cosas, para aprender a configurar el resto del mIRC el usuario puede dirigirse a la página oficial del mIRC, en ingles o en castellano. Dirigirse a canales de ayuda que hay en la red o ir probando a ver que pasa.

    Solo hay una cosa más que es importante configurar antes de conectar al IRC, las opciones del DCC, nada hay tan molesto como encontrarnos con archivos que no hemos solicitado en nuestro ordenador y más teniendo en cuenta que algunos pueden ser muy peligrosos, para ello en la barra de menú seleccionaremos DCC.

    • On send request:
    • Seleccionaremos la opción Show get dialog, con lo que antes de aceptar recibir un archivo, el programa nos advertirá y preguntará. 

    • If file exists:
    • Activaremos la opción Resume, lo que hará que cuando nos envíen un archivo que ya tengamos (entero o en parte) lo compruebe y solo recibamos lo que nos falta. 

    • On chat request:
    • Seleccionaremos la opción Show get dialog, con lo que antes de aceptar un chat, el programa nos advertirá e informará.La casilla de Trusted nos permite configurar algunos parametros y usuarios permitidos.

    Ahora ya estamos preparados para conectarnos al IRC y solo nos resta darle al botón Connect que vimos en el primer cuadro de dialogo y comenzar a divertirnos. Suerte!!

    Informacion sobre comandos: http://d-party.com/netstuff/2009/10/mirc-comandos/

    Fuente: http://www.irc-hispano.es/ayuda/usuario/30-mirc

    NeoStats IRC Linux Debian make compilar problema


    Octubre 2nd, 2009

    Estube batallando mucho con Linux Debian queriendo compilar el programa NeoStats es un servidor de IRC para estadisticas y protecciones de la red muy bueno por cierto :) busque informacion en los foros de la pagina oficial y en algunos me decia que lo configurara sin el lenguaje Perl y hacia eso pero seguia sin funcionar total hice varias pendejadas hasta que lei en una pagina que instalara desde bopm que es una aplicacion para monitorear a los clientes haber si utilizan algun servidor proxy para conectarse (se podria decir que ya es obsoleto para cuestiones de seguridad en el IRC) lo instale y ya pude compilar NeoStats

    apt-get install bopm

    Y asunto arreglado espero les sirva lo tengo funcionando con el IRCD Unreal3.2

    wget-ebooks-relato


    Septiembre 24th, 2009

    A continuacion les presento una historia de como le fue muy util a una persona el programa wget y su igenio para poder asi bajar un e-book guardado secuencialmente en un servidor web. (modificado un poco para su mejor entendimiento)

    Andaba buscando libros sobre el Kernel Linux y me encontré uno muy bueno de hecho ya lo había tenido antes pero desgracidamente perdí mi libro.

    El libro en cuestión es “Linux Device Drivers, Third Edition” en cual se encuentra en la siguiente liga http://oreilly.com/catalog/linuxdrive3/book/index.csp.

    Al verlo de nuevo me emocione y por supuesto tenía que tenerlo de vuelta.

    Mi problema es que no quería bajarlo uno por uno dando tantos clicks como fuese necesario por cada capítulo del mismo, así pues me ayude un poco con el comando GNU Wget estos son los pasos que he usado:

    * Primero cheque que había un patron entre ellos, el cual es:

    http://oreilly.com/catalog/linuxdrive3/book/ch01, http://oreilly.com/catalog/linuxdrive3/book/ch02 … http://oreilly.com/catalog/linuxdrive3/book/ch’n',

    terminando con la extensión ‘.pdf’.

    * Luego definí una variable:

    export LDD=”http://oreilly.com/catalog/linuxdrive3/book/ch0″.

    * Confirme que estaba:

    echo $LDD
    * Fije mi secuencia con:

    seq 1 9


    * Y finalmente ejecute:

    for i in `seq 1 9`; do wget -c $LDD$i.pdf; done

    * :-O y segui con el siguiente patrón que es:

    http://oreilly.com/catalog/linuxdrive3/book/ch10, http://oreilly.com/catalog/linuxdrive3/book/ch11 … http://oreilly.com/catalog/linuxdrive3/book/ch’n',

    terminando con la extensión ‘.pdf’.

    * redefini mi variable LDD:

    export LDD=”http://oreilly.com/catalog/linuxdrive3/book/ch”.

    * y ejecute:

    for i in `seq 10 18`; do wget -c $LDD$i.pdf; done

    Ahora están de vuelta :D y vemos cómo es útil este comando GNU Wget el cual tengo en su versión 1.11.4 que viene definido en mi Fedora 10.

    Fuente: UnixMexico.Org

    Procesos sospechosos en el sistema (Virus)


    Septiembre 19th, 2009

    Procesos sospechosos y conexiones:

    En el ms-dos ejecuta:

    netstat -nao

    La opcion “o” es para que muestre el PID (Proccess ID)
    viendo la informacion abres el “Administrador de tareas de Windows” y luego das click en Ver->Seleccionar columnas y activas la casilla que dice: PID para ver los programas con su respectivo PID

    En Linux o FreeBSD es netstat -nap creo o busquen y para los procesos se listan con el comando ps. :)

    Recuperar – Clave – Password – root – Linux – FreeBSD


    Septiembre 19th, 2009

    Arrancas tu PC desde el CD de instalacion de tu Distro y montas la particion de tu Linux en modo rw (ReadWrite)

    mkdir /mnt/linux
    mount /dev/hda1 /mnt/linux
    chroot /mnt/linux

    Editas la linea del usuario root en el archivo: /etc/shadow

    Te saldra algo como esto:

    root:$1$V7SnoEkH$jxEeq23cfDaqEnMJieSaP.:15:0:999:7:::

    Entonces la dejas asi:

    root::15:0:999:7:::

    Guardas los cambios…

    Luego reinicias:

    reboot

    Y al entrar al sistema cuando pongas root en el login automatickamen te entrara o simplemente das enter en el password.

    Luego seteas un password con el comando:

    passwd

    NOTA: Si tu CD de instalacion de tu distribucion no tiene la opcion de salir a la shell para ejecutar comandos o algo asi prueba con una distribucion de tipo: LIVE CD

    MUCHA SUERTE

    Free counter and web stats