11-06-2008
Try :
# snoop -v -i /tmp/dhcp-snoop.snp | grep UDP:
Last edited by nam.nguyen; 11-06-2008 at 10:59 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Users are connecting thru a KCML Client to UNIX machine, and I want to know which TCP/UDP port that client uses? How can I check the port of a user logged in?
Regards,
Tayyab (2 Replies)
Discussion started by: tayyabq8
2 Replies
2. Infrastructure Monitoring
hi guys
My linux server have SNMP configure port by default is 161 (UDP)
now my monitor team - who are using Nagios - say the server are not being monitor
so check netstat -lnu and I see all is OK and snmp service is running fine
what else should I check about this port 161? to see if it is... (0 Replies)
Discussion started by: karlochacon
0 Replies
3. AIX
May I know what is the TCP/UCP port range for any default AIX NFS? Based on rpcinfo -p, I got the following output:
program vers proto port service
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 ... (4 Replies)
Discussion started by: famasutika
4 Replies
4. Programming
Hello,
I'm trying to write a small c application to test a tcp port. This works fine for the most part but the default timeout on the connect is very long. I have been reading many posts but and it looks like I need to set the socket to be non-blocking and poll for a result. I have been totally... (2 Replies)
Discussion started by: tjones1105
2 Replies
5. IP Networking
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
6. Red Hat
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
7. IP Networking
Hi,
I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies
8. Shell Programming and Scripting
We have open port UDP port 31011, how to verify if port were working or traffic were receive. (2 Replies)
Discussion started by: avtalan
2 Replies
9. UNIX for Dummies Questions & Answers
I want to test the connectivity to an IP with Port number = xxxx.
I only know telnet can do it. For example, telnet <IP> <port>.
But I don't have telnet installed (no package) on my Red Hat Linux server.
I searched the Internet and realized that I will need either the installation media which... (2 Replies)
Discussion started by: learnix
2 Replies
10. Shell Programming and Scripting
Hello,
I am pretty unskilled in bash and I need some script and my skills ale limited (yet) I am learning but situation now needs some more skills.
is there possibility to simply check IP address with ports from csv file?
My csv has hundred of IPs in this format
... (9 Replies)
Discussion started by: Keagan
9 Replies
UDP(7P) UDP(7P)
NAME
UDP - Internet User Datagram Protocol
SYNOPSIS
DESCRIPTION
UDP is a simple, unreliable datagram protocol used to support the socket type for the internet protocol family. UDP sockets are connec-
tionless, and are normally used with the and calls (see send(2) and recv(2). The call can also be used to simulate a connection (see con-
nect(2). When used in this manner, it fixes the destination for future transmitted packets (in which case the or system calls can be
used), as well as designating the source from which packets are received. The and calls can be used at any time if the source of the mes-
sage is unimportant.
UDP address formats are identical to those used by TCP. In particular, UDP requires a port identifier in addition to the normal Internet
address format. Note that the UDP port domain is separate from the TCP port domain (in other words, a UDP port cannot be connected to a
TCP port).
The default send buffer size for UDP sockets is 65535 bytes. The default receive buffer size for UDP sockets is 2147483647 bytes. The
send and receive buffer sizes for UDP sockets can be set by using the and options of the system call or the and options of the system call.
The maximum size for these buffers is 2147483647 bytes. The maximum receive buffer size may be lowered using the parameter
The maximum message size for a UDP datagram socket is limited by the lesser of the maximum size of an IP datagram and the size of the UDP
datagram socket buffer. The maximum size of an IP datagram limits the maximum message size of a UDP message to 65507 bytes. Therefore,
using the maximum socket buffer size will allow multiple maximum-sized messages to be placed on the send queue. The default inbound and
outbound message size limit for a UDP datagram socket is 65535 bytes.
The maximum message size for a UDP broadcast is limited by the MTU size of the underlying link.
ERRORS
One of the following errors may be returned in if a socket operation fails. For a more detailed list of errors, see the man pages for spe-
cific system calls.
[EISCONN] Attempt to send a datagram with the destination address specified, when the socket is already connected.
[ENOBUFS] No buffer space is available for an internal data structure.
[EADDRINUSE] Attempt to create a socket with a port which has already been allocated.
[EADDRNOTAVAIL] Attempt to create a socket with a network address for which no network interface exists.
AUTHOR
The socket interfaces to UDP were developed by the University of California, Berkeley.
SEE ALSO
ndd(1M). getsockopt(2), recv(2), send(2), socket(2), t_open(3), t_optmgmt(3) inet(7F), socket(7),
RFC 768 User Datagram Protocol
RFC 1122 Requirements for Internet hosts
UDP(7P)