Tuesday, March 17, 2015

Firefox starts a server on port 1900

I observed this kind of packets being filtered in my place:

 Mar 17 13:13:21 reserved kernel: [15070.046566] UDP/OUT: IN= OUT=eth1 SRC=10.10.10.176 DST=239.255.255.250 LEN=122 TOS=0x00 PREC=0x00 TTL=1 ID=17655 DF PROTO=UDP SPT=1900 DPT=1900 LEN=102


And for just one moment, because it starts and stops very quicky i found this:


root@reserved:~# netstat --listen -np
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           5615/firefox   



To disable this go to about:config and then set
loop.enabled -> false

loop.rooms.enabled -> false

Added note the 29-March-2015 : This do not solves the issue, it is not possible to disable that port that opens afaik.  Thanks for the post reply that clarified it.

Good luck.

Wednesday, March 11, 2015

Compile keepass 0.4.3 on Debian Linux wheezy

I have switched from Ubuntu to Debian, and am happy i did so.  There are enough blogs talking about their pros and i only ask why i did it not before.


Well, when you wish to compile keepassx on Debian you may find one or two obstacles, i hope this post targets them and saves you some time.


Get It:
wget http://www.keepassx.org/releases/keepassx-0.4.3.tar.gz

tar zxvf keepassx-0.4.3.tar.gz

cd keepassx-0.4.3/


mkdir build

# I recommend you to read the INSTALL file

apt-get install libqt4-dev
apt-get install  libx11-dev
apt-get install libx11-dev


# And finally you have to install this one:
apt-get install  libxtst-dev

# Yes, it do not leaves you given dependencies, i fixed it this way:
wget http://ftp.de.debian.org/debian/pool/main/x/x11proto-record/x11proto-record-dev_1.14.2-1_all.deb

dpkg -i x11proto-record-dev_1.14.2-1_all.deb
# And now you go!
apt-get install  libxtst-dev

qmake
make

# And again, second challenge, you may find this message trying to compile:
lib/random.cpp: In function ‘void initStdRand()’:
lib/random.cpp:98:19: error: ‘getpid’ was not declared in this scope


# I did this:
vi ./src/lib/random.cpp

And, i found here, that in the top it shold look like this, basically you just add the "#include " line. 
#include "random.h"
#include
 

# Then just:
make
make install

# Leave a thanks if it helped !



Saturday, December 13, 2014

Enterprise companies who's tracking them

Related to private browsing, since some corporations buyed the idea that Internet should be controlled (even they haven't seen a penny from that idea), this social network shows how one page calls other pages (in the background, without you knowing and reporting about you), and how those pages subsequently call other.


And here is an article that talks about the subject.

Wednesday, December 03, 2014

Disabling privacy-invasive Zeitgeist

After explaining here and here some tips about how to browse privatelly the web, now i will explain another concern about the Ubuntu Operating System and its report production and propagation without you knowing.

I was sniffing my network traffic, building a home reporting site to know where my guests browse to when they visit me and i found that my computer with an Ubuntu Linux was connecting to some places.  I found this post and i agree with this guy completely, i support you !

The post says: [...] Release after release, Canonical's Ubuntu is increasingly turning YOUR personal computer into a personal surveillance machine enabling ad companies, intelligence and law enforcement agencies, curious spouses and the occasional Google wifi war driver to harvest personal information on YOU. Aside from that, these processes also waste processing power, memory and internet bandwhich. A couple of weeks ago, a colleague installed Ubuntu for the first time complaining to me how slow it was running on his older computer. The reason offcourse were processes like Zeitgeist and Geoclue. Below some guidelines on how to remove some of these programs and still maintaining some basic OS functionality. [...]

...well, curious spouses may be the most dangerous agent here, all the others are just in the second or third place of concern...

So,.. it is kind of agressive being "spied", i understand the interest and the desire to control the society (there is historical evidence of such crazy people) but i do not need anybody protect me nor nobodies help so go and do something else, be with your kids for example.

The post says: [...] The commands below remove: 
Zeitgeist: Zeitgeist is a service which logs the user's activities and events (files opened, websites visited, conversations hold with other people, etc.) and makes the information available to other applications.
Geoclue: GeoClue is a software framework that enables geospatial awareness in applications. In human language: physical location tracking software.
Whoopsie-daisy: Daemon that submits (sensitive?) crash data to the Ubuntu server. [...]

 sudo apt-get remove zeitgeist zeitgeist-core zeitgeist-datahub python-zeitgeist rhythmbox-plugin-zeitgeist geoclue geoclue-ubuntu-geoip geoip-database whoopsie  


Tuesday, November 25, 2014

Truly private surfing

In my previous post i recommended to use two firefox plugins to truly surf through Internet whoes pages are "infected" with social network embedded widgets that only report about our presense in those pages and if we are lucky, only that, but i also identifies us because the propagation of cookies.

In this post i will give some recommendations about how to stop Firefox from surfing the web without us knowing it, yes, in the background.  The other day i was analyzing what happens in the background in the network with Firefox open, and i was worried for a minute or two because i saw connections going out of my computer but i was not surfing anything...  i had one page open, so i closed it incase that that page had some javascript with a loop doing some connections without me knowing.... but the connections kept being done.

Disclaimer: These steps may do produce undesiderable behavior in your browser, these are notes i have written for myself and am sharing to help anybody that could benefit from them.

How to stop Firefox from automatically making connections without my permission

1) Clean all the live bookmarks if any.
2) Disable auto update (Edit -> Preferences -> Update ->
Never check for updates (not recommended: security risk) 
and uncheck Update Search Engines)

3) Disable auto update for plugins (Tools -> AddOns -> Extensions
At the top of the tab, click the Tools for All Add-ons menu and uncheck Update Add-ons Automatically, then select Reset All Add-ons to Update Automatically.)


4) Anti-phishing list updating (Edit -> Preferences -> Security ->
Block reported web forgeries. and
Block reported attack sites)

5) Add-on blocklist updating, Add-on metadata updating, Link prefetching
In the location bar write: about:config and set:
extensions.blocklist.enabled -> false
extensions.getAddons.cache.enabled -> false

network.prefetch-next -> false

For a more detailed step by step you can read the explanation here.

Leave a "Thank you" if it helped or any question are welcome.

Sunday, October 12, 2014

fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver



After upgrading to Ubuntu 14.04.1 the machine hung after s very short passage through an attempt to start the graphical interface.   With some luck, i pressed ctrl+alt+f1 to be on the terminal and avoided to use the graphics, hence avoided the crash.  But i would recommend you to just start with a live cd and mount the filesystem.

I found this in the /var/log/kern.log .

After googling and looking at a lot of suggestions, what worked for me was:

apt-get install nvidia-331
apt-get remove xserver-xorg-video-nouveau

vi /etc/modprobe.d/nvidia-graphics-drivers.conf

blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
alias nvidia nvidia-current

This will do it (or most likely should).  Then you may have issues with the desktop that do not starts.. but that may be another story.

Saturday, October 11, 2014

What to do when ubuntu support expired ?

Hi, when you try to do an apt-get update and get this message:

apt-get 404 Not Found Package


It has a fast solution to get rid of the issue and then take your time to think what to do.  For example, i know from here that Ubuntu 12.10 is not supported any more since May 2014.


 Get:1 http://dl.google.com stable Release.gpg [198 B]  
 Get:2 http://dl.google.com stable Release.gpg [198 B]               
 Get:3 http://dl.google.com stable Release [1,347 B]                
 Get:4 http://ppa.launchpad.net quantal Release.gpg [316 B]             
 Ign http://security.ubuntu.com quantal-security Release.gpg            
 Get:5 http://dl.google.com stable Release [1,347 B]                
 Ign http://us.archive.ubuntu.com quantal Release.gpg                
 Get:6 http://dl.google.com stable/main i386 Packages [1,227 B]           
 Get:7 http://ppa.launchpad.net quantal Release.gpg [316 B]             
 Ign http://security.ubuntu.com quantal-security Release              
 Ign http://us.archive.ubuntu.com quantal-updates Release.gpg       
 Get:8 http://ppa.launchpad.net quantal Release [11.9 kB]         
 Get:9 http://dl.google.com stable/main i386 Packages [710 B]            
 Ign http://us.archive.ubuntu.com quantal-backports Release.gpg           
 Get:10 http://ppa.launchpad.net quantal Release [11.9 kB]             
 Ign http://us.archive.ubuntu.com quantal-proposed Release.gpg           
 Get:11 http://ppa.launchpad.net quantal/main Sources [4,251 B]           
 Ign http://us.archive.ubuntu.com quantal Release                  
 Get:12 http://ppa.launchpad.net quantal/main i386 Packages [14.3 kB]        
 Ign http://us.archive.ubuntu.com quantal-updates Release              
 Ign http://us.archive.ubuntu.com quantal-backports Release             
 Ign http://us.archive.ubuntu.com quantal-proposed Release         
 Get:13 http://ppa.launchpad.net quantal/main Sources [16.7 kB]      
 Get:14 http://ppa.launchpad.net quantal/main i386 Packages [39.4 kB]        
 Ign http://dl.google.com stable/main Translation-en_US               
 Ign http://dl.google.com stable/main Translation-en                
 Ign http://dl.google.com stable/main Translation-en_US               
 Ign http://dl.google.com stable/main Translation-en            
 Ign http://ppa.launchpad.net quantal/main Translation-en_US        
 Ign http://ppa.launchpad.net quantal/main Translation-en              
 Ign http://ppa.launchpad.net quantal/main Translation-en_US            
 Ign http://ppa.launchpad.net quantal/main Translation-en              
 Err http://security.ubuntu.com quantal-security/main Sources            
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/restricted Sources  
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/universe Sources  
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/multiverse Sources  
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/main i386 Packages  
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/restricted i386 Packages  
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/universe i386 Packages  
  404 Not Found [IP: 91.189.92.201 80]  
 Err http://security.ubuntu.com quantal-security/multiverse i386 Packages  
  404 Not Found [IP: 91.189.92.201 80]  
 Ign http://security.ubuntu.com quantal-security/main Translation-en_US  
 Ign http://security.ubuntu.com quantal-security/main Translation-en  
 Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US  
 Ign http://security.ubuntu.com quantal-security/multiverse Translation-en  
 Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US  
 Ign http://security.ubuntu.com quantal-security/restricted Translation-en  
 Ign http://security.ubuntu.com quantal-security/universe Translation-en_US  
 Ign http://security.ubuntu.com quantal-security/universe Translation-en  
 Err http://us.archive.ubuntu.com quantal/main Sources    
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/restricted Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/universe Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/multiverse Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/main i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/restricted i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/universe i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal/multiverse i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Ign http://us.archive.ubuntu.com quantal/main Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal/main Translation-en  
 Ign http://us.archive.ubuntu.com quantal/multiverse Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal/multiverse Translation-en  
 Ign http://us.archive.ubuntu.com quantal/restricted Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal/restricted Translation-en  
 Ign http://us.archive.ubuntu.com quantal/universe Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal/universe Translation-en  
 Err http://us.archive.ubuntu.com quantal-updates/main Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/restricted Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/universe Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/multiverse Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/main i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/restricted i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/universe i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-updates/multiverse i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Ign http://us.archive.ubuntu.com quantal-updates/main Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-updates/main Translation-en  
 Ign http://us.archive.ubuntu.com quantal-updates/multiverse Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-updates/multiverse Translation-en  
 Ign http://us.archive.ubuntu.com quantal-updates/restricted Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-updates/restricted Translation-en  
 Ign http://us.archive.ubuntu.com quantal-updates/universe Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-updates/universe Translation-en  
 Err http://us.archive.ubuntu.com quantal-backports/main Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/restricted Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/universe Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/multiverse Sources  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/main i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/restricted i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/universe i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-backports/multiverse i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Ign http://us.archive.ubuntu.com quantal-backports/main Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-backports/main Translation-en  
 Ign http://us.archive.ubuntu.com quantal-backports/multiverse Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-backports/multiverse Translation-en  
 Ign http://us.archive.ubuntu.com quantal-backports/restricted Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-backports/restricted Translation-en  
 Ign http://us.archive.ubuntu.com quantal-backports/universe Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-backports/universe Translation-en  
 Err http://us.archive.ubuntu.com quantal-proposed/restricted i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-proposed/main i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-proposed/multiverse i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Err http://us.archive.ubuntu.com quantal-proposed/universe i386 Packages  
  404 Not Found [IP: 91.189.91.14 80]  
 Ign http://us.archive.ubuntu.com quantal-proposed/main Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-proposed/main Translation-en  
 Ign http://us.archive.ubuntu.com quantal-proposed/multiverse Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-proposed/multiverse Translation-en  
 Ign http://us.archive.ubuntu.com quantal-proposed/restricted Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-proposed/restricted Translation-en  
 Ign http://us.archive.ubuntu.com quantal-proposed/universe Translation-en_US  
 Ign http://us.archive.ubuntu.com quantal-proposed/universe Translation-en  
 Fetched 104 kB in 1min 56s (892 B/s)  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/restricted/source/Sources 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/source/Sources 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/multiverse/source/Sources 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/restricted/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/universe/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/multiverse/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/restricted/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/universe/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/source/Sources 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-proposed/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-proposed/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-proposed/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-proposed/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.14 80]  
 E: Some index files failed to download. They have been ignored, or old ones used instead.  

Well, we are looking for a fast solution here. You can do this:
 
vi /etc/apt/sources.list
 
%s/us\.archive\.ubuntu/old-releases.ubuntu/g
%s/us\.security\.ubuntu/old-releases.ubuntu/g
 
These commands in vi. For a sed version you can find it here.  You may have to customize the command, if you are in Argentina it may be ar.archive and ar.security, so the first section of the regular expression should be that. In case of doubt, bring here your question, it is always welcome.