Questions tagged [packet]

99 questions
0
votes
1 answer

Tools to inspect an ethernet packet travels through host's interfaces?

I am debugging a local ethernet connection on a Linux machine. I want to inspect the ethernet packets as they travel. in and out current machines' interfaces. I do not have a GUI on the machine. Is there tool to do this?
steveyang
  • 673
  • 4
  • 10
  • 16
0
votes
1 answer

iptables: is it possible to spoof NEW packets and make them look like ESTABLISHED packets?

See title for the question. This question relates to a previous question wherein I asked the difference between NEW,ESTABLISHED and RELATED , see it here iptables: difference between NEW, ESTABLISHED and RELATED packets One of the rules has NEW in…
Kris
  • 1,367
  • 3
  • 15
  • 17
0
votes
1 answer

size of packet icmp with netstat TX

I am confused with the size of packet icmp. I just did a simple initial netstat, where for eth0 : TX-OK = 485 after 1 ping message is send, again I see in netstat TX-OK = 488 So, I just want to know how does the TX actually intepret the icmp packet…
sateayam
  • 137
  • 2
  • 8
0
votes
2 answers

Linux not sending ICMP with iptables `--reject-with`

Using iptables I am trying to reject packets (I want to return an ICMP message). iptables -A FORWARD [...] -j REJECT --reject-with icmp-port-unreach The packets are dropped but using tcpdump I can see no ICMP. What gives ? Am I doing something…
itq
  • 1
0
votes
1 answer

Sharing connections on a circuit-switched network possible?

Is it possible to somehow share a circuit-switched connection? For example, could multiple computers be connected to a router which is connected to a circuit-switched network?
Wintermute
  • 375
  • 2
  • 5
  • 12
0
votes
2 answers

When analyzing packets with Wireshark, is there a way to know which program is sending which packet?

is there an easy way to know from where the packets come from? Which program? My pc which is on 192.168.0.100 is continuously sending packets (TCP and SMB) to an unknown host (192.168.1.99) and I can't figure out which program is doing that.
Keyne Viana
  • 215
  • 1
  • 4
  • 9
0
votes
1 answer

Forward all data sent to XXX to BBB

I want to forward all that that is being sent to IP XXX and send it to IP BBB Example: A packet is being sent to IP 23.24.165.56, I want that packet to be sent to IP 127.0.0.1 instead. Any ideas?
DanSpd
0
votes
1 answer

Altq limits not being applied to UDP transfers

I have a OpenBSD server acting as a router/firewall with yhr packet filter ruleset shown below, a linux server, and a linux client. When transferring files (using netcat) by TCP, the limits are applied (for example the 100mbit limit in the…
user42511
  • 21
  • 1
0
votes
1 answer

How does ospf control flooding?

What method is used by ospf protocol to prevent looping of flooded packets for link state advertisements? The packet header does not contain any timestamp. How do the routers recognize that it is the same advertisement that they sent…
Rohit Banga
  • 584
  • 2
  • 5
  • 16
0
votes
0 answers

iPerf3 UDP TX/RX bytes mismatch but no loss

I am not able to interpret the following iPerf3 results. Client: iperf3 -c SERVER -u -R -b 350M Connecting to host SERVER, port 5201 Reverse mode, remote host SERVER is sending [ 5] local CLIENT port 47128 connected to SERVER port 5201 [ ID]…
0
votes
0 answers

Packet capturing using arp poisoning and IP forwarding

I made a script in Golang that allows me to perform ARP poisoning attack and with that I enabled IP forwarding to forward the packets to my router. When I use pcap.OpenLive I can only see the packets from the attacked device to the router. For…
has van
  • 101
0
votes
0 answers

How to identify source, destination ip using STUN and DTLS protocols?

enter image description here Given image i'm not able to identify which is source and destination ip address ( client or server). From STUN protocol 1st packet it's user request so i thought 131.202.240.150 is client ip address. From DTLS 5th packet…
0
votes
0 answers

How to use iptables to link two vlans

I have two networks, one being the main, with a network card eth1 (found on an Ubuntu Server 18.04 configured to be a router) and internal IP address 192.168.5.1 (with is the gateway) and another network in different location, but connected together…
0
votes
1 answer

Is it possible to capture packets of router which i connected through wifi of my laptop

I want to capture all traffic of router I can only connect with wifi no physical access and I do have access to configuration page of router
-1
votes
4 answers

Is there anyway to tell what user will receive data from inbound packet?

In linux, considering this use case: 1. User initiates http request for webpage to remote server 2. Remote server answers request and sends packets Is there any reference to the user who started the process that made the request to the remote…
Rooster
  • 495
  • 2
  • 7
  • 21