squid iptables snmp
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.
Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
---------------------------------------------------------------------------
-base: Get Device Info on [email protected]:
SNMP Error:
no response receivedSNMPv1_Session (remote host: "202.202.202.202" [202.202.202.202].161)
community: "public"
request ID: 1723286139
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1) at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on [email protected]:
at /usr/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
---------------------------------------------------------------------------
If I removed squid + netfilter box then I tried to create mrtg for mikrotik router then i can easily do it. It doesnt give me any error.
Now i dont know wheather Is this problem related to Netfilter Iptables OR squid proxy server ????
I thought this might be iptables firewall problem so I just made the netfilter + squid box iptable rules to INPUT OUTPUT FORWARD to ACCEPT. So now it should work but it didnt.
Now i cant sort out where is the problem lying ...with iptables or with squid or any thing else ...
Awaiting for Ideas to get the solution in urgent.
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
step 1
service snmpd stop
step 2
pico /etc/snmp/snmp.conf
step 3 change line
# sec.name source community
#com2sec notConfigUser default public
rocommunity public
step 4
service snmpd start
:)
----- Original Message ----- From: "Joel n.solanki" <[email protected]>
To: "netfilter" <[email protected]>; "squid" <[email protected]>
Sent: Friday, October 22, 2004 1:13 PM
Subject: [squid-users] squid iptables snmp
Quoted 63 lines
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
---------------------------------------------------------------------------
-base: Get Device Info on [email protected]:
SNMP Error:
no response receivedSNMPv1_Session(remote host: "202.202.202.202" [202.202.202.202].161)community: "public" request ID: 1723286139 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1)at
/usr/bin/../lib/mrtg2/SNMP_util.pmline 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on [email protected]:
at/usr/bin/cfgmakerline 657
--base: Vendor Id:
--base: Populating confcache
---------------------------------------------------------------------------If I removed squid + netfilter box then I tried to create mrtg for mikrotik router then i can easily do it. It doesnt give me any error.
Now i dont know wheather Is this problem related to Netfilter Iptables OR squid proxy server ????
I thought this might be iptables firewall problem so I just made the netfilter + squid box iptable rules to INPUT OUTPUT FORWARD to ACCEPT. So now it should work but it didnt.
Now i cant sort out where is the problem lying ...with iptables or with squid or any thing else ...
Awaiting for Ideas to get the solution in urgent.
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
Hi..
Well u didnt undertood my problem plz read it again. But yes i m in problem so i tried your solution.
service snmpd stop
edited the /etc/snmpd/snmp.conf and made that line rocommunity public service snmpd start
But still the same error :(
Any other Ideas.
Regards,
Quoted 86 lines · squid
step 1
service snmpd stop
step 2
pico/etc/snmp/snmp.confstep 3 change line
# sec.name source community
#com2sec notConfigUser default public
rocommunity publicstep 4
service snmpd start:)
----- Original Message -----
From: "Joel n.solanki" <[email protected]>
To: "netfilter" <[email protected]>; "squid" <[email protected]>
Sent: Friday, October 22, 2004 1:13 PM
Subject: [squid-users] squid iptables snmpQuoted 63 lines
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
---------------------------------------------------------------------------
-base: Get Device Info on [email protected]:
SNMP Error:
no response receivedSNMPv1_Session(remote host: "202.202.202.202" [202.202.202.202].161)community: "public" request ID: 1723286139 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1)at
/usr/bin/../lib/mrtg2/SNMP_util.pmline 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on [email protected]:
at/usr/bin/cfgmakerline 657
--base: Vendor Id:
--base: Populating confcache
---------------------------------------------------------------------------If I removed squid + netfilter box then I tried to create mrtg for mikrotik router then i can easily do it. It doesnt give me any error.
Now i dont know wheather Is this problem related to Netfilter Iptables OR squid proxy server ????
I thought this might be iptables firewall problem so I just made the netfilter + squid box iptable rules to INPUT OUTPUT FORWARD to ACCEPT. So now it should work but it didnt.
Now i cant sort out where is the problem lying ...with iptables or with squid or any thing else ...
Awaiting for Ideas to get the solution in urgent.
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
Quoted 24 lines · Joel n.solanki
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
---------------------------------------------------------------------------
-base: Get Device Info on [email protected]:
SNMP Error:
no response receivedSNMPv1_Session(remote host: "202.202.202.202" [202.202.202.202].161)community: "public" request ID: 1723286139 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1)
Quoted 9 lines
at
/usr/bin/../lib/mrtg2/SNMP_util.pmline 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on [email protected]:
at/usr/bin/cfgmakerline 657
--base: Vendor Id:
--base: Populating confcache
---------------------------------------------------------------------------
Are you configured the snmp_access acl in squid.conf? some like;
acl snmp-public snmp_community public
acl snmp-user src host_ipsnmp_access allow snmp-public localhost snmp_access allow snmp-public snmp-user snmp_access deny all
Thanks
Emilio C.
Yes i have configured that also.
Quoted 46 lines · Emilio Casbas
Quoted 24 lines · Joel n.solanki
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
---------------------------------------------------------------------------
-base: Get Device Info on [email protected]:
SNMP Error:
no response receivedSNMPv1_Session(remote host: "202.202.202.202" [202.202.202.202].161)community: "public" request ID: 1723286139 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1)Quoted 9 lines
at
/usr/bin/../lib/mrtg2/SNMP_util.pmline 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on [email protected]:
at/usr/bin/cfgmakerline 657
--base: Vendor Id:
--base: Populating confcache
---------------------------------------------------------------------------Are you configured the
snmp_accessacl in squid.conf? some like;
acl snmp-publicsnmp_communitypublic
acl snmp-user srchost_ipsnmp_accessallow snmp-public localhostsnmp_accessallow snmp-public snmp-usersnmp_accessdeny allThanks
Emilio C.
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
Quoted 2 lines · Joel n.solanki
I dont know wheather this problem is related to squid or iptables netfilter.
If anything it is related to iptables.
There is no technical way it can be related to running Squid.
Regards
Henrik
Ok :)
Quoted 11 lines · Henrik Nordstrom
Quoted 2 lines · Joel n.solanki
I dont know wheather this problem is related to squid or iptables netfilter.
If anything it is related to iptables.
There is no technical way it can be related to running Squid.
Regards
Henrik
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
Quoted 9 lines · Joel n.solanki
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.
Quoted 4 lines
Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
can you ping "Mikrotik Router" from "Mrtg server" when "Squid + Netfilter" is between them?
is IP forwarding enabled on "Squid + Netfilter" box?
what is the default gateway of "Mrtg server"?
what is the default gateway of "Mikrotik Router"?
are you trying to NAT the traffic to "Mikrotik Router"?
-j
Signature · 1 line
Jason Opperisano <[email protected]>
Yes I can ping mikrotik router from mrtg server when squid + netfilter box is between them
I can even trace them.
Yes IP forwarding is enabled on squid + netfilter box
No i m not doing NAT coz i have public ip addres so i m using that.
I have my setup with current scenario in other city and it is working fine.
yes I have recompiled my kernel ...can kernel could be reason for this ?
Regards,
Quoted 27 lines · Jason Opperisano
Quoted 9 lines · Joel n.solanki
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter.
But let me specify my problem. I tried my lots but i cant solve this problem.Quoted 4 lines
Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
can you ping "Mikrotik Router" from "Mrtg server" when "Squid + Netfilter" is between them?
is IP forwarding enabled on "Squid + Netfilter" box?
what is the default gateway of "Mrtg server"?
what is the default gateway of "Mikrotik Router"?
are you trying to NAT the traffic to "Mikrotik Router"?
-j
Signature · 8 lines
Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)
Quoted 11 lines · Joel n.solanki
Yes I can ping mikrotik router from mrtg server when squid + netfilter box is between them
I can even trace them.
Yes IP forwarding is enabled on squid + netfilter boxNo i m not doing NAT coz i have public ip addres so i m using that.
I have my setup with current scenario in other city and it is working fine.
yes I have recompiled my kernel ...can kernel could be reason for this ?
run a tcpdump on the netfilter box on the interface facing the router and make sure your snmp queries are making it through.
something like:
tcpdump -n -p -i $router_side_int udp port 161
-j
Signature · 1 line
Jason Opperisano <[email protected]>