Gajim настройка передачи файлов
Gajim = Gajim (is) a Jabber Instant Messenger.
Some users think it means "Gtk Absolute Jabber Instant Messenger", which is quite flattering.
Removing accounts
If you have tried a few servers, creating accounts on each server, you may want to remove the accounts directly from the server from within Gajim. To do this, go to Edit -> Accounts, mark the account you wish to remove and click 'Remove'. You will see a prompt asking you whether to remove the account from the local configuration or if you wish to wipe it off the server as well.
This will only work for servers offering account creation from within Gajim.
I want to be able to choose the language of Gajim
This section is outdated and needs to be revised.
Gajim is translated to lots of different languages. For GNU/Linux systems prefix your Gajim invocation with LC_MESSAGES=YOUR_LOCALE to something like LC_MESSAGES=de_DE gajim . To find a suitable locale, issue locale -a .
For Windows you have to setup an environment variable called LANG with a locale value (e.g. de_DE for german):
- From the desktop, right click My Computer and open Properties. In the System Properties window, click on the Advanced tab.
- In the Advanced section, click the Environment Variables button.
- Finally, in the Environment Variables window, click to add a local variable called LANG and set it to de_DE or the language of your choice.
For more informations on how to set language options (advanced stuff) see this tutorial
Which features (XEPs) does Gajim support?
Gajim supports many features described by XEPs. There is a list of supported XEPs.
Does Gajim support Off The Record encryption (OTR)?
Support for OTR was dropped in Gajim 1.0. There is an OTR plugin for Gajim 0.16, which is based on the Pure Python OTR. Use of this plugin is discuraged, as it is not maintained. The OTR plugin was not ported to Gajim 1.0. Instead, you could use OMEMO or PGP.
Using the created account
When you launch Gajim, you will be asked to enter an account. Choose to use an existing account and enter your login details. If you did everything right, you should receive a welcome message.
Transport setup
Rightclick the account in your contact list and choose discover services.
ICQ
If you want ICQ for example, click Register. Now enter your ICQ login details (your unique user ID and the password you use to login to your ICQ account). The server where you registered earlier will use these credentials to login to an ICQ server and import your contact list and your groups.
You may add a desired IRC channel by choosing the IRC Transport listed under Transports, register, username and your XMPP account password, nickname is optional (if you registered with an IRC server, you may enter your credentials here). You will get an info window telling you that your account has been successfully created, followed by a chat window reading is not a registered nickname.
If you want to specify different ports, passwords, or encodings for IRC servers, fill this list with values in the following format: '' .
YOUR_DESIRED_CHANNEL@IRC TRANSPORT SERVER TO USE
A new Chat window will open showing the desired channel.
The way it works
First of all, the initiator sends a request for a new file transfer, then the recipient of the file should send its response (accept/deny) to the initiator.
In the next step the initiator of the file transfer (sender) posts an iq with its own IP and a list of socks5 proxy servers. Then the recipient tries to establish a direct p2p connection to the sender. If it turns out to be impossible to establish a direct p2p connection, the recipient tries to connect to one of the socks5 proxies he got from the sender. If it succeeds, it notifies the sender about the proxy being used, and the file transfer can begin.
During the file transfer it is possible that the connection to the peer or the socks5 proxy is lost, or one of the peers cancels the transfer. In these cases both peers should be notified that the file transfer cannot be completed.
Does Gajim support OMEMO encryption?
Registration
Click next and Gajim will connect to the desired server. It will provide you with a simple mask to create a new account. Enter your desired username and a new password. Hit next and you wll be prompted that your account has been created successfully. Pressing finish will ask for the password you just specified. After that it will connect to your XMPP server and return a welcome message.
Solving problems
If you find bugs or have ideas on how Gajim can be better, please open an Issue.
Get yourself an XMPP account offering the transport you want.
How do I setup an ICQ transport in Gajim?
I have a problem.
В продолжение темы про настройку файлопередачи - я наконец-то поставил отдельную систему, дал ей внешний динамический IP и попробовал перегонять файлы на различных клиентах - Miranda, Psi+ и QIP Infium. Как я и говорил, настройки в этом случае не требуется никакой, если у компьютера внешний адрес и один шлюз в интернет - то все работает из коробки. Пруфскрины - [1], [2], [3], [4]. Для всех остальных случаев, когда до машины нельзя достучаться "снаружи" (NAT) - используем прокси. В результате настройку просто описывать, принципы просты для понимания пользователю и статьи сводятся к "Jabber-клиент $CLIENTNAME поддерживает $TYPES типы передачи файлов. //* Допустим, там был out of bound и OOB через прокси *// Если у Вашего компьютера внешний IP-адрес, то можно использовать первый способ, настройка при этом обычно не требуется, если же нет - то необходимо использовать прокси-сервер на Вашем сервере либо выбрать один из публичных из списка. Для того, чтобы использовать прокси, bla-bla-bla. " и дальше последовательность нажатий на прилагающихся скриншотах. Для Gajim'a (и подобных предварительно настроенных клиентов) корректировать текст в стиле "Gajim изначально настроен на использование второго способа с использованием прокси. Если же Ваш компьютер имеет внешний адрес в интернет и Вы хотите исключить прокси при передаче файлов либо просто хотите изменить стандартные значения на другие - то bla-bla-bla. " и далее по скриншотам в "Расширенные настройки". --rain 15:50, 9 марта 2009 (UTC)
Т.е. внешний адрес статический, но стоит NAT? H31 15:02, 10 июля 2009 (UTC) Не обязательно статический, просто внешний, но на стороне провайдера что-то типа -A INPUT -j DENY . Иначе говоря, ты не можешь предоставлять никаких сервисов для сети. --Rain 15:15, 10 июля 2009 (UTC) Т.е. оно от NAT'а с практической стороны не отличается? В любом случае, при сканировании портов оно не ответит - так что всё нормально :-) H31 15:53, 10 июля 2009 (UTC) Ну, оно не НАТ, но да, прокси в этом случае должен помочь. Просто юзеры могут путаться - IP вроде как и внешний, а приходится юзать прокси. --Rain 16:57, 10 июля 2009 (UTC)
Название Gajim это аббревиатура, рекурсивный акроним, от "Gajim is a jabber instant messenger" — "Gajim это мессенжер для Jabber"
Gajim - очень простой XMPP/Jabber клиент с богатыми возможностями, интуитивно понятным и приятным интерфейсом.
У Gajim окно чата с закладками, однооконный режим, есть поддержка приглашений, организация конференций (с протоколом MUC) , возможно преобразование чата в конференцию и сокрытие конференции в ростере.
Gajim интегрируется в системном трее (значок настраивается) , показывает всплывающие уведомления, поддерживает установку аватары, автоматическую установку состояния (доступен, нет на месте, занят, не в сети и пр. ) .
Окно чата Gajim имеет проверку орфографии, смайликов, настройки шрифтов и закладки для комнат. Поддерживается передача файлов, ведётся история переписки (есть возможность поиска по истории переписки) .
Gajim поддерживает несколько учётных записей, метаконтакты, есть возможность использования DBus (система межпроцессорного взаимодействия) , XML-консоль, локальную связь (bonjour / zeroconf) .
Имеется обзор доступных сервисов, поиск сервисов (включая узлы) , имеется поддержка TLS, GPG и End-To-End шифрования (и классического SSL) .
Gajim может посылать запросы к Википедии, словарю и поисковой машине.
Между двумя клиентами Gajim , по умолчанию, включается шифрование по алгоритму Диффи-Хеллмана (алгоритм позволяющий двум сторонам получить общий секретный ключ, используя незащищённый от прослушивания, но защищённый от подмены, канал связи) .
Начиная с версии 0.13 в Gajim появилась возможность совершать аудио вызовы, по протоколу Jingle и видеозвонки.
File Transfer support is available since Gajim 0.8. It is implemented by socks5 bytestreams (XEP-0065 and XEP-0096. For information on file transfer over Jingle see: Jingle File Transfer.
The main objective is to provide a way of exchanging files between users over a stream independent of the XMPP servers, thus saving their resources.
Which features (XEPs) does Gajim support?
Gajim supports many features described by XEPs. There is a list of supported XEPs.
Does Gajim support Audio/Video?
This feature is currently not available as it is broken and not maintained.
On GNU/Linux you need python-farstream and gstreamer-plugins-bad packages.
You can always check if your setup would work, by going to Help → Features.
Ctrl + Tab acts in a unique way
Ctrl + Tab is a shortcut key to go to next unread tab or next composing tab if there is no unread tab. You can disable "going to next composing" in the Advanced Configuration Editor.
Gajim opens Folder/Files with the wrong application (Linux)
Check if the correct file/folder handler is configured on your System, if that is the case check
and configure the correct handler for the mimetype.
You can also do this via command line, type gio mime and follow the instructions.
Example: gio mime image/jpeg org.kde.gwenview.desktop
How can I use the Advanced Configuration Editor (ACE)?
Please read our section about the Advanced Configuration Editor. By using ACE you can access additional settings, which are not included in the Preferences window.
Is Gajim able to print the XMPP protocol XML stream it sends and receives?
Yes, it can. In the Main Window go to View → XML Console.
Possible problems and solutions
Until the date of writing this wiki, all socks5 proxy servers suffered from one problem:
It is impossible to send a file over socks5 proxy, if one of the peers contains non ascii characters in his jid or resource. In this case the contact that has a jid or resource containing non ascii characters should change it and relogin to his server. Only after that the transfer can be instantiated.
File transfer port (7777) can be filtered by your ISP:
You can check for filtering by typing one of the following commands:
If a connection cannot be established to any of the hosts then your computer is probably behind a firewall filtering port 7777. You can ask your ISP to open the port to the specific proxies that Gajim uses or you can try to find a proxy that listens on a different port than 7777.
Another posible solution is described below:
You can also open the Advanced Configuration Editor and simply change the value of the key named "file_transfers_port" to an allowed port.
Forward port on your Gateway/Router
If you are behind NAT but you have access to your router, you can forward the port so that your computer is accessible through the translated port on your router. Let's say your internal IP address is 10.10.10.1 and your router's real IP 1.2.3.4, then all you have to do is tell the router to forward all connections to 1.2.3.4 on port 28011 to 10.10.10.1:28011.
After that open Advanced Configuration Editor and change the value of the key named "ft_override_host_to_send" to your real IP address (1.2.3.4), or if you have to the Hostname of your Dynamic DNS-Account.
Sample port forward
Sample port forward from 1.2.3.4:28011 to 10.10.10.1:28011 using iptables:
Disable File Transfer Proxies
Open account preferences and uncheck 'Use file transfer proxies'.
Читайте также: