Net Stuff – Gilberto – Blog

Archive for the 'Programas' 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!

*/

MM mIRC Script pOr PiCkSiE


Enero 21st, 2010

El siguiente script es basico solo con algunos colorcitos y cosas:

http://d-party.com/netstuff/MM-mIRC-Script-By-PiCkSiE-2.rar

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

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

    Efecto 2038 Programacion


    Septiembre 24th, 2009

    En informática, el problema del año 2038 podría causar que una parte del software fallara en ese año.

    El problema afecta a los programas que usen la representación del tiempo basada en el sistema POSIX, que se basa en contar el número de segundos transcurridos desde el 1 de enero de 1970 a las 00:00:00 (ignorando los segundos intercalares).<

    br />
    Compilalo con un compilador que soporte ANSI C.

    bug_2038.c
    ——————————————
    #include
    #include
    #include
    #include

    int main (int argc, char **argv)
    {
    time_t t;
    t = (time_t) 1000000000;
    printf (”%d, %s”, (int) t, asctime (gmtime (&t)));
    t = (time_t) (0×7FFFFFFF);
    printf (”%d, %s”, (int) t, asctime (gmtime (&t)));
    t++;
    printf (”%d, %s”, (int) t, asctime (gmtime (&t)));
    return 0;
    }
    ——————————————

    La salida es:
    1000000000, Sun Sep 9 01:46:40 2001
    2147483647, Tue Jan 19 03:14:07 2038
    -2147483648, Fri Dec 13 20:45:52 1901

    Leer mas …
    http://es.wikipedia.org/wiki/Efecto_2038
    http://www.2038bug.com/
    http://www.2038bug.com/64-bit.html

    Fuente: UnixMexico.Org

    Quiero Ser Hacker


    Septiembre 19th, 2009

    Bueno alguien quiere ser “Hacker

    yo no soy “Hacker” pero tengo unos pockos conocimientos sobre eso.

    Si alguien quiere llegar a serlo yo le aconsejaria:

    1.- Tener gusto por la lectura.

    2.- Tener gusto por la lectura.

    3.- Tener gusto por la lectura.

    4.- Ser curioso, paciente y perseverante.

    5.- Ser curioso, paciente y perseverante.

    6.- Instalar algun sistema operativo *nix y usarlo.

    7.- Instalar y configurar los demonios y clientes mas comunes.

    8.- Aprender algunos lenguajes aunque sea lo basico (C,PHP,JAVA,HTML,JavaScript).

    Eso es para iniciar ya despues tu solo sabras que es lo que quieres hacer cuales son tus metas y retos…. Wink

    Configurar Squid Proxy Transparente


    Septiembre 19th, 2009

    Que es un cache proxy?

    Se trata de un proxy para una aplicación específica; el acceso a la web. Aparte de la utilidad general de un proxy, proporciona una caché para las páginas web y los contenidos descargados, que es compartida por todos los equipos de la red, con la consiguiente mejora en los tiempos de acceso para consultas coincidentes. Al mismo tiempo libera la carga de los enlaces hacia Internet.

    Ventajas

    * Ahorro de Tráfico: Las peticiones de páginas Web se hacen al servidor Proxy y no a Internet directamente. Por lo tanto, aligera el tráfico en la red y descarga los servidores destino, a los que llegan menos peticiones.

    * Velocidad en Tiempo de respuesta: El servidor Proxy crea un caché que evita transferencias idénticas de la información entre servidores durante un tiempo (configurado por el administrador) así que el usuario recibe una respuesta más rápida.
    * Demanda a Usuarios: Puede cubrir a un gran número de usuarios, para solicitar, a través de él, los contenidos Web.

    * Filtrado de contenidos: El servidor proxy puede hacer un filtrado de páginas o contenidos basándose en criterios de restricción establecidos por el administrador dependiendo valores y características de lo que no se permite, creando una restricción cuando sea necesario.

    * Modificación de contenidos: Basándose en la misma función del filtrado, y llamado Privoxy, tiene el objetivo de proteger la privacidad en Internet, puede ser configurado para bloquear direcciones y Cookies por expresiones regulares y modifica en la petición el contenido.

    Desventajas

    * Las páginas mostradas pueden no estar actualizadas si éstas han sido modificadas desde la última carga que realizó el proxy caché.

    Un diseñador de páginas web puede indicar en el contenido de su web que los navegadores no hagan una caché de sus páginas, pero este método no funciona habitualmente para un proxy.

    * El hecho de acceder a Internet a través de un Proxy, en vez de mediante conexión directa, impide realizar operaciones avanzadas a través de algunos puertos o protocolos.

    * Almacenar las páginas y objetos que los usuarios solicitan puede suponer una violación de la intimidad para algunas personas.

    Que es un proxy Transparente?

    Un proxy transparente combina un servidor proxy con NAT de manera que las conexiones son enrutadas dentro del proxy sin configuración por parte del cliente, y habitualmente sin que el propio cliente conozca de su existencia.

    Ejemplo de un Esquema de red con un proxy transparente.
    R4pt0rNet
    Antes que nada necesitamos dos tarjetas de red. una para conectarla a internet ISP y otra que ira conectada a la red local.

    Tambien necesitaremos tener configurado el PF Firewall de no tenerlo configurado hacer lo siguiente.

    Agregamos nuevas opciones a nuestro kernel y necesitaremos recompilarlo.

    # cd /usr/src/sys/i386/conf
    # cp GENERIC R4pt0r
    # ee R4pt0r

    Agregamos estas lineas al nuevo kernel

    options ALTQ
    options ALTQ_CBQ
    options ALTQ_RED
    options ALTQ_RIO
    options ALTQ_HFSC
    options ALTQ_PRIQ

    Checamos la configuracion y lo instalamos
    # config R4pt0r
    # cd ../compile/R4pt0r
    # make cleandepend && make depend
    # make
    # make install

    Completado el proceso Reiniciamos para que carge el sistema el nuevo kernel.

    Editamos /etc/rc.conf para cargar nuestro firewall y activar la opcion para que nuestro FreeBSD actue como Gateway.

    # pf_enable="YES" # Habilitar PF
    # pf_rules="/etc/pf.conf" # las reglas definidas para PF
    # pf_flags="" # additional flags for pfctl startup
    # pflog_enable="YES" # start pflogd
    # pflog_logfile="/var/log/pflog" # pflogd muestra donde ser guardaran los log
    # pflog_flags="" # adiciona flags para pflogd startup
    # gateway_enable="YES" #

    Creamos las reglas para el firewall en /etc/pf.conf para que el trafico pase por el proxy

    int_if="rl1" # Interfaz Interna
    rdr on $int_if inet proto tcp from any to any port 80 -> 127.0.0.1 port 3128

    Refrescamos el firewall con las nuevas reglas.

    # pfctl -f /etc/pf.conf

    Para verificar que las reglas fueron cargadas ejecutar

    # pfctl -s nat

    Ahora instalaremos y configuraremos Squid


    # cd /usr/ports/www/squid
    # make install clean

    Editamos nuevamente /etc/rc.conf para que carge Squid al iniciar el sistema

    squid_enable="YES"

    Editar la configuracion de Squid en /usr/local/etc/squid/squid.conf las principales son estas si cada quien agregara o quitara a su gusto.

    http_port 127.0.0.1:3128 transparent
    cache_mem 50 MB
    cache_dir ufs /usr/local/squid/cache 100 16 256

    En la linea cache_dir ufs /usr/local/squid/cache 100 16 256 el numero 100 es el espacio de disco a usar de cache en este caso son 100 MB .

    Listo tenemos instalado squid solo falta arrancarlo.
    # /usr/local/etc/rc.d/squid start

    Ahora hacemos los cambios necesarios en nuestros equipos cambiando las puerta de enlace por la ip de nuestro servidor, En este caso es 172.16.0.1.

    Instalar MySQL Server Mediante Ports


    Septiembre 19th, 2009

    MySQL ServerComo instalar MySQL Server sin quedar en el intento ya que aveses se pone tedioso aqui una exlicacion para instarlo de la manera mas sencilla



    # cd /usr/ports/databases/mysql51-server
    # make install clean

    Despues de esperar buen rato que dura compilandoce , generamos la base de datos


    # mysql_install_db --user=mysql

    En dado caso que retorne un error ejecutar rehash para refrescar las variables de entorno NOTA: solamente funciona en entorno /bin/tcsh , de no funcionar hacer lo siguiente:


    # cd /var/db/mysql
    # chown -R mysql /var/db/mysql/
    # chgrp -R mysql /var/db/mysql

    Iniciar MySQL Server


    # /usr/local/bin/mysqld_safe -user=mysql &

    Por default no hay contraseña asignada para root en MySQL pero si se quiere seter es de la siguiente manera


    # mysqladmin -u root password TuContrseña

    Cambiar TuContrseña por la contraseña a cambiar.

    Por ultimo para que inicie al arrancar el sistema agregamos a rc.conf



    # echo mysql_enable="YES" >> /etc/rc.con
    f

    Cambiar Clave Webmin – Contraseña


    Septiembre 19th, 2009

    webmin-logo

    /usr/local/lib/webmin/changepass.pl /usr/local/etc/webmin/ <Usuario> <Contraseña>

    Free counter and web stats