The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
12 views

On BSD / OS X how can I redirect all UDP traffic from one port to another port?

On Mac OS X 10.9.5 I am running boot2docker and would like to temporarily forward a non-privileged UDP port 69 to port 69 of the boot2docker virtual machine. Virtualbox only supports forwarding ...
0
votes
1answer
13 views

Forwarding a udp socket connection to a range of ip addresses

I have a program which is a udp socket client. I can determine an IP adress to which this program should send. Unfortunately, I configured the computer as Access Point and don't know the address of ...
0
votes
1answer
60 views

How do UDP multicast behave on Unix?

A Unix expert told me that ip-multicast uses Ethernet multicast (depends on MAC address to spread) instead of IPv4 multicast. Is this true? Does it depend on the kernel or version?
0
votes
1answer
26 views

A program like nethogs for udp?

I use a good program: nethogs,is like a "top" for tcp traffic someone know something similar for udp? I want to see the udp bandwitch used by program
1
vote
2answers
120 views

tcpdump captures network-wide UDP traffic, but not TCP

When observing traffic with sudo tcpdump udp, it behaves like it should: I can see all traffic which is happening in the network, even when the machine which I am using is not involved. However, when ...
2
votes
1answer
51 views

Close the neccessary Ports [duplicate]

I am using Linux Mint and I am newbie. Someone is trying to access my computer via my MAC Address and open port. I have some questions: I know that there are different type of port like TCP and UDP. ...
1
vote
1answer
81 views

Open UDP Ports; Can I Close Them?

I'm trying to secure my internet browsing. I just reinstalled Xubuntu 14.04 and GUFW firewall. I have 8 UDP ports open. I don't understand why. The software I currently have open are Firefox, GUFW, ...
0
votes
0answers
88 views

Why doesn't syslog traffic show up in netstat and lsof output?

I've noticed on my CentOS 5.x system that outbound syslog traffic (UDP) doesn't show up in lsof or netstat results. I've even tried stuff like watch -n .1 'netstat -l -u -n --program' to make sure ...
2
votes
1answer
253 views

nfs mount works for tcp but not over udp

I'm connecting my raspberry pi (raspbmc) with my synology nas. I have 2 mounts 192.168.0.5:/volume1/video /mnt/video nfs udp,intr,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3,async ...
2
votes
0answers
105 views

Filter UDP packet in tc filter

Hello I'm trying to limiting the bandwidth on my iperf udp test (iperf -u). I use tc qdisc and class to make some assured rate and ceiling rate for it. However, I don't know what filter I should use ...
2
votes
1answer
343 views

enable echo service and linux security loophole issues

in order to enable the echo service we need to add the echo lines as the following example : more /etc/inetd.conf echo stream tcp nowait root internal echo dgram udp wait root ...
1
vote
2answers
803 views

Redirect stdin and stdout to ports

I'd like to take a program P that reads from stdin & writes to stdout, but connect it to nc or whatever such that it reads from a certain port and outputs to another port. # The reading is easy, ...
1
vote
1answer
52 views

Start a service on a network request (socket activation)

I have a program that under normal activation listens on some port. I don't want the program running continuously. Is there a "quick and dirty" way to wrap the application in a shell script or ...
2
votes
0answers
113 views

Emulate console by sending data on one UDP port, and receive text from another

Note: I also posted this question on SuperUser, because I'm not sure where it belongs I'm trying to establish a "console-like" connection with a National Instruments cRIO-FRC. It broadcasts its ...
1
vote
1answer
175 views

tcpdump and nc with udp

I don't understand the behaviour of netcat. Let's say that I have one host acting as server: [root@localhost tmp]# nc -u -l -p 670 Then I try to connect from a client: root@debian:/tmp# nc -u ...
2
votes
0answers
176 views

iptables rule to transfer UDP through a SSH tunnel

The problem I have two programs that runs on two distant computers and communicate through a specific protocol. All I know is that this protocol only communicates through UDP and uses the ports 1101 ...
2
votes
1answer
398 views

Linux “ip route” changes source address of TCP but not UDP

When sending packets from an application that binds to a local address TCP uses a different source address than UDP. For example, bind to 10.10.0.51 (alias IP), the src addr for UDP is 10.10.0.51 but ...
0
votes
2answers
142 views

UDP sending two strings in a datagram

I'm wondering if its possible to send two strings within one datagram in a UDP packet. Assume I had string 1 with text: unix and string 2 with text: linux. I don't want to merge the strings but keep ...
12
votes
1answer
5k views

Why is my TCP throughput much greater than UDP throughput?

I haven't done anything unusual to my hardware or kernel configurations (all default settings, fresh OS install, Linux kernel 3.11 TCP/IP stack) and I'm averaging about 3.83 million messages per ...
2
votes
2answers
3k views

Multicast UDP not working

Multicast UDP on raspberry pi I haven't narrowed things down enough to know if my issue is because of debian, raspbian specifically, or if I am just missing a something completely. I have a python ...
2
votes
1answer
1k views

tftp transfer painfully slow

I am using HPA's tftp server for PXE boot. When I try downloading an image from my tftp server using curl, the transfer rate is less than 3 MB/s, even on my 1Gb network. curl -o initrd.gz ...
3
votes
1answer
3k views

How to use netperf on specific NIC port?

I have two servers, SERVER and CLIENT. Each server has its own onboard 1 GbE ports, and its own NIC with a 10 GbE port. SERVER and CLIENT are interconnected on both a 1 GbE switch (administrative ...
2
votes
0answers
3k views

Dumping multicast UDP stream with socat

I am setting up video streaming. In local network, there are two devices streaming video over UDP multicast. One is regular computer with Linux (streaming to 239.220.221.10, port 9200), second one is ...
0
votes
1answer
120 views

How to log all udp packets from port N in readable format?

How to log into file all udp packets (in and out) from port N in readable format (capture packet type (time stamp, name of error if one happens or message type, data size, data))?
0
votes
1answer
446 views

UDP commands for Linux and Mac?

I'm trying to test UDP between 2 terminals in the same machine. For instance: Terminal 1 UDP listener@port:3000 UDP sender to port:3001 Terminal 2 UDP listener@port:3001 UDP sender to ...
1
vote
2answers
288 views

What ports are essential and should generally be allowed on a Linux system?

I'm running a desktop computer, but one with high threat risk. I've blocked all ports using a firewall except: HTTP, HTTPS, DNS, one port for torrent client. Do any common processes in distros ...
14
votes
1answer
5k views

Is it better to set -j REJECT or -j DROP in iptables?

There's an example of iptables rules on archlinux wiki: # Generated by iptables-save v1.4.18 on Sun Mar 17 14:21:12 2013 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :TCP - ...
2
votes
2answers
3k views

What does 0.0.0.0:* mean in netstat?

Could anyone explain the following output of netstat -plunt? udp 0 0 0.0.0.0:58262 **0.0.0.0:*** 1163/avahi-daemon: udp 0 0 0.0.0.0:17500 ...
1
vote
0answers
110 views

setting up a local VoIP to use as a Wifi Headset

I had this idea of using Wi-fi in a vehicle to connect my cell to the car call handler.Just as it works with bluetooth nowadays. Just to demonstrate that such a thing is possible , i had three Linux ...
3
votes
1answer
337 views

listen to a conversation using port forwarding

I have been able to make a phone calls using the SIP client Pjsua from one Linux computer to another one. In case you have not heard of this user agent, explaining it's functionality is quite easy. It ...
1
vote
0answers
149 views

Command for finding open ports

On my linux servers I have this alias set: alias ns="sudo lsof -Pi|grep -v ESTABL|grep -v CLOSED|grep -v -e '->' | tr -s ' ' '\t' | awk '{print $3 "\t" $8 "\t" $5 "\t" $9 "\t" $1}'| column ...
0
votes
0answers
153 views

How to make Network alive but speed low, slow for upload, download?

I have own application written (Python, Java) which does upload/download for streaming. Now in my local office network and home network setup i can't simulate slow/low latency network (as a result i ...
4
votes
1answer
3k views

TCP buffers keep filling up (Recv-Q full): named unresponsive

Using netstat -an, I set the message that the Recv-Q is full. It is filling up to the rmem_max: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address ...
3
votes
1answer
61 views

Per executable UDP port redirection possible?

I have a black box program which listens on a particular UDP port. I'd like it to listen to a UDP port of my choosing. Is there a way to trick the executable into listening on a differen port. I ...
0
votes
1answer
96 views

How do I verify that the Linux kernel is not freezing when uploading or downloading large data over the ethernet interface?

How to verify if the Linux kernel is doing what it's saying for network interfaces? I have one network interface eth0 which has hardware support to do 1GB full-duplex. I have prepared 2 box. Now ...
2
votes
0answers
248 views

IPTables dropping UDP packet stream

I have a configuration where UDP packets containing encapsulated DNS data are sent to a KVM instance for processing. The KVM instance sits behind an IPtables firewall which is also doing NAT. The ...
1
vote
2answers
98 views

Can an arbitrary process read data coming to/from a network port? How?

For example, postgres does the following as shown with lsof -i: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME postgres 29200 postgres 8u IPv6 470362 0t0 UDP ...
1
vote
1answer
1k views

Command line streaming string manipulation from netcat

I have a netcat udp connection listening with nc -l -u .... I've been trying to do a per packet manipulation of the incoming data with just command line, but it doesn't look like there is a flag in ...
2
votes
0answers
430 views

TPROXY for redirecting UDP on arbitrary ports

I want to intercept all UDP traffic leaving tap1. And possibly reply to e.g. DNS-requests. To accomplish this I wrote some python code listening to localhost and use iptables with a rule-set like ...
3
votes
1answer
123 views

What are the requierements to sniff UDP packets in a Wireless Ad-Hoc network?

In a wireless Ad-Hoc network, I have two computers which communicates in UDP together from 192.168.1.3 to 192.168.1.5 I have a third computer (192.168.1.6) which wants to listen to the packets which ...
3
votes
1answer
901 views

why ss(8) understands listening UDP ports differently than netstat(8)?

If I execute ss -lu in order to view all the listening UDP sockets, then none of the sockets are displayed. If I execute ss -au, which lists all(both listening and non-listening) UDP sockets, then ...
4
votes
1answer
1k views

Centos 6.3 Server ignoring IGMP Queries

I am using a CentOS 6.3 server to subscribe to UDP multicast data, and I noticed that my server doesn't answer the IGMP queries sent by the switch it is connected to. As a result, when I open my ...
0
votes
0answers
568 views

Tools to find OpenVPN UDP packet corruption

Are there Unix tools to troubleshoot UDP packet corruption? I'd like to avoid writing my own... I think ping might report when a packet is corrupted, but it doesn't really seem to have options ...
4
votes
1answer
174 views

Alternative to DNS for internal servers

I am setting up my first network at work. All the servers are running CentOS 6.3 and have statically assigned IP addresses. For example: server1 192.168.0.101 server2 192.168.0.102 I want to be ...
1
vote
0answers
97 views

Cannot see an EC2 VPN server from another EC2 instance

I'm using openVPN to connect to one EC2 instance from another. The client cannot see the server, however, despite that servers outside of AWS can see the server and successfully negotiate with it. ...
1
vote
2answers
389 views

How to find transmission speed?

Two host machine's one as a client and other as a server, i am testing udp load-test in these two machines.Machine Ethernet speed is 100 Mbps but i want to send 30000 packets each of 512 bytes at 1 ...
3
votes
0answers
1k views

I can SSH and HTTP, but not ping or access particular UDP services over my LAN

So I've encountered a weird problem when trying to set up a Linux server running a variant of CRUX Linux. I am trying to configure it to be a Teamspeak server, but no clients can connect. The ...
2
votes
0answers
812 views

Linux bridge blocks UDP packet from tap interfaces

Introduction: I'm working on a 6lowPAN projects of Wireless Sensor Networks. Basically, I have a set of nodes (Contiki OS) which are running on a linux host. Each nodes have its own tap interface ...
1
vote
1answer
2k views

Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get

I have a GPS localizer (TK102). I've set it up to send responses over GPRS to particular IP and over particular port. I was told that, it uses UDP. It seems that something is being sent (paid ...
4
votes
1answer
2k views

Run nmap via Tor

Is it possible to runnmap via Tor? When I googled around, I got the impression that Tor uses Polipo / Privoxy, which are socks5 proxies. So any TCP / UDP aware applications should be able to use them ...