<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/net-snmp/patches/" rel="alternate"/><link href="https://sourceforge.net/p/net-snmp/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/net-snmp/patches/</id><updated>2023-09-07T23:07:30.830000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#1320 add original sender IP (and forwarder IP) when forwarded by snmptrapd</title><link href="https://sourceforge.net/p/net-snmp/patches/1320/?limit=25#c006/f892/836b" rel="alternate"/><published>2023-09-07T23:07:30.830000Z</published><updated>2023-09-07T23:07:30.830000Z</updated><author><name>Rakesh Kumar</name><uri>https://sourceforge.net/u/rakesh415/</uri></author><id>https://sourceforge.net1e1be96a178067e96280cd6ea127a38e789fbbce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Struggling a lot to preserve source IP.  Im using redhat linux and my snmp version is 5.9.4.  did not used your suggested patch since 5.9.4 version already have this patch but while forwarding my snmptrapd  its  not preserving the source IP.&lt;/p&gt;
&lt;p&gt;Please see my snmptrapd conffilg file&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;cat snmptrapd.conf&lt;br/&gt;
disableAuthorization yes&lt;br/&gt;
authCommunity   log,execute,net public&lt;br/&gt;
addForwarderInfo yes&lt;br/&gt;
forward default 10.20.30.40:1163&lt;/p&gt;
&lt;p&gt;format1 %V|%y-%02m-%02l %02h:%02j:%02k V1TRAP %b %a %N %w%q %T %v\n&lt;br/&gt;
format2 %V|%y-%02m-%02l %02h:%02j:%02k V2TRAP %b %v\n&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;NET-SNMP Version:  5.9.4.pre2&lt;br/&gt;
Web:               &lt;a href="http://www.net-snmp.org/" rel="nofollow"&gt;http://www.net-snmp.org/&lt;/a&gt;&lt;br/&gt;
Email:             net-snmp-coders@lists.sourceforge.net&lt;/p&gt;
&lt;p&gt;your help us much appreciated. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1288 Add a scalar count of CPUs seen by agent</title><link href="https://sourceforge.net/p/net-snmp/patches/1288/?limit=25#a6cd" rel="alternate"/><published>2023-06-19T09:00:17.176000Z</published><updated>2023-06-19T09:00:17.176000Z</updated><author><name>Niels Baggesen</name><uri>https://sourceforge.net/u/nba/</uri></author><id>https://sourceforge.netc42322b6b240763f107636ce554783d262d8e3e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This has been in all releases since 5.7.3 in 2014. Where do you need it (in other words, you really need to upgrade)?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1288 Add a scalar count of CPUs seen by agent</title><link href="https://sourceforge.net/p/net-snmp/patches/1288/?limit=25#71d4" rel="alternate"/><published>2023-06-16T13:13:02.233000Z</published><updated>2023-06-16T13:13:02.233000Z</updated><author><name>H Shyam Sundar</name><uri>https://sourceforge.net/u/iamshy97/</uri></author><id>https://sourceforge.netebc2d2562ee1708a2edfecff82c79b898103b717</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can anyone guide me on how to install this patch ?? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1375 Allow periods in perl cc</title><link href="https://sourceforge.net/p/net-snmp/patches/1375/?limit=25#6cfb" rel="alternate"/><published>2021-06-28T17:00:35.146000Z</published><updated>2021-06-28T17:00:35.146000Z</updated><author><name>Bart Van Assche</name><uri>https://sourceforge.net/u/bvassche/</uri></author><id>https://sourceforge.net51e7037b46c39b24d5f6efc87c7aa2a31bb15464</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#1375 Allow periods in perl cc</title><link href="https://sourceforge.net/p/net-snmp/patches/1375/?limit=25#fd49" rel="alternate"/><published>2021-06-28T07:19:47.916000Z</published><updated>2021-06-28T07:19:47.916000Z</updated><author><name>Ryan Schmidt</name><uri>https://sourceforge.net/u/ryandesign/</uri></author><id>https://sourceforge.netb30799008c8792609ab4d05452fc08905954e770</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The PR has been merged so this can be closed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1375 Allow periods in perl cc</title><link href="https://sourceforge.net/p/net-snmp/patches/1375/?limit=25#4ef4" rel="alternate"/><published>2021-06-27T09:20:44.997000Z</published><updated>2021-06-27T09:20:44.997000Z</updated><author><name>Ryan Schmidt</name><uri>https://sourceforge.net/u/ryandesign/</uri></author><id>https://sourceforge.net603ff6c83156e5f676c34e21d813ac715a8447d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://github.com/net-snmp/net-snmp/pull/309" rel="nofollow"&gt;https://github.com/net-snmp/net-snmp/pull/309&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1348 Subagent hangs forever on blocking read()</title><link href="https://sourceforge.net/p/net-snmp/patches/1348/?limit=25#7b9b" rel="alternate"/><published>2021-06-10T16:27:55.035000Z</published><updated>2021-06-10T16:27:55.035000Z</updated><author><name>Richard Edell</name><uri>https://sourceforge.net/u/rjedell/</uri></author><id>https://sourceforge.net477a575e26822402db5dfe0a8462ede7a86e1cea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to determine the context for these reported AgentX hangs.  I have come across similar symptoms with FRRouting, but I am pretty confident that spurious Linux select() behavior is not the root cause in my case.  &lt;/p&gt;
&lt;p&gt;In FRRouting, the event loop happens to sometimes execute poll(), run_alarms(), snmp_read() (in that order).  Under some loading conditions, the run_alarms() consumes file descriptor data so the subsequent snmp_read() finds no available data and AgentX hangs forever.  If I change that sequence to poll(), snmp_read(), run_alarms(), then I have no problems.&lt;/p&gt;
&lt;p&gt;Can you explain the event loop construction used where you encountered AgentX hangs?  I prefer follow up at &lt;a href="https://github.com/net-snmp/net-snmp/issues/302" rel="nofollow"&gt;https://github.com/net-snmp/net-snmp/issues/302&lt;/a&gt; .&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1400 snmpd double free memory crash in  agentx_master_handler</title><link href="https://sourceforge.net/p/net-snmp/patches/1400/?limit=25#43a5" rel="alternate"/><published>2020-12-03T14:20:29.256000Z</published><updated>2020-12-03T14:20:29.256000Z</updated><author><name>Yury Mitrofanov</name><uri>https://sourceforge.net/u/ymitrofanov/</uri></author><id>https://sourceforge.net00335a147645ebe4d3d49d5ce9b9dc324e745208</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;br/&gt;
I have a question about this patch and the issue which caused this patch implementation.&lt;br/&gt;
The issue &lt;a href="https://sourceforge.net/p/net-snmp/bugs/2943/"&gt;https://sourceforge.net/p/net-snmp/bugs/2943/&lt;/a&gt; is closed, but patch is still in Open state. So, is this patch unnecessary, if yes - which net-snmp version has the fix?&lt;br/&gt;
Which net-snmp version is affected by this issue? Does net-snmp 5.7.2 has such vulnerability?&lt;br/&gt;
Thank you in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1320 add original sender IP (and forwarder IP) when forwarded by snmptrapd</title><link href="https://sourceforge.net/p/net-snmp/patches/1320/?limit=25&amp;page=1#1413" rel="alternate"/><published>2020-07-14T08:32:15.083000Z</published><updated>2020-07-14T08:32:15.083000Z</updated><author><name>Munna thampi</name><uri>https://sourceforge.net/u/munnathampi/</uri></author><id>https://sourceforge.net89e2455d6a258b512517587e83af27f1b62b8f9c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Pik Master/Team.&lt;/p&gt;
&lt;p&gt;Thanks for the quick response. I managed to install and start the snmptrapd agent with your steps and its working on my centos lab. My production enviornment is Ubuntu. Do you have any installation steps for Ubuntu. I am trying to  figure out this. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1320 add original sender IP (and forwarder IP) when forwarded by snmptrapd</title><link href="https://sourceforge.net/p/net-snmp/patches/1320/?limit=25#3086" rel="alternate"/><published>2020-07-12T10:26:10.402000Z</published><updated>2020-07-12T10:26:10.402000Z</updated><author><name>Pik Master</name><uri>https://sourceforge.net/u/pikmaster/</uri></author><id>https://sourceforge.net51c5c45edebe90b7ae725ec250e9c5e9f424e1b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Muanna thampi.&lt;/p&gt;
&lt;p&gt;I did not see this error, and I don't have access to Centos 7.5 at the moment to test and reproduce this. What I might suggest is that you try to start snmpd manually in the foreground and see if it even launches. Do something like:  &lt;code&gt;/usr/local/src/snmpd.service -f&lt;/code&gt;&lt;br/&gt;
and observe if you can see any output on the console. Of course change the path accordingly to where you stored your patched binary. If that launches, check your systemd unit files &lt;code&gt;/usr/local/src/snmpd.service&lt;/code&gt; if they point to the correct binary.&lt;br/&gt;
If that is all correct, then my only other assumption is you did not compile the systemd patch correctly or did not use  &lt;code&gt;--with-systemd&lt;/code&gt; option co &lt;code&gt;./configure&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Also, if you are compiling from the source anyway, maybe you can get the latest net-snmp version 5.8, where this should be included already.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>