Seja bem vindo ao nosso Blog! (Welcome to our Blog!)

Nesta área nós publicamos algumas dicas e documentações sobre nossos procedimentos de configuração. Fique a vontade para deixar um comentário ou uma sugestão.
In this area we will publish tips and documentation of our configuration procedures. Feel free to leave a comment or suggestion.

Soluções em Tecnologia da Informação

Webmail - RoundCube

RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking. RoundCube Webmail is written in PHP and requires a MySQL or Postgres database. The user interface is fully skinnable using XHTML and CSS 2.

Listar Regras IPTABLES

Para listar corretamente as regras do IPTABLES, utilizar o comando:

iptables -L -n -v

Para listar regras de redirect, nat, pre-routing etc, utilizar o comando:
iptables --list -n -t nat -v

Linux Serial Console HOWTO

Have you ever needed to connect a dumb terminal like a Wyse 50 to a Linux host? Do you need to login to a Linux server from a laptop to perform administrative functions, because there is no monitor or keyboard attached to the server? If you are accustomed to administering routers, switches, or firewalls in this manner, then you may be interested in doing the same with some of your GNU/Linux hosts. This HOWTO will explain, step-by-step, how to setup a serial console for Red Hat 9, although most of it should apply to other distributions as well.

Linux Serial Console HOWTO.

http://znark.com/tech/serialconsole.html

Bem-vindo ao FreeBSD!

FreeBSD é um sistema operacional baseado no 4.4BSD-Lite para computadores Intel ( x86 ), DEC Alpha”, e Sun UltraSPARC®. Versões para outras arquiteturas também estão a caminho. Você também pode ler sobre a história do FreeBSD, ou a versão corrente. Se estiver interessando em contribuir com o projeto (código, equipamento, contas diversas), veja o artigo Contribuindo com o FreeBSD.

via Bem-vindo ao FreeBSD!.

NCURSES Programming HOWTO

How to write a console application to Linux?

The answer: NCURSES

This document is intended to be an “All in One” guide for programming with ncurses and its sister libraries. We graduate from a simple “Hello World” program to more complex form manipulation. No prior experience in ncurses is assumed.

via NCURSES Programming HOWTO .

Vuurmuur

Vuurmuur is a powerful firewall manager built on top of iptables on Linux. It has a simple and easy to learn configuration that allows both simple and complex configurations. The configuration can be fully configured through an Ncurses GUI, which allows secure remote administration through SSH or on the console. Vuurmuur supports traffic shaping, has powerful monitoring features, which allow the administrator to look at the logs, connections and bandwidth usage in realtime.

via Vuurmuur .

IPtables log analizer

IPTables log analizer (TODO : find a nice name for it) displays Linux 2.4 iptables logs (rejected, acepted, masqueraded packets…) in a nice HTML page (it support rough netfilter logs but also Shorewall and Suse Firewall logs).

via IPtables log analizer.

Iptablesrocks was created to provide a publicly available, easy to understand iptables guide & tutorial for the. Iptables is a linux package for managing IPv4 (and optionally IPv6) packet filtering and NAT (Network Address Translation). Iptables can be configured to function as a firewall, a NAT mechanism, a packet filter or all 3 at once. The diversity of capabilities possible with iptables makes it a secure, stable and economical alterative to hardware based firewalls and routers or costly 3rd party firewall software. Iptables can also serve as a rendundant firewall in conjunction with a hardware firewall, providing you with an extra layer of security. Iptablesrocks.org covers the installation of iptables in a Redhat environment, the syntax and structure associated with iptables and a collection a pre-configured iptables configurations for a variety of applications. Enjoy!

via An iptables guide & tutorial - iptablesrocks.org.

Bifrost is a firewall management interface to iptables (iptables GUI).

The system is inspired by Checkpoint and Watchguard firewall management. We looked at the way Checkpoint works with source, destination, action and logging. At the same time, we work with incoming and outgoing traffic in a similar way as Watchguard and PIX Firewalls.

http://bifrost.heimdalls.com/

Managing iptables firewall : TechGuides : Network Admin : ZDNet Asia.

http://bifrost.heimdalls.com/Bifrost.0.9.6.tgz

Quando houver mais de uma interface na máquina e uma for cliente de DHCP quando o DHCP lease time expirar ela irá trocar o default gatetway da máquina.

Para forçar isso nas interfaces, uma alternativa é a seguinte:

Adicionar  ”DEFROUTE=yes”  para /etc/sysconfig/network-scripts/ifcfg-eth0

“No que” testei isso… pau!”

O jeito foi rever as configurações do cliente de dhcp do Fedora (dhclient).

O dhclient tem a opção de executar um script após obter um endereço.
O script é /etc/dhclient-enter-hooks
Então devemos incluir a opção para remover a rota default da interface com IP dinamico:

#touch /etc/dhclient-enter-hooks
#chmod 777 /etc/dhclient-enter-hooks
#vi /etc/dhclient-enter-hooks


#####################
#!/bin/sh
if [ "$interface" = eth0 ]; then
unset new_routers
fi
#####################