Sponsored Content
Full Discussion: Capturing bad packets
Special Forums UNIX and Linux Applications Infrastructure Monitoring Capturing bad packets Post 302362219 by Neo on Thursday 15th of October 2009 09:38:13 AM
Old 10-15-2009
It might be more efficient to alter the SNMP code to include the fields you want from the IP header in the SNMP info (is this an SNMP trap?)

That is what I would do since you more-than-likely have access to the Linux source code.
 

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. UNIX for Advanced & Expert Users

Script to search a bad record in a file then put the record in the bad file

I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file. Example: File1 Name designation dateOfJoining... (1 Reply)
Discussion started by: shilendrajadon
1 Replies

5. Shell Programming and Scripting

Script to search a bad record in a file then put the record in the bad file

I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file. Example: File1 Name designation dateOfJoining... (2 Replies)
Discussion started by: shilendrajadon
2 Replies

6. Shell Programming and Scripting

send packets

Hello I need to send some packets to check connection. Packets will be catch by snoop. Is there any Sun tool to send some packets on selected IP and Port? Thx (1 Reply)
Discussion started by: miojamo
1 Replies

7. 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

8. IP Networking

tcpdump -w file is not capturing all the packets

I am trying to capture tcpdump for traffic to a port in a file but this does not seem to capture all the packets. Command I use is : tcpdump -w tdump.dat port 22 Why is it not capturing all the packets ? Here is my experiment: root@pmode-client6 adc-demo]# tcpdump port 22 tcpdump:... (5 Replies)
Discussion started by: radiatejava
5 Replies

9. IP Networking

Help with capturing/reading total packets on specific port number

Hi guys, I'm using a Linux system(Ubuntu) and I've been trying to find a method to read the total packets received/sent on a specific port (e.g port 80 or port 25) on a local machine. I can read the overall total packets received/sent from the /proc/net/dev file system. But what I can't do is... (2 Replies)
Discussion started by: lildee
2 Replies

10. Shell Programming and Scripting

Why I get bad bad substitution when using eval?

Why I get bad replace when using eval? $ map0=( "0" "0000" "0") $ i=0 $ eval echo \${map$i} 0000 $ a=`eval echo \${map$i}` !!!error happens!!! bash: ${map$i}: bad substitution How to resolve it ? Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies
README(3pm)						User Contributed Perl Documentation					       README(3pm)

NAME
SNMP::Extension::PassPersist - Generic pass/pass_persist extension framework for Net-SNMP DESCRIPTION
This module is a framework for writing Net-SNMP extensions using the pass or pass_persist mechanisms. INSTALLATION
To install this module, run the following commands: perl Makefile.PL make make test make install Alternatively, to install with Module::Build, you can use the following commands: perl Build.PL ./Build ./Build test ./Build install SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the perldoc command. perldoc SNMP::Extension::PassPersist You can also look for information at: o Search CPAN http://search.cpan.org/dist/SNMP-Extension-PassPersist <http://search.cpan.org/dist/SNMP-Extension-PassPersist> o Meta CPAN https://metacpan.org/release/SNMP-Extension-PassPersist <https://metacpan.org/release/SNMP-Extension-PassPersist> o RT, CPAN's request tracker http://rt.cpan.org/Public/Dist/Display.html?Name=SNMP-Extension-PassPersist <http://rt.cpan.org/Public/Dist/Display.html?Name=SNMP- Extension-PassPersist> o AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/SNMP-Extension-PassPersist <http://annocpan.org/dist/SNMP-Extension-PassPersist> o CPAN Ratings http://cpanratings.perl.org/d/SNMP-Extension-PassPersist <http://cpanratings.perl.org/d/SNMP-Extension-PassPersist> COPYRIGHT AND LICENCE
Copyright (C) 2008-2011 Sebastien Aperghis-Tramoni This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-08-19 README(3pm)
All times are GMT -4. The time now is 01:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy