SNMP: GET/SET vs. TRAP

2008-04-21 Thread Oren Held
Hi,

net-snmp's GET/SET mechanism looks completely separated from the TRAP 
mechanism, which I find quite bizarre.

NET-SNMP claims to be easily extensible with Perl 
(http://net-snmp.sourceforge.net/wiki/index.php/Tut:Extending_snmpd_using_perl)
However, this extension doesn't know what a TRAP is, only handles GET/SET 
commands.

It seems as if I have two options:
A. Write a completely separate Perl daemon that sends traps using Net::SNMP 
(completely separate code for sending TRAPs and handling GETs/SETs??)
B. Write a subagent in C (a separate process that talks to snmpd), which 
handles both GETs/SETs  TRAPs. (Is that the common approach?)

Am I missing something?

Thanks

 - Oren

=
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: SNMP: GET/SET vs. TRAP

2008-04-21 Thread ronys
Hi,

Conceptually, there's a big difference between get/set and traps:

get/set messages in SNMP are always requested by the management application and 
responded to by the SNMP agent.

Traps, OTOH, are messages that are sent, unsolicited, from the agent to notify 
the management app of something of interest that has happened without having to 
wait for polling.

HTH,

Rony

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oren Held
Sent: Monday, April 21, 2008 3:27 PM
To: linux-il
Subject: SNMP: GET/SET vs. TRAP

Hi,

net-snmp's GET/SET mechanism looks completely separated from the TRAP 
mechanism, which I find quite bizarre.

NET-SNMP claims to be easily extensible with Perl 
(http://net-snmp.sourceforge.net/wiki/index.php/Tut:Extending_snmpd_using_perl)
However, this extension doesn't know what a TRAP is, only handles GET/SET 
commands.

It seems as if I have two options:
A. Write a completely separate Perl daemon that sends traps using Net::SNMP 
(completely separate code for sending TRAPs and handling GETs/SETs??)
B. Write a subagent in C (a separate process that talks to snmpd), which 
handles both GETs/SETs  TRAPs. (Is that the common approach?)

Am I missing something?

Thanks

 - Oren

=
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]


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: SendSMS through orange account: the end?

2008-04-21 Thread sara fink
So, how can I send with vicq to orange numbers? it automatically
selects for cellcom and pelephone with icq.

On Sun, Apr 20, 2008 at 9:58 PM, Geoffrey S. Mendelson
[EMAIL PROTECTED] wrote:
 On Sun, Apr 20, 2008 at 09:27:57PM +0300, Oren Held wrote:
   Looks like they added a CAPTCHA. crap.

  VICQ still works. Just tried it. In fact ICQ now gives you the option to
  reply via ICQ. Before replies just went to Dave Knoll.

  Geoff.
  --
  Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM



  =
  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]



=
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: yet another Hot packet drop

2008-04-21 Thread sara fink
Few rules from an expert.
1. Try to ping some web site. google, ynet (to compare).
2. with mtr you can detect the ip from where you get packet loss.
3. traceroute google.com (if you see *** at some part of the trace,
you hit a firewall).
4. tcptraceroute google.com (bypass firewall. Sometimes you get there
, 2nd proof of firewall).
5. hping2 to bypass  firewall.
5. use firewalk . Firewalk  is  an active reconnaissance network
security tool that attempts to determine what layer 4 protocols a
given IP forwarding device will pass. I recommend to read the man of
firewalk.
6. If you have the ip (from mtr) go to http://www.dnsstuff.com and put
the ip there. You will find if this belongs to hot or bezeq. Some
interesting things you will find there.
7. nmap to check how harsh the firewall is. Contact me in private to
give you the flags.
8. One more friendly advice, don't tell them you have linux. You will
get immediately the reply we don't support linux.

On Sun, Apr 20, 2008 at 5:11 PM, Ohad Levy [EMAIL PROTECTED] wrote:
 I'm not sure what do you mean by Bezeq, but I currently ping the pptp ip
 address (before connecting to the internet), which is in the 172.x.x.x
 subnet.
 would this be the actually server located in the ISP? I see about 3ms
 difference between the internet first hop and the pptp server

 Thanks,
 Ohad



 On Sun, Apr 20, 2008 at 4:00 PM, Geoff Shang [EMAIL PROTECTED] wrote:
 
  Ohad Levy wrote:
 
 
   I know what a tunnel is, the main problem is to identify if the problem
 is
   hot related or isp related.
   obviously, if hot is the problem, the first hop over the internet is
 already
   effected.
  
   the main question is if pinging to hot ip range (in this case its the
 server
   which starts the pptp tunnel) actually prove that its not isp related
 rather
   than an infrastruture problem in hot.
  
 
  No.  If you ping a Hot IP, you're going to go through that affected tunnel
 connection to Bezeq first, then via them to the Hot machine.  The only way
 you could ping Hot infrastructure directly is if you can do it via the
 ethernet connection directly rather than via the tunnel.  This will of
 course be entirely dependent on their routing and what they'll let through
 if anything.
 
  Geoff.
 
  =
  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]
 
 



=
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: yet another Hot packet drop

2008-04-21 Thread Oron Peled
On Monday, 21 בApril 2008, sara fink wrote:
 8. One more friendly advice, don't tell them you have linux. You will
 get immediately the reply we don't support linux.

Wrong. Why should they support Linux if nobody uses it?

I mention Linux in any business relation: ISP's, buying hardware,
shopping for services, etc. If they cannot cope with this, I know
I need to move elsewhere (and as a byproduct made few more clueless
hear the word Linux).

BTW: From my experience, if you need a support person that have
 a clue (about networking, hardware, anything at all), your
 best bet would be to locate their local Linux guy.
 It won't be easy (as there aren't so many of them), but insisting
 specifically on Linux will be very effective drone filter ;-)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

... one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of their
C programs.
-- Robert Firth

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: yet another Hot packet drop

2008-04-21 Thread sara fink
Well, I tell linux to the isp and those linux guys return back to me,
even if it takes more than 24 hours. BUT, when dealing with stupid hot
service, I learned I have to lie in order to get the service I want.
As we all know, they just look for an excuse. something in your pc/OS
blocks, virus, trojan,  I can't hear that anymore when I
know the plain truth and even tell it to them and they don't do
anything about it, except blaming me.

But you are right, for business, you should point it.

On Mon, Apr 21, 2008 at 10:43 PM, Oron Peled [EMAIL PROTECTED] wrote:
 On Monday, 21 בApril 2008, sara fink wrote:
   8. One more friendly advice, don't tell them you have linux. You will
   get immediately the reply we don't support linux.

  Wrong. Why should they support Linux if nobody uses it?

  I mention Linux in any business relation: ISP's, buying hardware,
  shopping for services, etc. If they cannot cope with this, I know
  I need to move elsewhere (and as a byproduct made few more clueless
  hear the word Linux).

  BTW: From my experience, if you need a support person that have
  a clue (about networking, hardware, anything at all), your
  best bet would be to locate their local Linux guy.
  It won't be easy (as there aren't so many of them), but insisting
  specifically on Linux will be very effective drone filter ;-)

  --
  Oron Peled Voice/Fax: +972-4-8228492
  [EMAIL PROTECTED]  http://www.actcom.co.il/~oron
  ICQ UIN: 16527398

  ... one of the main causes of the fall of the Roman Empire was that,
  lacking zero, they had no way to indicate successful termination of their
  C programs.
 -- Robert Firth



official way to load wifi in Red Hat/Fedora?

2008-04-21 Thread Hetz Ben Hamo
Hi,

After 2 weeks of struggling with my wifi (Cisco Aironet 350) I finally
gave up and bought a cheap Belkin PCMCIA WIFI card and finally I
managed to make it work with my WiFi and WPA-PSK.

What I'm looking for is some official way to load and configure it.
I could write a script which detect if the card is inserted, if so,
load the kernel module (if required), run wpa_supplicant, and finally
dhclient, but I think that there is some more official way to do
that, but I cannot find it.

Any suggestions?

Happy Passover,
Hetz
-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

=
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: yet another Hot packet drop

2008-04-21 Thread Shachar Shemesh

sara fink wrote:

Few rules from an expert.
1. Try to ping some web site. google, ynet (to compare).
2. with mtr you can detect the ip from where you get packet loss.
3. traceroute google.com (if you see *** at some part of the trace,
you hit a firewall).
4. tcptraceroute google.com (bypass firewall. Sometimes you get there
, 2nd proof of firewall).
5. hping2 to bypass  firewall.
5. use firewalk . Firewalk  is  an active reconnaissance network
security tool that attempts to determine what layer 4 protocols a
given IP forwarding device will pass. I recommend to read the man of
firewalk.
6. If you have the ip (from mtr) go to http://www.dnsstuff.com and put
the ip there. You will find if this belongs to hot or bezeq. Some
interesting things you will find there.
7. nmap to check how harsh the firewall is. Contact me in private to
give you the flags.
8. One more friendly advice, don't tell them you have linux. You will
get immediately the reply we don't support linux.
  
Just a word of warning, if I may. According to some interpretation of 
the law, some of the activities you recommend may be regarded illegal. 
This is not my personal opinion, and there is a precedence in our 
favor (State vs. Avi Mizrachi[1], by judge Avraham Tenenboum), but the 
next judge may not be as level headed[2] as that one, especially since 
this judge is doing mostly traffic court these days.


Obviously, I am not a lawyer.

Shachar

1 - http://halemo.net/edoar/0045/mossad.htm
2 - http://blog.shemesh.biz/?p=471


=
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: yet another Hot packet drop

2008-04-21 Thread Shachar Shemesh

sara fink wrote:

Well, I tell linux to the isp and those linux guys return back to me,
even if it takes more than 24 hours. BUT, when dealing with stupid hot
service, I learned I have to lie in order to get the service I want.
  
I don't do my internet (nor TV, or Telephony, especially after they sent 
a goon to threaten lawsuit against me if I don't become a subscriber - 
ordered Yes that very same day) through Hot. However, I found that 
saying Linux, and if the support technician stumbles tell him just 
assume it's windows usually works.


My GF, back at the time when we were not living together, actually had 
an ADSL technician over the phone say that he didn't think it's possible 
to connect the USB junk modem she had through Linux. Her reply was 
mostly I don't know - my BF did it, but obviously it's possible.


So, yes, tell them Linux, and then deal with it as it comes.

Shachar

Footnote:
Not every error is up to infra. Today I had a case of very slow 
downloads + a message from some anti-virus replacing a sourceforge site, 
saying my computer may be at risk. While I was trying to set up 
wireshark to try and prove that it was the wire that was changing the 
traffic, I found out that my wireless connected, by mistake, to the 
neighbors. I reattached it to my own connection, and all the problems 
went away. I don't even know what gateway setup could have caused it.


=
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: official way to load wifi in Red Hat/Fedora?

2008-04-21 Thread Oron Peled
On Monday, 21 בApril 2008, Hetz Ben Hamo wrote:
 What I'm looking for is some official way to load and configure it.
 I could write a script which detect if the card is inserted,

No need for custom scripts anymore...

 if so, load the kernel module (if required),

This should happen automatically on any 2.6.x kernel based distro (i.e:
in the last 4 years).

 run wpa_supplicant, and finally dhclient, but I think that there is some
 more official way to do that,

All modern distros uses NetworkManager to do that automatically.
In the latest release (0.7) they added support for static IP's
which means that in the near future (Fedora-9 in the case of Fedora)
we won't have two incompatible configuration methods for the host
(the old config files method and the NetworkManager method).


-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

.--.
   |o_o |
   |:_/ |
  //   \ \
 (| | )
/'\_   _/`\
\___)=(___/

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: official way to load wifi in Red Hat/Fedora?

2008-04-21 Thread Hetz Ben Hamo
Hi,

  No need for custom scripts anymore...

I wish :)

   if so, load the kernel module (if required),

  This should happen automatically on any 2.6.x kernel based distro (i.e:
  in the last 4 years).

Depends if your WIFI device kernel module is in your distribution's
kernel tree. Luckily, fedora has it.

   run wpa_supplicant, and finally dhclient, but I think that there is some
   more official way to do that,

  All modern distros uses NetworkManager to do that automatically.
  In the latest release (0.7) they added support for static IP's
  which means that in the near future (Fedora-9 in the case of Fedora)
  we won't have two incompatible configuration methods for the host
  (the old config files method and the NetworkManager method).

Oy vey...

Just launched it and thats what I get:

** (nm-applet:26195): WARNING **: nm_object_get_property: Error
getting 'WirelessHardwareEnabled' for /org/freedesktop/NetworkManager:
The name org.freedesktop.NetworkManager was not provided by any
service files

And from the NetworkManager pages:
Security must be implemented in each network. NetworkManager
currently supports WEP encrypted networks, and support for WPA
encryption is planned in the near future. - I am using WPA right
now..

Thanks,
Hetz
-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

=
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]



Memory leak question

2008-04-21 Thread Oded Arbel
Hi List


One of my servers is acting very strangely memory wise - it has 4GB of
memory and it is always full, and I don't mean in the not a lot of free
memory kind of full, but in the application memory takes more then
3GB kind of full.

I ran a simple script to compare how many resident memory PS reports
compared to what free reports is being used for stuff other then cache
and buffers, and I got these interesting results:

This is a normal which is very loaded and by right - it has a java
application which is set to 2GB heap and uses it just fine:

# ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
$sum; }'; free
sum: 3158192
 total   used   free sharedbuffers
cached
Mem:   40634124029396  34016  0  20016
360368
-/+ buffers/cache:3649012 414400
Swap:  4194296 3541883840108

So we can see PS reports 3.1GB is used by applications and free reports
3.6GB of used memory (except buffers and cache). so I'm missing about
half a gig, but I don't mind that much.

Here is the broken server:

# ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
$sum; }'; free
sum: 1367356
 total   used   free sharedbuffers
cached
Mem:   40634124038212  25200  0  35604
726268
-/+ buffers/cache:3276340 787072
Swap:  4194296 6565083537788

which is mind boggling - there's a 2GB difference, about half my total
amount of memory! Where did all my memory gone too ?

Now that server is also constantly spends tons of time in kswapd and on
IO - thrashing if you want and I'm not sure if its a symptom or the
cause.

Do note that both are production servers and I can't really restart them
or anything, even taking down services is a long and annoying process.

Please throw your two cents my way, thanks.



=
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: official way to load wifi in Red Hat/Fedora?

2008-04-21 Thread Oded Arbel
On Tue, 2008-04-22 at 00:31 +0300, Hetz Ben Hamo wrote:
 And from the NetworkManager pages:
 Security must be implemented in each network. NetworkManager
 currently supports WEP encrypted networks, and support for WPA
 encryption is planned in the near future. - I am using WPA right
 now..

That documentation is highly out dated. NetworkManager is doing WPA for
a long time now (I've been using it more then a year and it had
supported WPA all along). 

NetworkManager is actually a service that your distro should run in its
SysV boot sequence (or whatever they use to boot), and then it has a
user application (nm-applet for gnome, knetworkmanager for KDE) that is
running in each user's session that offers an interface for the user to
select networks and input configuration and security details - and the
application talks with the service over dbus so you'd need the
message-bus service to also work.

Any recent Fedora (7 and above I think) should have that configuration
by default.

--
Oded


=
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: Memory leak question

2008-04-21 Thread Oded Arbel
On Tue, 2008-04-22 at 00:38 +0300, Oded Arbel wrote:
 Hi List
 
 
 One of my servers is acting very strangely memory wise - it has 4GB of
 memory and it is always full, and I don't mean in the not a lot of free
 memory kind of full, but in the application memory takes more then
 3GB kind of full.
 
 I ran a simple script to compare how many resident memory PS reports
 compared to what free reports is being used for stuff other then cache
 and buffers, and I got these interesting results:
 
 This is a normal which is very loaded and by right - it has a java
 application which is set to 2GB heap and uses it just fine:
 
 # ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
 $sum; }'; free
 sum: 3158192
  total   used   free sharedbuffers
 cached
 Mem:   40634124029396  34016  0  20016
 360368
 -/+ buffers/cache:3649012 414400
 Swap:  4194296 3541883840108
 
 So we can see PS reports 3.1GB is used by applications and free reports
 3.6GB of used memory (except buffers and cache). so I'm missing about
 half a gig, but I don't mind that much.
 
 Here is the broken server:
 
 # ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
 $sum; }'; free
 sum: 1367356
  total   used   free sharedbuffers
 cached
 Mem:   40634124038212  25200  0  35604
 726268
 -/+ buffers/cache:3276340 787072
 Swap:  4194296 6565083537788
 
 which is mind boggling - there's a 2GB difference, about half my total
 amount of memory! Where did all my memory gone too ?
 
 Now that server is also constantly spends tons of time in kswapd and on
 IO - thrashing if you want and I'm not sure if its a symptom or the
 cause.
 
 Do note that both are production servers and I can't really restart them
 or anything, even taking down services is a long and annoying process.

I just noticed something else - both servers are running MySQL, and I'm
using htop (instead of top) to look at processes. Now in the good
server htop lists MySQL memory share as 8.5% and the numbers are
VIRT=615M and RES=329M , while in the bad server htop list MySQL as
using  VIRT=1364M and RES=409M but lists it as only 3.8% of memory ?!?
both servers carry the same 4GB of physical memory and 4GB swap.

--
Oded


=
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: official way to load wifi in Red Hat/Fedora?

2008-04-21 Thread Hetz Ben Hamo
  That documentation is highly out dated. NetworkManager is doing WPA for
  a long time now (I've been using it more then a year and it had
  supported WPA all along).

I just managed to make it run. I must say, even if in version 0.7.0
(I'm using Fedora 8), it's not the most stable application I've seen.
BTW, how do you make it work without using X? (init level 3, X not
running).

  NetworkManager is actually a service that your distro should run in its
  SysV boot sequence (or whatever they use to boot), and then it has a
  user application (nm-applet for gnome, knetworkmanager for KDE) that is
  running in each user's session that offers an interface for the user to
  select networks and input configuration and security details - and the
  application talks with the service over dbus so you'd need the
  message-bus service to also work.

  Any recent Fedora (7 and above I think) should have that configuration
  by default.

Yeah, the fun part is that with Cisco aironet Wifi which is built on
my thinkpad, it specifically says that WPA is supported, but not
according to NetworkManager..

Thanks for the help.
Hetz
-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

=
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]



[li..........il: related]: Quantum relativity 0.1 completed counting backwords in time; all numbers base 21 [r].

2008-04-21 Thread Uri
My dear friends from the li.*.il network*;

OK sorry for being still paranoid, but I will not let Americans do to
me what they did to my friend John Nash in the past. They have their
reasons not to allow this, and I had enough. I want to be able to
receive communication from friends and not non-friends, and nobody
should read my mail or restrict me to this planet. Actually I didn't
know there are living anys outside this planet, but this is because
the USA Americans not wanting us to find out. So I'll tell you what
I'm going to do:

1. since math is universal and even the US Armee can't lie about 1+1,
I'll define my own math in such a way that even if there is an axact
copy of me now outside what we call the known universe, he/she will
be able to communicate with me, plus if there is any un-none inside
black wholes etc., I will not need light or even black quantum light
to receive information from there, I will just define them to be
mathematically closer to me than the faraway science spacetime
expanding say and they will just become quantum timespace shrinked
inside the empty space of my hands typing you this (relativity will
make it work actually, you will see).

2. And since we are too used to the digits 0;1;2 etc. and what they
mean to us, they are not symmetric and I need to define them in a
symmetric way (remember one=none=one+one=none+none etc?). so let there
be digits n and o ; stand for one and none or (k)none and un(k)none,
whatever you want or you can have m for the moon, p/n for
positive/negative, r/i for real/imaginary etc. so lets start with n/o,
that will be enough for me to define everything (actually even one of
them or even none of them (just empty space) is enough).

3. So let it be n=o and o=n; completely symmetric, and I'll define
their new math:

o/n: no equal signs, dots, minus, plus, nothing. o can be either one
or many, haff or double or three apples and you can eat all at once
with one mouth and decide who's the better.

o==o; o [isequalandnotequal] to o
n==n; n [isequalandnotequal] to n [of course it looks different, has a
direction (spin), but o does too].

base o:onary/binary/baseany. Must be compatible with at least bases 0;1;2;3

now: to not confuse myself (and YES: confuse US Armee) I will use ono
and non and same difference representing 010 and 101 respectively (but
equally too); 010=101and therefore ono=non;

ono plus ono = non [depends on the direction, multidimensional,
plus/minus, real/imaginary etc.
non plus non = ono [same sane] [==same same]

OK now, since I told you 21 is my number, I am telling you that it can
be any number, but of course for you allways 21 will be 3 times 7,
which is true, but I will not tell you what scale are the 3 of 7, for
example it can be plus or minus, positive or negative, real or
imaginary, centimeters or meters. For example if 3 is in centimeters
and 7 is in meters then 21 would be  2100 square centimeters
[euclidan, remember to fold your papers] and depends on the direction,
heat and can all be compressed to a tiny black hole; dimensions
reversed etc. I just tell you that I will never let you count to 7 (or
3) without passing through my meter first, and they can be reversed to
1/3 and 1/7 or -1/3 and -1/7 as well (and then it's --1/21 etc.).

And since 21 is a secret, it's the only (counting) prime number I'm
allowing here, then I will pretend it to be equal to 12 to all who are
not my real friends. And if spammers will send me information they
will have to contact my friends first, or me, or repeat again and
again the same message and I will just make it sound the same as
nothing to me.

So here's the plan:

2: no such number. Will be changed to either 1 or 0.
all numbers other than 0;1:: same same.

21 will be 10base10 or 01base01 or 1.0.base1.0. or 0.1.base0.1 or
actually also 0base0 and 1base1 and 0.0base0.0 and 1.1base 1.1; 12
will be 0.1base1.0 which is to opposite of 21.

OK now. here's the plan. I will have digits trippled and doubled (can
be changed later maybe): ono;non and non;ono who are equal (both same
haff 0 or 1);one is ono and none is nono or vise versa - it doesn't
matter so much.

more strings:repeating:cutting by haff and replacing:
one+one==:
ono+ono==onoono==non; == 0.1 or and 0.4* 0.5* etc. (will change later)
non+non==nonnon==ono; == same as above
ono+non==ononon==onoono == 1.0 or 0.1
non+ono==nonono==nonnon == same


now, if you have a number for me, I will ask you to convert it to me
to base 12, which is either onononononon or nononononono - whatever
side you are looking at it. so nononononono and onononononon are the
even number 12 whois the first number counting and of course the first
prime. But of course 12 is not a prime, but a permutation of 21 who I
will tell you later how I represent it, right now you don't know but
you have to be careful not to cheat me when counting, so you must be
compatible with all bases 0,1,2,3,4,6 and 12 and of course 21. So at
least you should be compatible 

Re: SNMP: GET/SET vs. TRAP

2008-04-21 Thread Amos Shapira
On Mon, Apr 21, 2008 at 10:27 PM, Oren Held [EMAIL PROTECTED] wrote:
 Hi,

  net-snmp's GET/SET mechanism looks completely separated from the TRAP
  mechanism, which I find quite bizarre.

  NET-SNMP claims to be easily extensible with Perl
  
 (http://net-snmp.sourceforge.net/wiki/index.php/Tut:Extending_snmpd_using_perl)
  However, this extension doesn't know what a TRAP is, only handles GET/SET
  commands.

  It seems as if I have two options:
  A. Write a completely separate Perl daemon that sends traps using Net::SNMP
  (completely separate code for sending TRAPs and handling GETs/SETs??)

Why a daemon? It's not like it has to sit there listening on some port
- traps can be sent by any application at any time. fire and forget.

  B. Write a subagent in C (a separate process that talks to snmpd), which
  handles both GETs/SETs  TRAPs. (Is that the common approach?)

Not as far as I understand SNMP traps.


  Am I missing something?

I think you do - just try to sit back and get your head around this -
set/get are done with an SNMP agent (daemon) listening for queries
and answering them. Traps can be sent by any application on the
monitored host and nobody stays behind to see what happened to them.

Hope this helps,

--Amos

=
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: yet another Hot packet drop

2008-04-21 Thread Ohad Levy
Hi Thanks for your reply, see my comments below:

On Tue, Apr 22, 2008 at 1:48 AM, sara fink [EMAIL PROTECTED] wrote:

 Few rules from an expert.
 1. Try to ping some web site. google, ynet (to compare).

Doesnt help, the ping lost is already happening at first hop.


 2. with mtr you can detect the ip from where you get packet loss.

yeah, that the ISP gateway, looking even further, the pptp addres (I know
you were using DHCP so it was transparent to you) lost the packets (the
172.25.32.x subnet)

 6. If you have the ip (from mtr) go to http://www.dnsstuff.com and put
 the ip there. You will find if this belongs to hot or bezeq. Some
 interesting things you will find there.

its a 172.x which is not routable though the internet...


 7. nmap to check how harsh the firewall is. Contact me in private to
 give you the flags.

yeah, it comes back as a cisco router, probably doing some nat to the ISP
pptp server.


 8. One more friendly advice, don't tell them you have linux. You will
 get immediately the reply we don't support linux.

Yeah, I got it already
I've setup smokeping, and I think I have no way around it but to show them
the bad performance.

Thanks for your help,
Ohad