Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:network [2023/03/09 19:26] – tmadelinux:network [2026/06/24 15:38] (current) – [Test] tmade
Line 229: Line 229:
  
     nc -zv 192.168.0.20 25     nc -zv 192.168.0.20 25
 +or:
 +    lsof -Pi :8443                     #just local test  
  
-Or:+or:
  
   echo >/dev/tcp/localhost/25   echo >/dev/tcp/localhost/25
   echo >/dev/tcp/192.168.0.20/25   echo >/dev/tcp/192.168.0.20/25
- +   
-Additionally you can send Mails with it:+=== Mails with telnet ===
  
   ehlo testmail.org (Identify and demand SMTP-Modus)   ehlo testmail.org (Identify and demand SMTP-Modus)
Line 246: Line 248:
 Tip: Tip:
   reset (enables to send additionally emails)   reset (enables to send additionally emails)
 +  
 +===curl===
 +
 +  curl -v -H "Host: my-server.mydomain.com" 127.0.0.1:8443                     #test connectivity locally on host to simulate external access
 +  curl -v -H "Host: www.example.com" http://192.168.1.100                      #connect to 192.168.1.100 and rewrite/ manipulate hostheader to www.example.com
 +  curl -X GET https://my-domain.de:6443                                        #check if port is open
 +  curl --noproxy "*" http://localhost:8080                                     #check if port is open
 +  curl -v http://localhost:8080
 +  curl -v 1.2.3.4:80
      
 === jmeter (performance tests) === === jmeter (performance tests) ===
linux/network.1678386406.txt.gz · Last modified: by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki