Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Open ports from source to destination Post 303043065 by Neo on Friday 17th of January 2020 05:21:06 AM
Old 01-17-2020
I use basic port scan tools; as all sys admins should do port scans from time-to-time to check open ports (basic IT security).

From a quick Goggle search:

Code:
8 Port Scanner Tools for Network Administrator
1 TCP Port Scanner.
2 Nmap.
3 Netcat.
4 Port Authority.
5 Advanced Port Scanner.
6 Network Scanner by MiTeC.
7 PortQryUI.
8 NetScanTools.

These 2 Users Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Byte Rate to/from a source/destination

is there a command in unix/linux that allows you to sample what the historic byte rate is from a local IP to a client IP. (1 Reply)
Discussion started by: cubs0729
1 Replies

2. Shell Programming and Scripting

Count total unique destination for source

Hi, need help how to count unique destination for the source ip. The file is contains 4 number of fields. Example of the file is here src ip dest ip #of flows total bytes 192.168.6.0 88.0.33.2 12 128 192.168.6.0 88.0.33.2 1 168 192.168.6.0 ... (5 Replies)
Discussion started by: new_buddy
5 Replies

3. IP Networking

Selecting interface based on source and destination ip address

Hi all, I have some doubts in selecting the interface to transfer packets and receive the packets. --> Multiple interfaces : -------------------- 1) 0.0.0.0 --------> wild card address. 2) x.x.x.x --------> valid address.(192.168.1.156) 3) ff.ff.ff.ff -------->... (0 Replies)
Discussion started by: vijaypdp2006
0 Replies

4. Shell Programming and Scripting

Move all files from source to destination directory based on the filename

Move all files starting with a specific name to different directory. This shell script program should have three parameters File Name Source Directory Destination Directory User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
Discussion started by: chetancrsp18
1 Replies

5. Linux

rpmbuild, how to specify a different source and destination path for files

I'd like to specify a different build and deployment path for files, by default the same path is used for both build and install, I wasn't able to find a way to make these different. With Solaris pkgadd, one can specify different paths in prototype, so I would assume something like that is possible... (0 Replies)
Discussion started by: tiburblium
0 Replies

6. Solaris

Ftp: SSL_connect error while connecting from source to destination server Solaris 10

Hi Everyone, I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

7. UNIX for Advanced & Expert Users

Rsync error while running from destination to source

hi All, i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error: bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Discussion started by: lovelysethii
0 Replies

8. Shell Programming and Scripting

Count the number of files copied from source to destination location

Hi Guys, how to count number of files successfully copied while coping files from source to destination path ex:10 files from source to target location copying if 8 files copied successfully then echo successfully copied=8 failure=2 files if two files get error to coping files from... (23 Replies)
Discussion started by: sravanreddy
23 Replies
gen_udp(3erl)						     Erlang Module Definition						     gen_udp(3erl)

NAME
gen_udp - Interface to UDP sockets DESCRIPTION
The gen_udp module provides functions for communicating with sockets using the UDP protocol. DATA TYPES
ip_address() see inet(3erl) posix() see inet(3erl) socket() as returned by open/1,2 EXPORTS
open(Port) -> {ok, Socket} | {error, Reason} open(Port, Options) -> {ok, Socket} | {error, Reason} Types Port = 0..65535 Options = [Opt] Opt -- see below Socket = socket() Reason = posix() Associates a UDP port number ( Port ) with the calling process. The available options are: list : Received Packet is delivered as a list. binary : Received Packet is delivered as a binary. {ip, ip_address()} : If the host has several network interfaces, this option specifies which one to use. {fd, int()} : If a socket has somehow been opened without using gen_udp , use this option to pass the file descriptor for it. inet6 : Set up the socket for IPv6. inet : Set up the socket for IPv4. Opt : See inet:setopts/2 . The returned socket Socket is used to send packets from this port with send/4 . When UDP packets arrive at the opened port, they are delivered as messages: {udp, Socket, IP, InPortNo, Packet} Note that arriving UDP packets that are longer than the receive buffer option specifies, might be truncated without warning. IP and InPortNo define the address from which Packet came. Packet is a list of bytes if the option list was specified. Packet is a binary if the option binary was specified. Default value for the receive buffer option is {recbuf, 8192} . If Port == 0 , the underlying OS assigns a free UDP port, use inet:port/1 to retrieve it. send(Socket, Address, Port, Packet) -> ok | {error, Reason} Types Socket = socket() Address = string() | atom() | ip_address() Port = 0..65535 Packet = [char()] | binary() Reason = not_owner | posix() Sends a packet to the specified address and port. The Address argument can be either a hostname, or an IP address. recv(Socket, Length) -> {ok, {Address, Port, Packet}} | {error, Reason} recv(Socket, Length, Timeout) -> {ok, {Address, Port, Packet}} | {error, Reason} Types Socket = socket() Length = int() Address = ip_address() Port = 0..65535 Packet = [char()] | binary() Timeout = int() | infinity Reason = not_owner | posix() This function receives a packet from a socket in passive mode. The optional Timeout parameter specifies a timeout in milliseconds. The default value is infinity . controlling_process(Socket, Pid) -> ok Types Socket = socket() Pid = pid() Assigns a new controlling process Pid to Socket . The controlling process is the process which receives messages from the socket. close(Socket) -> ok | {error, Reason} Types Socket = socket() Reason = not_owner | posix() Closes a UDP socket. Ericsson AB kernel 2.14.3 gen_udp(3erl)
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy