[ilugd] Sync and backup with latest modification time

2011-04-13 Thread Sagar Belure
Hi all,

I liked the rsync utility for sync and backup in ubuntu.

e.g. rsync -arH source destination
would backup files in archive mode(-a), recursively(-r) and preserve hard
links(-H).
Using this, destination is modified based upon the filesize differences.

How do I make rsync to take backup based on latest modified time, doesn't
matter if destination file size is larger or smaller than the source file?

Any help would be appreciable.

Thanks,
Sagar Belure
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Sync and backup with latest modification time

2011-04-13 Thread Sagar Belure
Also, if one has suggestion to use some other/better sync and backup utility
than rsync, would be helpful.

Thanks,
Sagar Belure

On Wed, Apr 13, 2011 at 3:11 PM, Sagar Belure sagar.bel...@gmail.comwrote:

 Hi all,

 I liked the rsync utility for sync and backup in ubuntu.

 e.g. rsync -arH source destination
 would backup files in archive mode(-a), recursively(-r) and preserve hard
 links(-H).
 Using this, destination is modified based upon the filesize differences.

 How do I make rsync to take backup based on latest modified time, doesn't
 matter if destination file size is larger or smaller than the source file?

 Any help would be appreciable.

 Thanks,
  Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Hijack program run by other pseudo terminal

2011-01-20 Thread Sagar Belure
Hi,

Is it possible to hijack process/program which is running on some
other pseudo terminal(e.g. pts 0) to the current terminal(say pts 2).
I don't want to hijack program of some other user, but I want to
interact with the program which I ran some time before like say(20
mins back) and then got disconnected because of network issue, and
when I connect back to the server, I get another pts session.
Now, all I need to do is interact with the currently running process.

I hope, this is not much confusing.

Help is appreciated.

--
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Hijack program run by other pseudo terminal

2011-01-20 Thread Sagar Belure
On Thu, Jan 20, 2011 at 3:16 PM, Tapan Chugh chugh.ta...@gmail.com wrote:
 See screen
 Looks it's what you want

Yes, just searched about it.
Exactly what I was looking for.

Thank you Tapan and Vikas.


 Hope That Helps

 On 20-Jan-2011 3:02 PM, Sagar Belure sagar.bel...@gmail.com wrote:

 Hi,

 Is it possible to hijack process/program which is running on some
 other pseudo terminal(e.g. pts 0) to the current terminal(say pts 2).
 I don't want to hijack program of some other user, but I want to
 interact with the program which I ran some time before like say(20
 mins back) and then got disconnected because of network issue, and
 when I connect back to the server, I get another pts session.
 Now, all I need to do is interact with the currently running process.

 I hope, this is not much confusing.

 Help is appreciated.

 --
 Thanks,
 Sagar Belure

 ___
 Ilugd mailing list
 Ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd




-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] FOSS profit

2010-12-29 Thread Sagar Belure
Hi all,

Maybe I'm asking another noob question.
But, wanted to know, how the big companies gain profit who run Free
and Open Source project like Mozilla, Apache, etc.
Of course, even if you are working for Free and Open source projects,
there has to be some income.

I'm hoping for the varieties of views on this.

PS: Apologize for the cross post. Do not include the other mailing
list id if you are not subscribed to it.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] FOSS profit

2010-12-29 Thread Sagar Belure
On Wed, Dec 29, 2010 at 9:21 PM, Gaurav  Paliwal
gaurav.paliwal1...@gmail.com wrote:
 Maybe I'm asking another noob question.
 But, wanted to know, how the big companies gain profit who run Free
 and Open Source project like Mozilla, Apache, etc.
 Of course, even if you are working for Free and Open source projects,
 there has to be some income.

 See this ilugd thread :
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/msg22295.html
 Also check out :
 http://www.lug-iitd.org/Articles/where_does_the_money_comes_from_FOSS

Thank you for the links provided. That's really helpful to get some
insight about the concept.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] FOSS profit

2010-12-29 Thread Sagar Belure
On Wed, Dec 29, 2010 at 11:13 PM, Gora Mohanty g...@mimirtech.com wrote:
 On Wed, Dec 29, 2010 at 9:17 PM, Narendra Sisodiya
 naren...@narendrasisodiya.com wrote:
 On Wed, Dec 29, 2010 at 8:58 PM, Sagar Belure sagar.bel...@gmail.comwrote:

 Hi all,

 Maybe I'm asking another noob question.
 But, wanted to know, how the big companies gain profit who run Free
 and Open Source project like Mozilla, Apache, etc.
 Of course, even if you are working for Free and Open source projects,
 there has to be some income.
 [...]

 One should absolutely not be worried about asking so-called
 noob questions. At the same time, you could have got some
 pretty good answers from a Google search for FOSS business
 models.

Right, still I had other intention as well, i.e. to get the
perspective of making FOSS as business models on different LUGs.


 People have addressed such issues much better than I could,
 but perhaps the best-established FOSS business model is
 making money from support. The software comes for free, but
 it makes eminent business sense for one's clients to hire one's
 services at a cost. There are many examples of companies doing
 exactly that, but to my mind one of the most successful ones in
 this area is Redhat.

Appreciate your input.

Well, I don't get it correctly.
Release software for free and make money by selling the support to
make that software workable?

Like say, releasing some so-called buggy or complicated thing for free.
And to make it work properly, you need to purchase one's service to
make the tweaks or lot more configurations which client can't do on
his own.
If so, I don't think, this is creating a good market reputation on it's own.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] FOSS profit

2010-12-29 Thread Sagar Belure
On Thu, Dec 30, 2010 at 1:28 AM, Ashish SHUKLA ashish...@lostca.se wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Sagar Belure writes:
 On Wed, Dec 29, 2010 at 11:13 PM, Gora Mohanty g...@mimirtech.com wrote:

 [...]

 People have addressed such issues much better than I could,
 but perhaps the best-established FOSS business model is
 making money from support. The software comes for free, but
 it makes eminent business sense for one's clients to hire one's
 services at a cost. There are many examples of companies doing
 exactly that, but to my mind one of the most successful ones in
 this area is Redhat.

 Appreciate your input.

 Well, I don't get it correctly.
 Release software for free and make money by selling the support to
 make that software workable?

 Yes, but that's not good in long run, esp. when people figure out your
 strategy. ;)

 Everyone needs support. Unless your willing to maintain software stack on your
 own, you'll need some one to maintain it, that's what support means. Be it in
 terms of porting your customizations to new versions, tuning it for
 performance, developing addons etc.

 Like say, releasing some so-called buggy or complicated thing for free.
 And to make it work properly, you need to purchase one's service to
 make the tweaks or lot more configurations which client can't do on
 his own.
 If so, I don't think, this is creating a good market reputation on it's own.

 How about maintaining a kernel for n years, and backporting new hardware
 support to it, while avoiding the bugs which come with new kernels ?

That makes a good business sense. :)


 HTH
 - --
 Ashish SHUKLA

 “Intellectual Property is nowhere near as valuable as Intellect”

Also, I like this line. Appreciate that all.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Ubuntu 10.04 got crashed

2010-12-27 Thread Sagar Belure
On Mon, Dec 27, 2010 at 7:37 PM, Rakesh Kumar kumar3...@gmail.com wrote:
 Hi I firstly tried to look into the partition table by using # fdisk
 -l, but it was showing windows partitions only.
 It's not my laptop so i can't perform experiments on it.
 I've not worked on ubuntu so much but in Red Hat i preferably use this
 to delete grub:
 dd if=/dev/zero of=/dev/sda bs=256 count=1

 So i want to ask you whether this will work, to delete grub and
 reinstall it using installation media?

If you are looking for replacing grub, then
-boot the system with Ubuntu live CD
-mount no other media device than your ubuntu root partition
-run $sudo grub-install
--root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda
(Of course, the device ID can be different with your case)
-reboot

HTH.

Reference:
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [...@iitd:10950] [Tip] Access your accounts(Gmail/Facebook.. etc., )as diff users on the same web browser

2010-12-24 Thread Sagar Belure
On Fri, Dec 24, 2010 at 2:37 PM, Tha.Suresh jemenisur...@gmail.com wrote:
 Multiple sign is possible in gmail from quite a long back.
 I agree.
 But what about other sites, like banking/social network sites.!!!

Yup. That was just FYI.

Also, information provided by you was nice. Appreciate it.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [...@iitd:10950] [Tip] Access your accounts(Gmail/Facebook.. etc., )as diff users on the same web browser

2010-12-23 Thread Sagar Belure
On Thu, Dec 23, 2010 at 6:24 PM, Tha.Suresh jemenisur...@gmail.com wrote:
 Run the Firefox Profile Manager

 $ firefox -no-remote -P

 After executing this command, you 'll see a pop-up window.
 Click on create profile button and add your profile  name.
 Clich the Start Firefox button. That's all. :)

 For Example, before executing the above command, login to your
 gmail/facebook or any other site.
 Now after clicking the 'Start Firefox' command by executing the above
 command, you can login to those sites as a different user( two or more
 users )on the same web browser.
 So, there is no restriction that the user has to logout to give access
 to another user. ;)

Multiple sign is possible in gmail from quite a long back.
Check this link:

http://gmailblog.blogspot.com/2010/08/access-two-gmail-accounts-at-once-in.html

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] [LUG@IITD:10912] Delhi FOSS meet

2010-12-21 Thread Sagar Belure
On Wed, Dec 22, 2010 at 2:26 AM, Nalin Savara nsn...@gmail.com wrote:


 BTW, whats the planned date of meet ?


That would be 26th Dec 2010, Sunday.



 Regards,

 Nalin

 --
 l...@iitd - http://tinyurl.com/ycueutm




-- 
Thanks,
Sagar Belure
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Unsubscribe

2010-12-20 Thread Sagar Belure
Hi,

Here:
http://frodo.hserus.net/mailman/listinfo/ilugd

Hope that helps.

On Mon, Dec 20, 2010 at 2:22 PM, Robin Ladwal robin_lad...@hotmail.com wrote:



 Thanks  Regards
 ---
 Robin Ladwal
 CEO  MD
 Arahan Solutions (P) Ltd.

 Website: http://www.arahansolutions.com
 Official Email ID: robin.lad...@arahansolutions.com

 Contact No. 0-276826

 Please do not take printout of this mail unless its very important. Lets save 
 tree, lets save life.



 ___
 Ilugd mailing list
 Ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd




-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Delhi FOSS meet

2010-12-18 Thread Sagar Belure
Hi,
I'm sending the same message again, in case people have missed in the thread.


Hi all,

I see a good number of people interested for the meet.
I want to know the convenience if it would be fine to hold the meet on
26th Dec 2010, Sunday.

Detail:
Venue: South Delhi (will let you all know the exact address, once it's
ok for all with South Delhi)
Date and time: 26th Dec 2010, 2PM to 4PM

Please acknowledge the convenience and your presence.

--
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Delhi ILUG meet

2010-12-17 Thread Sagar Belure
Hi all,

I see a good number of people interested for the meet.
I want to know the convenience if it would be fine to hold the meet on
26th Dec 2010, Sunday.

At any desired time, the participants are good with.
Also, if it's convenient for all in South Delhi.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Delhi ILUG meet

2010-12-16 Thread Sagar Belure
Hi all,

I would be interested to arrange/participate the ILUG Delhi meet.
Would love to meet the active Linux hackers in person.

So please let me know, if someone is interested to arrange it in this month.

--
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Verify application with .sig file

2010-12-16 Thread Sagar Belure
Hi,

u...@ubuntu:~$ gpg --import id_public_key.asc
gpg: key 79A9F115: Immunity Debugger (Immunity Debugger Sign Key)
immunitydebug...@immunityinc.com not changed
gpg: key 54BF70F2: Immunity Debugger (Immunity Inc.)
immunitydebug...@immunityinc.com not changed
gpg: Total number processed: 2
gpg:  unchanged: 2

u...@ubuntu:~$ gpg --verify ImmunityDebugger_1_80_setup.exe.sig
ImmunityDebugger_1_80_setup.exe
gpg: Signature made Tuesday 07 December 2010 03:07:31 AM IST using DSA
key ID 54BF70F2
gpg: Good signature from Immunity Debugger (Immunity Inc.)
immunitydebug...@immunityinc.com
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.
Primary key fingerprint: 6E32 9351 3A61 5274 6FBF  8273 ABCA 792D 54BF 70F2

u...@ubuntu:~$

Is this the proper way of checking the integrity of application with
.sig and public key files?

Sorry if it sounds a silly question, but this is the first time I'm
dealing with .sig file instead of md5/sha1 hashes.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Delhi ILUG meet

2010-12-16 Thread Sagar Belure
On Thu, Dec 16, 2010 at 5:39 PM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:


 On Thu, Dec 16, 2010 at 4:17 PM, Sagar Belure sagar.bel...@gmail.com
 wrote:

 Hi all,

 I would be interested to arrange/participate the ILUG Delhi meet.

 just call it FOSS meet... There are many other lug exist in delhi,, so
 better avoid these terms.. we all belongs to same place.. FOSS+NCR...

Sure, no problem.
Call it the way you want, I'm just interested with meet and knowledge
sharing. :-)

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Server is hacked, pl. advice

2010-12-02 Thread Sagar Belure
Hi,

On Fri, Dec 3, 2010 at 11:56 AM, abhishek jain
abhishek.netj...@gmail.comwrote:

 hi friends,
 I today noticed my VPS was running too slow, then i logged into root , and
 found a lot of load on it ( 240 ).
 I did a ps -ef and a lot of process were running, a lot of them were


 user1 23771 1  0 15:36 pts/000:00:02 ./atack 800

 Also in WHM i see a process

 user1 99.7 perl udp.pl 92.114.6.32 0 22



 can anyone here suggest me what should i do,
 i am not sure how user1 logged into server, further what does the command
 perl udp.pl 92.114.6.32 0 22 mean which eats up 99.7% of CPU .


I would suggest you, not to panic and very first thing you need to do is to
change the root  user1's password(if you really interested to know what
this user is trying to do).
After changing the passwords, download all the dump of '/var/log/messages/'
and analyze.

Probability is more that some vulnerable panel attack, but can't say until
you have analyzed everything.

These command may help you to investigate more
$ last
$ ps aux |grep pts   --to know if someone else is logged in along
with you :-) reason being, one may use command like 'ssh
r...@victimip-i /bin/bash' to hide himself from command like 'w' or
'who'
$ netstat -antp--check out the current established
connection or who else is trying to connect you for current time

HTH.

-- 
Thanks,
Sagar Belure
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] PPTP Vs OpenVPN

2010-10-28 Thread Sagar Belure
I want the opinion about, what to prefer in VPN server?
A routed/bridged VPN?

Help is appreciated.

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] PPTP Vs OpenVPN

2010-10-27 Thread Sagar Belure
Hi all,

Many people suggests to use OpenVPN over PPTP server.
What is so special about OpenVPN server?

Any good/bad experiences configuring openvpn on ubuntu?

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Problem with VMWare workstation on Ubuntu

2010-10-12 Thread Sagar Belure
Hi,

I have been facing this problem from quite a long time.
I even thought of reporting the bug, but not sure how do I do that.
This is because every time I *dare* to see launchpad, I get confused
and rush to close the tab as soon as I can.
Also, I have bit fear because of the warnings that reads Make sure
your bug hasn't already been reported. In fact, I once searched for
the related bugs.
Well, I'm proud that I was able to go through 2 result pages. :-)

Anyway, here is how you can reproduce the bug:
-Enable the screen lock if the system is idle for 10 mins
-I/O devices are busy working with guest OS inside VMware workstation
for more than 10 mins
-And when the mouse/keyboard comes out of VM and trying to interact
with host OS, the screen is locked

Host OS doesn't understand that, while working inside VM the system is
*not* idle.

Also, similar kind of issue was there when I was using VLC media
player on Ubuntu 9.10. As, when watching movie, apparently screen get
locked on its standard specified idle timeout.
But, I haven't faced this with VLC on Ubuntu 10.04.

Has anyone faced the issue?
Or is there similar bug already been reported, if someone know about it?


-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Get the time file was created

2010-10-08 Thread Sagar Belure
Hi all,

Why is it so hard to get the time when file created?
Googled about the issue, but couldn't help.

Pointers please.

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Get the time file was created

2010-10-08 Thread Sagar Belure
On Fri, Oct 8, 2010 at 11:42 PM, Mehul Ved mehul.n@gmail.com wrote:
 On Fri, Oct 8, 2010 at 11:34 PM, Sagar Belure sagar.bel...@gmail.com wrote:
 Hi all,

 Why is it so hard to get the time when file created?
 Googled about the issue, but couldn't help.

 It is not stored by the file system. So, AFAIK you cannot get that 
 information.

Yes. Came to know about that too.
But, why is so?

I mean, which all filesystems support, which doesn't?
Or
by *file system* you mean it's different from *filesystem*?


-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Distributed updates in Ubuntu

2010-07-26 Thread Sagar Belure
On Mon, Jul 26, 2010 at 11:15 AM, Sagar Belure sagar.bel...@gmail.comwrote:

 On Fri, Jul 23, 2010 at 7:42 PM, Ashish SHUKLA wahjava...@gmail.comwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Vivek Kapoor writes:
  On 07/23/2010 06:32 PM, Sagar Belure sagar.bel...@gmail.com wrote:
  Please, bear with me, if I'm not able to properly present my
 requirement.
 
  There are some 32 and 64 bit ubuntu systems in same network.
  I want only one system(like, one 32 and one 64 bit systems) to be
 updated
  and upgraded on daily basis.
  And, rest of the systems, to fetch those updated packages before they
 go
  online and check for new packages.

  From what I have understood, you don't want every machine to download
  from the Ubuntu repositories, but only one machine should do the
  task. It'll handle 32bit and 64bit without any issues. Use one of the
  following

  apt-proxy, apt-cacher, apt-cacher-ng, approx

  I started with apt-cacher and faced update issues in long term use, so
  I moved to approx and was happy with it, but newer version presented a
  bit difficulty in the sense that it didn't run its own daemon. So I
  moved onto apt-cacher-ng which has been working well for quite some
  time now.

 I also used apt-cacher in past and it worked but recent versions had some
 issues, so I kept the old version pinned on my Debian box.

 I also tried pkg-cacher[1] because I needed to cache for 'yum'
 (fedora/centos)
 also and it worked great since it can cache both 'yum' and 'apt'.

 References:
 [1]  http://gforge.opensource-sw.net/gf/project/pkg_cacher/frs/

 HTH


 Thank you all for your responses.
 I got options to look into and your views and experience is really
 valuable.


'apt-cacher-ng' seems to fulfill my requirements.
BTW, is it ,by any chance, possible to set up 'repository-cache' server
combined for 32 as well as 64 bit systems.
apt-cacher-ng uses /var/cache/apt/archives as repository, and is obviously
different for 32 and 64 bit systems.

Any clue, to achieve combined repository?

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Distributed updates in Ubuntu

2010-07-26 Thread Sagar Belure
On Mon, Jul 26, 2010 at 2:02 PM, Vivek Kapoor subs...@exain.com wrote:

 On 07/26/2010 01:47 PM, Sagar Belure sagar.bel...@gmail.com wrote:


 'apt-cacher-ng' seems to fulfill my requirements.
 BTW, is it ,by any chance, possible to set up 'repository-cache' server
 combined for 32 as well as 64 bit systems.


 apt-cacher* is for repository-cache of both 32bit and 64bit architecture.
 It's just a cache server, so it doesn't matter whether it's 32bit or 64bit
 as the client machine would request a particular package which the caching
 server would download (unless it's already downloaded) and serve.


Yes, apt-cacher* is just cache server.
But, I have to install it *individually* on two different systems for 32 and
64 bit systems.




  apt-cacher-ng uses /var/cache/apt/archives as repository, and is obviously
 different for 32 and 64 bit systems.


 I don't think it uses /var/cache/apt/archives. Instead it uses
 /var/cache/apt-cacher-ng for the cache. Atleast it does that on my machine.


Well, that's what I read[1].




  Any clue, to achieve combined repository?


 Not sure what you mean by combined repository. What do you intend to do?


Like in Windows, WSUS caches the packages for almost all Windows product
updates, doesn't matter if it's 32 or 64 bit, doesn't even matter if updates
are for XP or Vista or Win7.
So, all I'm asking if it's possible to achieve same kind of functionality in
Ubuntu too?

[1]
http://www.ubuntugeek.com/apt-cacher-ng-http-download-proxy-for-software-packages.html

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Distributed updates in Ubuntu

2010-07-26 Thread Sagar Belure
On Mon, Jul 26, 2010 at 2:37 PM, Ashish SHUKLA wahjava...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Sagar Belure writes:
  On Mon, Jul 26, 2010 at 11:15 AM, Sagar Belure sagar.bel...@gmail.com
 wrote:

  On Fri, Jul 23, 2010 at 7:42 PM, Ashish SHUKLA wahjava...@gmail.com
 wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512
 
  Vivek Kapoor writes:
   On 07/23/2010 06:32 PM, Sagar Belure sagar.bel...@gmail.com wrote:
   Please, bear with me, if I'm not able to properly present my
  requirement.
  
   There are some 32 and 64 bit ubuntu systems in same network.
   I want only one system(like, one 32 and one 64 bit systems) to be
  updated
   and upgraded on daily basis.
   And, rest of the systems, to fetch those updated packages before
 they
  go
   online and check for new packages.
 
   From what I have understood, you don't want every machine to download
   from the Ubuntu repositories, but only one machine should do the
   task. It'll handle 32bit and 64bit without any issues. Use one of the
   following
 
   apt-proxy, apt-cacher, apt-cacher-ng, approx
 
   I started with apt-cacher and faced update issues in long term use,
 so
   I moved to approx and was happy with it, but newer version presented
 a
   bit difficulty in the sense that it didn't run its own daemon. So I
   moved onto apt-cacher-ng which has been working well for quite some
   time now.
 
  I also used apt-cacher in past and it worked but recent versions had
 some
  issues, so I kept the old version pinned on my Debian box.
 
  I also tried pkg-cacher[1] because I needed to cache for 'yum'
  (fedora/centos)
  also and it worked great since it can cache both 'yum' and 'apt'.
 
  References:
  [1]  http://gforge.opensource-sw.net/gf/project/pkg_cacher/frs/
 
  HTH
 
 
  Thank you all for your responses.
  I got options to look into and your views and experience is really
  valuable.
 

  'apt-cacher-ng' seems to fulfill my requirements.
  BTW, is it ,by any chance, possible to set up 'repository-cache' server
  combined for 32 as well as 64 bit systems.
  apt-cacher-ng uses /var/cache/apt/archives as repository, and is
 obviously
  different for 32 and 64 bit systems.

 The file names of the downloaded packages have architecture mentioned in
 them,
 so you don't have to worry about 32-bit packages getting overwritten by
 64-bit
 ones. And I used a single repository with apt-cacher and pkg-cacher.


Ok. By that, you mean, once I run 'sudo apt-get update ; sudo apt-get
upgrade' on repository-cache server(Ubuntu 10.04 amd64 desktop), provided it
has apt-cache-ng installed, will be able to fetch 32 bit debs too?

Or wait

How am I supposed to update repository-cache server?

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Distributed updates in Ubuntu

2010-07-26 Thread Sagar Belure
On Mon, Jul 26, 2010 at 3:46 PM, Ashish SHUKLA wahjava...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Sagar Belure writes:
  On Mon, Jul 26, 2010 at 2:37 PM, Ashish SHUKLA wahjava...@gmail.com
 wrote:

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512
 
  Sagar Belure writes:
   On Mon, Jul 26, 2010 at 11:15 AM, Sagar Belure 
 sagar.bel...@gmail.com
  wrote:
 
   On Fri, Jul 23, 2010 at 7:42 PM, Ashish SHUKLA wahjava...@gmail.com
  wrote:
  
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA512
  
   Vivek Kapoor writes:
On 07/23/2010 06:32 PM, Sagar Belure sagar.bel...@gmail.com
 wrote:
Please, bear with me, if I'm not able to properly present my
   requirement.
   
There are some 32 and 64 bit ubuntu systems in same network.
I want only one system(like, one 32 and one 64 bit systems) to be
   updated
and upgraded on daily basis.
And, rest of the systems, to fetch those updated packages before
  they
   go
online and check for new packages.
  
From what I have understood, you don't want every machine to
 download
from the Ubuntu repositories, but only one machine should do the
task. It'll handle 32bit and 64bit without any issues. Use one of
 the
following
  
apt-proxy, apt-cacher, apt-cacher-ng, approx
  
I started with apt-cacher and faced update issues in long term
 use,
  so
I moved to approx and was happy with it, but newer version
 presented
  a
bit difficulty in the sense that it didn't run its own daemon. So
 I
moved onto apt-cacher-ng which has been working well for quite
 some
time now.
  
   I also used apt-cacher in past and it worked but recent versions had
  some
   issues, so I kept the old version pinned on my Debian box.
  
   I also tried pkg-cacher[1] because I needed to cache for 'yum'
   (fedora/centos)
   also and it worked great since it can cache both 'yum' and 'apt'.
  
   References:
   [1]  http://gforge.opensource-sw.net/gf/project/pkg_cacher/frs/
  
   HTH
  
  
   Thank you all for your responses.
   I got options to look into and your views and experience is really
   valuable.
  
 
   'apt-cacher-ng' seems to fulfill my requirements.
   BTW, is it ,by any chance, possible to set up 'repository-cache'
 server
   combined for 32 as well as 64 bit systems.
   apt-cacher-ng uses /var/cache/apt/archives as repository, and is
  obviously
   different for 32 and 64 bit systems.
 
  The file names of the downloaded packages have architecture mentioned in
  them,
  so you don't have to worry about 32-bit packages getting overwritten by
  64-bit
  ones. And I used a single repository with apt-cacher and pkg-cacher.
 

  Ok. By that, you mean, once I run 'sudo apt-get update ; sudo apt-get
  upgrade' on repository-cache server(Ubuntu 10.04 amd64 desktop), provided
 it
  has apt-cache-ng installed, will be able to fetch 32 bit debs too?

 I'm not sure about 'apt-cache-ng', never used it.

  Or wait

  How am I supposed to update repository-cache server?

 I used 'apt-cacher' and 'pkg-cacher' both of which act only when they
 receive
 an HTTP request from one of the clients. They're usually installed as a CGI
 binary, or as a standalone web-server. And when they receive a HTTP request
 for a file, they perform a cache look-up, and if the file is in cache, they
 serve it from cache, otherwise they initiate downloading from the source.
 The
 first time one of your client updates itself, a 'cache miss' will happen
 and
 the packages will be downloaded. And for subsequent updates, the packages
 are
 served from the cache.


Ok. That was very clear and neat. Thank you.

AFAICS, installation with 'apt-cacher-ng' on the systems seems the same way,
looking at the configuration page by browsing
http://localhost:3124/acng-report.html

And yes, Vivek seems right, that apt-cacher-ng uses cache located at
/var/cache/apt-cacher-ng/_import.
Now, I'm hoping importing already downloaded packages from
/var/cache/apt/will be all fine.

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Distributed updates in Ubuntu

2010-07-25 Thread Sagar Belure
On Fri, Jul 23, 2010 at 7:42 PM, Ashish SHUKLA wahjava...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Vivek Kapoor writes:
  On 07/23/2010 06:32 PM, Sagar Belure sagar.bel...@gmail.com wrote:
  Please, bear with me, if I'm not able to properly present my
 requirement.
 
  There are some 32 and 64 bit ubuntu systems in same network.
  I want only one system(like, one 32 and one 64 bit systems) to be
 updated
  and upgraded on daily basis.
  And, rest of the systems, to fetch those updated packages before they go
  online and check for new packages.

  From what I have understood, you don't want every machine to download
  from the Ubuntu repositories, but only one machine should do the
  task. It'll handle 32bit and 64bit without any issues. Use one of the
  following

  apt-proxy, apt-cacher, apt-cacher-ng, approx

  I started with apt-cacher and faced update issues in long term use, so
  I moved to approx and was happy with it, but newer version presented a
  bit difficulty in the sense that it didn't run its own daemon. So I
  moved onto apt-cacher-ng which has been working well for quite some
  time now.

 I also used apt-cacher in past and it worked but recent versions had some
 issues, so I kept the old version pinned on my Debian box.

 I also tried pkg-cacher[1] because I needed to cache for 'yum'
 (fedora/centos)
 also and it worked great since it can cache both 'yum' and 'apt'.

 References:
 [1]  http://gforge.opensource-sw.net/gf/project/pkg_cacher/frs/

 HTH


Thank you all for your responses.
I got options to look into and your views and experience is really valuable.

-- 
Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Distributed updates in Ubuntu

2010-07-23 Thread Sagar Belure
Please, bear with me, if I'm not able to properly present my requirement.

There are some 32 and 64 bit ubuntu systems in same network.
I want only one system(like, one 32 and one 64 bit systems) to be updated
and upgraded on daily basis.
And, rest of the systems, to fetch those updated packages before they go
online and check for new packages.

There is some vague idea in my mind to achieve this.
Check the 'master' systems /var/cache/apt/archives directory, list all deb
packages and install them accordingly.
Make one entry in source.list of each system to do the same.
But, I'm not sure how to achieve this.

Help is appreciable.

Thanks,
Sagar Belure
Security Analyst
Secfence Technologies
www.secfence.com
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Wget with NULL character

2010-06-25 Thread Sagar Belure
Hi list,

Is anyone know if its possible to use NULL character with wget?

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Wget with NULL character

2010-06-25 Thread Sagar Belure
On Fri, Jun 25, 2010 at 5:30 AM, Robin Ladwal robin_lad...@hotmail.com wrote:
 Dear Sagar

 yes you can use a null character by using a escape sequence i.e., backlash
 (\) followed by white space or null character.

That is a SPACE character. What I was looking for is a NULL character
with value %00

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Wget with NULL character

2010-06-25 Thread Sagar Belure
On Fri, Jun 25, 2010 at 5:55 AM, Ashish SHUKLA wahjava...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Sagar Belure writes:
 Hi list,

 Is anyone know if its possible to use NULL character with wget?

 Yes you can use NULL character anywhere, but how're you planning on using NULL
 character with wget[1] ?

 1. As part of URL - you can URL encode the NULL character as '%00'.

 2. As part of body - you can pass '\0' over stdin.

 3. As command-line argument -- chances are that /proc/$(pidof wget)/cmdline
   already has some NULL characters.

Well, thanks for your reply.
Thought, it's not working the way I wanted.
After sniffing the network with wireshark, what I could see it in hex
values *25 30 30* for '%00'.

Seems(to me), while trying to download something with wget, it
converts the URL in browser-like format. If so, in that case, it may
not be possible to include a NULL character with wget.

-- 
Thanks,
Sagar Belure

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd