Skip to content

Dump incoming IPSec packets after they have been decrypted by the kernel

License

Notifications You must be signed in to change notification settings

renovate-bot/ipsecdump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipsecdump

Dump incoming IPSec packets after they have been decrypted by the kernel

usage

# ipsecdump -h
Usage of ipsecdump:
  -d string
    	IPSec tunnel destination IP
  -g int
    	NFLOG group to use (default 5050)
  -i string
    	incoming interface to listen on (default: any) (default "any")
  -m string
    	IPSec mode (tunnel or transport) (default "tunnel")
  -s string
    	IPSec tunnel source IP
  -t duration
    	how long to run the NFLOG dumping (default 10s)

example

# ipsecdump -i eth0
20:15:16.661512 IP 198.51.100.146 > 203.0.113.222: ICMP echo request, id 3567, seq 1, length 31
20:15:21.661062 IP 198.51.100.146 > 203.0.113.222: ICMP echo request, id 3567, seq 1, length 31
20:15:26.661180 IP 198.51.100.146 > 203.0.113.222: ICMP echo request, id 3567, seq 1, length 31
20:15:31.661353 IP 198.51.100.146 > 203.0.113.222: ICMP echo request, id 3567, seq 1, length 31
...

About

Dump incoming IPSec packets after they have been decrypted by the kernel

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%