Repository 32bit  Forum
Repository 64bit  Wiki

Irssi - connettersi via proxy: porta 80

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la distribuzione usata e la versione della utility coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza dell'ultima regola porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.

Irssi - connettersi via proxy: porta 80

Messaggioda SIV » mar mag 17, 2011 15:33

Ragazzi ho installato (abilitando anche l'opzione proxy) irssi. Qualcuno sa dirmi come posso connettermi (per esempio ad irc.azzurra.org) passando per il proxy dell'università per la porta 80?
Ho provato a dare:
Codice: Seleziona tutto
/load proxy
/set irssiproxy_ports Azzurra=80


Ma nulla:
Codice: Seleziona tutto
15:45 -!- Irssi: Proxy: Listen in port 80 failed: Permesso negato


Ecco anche il mio config:
Codice: Seleziona tutto
servers = (
  { address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; },
  { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
  { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
  { address = "irc.azzurra.org"; chatnet = "Azzurra"; port = "6667"; },
  {
    address = "irc.undernet.org";
    chatnet = "Undernet";
    port = "6667";
  },
  { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
  {
    address = "irc.quakenet.org";
    chatnet = "QuakeNet";
    port = "6667";
  },
  { address = "irc.oftc.net"; chatnet = "OFTC"; port = "6667"; },
  {
    address = "irc.gamesurge.net";
    chatnet = "GameSurge";
    port = "6667";
  },
  { address = "irc.webchat.org"; chatnet = "WebChat"; port = "6667"; },
  { address = "irc.rizon.net"; chatnet = "Rizon"; port = "6667"; },
  { address = "irc.link-net.org"; chatnet = "LinkNet"; port = "6667"; },
  { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; }
);

chatnets = {
  IRCnet = {
    type = "IRC";
    max_kicks = "4";
    max_msgs = "5";
    max_whois = "4";
    max_query_chans = "5";
  };
  EFNet = {
    type = "IRC";
    max_kicks = "4";
    max_msgs = "3";
    max_whois = "1";
  };
  Undernet = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  DALnet = {
    type = "IRC";
    max_kicks = "4";
    max_msgs = "3";
    max_whois = "30";
  };
  QuakeNet = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  OFTC = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  GameSurge = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  WebChat = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  Rizon = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  LinkNet = {
    type = "IRC";
    max_kicks = "1";
    max_msgs = "3";
    max_whois = "30";
  };
  SILC = { type = "SILC"; };
  Azzurra = { type = "IRC"; };
};

channels = (
  { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
  { name = "silc"; chatnet = "silc"; autojoin = "No"; }
);

aliases = {
  J = "join";
  WJOIN = "join -window";
  WQUERY = "query -window";
  LEAVE = "part";
  BYE = "quit";
  EXIT = "quit";
  SIGNOFF = "quit";
  DESCRIBE = "action";
  DATE = "time";
  HOST = "userhost";
  LAST = "lastlog";
  SAY = "messaggio *";
  WI = "whois";
  WII = "whois $0 $0";
  WW = "whowas";
  W = "who";
  N = "names";
  M = "messaggio";
  T = "topic";
  C = "clear";
  CL = "clear";
  K = "kick";
  KB = "kickban";
  KN = "knockout";
  BANS = "ban";
  B = "ban";
  MUB = "unban *";
  UB = "unban";
  IG = "ignore";
  UNIG = "unignore";
  SB = "scrollback";
  UMODE = "mode $N";
  WC = "window close";
  WN = "window new hide";
  SV = "say Irssi $J ($V) - http://irssi.org/";
  GOTO = "sb goto";
  CHAT = "dcc chat";
  RUN = "SCRIPT LOAD";
  CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
  SBAR = "STATUSBAR";
  INVITELIST = "mode $C +I";
  Q = "QUERY";
  "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
  EXEMPTLIST = "mode $C +e";
  ATAG = "WINDOW SERVER";
  UNSET = "set -clear";
  RESET = "set -default";
};

statusbar = {
  # formats:
  # when using {templates}, the template is shown only if it's argument isn't
  # empty unless no argument is given. for example {sb} is printed always,
  # but {sb $T} is printed only if $T isn't empty.

  items = {
    # start/end text in statusbars
    barstart = "{sbstart}";
    barend = "{sbend}";

    topicbarstart = "{topicsbstart}";
    topicbarend = "{topicsbend}";

    # treated "normally", you could change the time/user name to whatever
    time = "{sb $Z}";
    user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";

    # treated specially .. window is printed with non-empty windows,
    # window_empty is printed with empty windows
    window = "{sb $winref:$tag/$itemname{sbmode $M}}";
    window_empty = "{sb $winref{sbservertag $tag}}";
    prompt = "{prompt $[.15]itemname}";
    prompt_empty = "{prompt $winname}";
    topic = " $topic";
    topic_empty = " Irssi v$J - http://www.irssi.org";

    # all of these treated specially, they're only displayed when needed
    lag = "{sb Lag: $0-}";
    act = "{sb Act: $0-}";
    more = "-- more --";
  };

  # there's two type of statusbars. root statusbars are either at the top
  # of the screen or at the bottom of the screen. window statusbars are at
  # the top/bottom of each split window in screen.
  default = {
    # the "default statusbar" to be displayed at the bottom of the window.
    # contains all the normal items.
    window = {
      disabled = "no";

      # window, root
      type = "window";
      # top, bottom
      placement = "bottom";
      # number
      position = "1";
      # active, inactive, always
      visible = "active";

      # list of items in statusbar in the display order
      items = {
        barstart = { priority = "100"; };
        time = { };
        user = { };
        window = { };
        window_empty = { };
        lag = { priority = "-1"; };
        act = { priority = "10"; };
        more = { priority = "-1"; alignment = "right"; };
        barend = { priority = "100"; alignment = "right"; };
      };
    };

    # statusbar to use in inactive split windows
    window_inact = {
      type = "window";
      placement = "bottom";
      position = "1";
      visible = "inactive";
      items = {
        barstart = { priority = "100"; };
        window = { };
        window_empty = { };
        more = { priority = "-1"; alignment = "right"; };
        barend = { priority = "100"; alignment = "right"; };
      };
    };

    # we treat input line as yet another statusbar :) It's possible to
    # add other items before or after the input line item.
    prompt = {
      type = "root";
      placement = "bottom";
      # we want to be at the bottom always
      position = "100";
      visible = "always";
      items = {
        prompt = { priority = "-1"; };
        prompt_empty = { priority = "-1"; };
        # treated specially, this is the real input line.
        input = { priority = "10"; };
      };
    };

    # topicbar
    topic = {
      type = "root";
      placement = "top";
      position = "1";
      visible = "always";
      items = {
        topicbarstart = { priority = "100"; };
        topic = { };
        topic_empty = { };
        topicbarend = { priority = "100"; alignment = "right"; };
      };
    };
  };
};
settings = {
  core = { real_name = "Unknown"; user_name = "muller"; nick = "SIV"; };
  "fe-text" = { actlist_sort = "refnum"; };

  proxy = { irssiproxy_ports = "Azzurra=80"; };
};


P.S.
Il proxy universitario prevede un indirizzo server ed una porta, non è che devo specificare anche il server? Ma come?
Avatar utente
SIV
Linux 2.6
Linux 2.6
 
Messaggi: 911
Iscritto il: mer apr 25, 2007 14:07
Località: Bari (Provincia)
Distribuzione: ArchLinux

Re: Irssi - connettersi via proxy: porta 80

Messaggioda Plaoo » mar mag 17, 2011 21:04

Guarda io da chiavetta mi creo un proxy su una free-shell per scaricare più veloce. mi connetto ssh alla shell e poi impostando il router e jdownloader riesco a scaricare come se non esistessero i filtri. Prova allo stesso modo. Se vuoi chiarimenti basta chiedere.
Il canale ufficiale di slacky.eu si trova sui server irc.syrolnet.org canale #slackware
Avatar utente
Plaoo
Linux 2.6
Linux 2.6
 
Messaggi: 809
Iscritto il: gio apr 10, 2008 17:40
Località: Ittiri (SS)
Slackware: 14 64
Kernel: 3.2.9
Desktop: KDE

Re: Irssi - connettersi via proxy: porta 80

Messaggioda SIV » mar mag 17, 2011 21:53

Decisamente! Non ho capito nulla!! :thumbright: :thumbright:
Avatar utente
SIV
Linux 2.6
Linux 2.6
 
Messaggi: 911
Iscritto il: mer apr 25, 2007 14:07
Località: Bari (Provincia)
Distribuzione: ArchLinux

Re: Irssi - connettersi via proxy: porta 80

Messaggioda notsafe » mer mag 18, 2011 10:15

notsafe
Linux 2.4
Linux 2.4
 
Messaggi: 447
Iscritto il: mar mar 21, 2006 12:00

Re: Irssi - connettersi via proxy: porta 80

Messaggioda SIV » mer mag 18, 2011 15:20

notsafe ha scritto:http://www.irssi.org/documentation/startup#c10

Ci avevo già provato, ma con scarsi risultati...
Avatar utente
SIV
Linux 2.6
Linux 2.6
 
Messaggi: 911
Iscritto il: mer apr 25, 2007 14:07
Località: Bari (Provincia)
Distribuzione: ArchLinux

Re: Irssi - connettersi via proxy: porta 80

Messaggioda Plaoo » mer mag 18, 2011 19:03

Allora non so bene se potrebbe funzionare su irssi, ma vale la pena provare.
1) Modifica il portfowarding del router aprendo la porta da te richiesta (da quello che ho capito la porta 80)
2) Collegati alla shell (oppure alla rete dell uni) con shh -D [PORTA] [SERVER]
3) Modifica irssi per collegarsi alla [PORTA] e localhost
PROVA!!!
Il canale ufficiale di slacky.eu si trova sui server irc.syrolnet.org canale #slackware
Avatar utente
Plaoo
Linux 2.6
Linux 2.6
 
Messaggi: 809
Iscritto il: gio apr 10, 2008 17:40
Località: Ittiri (SS)
Slackware: 14 64
Kernel: 3.2.9
Desktop: KDE

Re: Irssi - connettersi via proxy: porta 80

Messaggioda SIV » gio mag 19, 2011 0:10

Scusa ma come metto mani al router della facoltà?! Forse mi sono spiegato male io o forse non ho capito...
Avatar utente
SIV
Linux 2.6
Linux 2.6
 
Messaggi: 911
Iscritto il: mer apr 25, 2007 14:07
Località: Bari (Provincia)
Distribuzione: ArchLinux

Re: Irssi - connettersi via proxy: porta 80

Messaggioda joe » gio mag 19, 2011 10:23

Ci deve essere un modo più semplice, però volendo se riesci ad instaurare un tunnel ssh verso un PC esterno alla rete della facoltà (tipo a casa tua, di solito è la situazione tipo...) allora da li fai poi quello che vuoi e irssi lo potrai usare in remoto sul tuo pc di cas a ma dall'università... non so se mi sono spiegato.
Tempo fa avevo provato anch'io per bypassare un proxy della tim (wap). Avevo ottenuto un account presso un servizio di free-shell, in pratica ti danno un po' di spazio su una macchina e un po' di cpu e ram, sulla macchina girava già un SO, no ricordo se fosse debian o addirittura slack o altro comunque *nix. In ogni caso da lì davano accesso a IRC, per cui io mi connettevo alla mia shell remota via ssh (byoassando eventuali proxies) e da li avviavo irssi (installato su quel server remoto) e mi connettevo a irc attraverso la loro connessione ad internet.

Ma come ti ho detto ci deve essere un modo più spiccio. Per esempio chiedere all'admin o informarsi per vie traverse direttamente in facoltà.
Avatar utente
joe
Master
Master
 
Messaggi: 1767
Iscritto il: ven apr 27, 2007 11:21
Slackware: 13.1
Kernel: 2.6.33.4-smp
Desktop: kde-4.4.3
Distribuzione: Slackware

Re: Irssi - connettersi via proxy: porta 80

Messaggioda notsafe » gio mag 19, 2011 12:20

scusate..ma non capisco dov'è 'sta complessita.

Partendo dal presupposto che sia un proxy web,e partendo dal presupposto (tutto da verificare) che non ci siano ACL particolari per connessioni IRC
Codice: Seleziona tutto
/SET use_proxy ON
/SET proxy_address <Proxy host address>
/SET proxy_port <Proxy port>


+

Codice: Seleziona tutto
/SET -clear proxy_password
/EVAL SET proxy_string CONNECT %s:%d HTTP/1.0\n\n
notsafe
Linux 2.4
Linux 2.4
 
Messaggi: 447
Iscritto il: mar mar 21, 2006 12:00


Torna a Gnu/Linux in genere

Chi c’è in linea

Visitano il forum: Nessuno e 0 ospiti