Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Jun 28, 2017 2:34 pm


News News of TCP/IP Networking

Site map of TCP/IP Networking » Forum : TCP/IP Networking

Internet Protocol, Transport Control Protocol, Network protocols, Routing, Routers, IP aliases, Routes, Ethernet

 [ Total topics 57 Go to page 1, 2, 3, 4, 5, 6

Message
 Post subject: TCP ack after two packets
PostPosted: Mon Jun 13, 2016 5:14 pm 
im using wireshark for tcp project.
when ACK is sent i get window size of 65536 but every two pockets in the list are followed by ACK send
isnt ACK sent after receiving 65536 bytes?
some times the window sie jump and the goes back to 63k
what cause it to happend?

----------------------
bloody hell tcp

Read more : TCP ack after two packets | Views : 493 | Replies : 2

Top
 Post subject: IP Subnetting Raneg Assigning...?
PostPosted: Tue May 31, 2016 12:02 pm 
Hi All,

I'm a bit confused about assigning IP address from IP Ranges.

I am using this scenario below to understand.

Scenario

Adatum.com an international IT solutions company, is launching 12 new branches in a new country where they currently have no existing branches. The sWin CIO has asked that each subnet should host at least 1000 devices.

sWin has obtained a network address of 192.168.0.0/18. This address needs to be subnetted further. The internal ...

Read more : IP Subnetting Raneg Assigning...? | Views : 232 | Replies : 0

Top
 Post subject: TCP receive window size doesnt change
PostPosted: Wed May 25, 2016 3:36 pm 
hi..
im about to make experiment in TCP receive window size as chours project.
i im trying to check receive window size behaivior as function of number of current download
unluckily... the calculated window size didnt change at all...
after i lost my sane i connected my pc to my smartphone by hotspot and then window size changed in every pocket
my questions is:
1) what was the diffrent between the two download ways that ...

Read more : TCP receive window size doesnt change | Views : 225 | Replies : 0

Top
 Post subject: TCP Ack Flooding
PostPosted: Tue Mar 22, 2016 4:27 am 
Please let me know what is expected from router when TCP - ACK packets are pumped with some random sequence number into it without establishing any connection.

Read more : TCP Ack Flooding | Views : 373 | Replies : 1

Top
 Post subject: PTP/IP. Picture transfer protocol
PostPosted: Sun Nov 29, 2015 6:38 pm 
Hi Folks,
I'm new to all this complicated stuff so I'm not sure if this is the right place to ask my pile of stupid questions..... First one being. What differentiates tcp and ptp The first part of a packet is tcp so what makes it different. Just its length ???

Stevo

Read more : PTP/IP. Picture transfer protocol | Views : 468 | Replies : 0

Top
 Post subject: Understanding pcap-filter/tcpdumps 'localnet' background
PostPosted: Thu Oct 01, 2015 3:10 pm 
Hello !
In all tcpdump docs, one can find this - or a similar - line:

Quote:
To select traffic neither sourced from nor destined for local hosts (if you gateway to one other net, this stuff should never make it onto your local net).

ip and not net localnet



I really needed some time to find out, that the mentioned 'localnet' must be in '/etc/networks' - which was not the case for me, ...

Read more : Understanding pcap-filter/tcpdumps 'localnet' background | Views : 414 | Replies : 0

Top
 Post subject: ERROR: trying to remove VLAN -:791:- error: Invalid argument
PostPosted: Tue May 12, 2015 6:07 am 
Linux uses "vconfig" utility (vlan package) to add and remove vlans on interfaces in router-on-a-stick manner. Here is the vconfig help:
# vconfig
Expecting argc to be 3-5, inclusive. Was: 1

Usage: add [interface-name] [vlan_id]
rem [vlan-name]
set_flag [interface-name] [flag-num] [0 | 1]
set_egress_map [vlan-name] [skb_priority] [vlan_qos]
set_ingress_map [vlan-name] [skb_priority] [vlan_qos]
set_name_type [name-type]

* The [interface-name] is the name of the ethernet card that hosts
the VLAN you are talking about.
* The vlan_id is ...

Read more : ERROR: trying to remove VLAN -:791:- error: Invalid argument | Views : 899 | Replies : 0

Top
 Post subject: How to accept IPv6 Router Advertisements on interface in FreeBSD
PostPosted: Wed Apr 29, 2015 3:54 am 
Code:
# ifconfig em0 inet6 accept_rtadv

Code:
# ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:0c:29:d7:77:5d
        inet 10.1.20.2 netmask 0xffffffe0 broadcast 10.1.20.31
        inet6 fe80::20c:29ff:fed7:775d%em0 prefixlen 64 scopeid 0x1
        nd6 options=2b<PERFORMNUD,ACCEPT_RTADV,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

Code:
ifconfig em0 inet6 -ifdisabled


Notice the "ACCEPT_RTADV" in neighbor descovery ipv6 (nd6) section.

Read more : How to accept IPv6 Router Advertisements on interface in FreeBSD | Views : 1017 | Replies : 0

Top
 Post subject: Linux script for interface network bandwidth monitoring
PostPosted: Mon Feb 09, 2015 7:05 pm 
This is a simple script that gets RX / TX values of an interface from /sys pseudo filesystem and calculate difference between current and old values displaying a bandwidth output for kilobytes per second.

#!/bin/bash
INT="1" # every INT seconds

while true
do
RX1=`cat /sys/class/net/$1/statistics/rx_bytes`
TX1=`cat /sys/class/net/$1/statistics/tx_bytes`
sleep $INT
RX2=`cat /sys/class/net/$1/statistics/rx_bytes`
TX2=`cat /sys/class/net/$1/statistics/tx_bytes`
TXBPS=`expr $TX2 - $TX1`
RXBPS=`expr $RX2 - $RX1`
TXKBPS=`expr $TXBPS / 1024`
RXKBPS=`expr $RXBPS / 1024`
echo "TX $1: $TXKBPS kb/s ...

Read more : Linux script for interface network bandwidth monitoring | Views : 1187 | Replies : 0

Top
 Post subject: KVM: List MAC address table and interface that learned them.
PostPosted: Sun Feb 01, 2015 6:26 am 
Kernel Virtualization Module (KVM) provides an internal switch with a physical interface or bundle as an uplink and virtual network devices (through virtio driver) as port to each virtual machine’s ethX interfaces.

List KVM mac address table:


This requires brctl command.
Quote:
brctl showmacs <brname> shows a list of learned MAC addresses for this bridge.

# brctl showmacs vmbr0
port no mac addr is local? ageing timer
1 00:00:1c:17:1c:33 no 0.11
1 00:16:c7:16:11:11 no 0.31
1 ...

Read more : KVM: List MAC address table and interface that learned them. | Views : 1164 | Replies : 0

Top
 [ Total topics 57 Go to page 1, 2, 3, 4, 5, 6


Last 10 active topics


Virtualization

No new posts SSH Login to Vmware ESXi with ssh keys
View the latest post
No new posts How to retrieve Vmware ESXi license from ssh shell command line
View the latest post

Shell Scripting and Programming

No new posts How to use $variable in conditional sentences?
View the latest post
No new posts Scan IP range using nmap
View the latest post
No new posts Password generator with user inputs bash script
View the latest post

TCP/IP Networking

No new posts TCP ack after two packets
View the latest post

Junos Tips & Tricks

No new posts MTR / My traceroute in Junos
View the latest post

VPS Hosting & Security

No new posts Host a gmod server on a vps or shared host?
View the latest post

Juniper virtual MX (vMX)

No new posts Juniper Virtual MX (vMX) 14.2R5.3 Phase 2 (RE and MPC on different VMs)
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts cannot login in linux system with ldap user after changing the ldap user password
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 600 | Total topics 969 | Total members 1193



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO