Re: [Israel.pm] israel.pm meeting on 12/4/2007

2007-04-13 Thread Chanan Berler

is there a chance to move the meeting to Sunday, due to the Maccabi game?
I know i am new here, and still looking for my first meeting

thanks
Chanan

PS: the game is today on 19:15 local time

On 4/9/07, Shlomi Fish [EMAIL PROTECTED] wrote:

Hi Dotan!

Thanks for volunteering.

See below for my response.

On Monday 09 April 2007, Dotan Cohen wrote:
 On 08/04/07, Shlomi Fish [EMAIL PROTECTED] wrote:
  Hi Shmuel!
 
  On Sunday 08 April 2007, Shmuel Fomberg wrote:
   Hi Shlomi.
  
Would you or any other F5er would like to update the site directly?
  
   I'm
  
getting tired of doing it, and want to delegate some responsibilities
  
   to
  
people with less community involvement.
A similar issue is publicising in time in Perl-IL, Linux-IL, Whatsup,
Linmagazine, which I'd also like to delegate. The previous meeting
had
   
very little attendance due to an incredibly low publicity. Everyone
dependended on
me, and I thought it was unnecessary. (my mistake, I know, but at
  
   least
  
we've learned from this experience)
  
   Why haven't you written a script by now, that post a message on all
   these boards?
   You are so under-productive. You are a programmer - program!
 
  Thanks for labelling me as under-productive. :-)
 
  As you may well know laziness is one of the three great virtues of a
  programmer. And besides it's not that simple - I need it in English for
  the mailing lists, and in Hebrew for the web sites, and I need to
  customise the content etc. And it's not very time-consuming.
 
  However, I feel that with my level of contribution to the FOSS world, I
  have much better things to contribute to my time than to publicise it,
  which any HTML-knowing kid can do. And some people practically don't do
  anything to Perl or FOSS, while I may be over-doing things a bit.
 
  What have you done for your country lately?
 
  If you don't want publicity for the meetings - fine - I'm not going to do
  it. If you do want, then someone will have to volunteer. In fact, I'm
  CCing this message to Linux-IL where some people may volunteer.
 
  Regards,
 
  Shlomi Fish

 Good that you CC the list, but what exactly is the request? You want
 someone to maintain the website? I'll do it.

OK, thanks. I guess I can give you my password, but the best way would be for
Gabor ( [EMAIL PROTECTED] ) to give you a username+password there.

 You want someone to
 publicise meetings offline? I'll hang papers at the Technion.

Not offline - online. For the Perl meetings. I need someone to publicise it on
Linux-IL, Hackers-IL, Whatsup, Linmag, etc.

 You want
 someone to translate Linux info HebEng, sent it to me. I'll be glad
 to help with what I can.


No, that's not necessary.

You may have lost context. Until now, the Perl mongers had me as their sole
publicity officer and their web-site maintainer. However, now I find that I
have much better things to do with my time. It is not very time consuming,
but still annoying. I've grown past that.

So we're looking for a volunteer.

Regards,

   Shlomi Fish

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

If it's not in my E-mail it doesn't happen. And if my E-mail is saying
one thing, and everything else says something else - E-mail will conquer.
   -- An Israeli Linuxer
___
Perl mailing list
[EMAIL PROTECTED]
http://perl.org.il/mailman/listinfo/perl




--
===
 Chanan Berler
===

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



dynamically configuring ssh ip address

2007-04-13 Thread Amos Shapira

Hi,

I have the usual VPN connection to my workplace, a simple pon work will
bring me up to the network.

Given that I leave my home machine connected to VPN 24/7, I'd like to
connect home from work using the VPN address, which is much faster.

Right now, in order to do this I have to ssh my no-ip address ifconfig
ppp0 and then connect to the IP address I get there.

Instead, I'd like to update .ssh/config on my work machine to know that my
home machine is currently available at a particular VPN address.

I already have a script under /etc/ppp/ip-up.d at home which does some stuff
(e.g. setup additional routing rules) and this script has access to the just
assigned local address through the $PPP_LOCAL envariable.

But how can I copy this information over to my work machine in a useful
format?

The current solution I can think about is to setup a special ssh identity
which will have an unencrypted private key on home machine. Its public key
will only be limited to run a particular shell script on the work machine
which will read the given IP address and do something a-la sed -e
's/@IP_ADDRESS@/$PPP_LOCAL/'
 .ssh/config_template  .ssh/config.

Is this the only way to do this? Is there a more elegant way I'm missing?

(We currently use MS VPN, maybe once I get around to switch to OpenVPN I'll
have more control over this and be able to dynamically assign host names
based on the user used to login to the VPN? Is this possible with MS VPN?)

Both work and home machines run Debian Etch (Stable, at last :).

Thanks,

--Amos


Re: dynamically configuring ssh ip address

2007-04-13 Thread Ilya Konstantinov

On 4/13/07, Amos Shapira [EMAIL PROTECTED] wrote:


Is this the only way to do this? Is there a more elegant way I'm missing?



Yes, subscribe to yet another dynamic IP name service for the work IP. If
your sysadmin at work is nice enough and you have an internal DNS server,
you could pretty easily update it with a DNSSEC key and 'nsupdate'.

(We currently use MS VPN, maybe once I get around to switch to OpenVPN I'll

have more control over this and be able to dynamically assign host names
based on the user used to login to the VPN? Is this possible with MS VPN?)



This is probably the basic Windows RAS Service. In this case, just go to
Active Directory Users and Computers, select your user, go to the Dial-in
tab and fill out the Assign a static IP input box.


Re: dynamically configuring ssh ip address

2007-04-13 Thread Amos Shapira

On 13/04/07, Ilya Konstantinov [EMAIL PROTECTED] wrote:


On 4/13/07, Amos Shapira [EMAIL PROTECTED] wrote:

 Is this the only way to do this? Is there a more elegant way I'm
 missing?


Yes, subscribe to yet another dynamic IP name service for the work IP.
If your sysadmin at work is nice enough and you have an internal DNS server,
you could pretty easily update it with a DNSSEC key and 'nsupdate'.



I am the system manager. I inherited the network a couple of months ago and
going forward hope to transform it to an open network based on Linux, though
there might be some parts (hopefully small island) which I won't be able to
convert (e.g. almost everyone else will want to stick to Windows desktops,
and to Exchange Server).

(We currently use MS VPN, maybe once I get around to switch to OpenVPN I'll

 have more control over this and be able to dynamically assign host names
 based on the user used to login to the VPN? Is this possible with MS VPN?)


This is probably the basic Windows RAS Service. In this case, just go to
Active Directory Users and Computers, select your user, go to the Dial-in
tab and fill out the Assign a static IP input box.



This is one part of the system I don't have access to (only the CEO and CTO
can touch the Active Directory).
Is there a chance to get a DNS record dynamically updated to the right IP
address instead of having to allocate a static IP address?

Thanks,

--Amos


Re: dynamically configuring ssh ip address

2007-04-13 Thread Yehoshua (Shay) O'Hayon Suchar
Amos Shapira wrote:

 On 13/04/07, *Moshe Leibovitch* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 It may sound too simplistic, but you can mail it to a shell alias
 which will run a script.


 Thanks for the idea, but I can only access mail at work through Outlook.

Can't you configure your client/outlook account to automatically send a
mail to another machine in the internal network?


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: dynamically configuring ssh ip address

2007-04-13 Thread Ilya Konstantinov

On 4/13/07, Amos Shapira [EMAIL PROTECTED] wrote:


(We currently use MS VPN, maybe once I get around to switch to OpenVPN
  I'll have more control over this and be able to dynamically assign host
  names based on the user used to login to the VPN? Is this possible with MS
  VPN?)


 This is probably the basic Windows RAS Service. In this case, just go to
 Active Directory Users and Computers, select your user, go to the Dial-in
 tab and fill out the Assign a static IP input box.


This is one part of the system I don't have access to (only the CEO and
CTO can touch the Active Directory).
Is there a chance to get a DNS record dynamically updated to the right IP
address instead of having to allocate a static IP address?



Yep, just as I described: make your company's DNS server accept your DNSSEC
key for updating your home machine's A record. Assuming you have access to
yoru company's DNS server, of course, since according to you, you're not
allowed to touch the AD...


Re: dynamically configuring ssh ip address

2007-04-13 Thread Amos Shapira

On 13/04/07, Yehoshua (Shay) O'Hayon Suchar [EMAIL PROTECTED] wrote:


Amos Shapira wrote:

 On 13/04/07, *Moshe Leibovitch* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 It may sound too simplistic, but you can mail it to a shell alias
 which will run a script.


 Thanks for the idea, but I can only access mail at work through Outlook.

Can't you configure your client/outlook account to automatically send a
mail to another machine in the internal network?



I suppose I can but ssh sounds so much easier and stright-forward, without
dependence on having Outlook running all the time...

--Amos


Re: dynamically configuring ssh ip address

2007-04-13 Thread Maxim Veksler

On 4/14/07, Amos Shapira [EMAIL PROTECTED] wrote:

On 13/04/07, Yehoshua (Shay) O'Hayon Suchar [EMAIL PROTECTED] wrote:
 Amos Shapira wrote:

  On 13/04/07, *Moshe Leibovitch* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  It may sound too simplistic, but you can mail it to a shell alias
  which will run a script.
 
 
  Thanks for the idea, but I can only access mail at work through Outlook.
 
 Can't you configure your client/outlook account to automatically send a
 mail to another machine in the internal network?

I suppose I can but ssh sounds so much easier and stright-forward, without
dependence on having Outlook running all the time...



I assume you are aware of the way you run commands on the server with ssh.

Example for those who don't:

[EMAIL PROTECTED]:/$ ssh localhost echo ssh-server-side: \$SSH_CLIENT
ssh-server-side: 127.0.0.1 45116 22

[EMAIL PROTECTED]:/$ CLIENT_SIDE_VAR='This is simple bash interpretation'
[EMAIL PROTECTED]:/$ ssh localhost echo $CLIENT_SIDE_VAR
This is simple bash interpretation

[EMAIL PROTECTED]:/$ echo STDIN redirection example | ssh localhost cat
STDIN redirection example

You can also combine them all into one ssh invocation:

[EMAIL PROTECTED]:/$ echo STDIN redirection example | ssh localhost
echo ssh-server-side: \$SSH_CLIENT; echo $CLIENT_SIDE_VAR; cat
ssh-server-side: 127.0.0.1 45116 22
This is simple bash interpretation
STDIN redirection example



--Amos



Maxim.

--
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]