[FUG-BR] [1/2 - OT] Revisão no tutorial do C entreon com Freebsd 7
Boa noite a todos, Eu fiz uma revisão no meu tutorial de instalação do Centreon no FreeBSD Agora ele é documentado no FreeBSD 7 e fiz uma penca de correções e ainda postei algumas alterações para um funcionamento minimo com uso de gráficos. Espero que ajude. http://www.luizgustavo.pro.br/doku.php?id=artigos_freebsd:centreon Abraços a todos -- Luiz Gustavo - BSD/Linux User <===\ <===|=== www.luizgustavo.pro.br === <===/ ICQ: 2890831 / MSN: [EMAIL PROTECTED] - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
[FUG-BR] Erro de Compilação do Kernel no FreeB SD 6.2 Release.
Olá Lista, Pouco escrevo para a lista mais acompanho diariamente os assuntos nela discutido. Bom vim a escrever dessa vez pois não consigo resolver um problema com a compilação do kernel. Versão do Sistema: FreeBSD 6.2 Release, e depois com cvsup para p9 Segue o Erro, para melhor comprenssão e junto o arquivo de configuração do kernel. Retorno do erro de compilação. MAKE=make sh /usr/src/sys/conf/newvers.sh ALICEBSD cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c linking kernel ieee80211_crypto_ccmp.o(.text+0x8b): In function `ccmp_setkey': : undefined reference to `ieee80211_note' ieee80211_crypto_ccmp.o(.text+0x8de): In function `ccmp_decap': : undefined reference to `ieee80211_notify_replay_failure' ieee80211_crypto_ccmp.o(.text+0xbd7): In function `ccmp_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_ccmp.o(.text+0xcae): In function `ccmp_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_ccmp.o(.text+0xcf3): In function `ccmp_modevent': : undefined reference to `ieee80211_crypto_unregister' ieee80211_crypto_ccmp.o(.text+0xd06): In function `ccmp_modevent': : undefined reference to `ieee80211_crypto_register' ieee80211_crypto_tkip.o(.text+0x87): In function `tkip_setkey': : undefined reference to `ieee80211_note' ieee80211_crypto_tkip.o(.text+0x7d5): In function `tkip_encap': : undefined reference to `ieee80211_note' ieee80211_crypto_tkip.o(.text+0xc95): In function `tkip_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_tkip.o(.text+0xcd9): In function `tkip_decap': : undefined reference to `ieee80211_notify_replay_failure' ieee80211_crypto_tkip.o(.text+0xd08): In function `tkip_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_tkip.o(.text+0xe8b): In function `tkip_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_tkip.o(.text+0x1499): In function `tkip_demic': : undefined reference to `ieee80211_notify_michael_failure' ieee80211_crypto_tkip.o(.text+0x15e3): In function `tkip_modevent': : undefined reference to `ieee80211_crypto_unregister' ieee80211_crypto_tkip.o(.text+0x15f6): In function `tkip_modevent': : undefined reference to `ieee80211_crypto_register' ieee80211_crypto_wep.o(.text+0x2b): In function `wep_attach': : undefined reference to `get_random_bytes' ieee80211_crypto_wep.o(.text+0x3b3): In function `wep_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_wep.o(.text+0x3ef): In function `wep_decap': : undefined reference to `ieee80211_note' ieee80211_crypto_wep.o(.text+0x779): In function `wep_encap': : undefined reference to `ieee80211_note' ieee80211_crypto_wep.o(.text+0x887): In function `wep_modevent': : undefined reference to `ieee80211_crypto_unregister' ieee80211_crypto_wep.o(.text+0x89a): In function `wep_modevent': : undefined reference to `ieee80211_crypto_register' *** Error code 1 Stop in /usr/obj/usr/src/sys/ALICEBSD. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Fim do erro de compilação. Arquivo de configuração do kernel. ALICEBSD# cd /usr/src/sys/i386/conf/ ALICEBSD# ls .cvsignoreDEFAULTSGENERIC.hintsNOTESSMP ALICEBSDGENERICMakefilePAEXBOX ALICEBSD# cat ALICEBSD # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $ machinei386 cpuI686_CPU identALICEBSD # To statically compile in device wiring instead of /boot/device.hints #hints"GENERIC.hints"# Default places to look for devices. options SCHED_4BSD# 4BSD scheduler options PREEMPTION# Enable kernel thread preemption options INET
Re: [FUG-BR] logar como root
Isso, que bom que funcionou! Abraços Em 02/04/08, Douglas <[EMAIL PROTECTED]> escreveu: > > Acertei, retirei o espaço que tinha depois da virgula e o comando su > funcionou. > > > Em 02/04/08, Thiago | www.t2web.com.br <[EMAIL PROTECTED]> > escreveu: > > > > em meu sistema meu usuario não consta ai > > > > > > # $FreeBSD: src/etc/group,v 1.35 2007/06/11 18:36:39 ceri Exp $ > > # > > wheel:*:0:root > > > > > > > > > > Em 02/04/08, Douglas <[EMAIL PROTECTED]> escreveu: > > > > > > Soh su responde a mesma coisa > > > > > > > su > > > su: Sorry > > > > > > > > > > quando adicionei no arquivo /etc/group o meu usuario > > > > > > coloquei assim > > > wheel:*:0:root, douglas > > > > > > tem a virgula e um espaço, nao sei se influencia, mas as vezes com o > > > espaco > > > nao funciona, e tb nao sei se eh com virgula ou ponto e virgula > > > > > > > > > Em 02/04/08, Thiago | www.t2web.com.br <[EMAIL PROTECTED]> > > > escreveu: > > > > > > > > o su ta respondendo. > > > > > > > > digite apenas > > > > su > > > > > > > > > > > > Em 02/04/08, Douglas <[EMAIL PROTECTED]> escreveu: > > > > > > > > > > Nao retorna nada. > > > > > Ate pq nao havia instalado o sudo. > > > > > > > > > > Sem o sudo como utilizar o su. > > > > > Coloquei o usuario no grupo wheel > > > > > > > > > > > > > > > # $FreeBSD: src/etc/group,v 1.35 2007/06/11 18:36:39 ceri Exp $ > > > > > # > > > > > wheel:*:0:root, douglas > > > > > daemon:*:1: > > > > > > > > > > > > > > > e executei o comando su das duas maneiras que me falaram > > > > > > > > > > > > > > > su -c > > > > > > > > > > > su -c > > > > > su: option requires an argument -- c > > > > > usage: su [-] [-flms] [-c class] [login [args]] > > > > > > > > > > > > > > > > su - > > > > > > > > > > > su - > > > > > su: Sorry > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Em 02/04/08, Thiago | www.t2web.com.br < > [EMAIL PROTECTED]> > > > > > escreveu: > > > > > > > > > > > > > > > > > Douglas > > > > > > posta ae porfavor > > > > > > > > > > > > %pkg_info | grep sudo > > > > > > > > > > > > o que retorna? > > > > > > > > > > > > > > > > > > > > > > > > Em 02/04/08, Douglas <[EMAIL PROTECTED]> escreveu: > > > > > > > > > > > > > > Sim alem de ser iniciante, uso o linux tb, tenho na maquina o > > > Ubuntu > > > > > > > > > > > > > > Coloquei assim > > > > > > > > > > > > > > # $FreeBSD: src/etc/group,v 1.35 2007/06/11 18:36:39 ceri Exp > $ > > > > > > > # > > > > > > > wheel:*:0:root, douglas > > > > > > > daemon:*:1: > > > > > > > > > > > > > > Quando executo: > > > > > > > > > > > > > > su -c > > > > > > > > > > > > > > > su -c > > > > > > > su: option requires an argument -- c > > > > > > > usage: su [-] [-flms] [-c class] [login [args]] > > > > > > > > > > > > > > > > > > > > > > su - > > > > > > > > > > > > > > > su - > > > > > > > su: Sorry > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Em 02/04/08, Pablo Sánchez <[EMAIL PROTECTED]> escreveu: > > > > > > > > > > > > > > > > > > > > > > > su -c > > > > > > > > > > > > > > > > Veio do Linux, né? ;-) > > > > > > > > > > > > > > > > Em 02/04/08, Douglas<[EMAIL PROTECTED]> escreveu: > > > > > > > > > > > > > > > > > Bom quando tento utilizar o comando sudo, para poder usar > > root > > > > não > > > > > > > > funciona. > > > > > > > > > Eu criei um usuario para estar utilizando o sistema, mas > as > > > > vezes > > > > > > > > preciso, > > > > > > > > > liberar o root. > > > > > > > > > > > > > > > > > > > > > > > > > > > > sudo > > > > > > > > > sudo: Command not found. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Douglas > > > > > > > > > > > > > > > > > > "Aquele que obtém uma vitória sobre outros homens é > forte, > > > mas > > > > > > aquele > > > > > > > > que > > > > > > > > > obtém uma vitória sobre si próprio é todo-poderoso". > > > (Lao-Tsé) > > > > > > > > > > > > > > > > > - > > > > > > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > > Sair da lista: > > > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > > > > > > > > > > - > > > > > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > Sair da lista: > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Douglas > > > > > > > > > > > > > > "O homem não teria alcançado o possível se, repetidas vezes, > não > > > > > tivesse > > > > > > > tentado o impossível." Max Weber > > > > > > > > > > > > > > > > > > > > > "Aquele que obtém uma vitória sobre outros homens é forte, mas > > > > aquele > > > > > > que > > > > > > > obtém uma vitória sobre si próprio é todo-poderoso". (Lao-Tsé) > > > > > > > > > > > > > > > > > > > > > "As mentes são como pára-quedas: só funcionam se estiverem > > > abertas." > > > > > > (Ruth > > > > > >
Re: [FUG-BR] 2 Links, mandar todo o fluxo da rede interna por um deles
Olá pessoal, tenho as seguintes placas de rede rl0 - rede externa com ip dinamico dc0 - rede externa com ip fixo rl1 - rede interna gostaria de pegar tudo o fluxo de http da rl1 e sair via rl0, alguem sabe como fazer ? Tentei fazer pelo Squid com #acl destino_interno dst 10.XX.XX.0/24 #tcp_outgoing_address 10.XX.XX.1 destino_interno #tcp_outgoing_address 201.80.15.xxx mas nao certo ? to precisando fazer isso urgente !! Obrigado! Em 03/04/08, Alessandro de Souza Rocha <[EMAIL PROTECTED]> escreveu: > > Em 03/04/08, Bruno Torres Viana<[EMAIL PROTECTED]> escreveu: > > Muito bom Alessandro! > > > > Era ai que eu queria chegar, mas não tenho essas regras prontas, mas é > > exatemente isso que tem no link que eu passei, só que ele faz um > > round-robin. > > > > []´s > > > > 2008/4/3 Alessandro de Souza Rocha <[EMAIL PROTECTED]>: > > > > > > > Em 03/04/08, Cristina Fernandes Silva<[EMAIL PROTECTED]> > > > escreveu: > > > > sem problemas.. qualquer ajuda é valida.. menos aquela ridícula > > > > > > > > "procure no google.. ele é seu melhor amigo" > > > > > > > > Obrigada a todos.. > > > > > > > > Em 03/04/08, Bruno Torres Viana<[EMAIL PROTECTED]> escreveu: > > > > > > > > > Cristina, > > > > > > > > > > Bom dia! Não quero ser grosso e nem passa isso pela minha > cabeça, > > > mas já deu > > > > > uma olhada no manual do PF: > > > http://www.openbsd.org/faq/pf/pt/pools.html > > > > > > > > > > Acredito que isso aqui solucionará seu problema, sendo que pode > se > > > criar > > > > > grupos. Uma boa idéia seria: > > > > > > > > > > # Nat para saída da rede interna para internet > > > > > nat on $ext_if from $internal_net to any -> ($ext_if) > > > > > > > > > > # Redireciona tráfego para o IP VELOX > > > > > rdr pass on $int_if proto tcp from any to any port { ftp, smtp, > pop > > > } -> > > > > > $ext_if_velox > > > > > > > > > > Este foi um chutão, não sei se dá certo, mas vale tentar, > acredito > > > que o > > > > > link acima irá clarear suas idéias. Poste aqui os resultados. > > > > > > > > > > > > > > > 2008/4/3 Cristina Fernandes Silva <[EMAIL PROTECTED] > >: > > > > > > > > > > > > > > > > Desculpe, mas alguem tem algum exemplo destas regras e usa > para em > > > > > > fornecer.. > > > > > > > > > > > > agradeço demais.. > > > > > > > > > > > > Em 03/04/08, Alessandro de Souza Rocha<[EMAIL PROTECTED]> > > > escreveu: > > > > > > > Em 03/04/08, pitombera<[EMAIL PROTECTED]> escreveu: > > > > > > > > > > > > > > > Cristina Fernandes Silva wrote: > > > > > > > > > Juliano, > > > > > > > > > > > > > > > > > > eu iria fazer essa mesma pergunta.. porem assim.. > tenho > > > dois link > > > > > > um > > > > > > > > > 512 mb full de ip fixo e 1 MB para ip dinâmico > (velox). Um > > > link eu > > > > > > > > > quero somente e-mail e vpn e outro para navegação.. > > > > > > > > > > > > > > > > > > Alguem sabe como fazer.. > > > > > > > > > > > > > > > > > > 2008/4/2, Juliano Oliveira <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > >> Olá pessoal, tenho dois links, um com ip fixo outro > com > > > ip > > > > > > dinamico, > > > > > > > > >> gostaria de mandar todo o fluxo da rede interna > pelo ip > > > > > > dinamico, liberando > > > > > > > > >> assim o outro para fechar vpn e serciços em web, > tenho > > > proxy > > > > > > funcionando, > > > > > > > > >> tem como especificar no squid qual a interface de > rede > > > tem que > > > > > > sair o fluxo > > > > > > > > >> ? > > > > > > > > >> > > > > > > > > >> Se é no squid mesmo isso? > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> -- > > > > > > > > >> Obrigado > > > > > > > > >> - > > > > > > > > >> Histórico: > http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > >> Sair da lista: > > > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > >> > > > > > > > > >> > > > > > > > > > - > > > > > > > > > Histórico: > http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > > Sair da lista: > > > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Acho que já foi discutido isso aqui, se são tráfegos > > > distintos, por > > > > > > que > > > > > > > > não usar o pf para balancear? > > > > > > > > > > > > > > > > - > > > > > > > > Histórico: > http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > Sair da lista: > > > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > > > > > > > > > > > > > > > > > > > > > > cristtina, no seu caso e facil so usa pf para redirecionar > o > > > sistema > > > > > > > para um lado e-mail e navegacao pa
[FUG-BR] RES: 2 Links, mandar todo o fluxo da rede interna por um deles
Com squid dá certo sim!!! Mas pode tentar com PF - route-to.. algo mais ou menos assim : pass in quick log on rl1 route-to (rl0 ip_da_rl0) proto { tcp } from any to any port { 80 } Sérgio Ferreira WGO Telecom -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Juliano Oliveira Enviada em: quinta-feira, 3 de abril de 2008 15:30 Para: Lista Brasileira de Discussão sobre FreeBSD (FUG-BR) Assunto: Re: [FUG-BR] 2 Links, mandar todo o fluxo da rede interna por um deles Olá pessoal, tenho as seguintes placas de rede rl0 - rede externa com ip dinamico dc0 - rede externa com ip fixo rl1 - rede interna gostaria de pegar tudo o fluxo de http da rl1 e sair via rl0, alguem sabe como fazer ? Tentei fazer pelo Squid com #acl destino_interno dst 10.XX.XX.0/24 #tcp_outgoing_address 10.XX.XX.1 destino_interno #tcp_outgoing_address 201.80.15.xxx mas nao certo ? to precisando fazer isso urgente !! Obrigado! Em 03/04/08, Alessandro de Souza Rocha <[EMAIL PROTECTED]> escreveu: > > Em 03/04/08, Bruno Torres Viana<[EMAIL PROTECTED]> escreveu: > > Muito bom Alessandro! > > > > Era ai que eu queria chegar, mas não tenho essas regras prontas, mas é > > exatemente isso que tem no link que eu passei, só que ele faz um > > round-robin. > > > > []´s > > > > 2008/4/3 Alessandro de Souza Rocha <[EMAIL PROTECTED]>: > > > > > > > Em 03/04/08, Cristina Fernandes Silva<[EMAIL PROTECTED]> > > > escreveu: > > > > sem problemas.. qualquer ajuda é valida.. menos aquela ridícula > > > > > > > > "procure no google.. ele é seu melhor amigo" > > > > > > > > Obrigada a todos.. > > > > > > > > Em 03/04/08, Bruno Torres Viana<[EMAIL PROTECTED]> escreveu: > > > > > > > > > Cristina, > > > > > > > > > > Bom dia! Não quero ser grosso e nem passa isso pela minha > cabeça, > > > mas já deu > > > > > uma olhada no manual do PF: > > > http://www.openbsd.org/faq/pf/pt/pools.html > > > > > > > > > > Acredito que isso aqui solucionará seu problema, sendo que pode > se > > > criar > > > > > grupos. Uma boa idéia seria: > > > > > > > > > > # Nat para saída da rede interna para internet > > > > > nat on $ext_if from $internal_net to any -> ($ext_if) > > > > > > > > > > # Redireciona tráfego para o IP VELOX > > > > > rdr pass on $int_if proto tcp from any to any port { ftp, smtp, > pop > > > } -> > > > > > $ext_if_velox > > > > > > > > > > Este foi um chutão, não sei se dá certo, mas vale tentar, > acredito > > > que o > > > > > link acima irá clarear suas idéias. Poste aqui os resultados. > > > > > > > > > > > > > > > 2008/4/3 Cristina Fernandes Silva <[EMAIL PROTECTED] > >: > > > > > > > > > > > > > > > > Desculpe, mas alguem tem algum exemplo destas regras e usa > para em > > > > > > fornecer.. > > > > > > > > > > > > agradeço demais.. > > > > > > > > > > > > Em 03/04/08, Alessandro de Souza Rocha<[EMAIL PROTECTED]> > > > escreveu: > > > > > > > Em 03/04/08, pitombera<[EMAIL PROTECTED]> escreveu: > > > > > > > > > > > > > > > Cristina Fernandes Silva wrote: > > > > > > > > > Juliano, > > > > > > > > > > > > > > > > > > eu iria fazer essa mesma pergunta.. porem assim.. > tenho > > > dois link > > > > > > um > > > > > > > > > 512 mb full de ip fixo e 1 MB para ip dinâmico > (velox). Um > > > link eu > > > > > > > > > quero somente e-mail e vpn e outro para navegação.. > > > > > > > > > > > > > > > > > > Alguem sabe como fazer.. > > > > > > > > > > > > > > > > > > 2008/4/2, Juliano Oliveira <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > >> Olá pessoal, tenho dois links, um com ip fixo outro > com > > > ip > > > > > > dinamico, > > > > > > > > >> gostaria de mandar todo o fluxo da rede interna > pelo ip > > > > > > dinamico, liberando > > > > > > > > >> assim o outro para fechar vpn e serciços em web, > tenho > > > proxy > > > > > > funcionando, > > > > > > > > >> tem como especificar no squid qual a interface de > rede > > > tem que > > > > > > sair o fluxo > > > > > > > > >> ? > > > > > > > > >> > > > > > > > > >> Se é no squid mesmo isso? > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> -- > > > > > > > > >> Obrigado > > > > > > > > >> - > > > > > > > > >> Histórico: > http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > >> Sair da lista: > > > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > >> > > > > > > > > >> > > > > > > > > > - > > > > > > > > > Histórico: > http://www.fug.com.br/historico/html/freebsd/ > > > > > > > > > Sair da lista: > > > https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Acho que já foi discutido isso aqui, se são tráfegos > > > distintos, po
[FUG-BR] Congestionamento
Ola a todos!!! Dando um tcpdump na interface interna estou pegando varias requisicoes onde esta congestionando o link. alguem sabe uma maneira de resolver rapidadmente? Pois tenho muitos clientes. 15:16:56.859353 IP 78.0.0.2.netbios-ns > 78.0.0.3.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST15:16:56.859356 IP 87.0.0.2 > 224.0.0.22: igmp v3 report, 1 group record(s)15:16:56.859370 arp who-has 128.0.0.1 tell 128.0.0.215:16:56.859373 arp who-has 78.0.0.1 tell 78.0.0.215:16:56.859378 arp who-has 57.0.0.1 tell 57.0.0.215:16:56.859380 arp who-has 48.0.0.1 tell 48.0.0.215:16:56.859385 arp who-has 57.0.0.1 tell 57.0.0.215:16:56.859412 arp reply 125.0.0.1 is-at 00:08:54:2a:8e:b7 (oui Unknown)15:16:56.859418 arp reply 128.0.0.1 is-at 00:08:54:2a:8e:b7 (oui Unknown)15:16:56.859424 arp reply 48.0.0.1 is-at 00:08:54:2a:8e:b7 (oui Unknown) _ Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos! http://www.amigosdomessenger.com.br - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] Congestionamento
trafego netbios, maquinas windows isso ae.. faça um bloqueio para que estas requisições nao saiam para a internet.. portas 135 1 139 (tcp e udp) se voce vende acesso a internet.. que nao seja necessario comunicar uma maquina de cliente a outra.. faça o bloqueio antes do servidor se possivel... On Sun, Apr 13, 2008 at 3:54 PM, andre silva <[EMAIL PROTECTED]> wrote: > > Ola a todos!!! > > Dando um tcpdump na interface interna estou pegando varias requisicoes onde > esta congestionando o link. alguem sabe uma maneira de resolver rapidadmente? > Pois tenho muitos clientes. > > 15:16:56.859353 IP 78.0.0.2.netbios-ns > 78.0.0.3.netbios-ns: NBT UDP > PACKET(137): QUERY; REQUEST; BROADCAST15:16:56.859356 IP 87.0.0.2 > > 224.0.0.22: igmp v3 report, 1 group record(s)15:16:56.859370 arp who-has > 128.0.0.1 tell 128.0.0.215:16:56.859373 arp who-has 78.0.0.1 tell > 78.0.0.215:16:56.859378 arp who-has 57.0.0.1 tell 57.0.0.215:16:56.859380 arp > who-has 48.0.0.1 tell 48.0.0.215:16:56.859385 arp who-has 57.0.0.1 tell > 57.0.0.215:16:56.859412 arp reply 125.0.0.1 is-at 00:08:54:2a:8e:b7 (oui > Unknown)15:16:56.859418 arp reply 128.0.0.1 is-at 00:08:54:2a:8e:b7 (oui > Unknown)15:16:56.859424 arp reply 48.0.0.1 is-at 00:08:54:2a:8e:b7 (oui > Unknown) > _ > Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de > relacionamentos com até 6,000 fotos! > http://www.amigosdomessenger.com.br > - > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > -- Sds. Alexandre J. Correa Onda Internet / OPinguim.net http://www.ondainternet.com.br http://www.opinguim.net - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] Erro de Compilação do Kernel no FreeB SD 6.2 Release.
Olá Paulo Henrique, Você alterou o arquivo? /usr/src/sys/conf/newvers.sh Se sim, aconselho a não alterar esse arquivo manualmente, passe o nome no kernel sempre no arquivo de configuração do mesmo, outra coisa, retire do seu /etc/make.conf qualquer parâmetro de optimização de compilação. Depois no arquivo de configuração do kernel retire as opções: device crypto device cryptodev Me parece que o problema é nelas. E tente compilar novamente com essas alterações que eu mencionei, e veja se roda. Abraços, edm. On Mon, Mar 31, 2008 at 12:56 PM, Paulo Henrique <[EMAIL PROTECTED]> wrote: > Olá Lista, Pouco escrevo para a lista mais acompanho diariamente os assuntos > nela discutido. > Bom vim a escrever dessa vez pois não consigo resolver um problema com a > compilação do kernel. > > Versão do Sistema: FreeBSD 6.2 Release, e depois com cvsup para p9 > > Segue o Erro, para melhor comprenssão e junto o arquivo de configuração do > kernel. > > Retorno do erro de compilação. > > > MAKE=make sh /usr/src/sys/conf/newvers.sh ALICEBSD > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Werror vers.c > linking kernel > ieee80211_crypto_ccmp.o(.text+0x8b): In function `ccmp_setkey': > : undefined reference to `ieee80211_note' > ieee80211_crypto_ccmp.o(.text+0x8de): In function `ccmp_decap': > : undefined reference to `ieee80211_notify_replay_failure' > ieee80211_crypto_ccmp.o(.text+0xbd7): In function `ccmp_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_ccmp.o(.text+0xcae): In function `ccmp_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_ccmp.o(.text+0xcf3): In function `ccmp_modevent': > : undefined reference to `ieee80211_crypto_unregister' > ieee80211_crypto_ccmp.o(.text+0xd06): In function `ccmp_modevent': > : undefined reference to `ieee80211_crypto_register' > ieee80211_crypto_tkip.o(.text+0x87): In function `tkip_setkey': > : undefined reference to `ieee80211_note' > ieee80211_crypto_tkip.o(.text+0x7d5): In function `tkip_encap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_tkip.o(.text+0xc95): In function `tkip_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_tkip.o(.text+0xcd9): In function `tkip_decap': > : undefined reference to `ieee80211_notify_replay_failure' > ieee80211_crypto_tkip.o(.text+0xd08): In function `tkip_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_tkip.o(.text+0xe8b): In function `tkip_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_tkip.o(.text+0x1499): In function `tkip_demic': > : undefined reference to `ieee80211_notify_michael_failure' > ieee80211_crypto_tkip.o(.text+0x15e3): In function `tkip_modevent': > : undefined reference to `ieee80211_crypto_unregister' > ieee80211_crypto_tkip.o(.text+0x15f6): In function `tkip_modevent': > : undefined reference to `ieee80211_crypto_register' > ieee80211_crypto_wep.o(.text+0x2b): In function `wep_attach': > : undefined reference to `get_random_bytes' > ieee80211_crypto_wep.o(.text+0x3b3): In function `wep_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_wep.o(.text+0x3ef): In function `wep_decap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_wep.o(.text+0x779): In function `wep_encap': > : undefined reference to `ieee80211_note' > ieee80211_crypto_wep.o(.text+0x887): In function `wep_modevent': > : undefined reference to `ieee80211_crypto_unregister' > ieee80211_crypto_wep.o(.text+0x89a): In function `wep_modevent': > : undefined reference to `ieee80211_crypto_register' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/ALICEBSD. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Fim do erro de compilação. > > Arquivo de configuração do kernel. > > ALICEBSD# cd /usr/src/sys/i386/conf/ > ALICEBSD# ls > .cvsignoreDEFAULTSGENERIC.hintsNOTESSMP > ALICEBSDGENERICMakefilePAEXBOX > ALICEBSD# cat ALICEBSD > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # > > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > # > # The handbook is al
Re: [FUG-BR] Congestionamento
Valeu pela atencao!!! Qnto ao bloqueio estou usando as seguintes regras /sbin/ipfw add 54 deny udp from any to any 25,137,138,139,213,445,593,1025,1512/sbin/ipfw add 55 deny tcp from any to any 25,137,138,139,213,445,593,1025,1512> Date: Sun, 13 Apr 2008 15:58:33 -0300> From: [EMAIL PROTECTED]> To: freebsd@fug.com.br> Subject: Re: [FUG-BR] Congestionamento> > trafego netbios, maquinas windows isso ae..> > faça um bloqueio para que estas requisições nao saiam para a> internet.. portas 135 1 139 (tcp e udp)> > se voce vende acesso a internet.. que nao seja necessario comunicar> uma maquina de cliente a outra.. faça o bloqueio antes do servidor se> possivel...> > > > On Sun, Apr 13, 2008 at 3:54 PM, andre silva <[EMAIL PROTECTED]> wrote:> >> > Ola a todos!!!> >> > Dando um tcpdump na interface interna estou pegando varias requisicoes onde esta congestionando o link. alguem sabe uma maneira de resolver rapidadmente? Pois tenho muitos clientes.> >> > 15:16:56.859353 IP 78.0.0.2.netbios-ns > 78.0.0.3.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST15:16:56.859356 IP 87.0.0.2 > 224.0.0.22: igmp v3 report, 1 group record(s)15:16:56.859370 arp who-has 128.0.0.1 tell 128.0.0.215:16:56.859373 arp who-has 78.0.0.1 tell 78.0.0.215:16:56.859378 arp who-has 57.0.0.1 tell 57.0.0.215:16:56.859380 arp who-has 48.0.0.1 tell 48.0.0.215:16:56.859385 arp who-has 57.0.0.1 tell 57.0.0.215:16:56.859412 arp reply 125.0.0.1 is-at 00:08:54:2a:8e:b7 (oui Unknown)15:16:56.859418 arp reply 128.0.0.1 is-at 00:08:54:2a:8e:b7 (oui Unknown)15:16:56.859424 arp reply 48.0.0.1 is-at 00:08:54:2a:8e:b7 (oui Unknown)> > _> > Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos!> > http://www.amigosdomessenger.com.br> > -> > Histórico: http://www.fug.com.br/historico/html/freebsd/> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd> >> > > > -- > > Sds.> Alexandre J. Correa> Onda Internet / OPinguim.net> http://www.ondainternet.com.br> http://www.opinguim.net> -> Histórico: http://www.fug.com.br/historico/html/freebsd/> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd _ Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! http://mobile.live.com/signup/signup2.aspx?lc=pt-br - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] Erro de Compilação do Kernel no FreeB SD 6.2 Release.
Jà solucionei, e como não tinha ainda obtido a autorização do mantenedor da lista para ser postado nem coloquei o motivo do problema. Agora respondendo ao Srº Ederson: Quanto a editar o as arquivos do sistema eu tenho outra instalação para isso e já fico atento a possiveis erros, o arquivo no qual foi referido não foi modificado. Quanto as opições do kernel: device crypto device cryptodev Embora já tive problemas com eles, mais é pelo fato de falta de mais uma entrada no arquivo de configuração do kernel. quando se faz teste com VPN esses dois devices são necessarios. e passo o nome do arquivo do kernel atravez do make alem de especifica-lo no arquivo de configuração. Solução para o problema. Removi todas as definiçõa para a compilação de drivers wireless e tinha deixado apenas as referencias para protocolos wireless, observe: # Wireless NIC cards #devicewlan# 802.11 support devicewlan_wep# 802.11 WEP support devicewlan_ccmp# 802.11 CCMP support devicewlan_tkip# 802.11 TKIP support Havia comentado o device wlan que é uma referencia. no caso e testado, eu descomentei e funcionou normalmente, e comentei todas as referencias para wireless e compilou e funcionou normalmente tambem. bom isso ai que aconteceu. Até mais. Atenciosamente Paulo Henrique. To Powered By BSD Unix. - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
[FUG-BR] Evento em Brasilia Flisol-DF 2008
Boa Noite a todos, O Flisol-DF 2008 Festival Latino americano de Instalação de Software Livre é um festival anual de instalação de software livre, gratuito e aberto a toda a comunidade. segue link http://www.flisoldf.blog.br - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] ipfw source routing help please..
On Fri, Apr 11, 2008 at 3:17 PM, <[EMAIL PROTECTED]> wrote: > Ola tenho o seguinte cenario > Link Copel rl0 200.x.x.9 > link adslrl1 192.168.1.100 > > estes 2 links ligado num freebsd 7, a rota default do freebsd é o link > copel > configurei algumas ACL no meu squid topo arquivos .exe, .rar > para que venha atraves do adls. > configurei o tcp_outgoing_address 192.168.1.100 no squid > > acontece que nao to conseguindo me acertar com ipfw > > o source routing naum funciona... > > a regra que to testando é esta > 00100 0 0 fwd 192.168.1.1 ip from 192.168.1.100 to any out xmit rl1 > > alguem tem alguma ideia.. > > - > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > Marcelo, Bom dia! Grande, se o squid fez match nesta regra, o pacote já esta dentro do servidor(já passou uma vez pelo firewall). Como a rota de saída(estabelecida através do squid) é um ip associado a uma interface local(reachable) você não precisa de regra no firewall. (assumindo que seu firewall tem from me to any out uid squid,root por exemplo) Para roteamento alternativo você pode usar o squid xor ipfw, você não necessita de associar os dois. Lista, Sou novo por aqui e preciso de avaliação e endosso para minhas respostas. ;) att -- Victor Hugo Bilouro - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] IPFW e VoIP
Olá Patrick! Obrigado pelo pronto interesse! Quanto maior o weight, maior a prioridade? Obrigado! Abraço. -- From: "Patrick Tracanelli" <[EMAIL PROTECTED]> Sent: Sunday, April 13, 2008 1:21 AM To: ""Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)"" Subject: Re: [FUG-BR] IPFW e VoIP Eduardo Schoedler escreveu: > Olá pessoal. > > Alguém aqui teria algum exemplo de regras para mim conseguir priorizar > tráfego voip utilizando IPFW (sem PF) ? > Estou me vendo estreito aqui... quanto mais conheço voip, mais odeio! =) > > Certa vez o Evandro Nunes postou alguma coisa aqui... > http://www.fug.com.br/historico/html/freebsd/2007-10/msg00615.html > As regras que tem ali me interessam, mas pelo visto tá faltando algo a > mais! Use WF2Q+ (tem exemplos na man do ipfw), defina o IP do gw VoIP com um weight alto e o resto baixo, e pronto. Impossível ser mais simples =) Porém, como qualquer tipo de priorização, se a conectividade já estiver no limite quando a sessão VoIP for iniciada, deve levar alguns segundos até a qualidade ficar 100%. Até uns 6 segundos. - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] IPFW e VoIP
Lendo o man do ipfw, encontrei uma coisa não mt boa: "... Note that weights are not priorities; a flow with a lower weight is still guaranteed to get its fraction of the bandwidth even if a flow with a higher weight is permanently backlogged." Prioridade PRIORIDADE, o weight não é =) Abraço! -- From: "Eduardo Schoedler" <[EMAIL PROTECTED]> Subject: Re: [FUG-BR] IPFW e VoIP Olá Patrick! Obrigado pelo pronto interesse! Quanto maior o weight, maior a prioridade? Obrigado! Abraço. -- From: "Patrick Tracanelli" <[EMAIL PROTECTED]> Sent: Sunday, April 13, 2008 1:21 AM Subject: Re: [FUG-BR] IPFW e VoIP Eduardo Schoedler escreveu: > Olá pessoal. > > Alguém aqui teria algum exemplo de regras para mim conseguir priorizar > tráfego voip utilizando IPFW (sem PF) ? > Estou me vendo estreito aqui... quanto mais conheço voip, mais odeio! =) > > Certa vez o Evandro Nunes postou alguma coisa aqui... > http://www.fug.com.br/historico/html/freebsd/2007-10/msg00615.html > As regras que tem ali me interessam, mas pelo visto tá faltando algo a > mais! Use WF2Q+ (tem exemplos na man do ipfw), defina o IP do gw VoIP com um weight alto e o resto baixo, e pronto. Impossível ser mais simples =) Porém, como qualquer tipo de priorização, se a conectividade já estiver no limite quando a sessão VoIP for iniciada, deve levar alguns segundos até a qualidade ficar 100%. Até uns 6 segundos. - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Re: [FUG-BR] 2 Links, mandar todo o fluxo da rede interna por um deles
2008/4/3 Juliano Oliveira <[EMAIL PROTECTED]>: > Olá pessoal, tenho as seguintes placas de rede > > rl0 - rede externa com ip dinamico > dc0 - rede externa com ip fixo > rl1 - rede interna > > gostaria de pegar tudo o fluxo de http da rl1 e sair via rl0, alguem sabe > como fazer ? > > Tentei fazer pelo Squid com > > #acl destino_interno dst 10.XX.XX.0/24 > #tcp_outgoing_address 10.XX.XX.1 destino_interno > #tcp_outgoing_address 201.80.15.xxx > > mas nao certo ? > to precisando fazer isso urgente !! > > Obrigado! > > > > #acl origem_interno src 10.XX.XX.0/24 #tcp_outgoing_address IP_IFACE_RL0 origem_interno Quanto a ser dinâmico você pode usar, ppp.linkup, sed, squid -k reconfigure att -- Victor Hugo Bilouro - Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd