Actually there is a way to kill a connection – killcx. They claim it works in any state of the connection (which I have not verified). You need to know the interface where communication happens though, it seems to assume eth0 by default.
UPDATE: another solution is cutter which comes in some linux distros’ repositories.
Related Posts:
- How do I grep recursively?
- How do I grep recursively?
- How do I grep recursively?
- How do I use grep to search the current directory for all files having the a string “hello” yet display only .h and .cc files?
- SSH using python script
- How can I exclude directories from grep -R?
- How can I exclude directories from grep -R?
- Argument list too long error for rm, cp, mv commands
- Difference between using “chmod a+x” and “chmod 755”
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- How to cat <
> a file containing code? - Extract file basename without path and extension in bash
- Given two directory trees, how can I find out which files differ by content?
- Diff command along with Grep gives “Binary file (standard input) matches”
- How to download a file from server using SSH?
- TCP congestion control version: HTCP module vs highspeed module in linux kernel
- What is the difference between “#!/usr/bin/env bash” and “#!/usr/bin/bash”?
- What does `set -x` do?
- Command to change the default home directory of a user
- Using ls to list directories and their total sizes
- What is the reason and how to avoid the [FIN, ACK] , [RST] and [RST, ACK]
- What does “&” at the end of a linux command mean?
- Can’t remove a directory in Unix
- Syntax error near unexpected token ‘then’
- C fopen vs open
- Restarting cron after changing crontab file?
- How do I write stderr to a file while using “tee” with a pipe?
- cd into directory without having permission
- Copying a large directory tree locally? cp or rsync?
- Can I nohup/screen an already-started process?
- Environment variables of a running process on Unix?
- In my /etc/hosts/ file on Linux/OSX, how do I do a wildcard subdomain?
- What is the difference between Unix sockets and TCP/IP sockets?
- Setting the hostname: FQDN or short name?
- When does /tmp get cleared?
- Should I quit using Ifconfig?
- SSL Certificate Location on UNIX/Linux
- Is it possible to detach a process from its terminal? (Or, “I should have used screen!”) [duplicate]
- What does ‘set -e’ do, and why might it be considered dangerous?
- Meaning of directories on Unix and Unix like systems
- How to remove empty/blank lines from a file in Unix (including spaces)?
- How can I rename a Unix user?
- How to get pid of just started process
- Can you have more than one ~/.ssh/config file?
- What is this IP address: 169.254.169.254?
- How to disable everything in crontab -l?
- How to determine the hostname from an IP address in a Windows network?
- SSHFS mount that survives disconnect
- How to get TX/RX bytes without ifconfig?
- How to sort ps output by process start time?
- How to check the physical status of an ethernet port in Linux?
- Testing UDP port connectivity
- Why does ENOENT mean “No such file or directory”?
- Why do you need to put #!/bin/bash at the beginning of a script file?
- -bash: syntax error near unexpected token `newline’ for display command
- Changing the resolution of a VNC session in linux
- How does “cat << EOF" work in bash?
- tar removing leading ‘/’ from member names
- X11 forwarding request failed on channel 0
- What is difference between arm64 and armhf?
- connect to host localhost port 22: Connection refused
- How to count lines in a document?
- How to get the process ID to kill a nohup process?
- Writing a simple shell in C using fork/execvp
- Implementation of multiple pipes in C
- tar: add all files and directories in current directory INCLUDING .svn and so on
- What does set -e mean in a bash script?
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- What is `S_ISREG()`, and what does it do?
- Pipe to/from the clipboard in a Bash script
- what does -zxvf mean in tar -zxvf filename?
- Retrieve last 100 lines logs
- Linux Bash: Move multiple different files into same directory
- Configuring Apache for localhost
- Android – Command not found
- EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- What does ‘bash -c’ do?
- How do I know the script file name in a Bash script?
- WordPress can’t find temporary folder, but folder it’s looking at has correct permissions
- Check if port is open or closed on a Linux server?
- When does `cron.daily` run?
- How to run a command multiple times, using bash shell?
- How to reconnect to a disconnected ssh session
- What is “-bash: !”: event not found”
- Keeping a linux process running after I logout
- Force dig to resolve without using cache
- Mount CIFS Host is down
- List of files installed from apt package
- How to copy a large number of files quickly between two servers
- Allow SFTP but disallow SSH?
- How can I export the privileges from MySQL and then import to a new server?
- Is there a directory equivalent of /dev/null in Linux?
- Can I send some text to the STDIN of an active process running in a screen session?
- How can I get processor/RAM/disk specs from the Linux command Line? [duplicate]
- Is there a way to see the execution tree of systemd?
- create home directories after create users
- How do I redirect subdomains to a different port on the same server?
- Running Cron every 2 hours [duplicate]
- What does “debconf: delaying package configuration, since apt-utils is not installed” mean?
- In Linux, what is the difference between “buffers” and “cache” reported by the free command?