Sponsored Content
Full Discussion: Accept SNMP Packets...
Special Forums UNIX and Linux Applications Infrastructure Monitoring Accept SNMP Packets... Post 302471552 by karlochacon on Saturday 13th of November 2010 05:45:33 PM
Old 11-13-2010
hi again

by the way I have to configure this SNMP stuff on a firewall that is part of a SNMP project
so they want to allow only some hosts to send SNMP packets a across this Linux firewall

Since I still don't get how to do it on SNMP like in Windows

I was thinking using hosts.allow and deny like this

Code:
hosts.allow
snmpd : 192.168.2.1 192.168.2.2 192.168.2.3 


hosts.deny
snmpd : ALL

but I read this
# Never configure TCP Wrappers on firewall host.
# Put TCP Wrappers behind a firewall systems as TCP Wrappers is no substitute for netfilter or pf firewall.

on
Explain Linux / UNIX TCP Wrappers / Find Out If Program Compiled With TCP Wrappers


so any guidance on SNMP way?
thanks a lot
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sending packets

How can i send a packet, and what is an empty packet? (8 Replies)
Discussion started by: Avatar0fEvil
8 Replies

2. Programming

Packets Getting Lost

I am working on a project, which has the following type of hardware setup. A special hardware device is receiving data from an external network interface. So we can have multiple such a hardware devices. Now these hardware devices will route the captured incoming data through the external... (4 Replies)
Discussion started by: S.P.Prasad
4 Replies

3. IP Networking

counting the packets

there are a number of clients connected to a server.... how can i count that each clients recieve ...? how do i moniter the activity of the client..? (2 Replies)
Discussion started by: damn_bkb
2 Replies

4. Infrastructure Monitoring

capture snmp packets in AIX

Hi, I want to capture snmp packets in AIX. When i give print from AIX6.1, Printer will give its response thru' snmp. I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp.. 1. iptrace command: /usr/sbin/iptrace -a -i en0... (1 Reply)
Discussion started by: meeraramanathan
1 Replies

5. HP-UX

packets statistics

Hi there, are there any functions that can get the packets statistics on UNIX ? thanks. (2 Replies)
Discussion started by: Frank2004
2 Replies

6. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

7. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

8. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

9. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

10. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies
snmpd(8n)																 snmpd(8n)

Name
       snmpd - Simple Network Management Protocol (SNMP) Agent for ULTRIX gateways and hosts

Syntax
       /etc/snmpd [ -d debuglevel logfile ]

Description
       The  SNMP  Agent,  performs SNMP operations on an ULTRIX gateway or host.  The daemon, which is started up by an entry in the file, sits in
       the background and listens on SNMP port 161.  When the daemon receives an SNMP packet from a Network Management Station (NMS),  the  daemon
       performs SNMP operations on the packet and returns a valid response to the NMS.

       The  daemon extracts much of its information from kernel memory.  Static variables whose values are not available in the kernel take values
       from the SNMP configuration file,

   SNMP Trap Support
       The cold start and authentication failure trap types are supported by

       The cold start trap type is generated by when is restarted.  The authentication failure trap type is generated when an attempt at  using  a
       community fails.  The attempt fails when an unauthorized client tries to use or the community is used in a way that the community type does
       not allow.

       The daemon sends traps to all communities specified in the configuration file with a community type

       The default is for the daemon to generate authentication failure traps.	However, if the following clause is  specified	somewhere  in  the
       file, authentication failure traps are not generated:
       no_authen_traps

   SNMP Sets
       When  the  daemon receives a set-request packet, it processes the variables in the packet and verifies that they are valid read-write vari-
       ables.  While performing this verification, the daemon constructs a linked list of the set requests.  After it has completed the  verifica-
       tion,  it performs the actual set operations on the variables, as if they were being performed simultaneously.  If any actual set operation
       fails, all of the previous set variables from the set-request packet are restored to their old values.

   SNMP Supported Variables
       For a complete listing of the SNMP Management Information Base (MIB) variables that are supported, see the Guide to Networking.

Options
       By default, the daemon uses the command to record its error messages.  However, you can obtain certain debugging and trace  information	by
       specifying the flag, the appropriate debug level, and a log file for the output on the command line.

       -d debuglevel logfile
	    Outputs debugging and trace information.

       You can specify any one of the following debug levels with the flag:

       1    Print  the version number, start time, and exit time of Also print out when an SNMP packet is received, the address of the sender, and
	    the packet size in bytes.

       2    Print out what the daemon has read from the file.

       3    Dump the SNMP packet that the daemon has just received and is about to process.  Also print out the route and interface  address  that
	    the  daemon  is  currently	looking  up.  This debug level also dumps the SNMP packet that the server is sending back in response to a
	    received SNMP message.

       4    Dump the variable tree.  Also print out the static bootstrap array of tree information.

       The output for a debug level includes the information for all levels including and below the level that you specify.  For example,  if  you
       specify a debug level of 3, your output includes debug information for levels 3, 2, and 1.

       If no debug levels are set, detaches itself from the controlling terminal and executes in the background.

Restrictions
       Not all of the MIB variables are supported.

       Only the variable is settable.

Files
	    SNMP configuration file

See Also
       snmpext(3n), snmpd.conf(5n), snmpsetup(8n)
       RFC 1066--Management Information Base for Network Management of TCP/IP-based Internets
       RFC 1067--A Simple Network Management Protocol
       Guide to Networking

																	 snmpd(8n)
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy