Sponsored Content
Top Forums UNIX for Advanced & Expert Users Apache - tcpdump get HTTP and HTTPS Headers Post 302976317 by coolatt on Tuesday 28th of June 2016 03:19:30 AM
Old 06-28-2016
Linux Apache - tcpdump get HTTP and HTTPS Headers

Hello

I googled for "tcpdump view HOST http headers" -- that fine

However can we do same for HTTPS like after the HTTPS gets decrypted by Apache ?

I think this is legitimate on the server where the site is hosted since at some point the Apache itself needs to get the HOST patrameter in order to send the request to the correct VHOST

Regards
coolatt
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Implement https on apache 2.0.55

I have been trying to implement https auto-redirect for a particular links. I have three configuration file /etc/apache2/apache2.conf, /etc/apache2/sites-available/default, and /etc/apache2/sites-available/ssl. In /etc/apache2/sites-available/default file I added following script <IfModule... (13 Replies)
Discussion started by: kumarrana
13 Replies

2. Shell Programming and Scripting

stripping http and https from a url using sed

I have to write a sed script which removes http and https from a URL. So if a URL is https://www.example.com or Example Web Page, script should return me Example Web Page i tried echo $url | sed 's|^http://||g'. It doesn't work. Please help (4 Replies)
Discussion started by: vickylife
4 Replies

3. Shell Programming and Scripting

http and https

Hi friends, I have a local host http://ss3/cgi-bin/page/page_list.cgi running on apache webserver perfectly well. But suddenly, it stopped working and gave an error "Internet explorer Explorer cannot display the webpage". But when i added https, as https://ss3/cgi-bin/page/page_list.cgi the... (2 Replies)
Discussion started by: nmattam
2 Replies

4. UNIX for Dummies Questions & Answers

tcpdump and prism headers question

Hello everyone! I installed OpenWRT on a WRT54G-TM (linux 2.4). No problem so far!. I also installed tcpdump on the box. I set the adapter in monitor mode. wlc monitor 1 It created the prism0 interface. Tcpdumpíng is also possible using this interface. root@cmWRT:/tmp# tcpdump -i... (1 Reply)
Discussion started by: aztroboy
1 Replies

5. UNIX for Dummies Questions & Answers

http to https Apache, AllowOverride All receives 403 err htaccess

Hi new to the forum, I have a Apache server on CentOS which hosts a web site. I've set up the SSL which has been tested as I can access my website via http and https. I would like to redirect all browsers to use https instead of http. I have created the htaccess file which contains 'Allow... (3 Replies)
Discussion started by: Sai245
3 Replies

6. Web Development

redirect http to https in apache

i read thru a few article how to do it, but i could not get it to work the way i want it. vi ../httpd.conf Redirect permanent /dev https://servername/portal/ when i type servername, works fine. my goal is to type dev, and it takes me to https://servername/portal/ (4 Replies)
Discussion started by: lawsongeek
4 Replies

7. Web Development

Mod_rewrite http to https

Hi Team, I have a question on the apache mod_rewrite module. I have a requirement of rewriting only specific url's to https. Requirement below:- want to match a word (test) on the url and if matches then it should rewrite to https. example:- ... (1 Reply)
Discussion started by: arumon
1 Replies

8. Web Development

HTTP Headers Reference: HTTP Status-Codes

Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies

9. Proxy Server

IPtable rules for DNS/http/https traffic for specific hosts only, not working.

Hi there, I have a VPS and am working on a little side project for myself and friend which is a DNS proxy. Everything was great till recently. My VPS IP has been detected by some botnet or something, and I believe SMURF attacks are occuring. The VPS provider keeps shutting down my VPS... (3 Replies)
Discussion started by: phi0x
3 Replies
Net::HTTPS::Any(3pm)					User Contributed Perl Documentation				      Net::HTTPS::Any(3pm)

NAME
Net::HTTPS::Any - Simple HTTPS class using whichever underlying SSL module is available SYNOPSIS
use Net::HTTPS::Any qw(https_get https_post); ( $page, $response, %reply_headers ) = https_get( { 'host' => 'www.fortify.net', 'port' => 443, 'path' => '/sslcheck.html', }, ); ( $page, $response, %reply_headers ) = https_post( 'host' => 'www.google.com', 'port' => 443, 'path' => '/accounts/ServiceLoginAuth', 'args' => { 'field' => 'value' }, #'args' => [ 'field'=>'value' ], #order preserved ); #... DESCRIPTION
This is a simple wrapper around either of the two available SSL modules. It offers a unified API for sending GET and POST requests over HTTPS and receiving responses. It depends on Net::SSLeay _or_ ( Crypt::SSLeay and LWP::UserAgent ). WHY THIS MODULE
If you just want to write something that speaks HTTPS, you don't need this module. Just go ahead and use whichever of the two modules is good for you. Don't worry about it. On the other hand, if you are a CPAN author or distribute a Perl application, especially if you aim to support multiple OSes/disributions, using this module for speaking HTTPS may make things easier on your users. It allows your code to be used with either SSL implementation. FUNCTIONS
https_get HASHREF | FIELD => VALUE, ... Accepts parameters as either a hashref or a list of fields and values. Parameters are: host port path headers (hashref) For example: { 'X-Header1' => 'value', ... } args CGI arguments, eitehr as a hashref or a listref. In the latter case, ordering is preserved (see Tie::IxHash to do so when passing a hashref). debug Set true to enable debugging. Returns a list consisting of the page content as a string, the HTTP response code and message (i.e. "200 OK" or "404 Not Found"), and a list of key/value pairs representing the HTTP response headers. https_post HASHREF | FIELD => VALUE, ... Accepts parameters as either a hashref or a list of fields and values. Parameters are: host port path headers (hashref) For example: { 'X-Header1' => 'value', ... } Content-Type Defaults to "application/x-www-form-urlencoded" if not specified. args CGI arguments, eitehr as a hashref or a listref. In the latter case, ordering is preserved (see Tie::IxHash to do so when passing a hashref). content Raw content (overrides args). A simple scalar containing the raw content. debug Set true to enable debugging in the underlying SSL module. Returns a list consisting of the page content as a string, the HTTP response code and message (i.e. "200 OK" or "404 Not Found"), and a list of key/value pairs representing the HTTP response headers. AUTHOR
Ivan Kohler, "<ivan-net-https-any at freeside.biz>" BUGS
Please report any bugs or feature requests to "bug-net-https-any at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-HTTPS-Any>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Net::HTTPS::Any You can also look for information at: o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-HTTPS-Any> o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Net-HTTPS-Any> o CPAN Ratings <http://cpanratings.perl.org/d/Net-HTTPS-Any> o Search CPAN <http://search.cpan.org/dist/Net-HTTPS-Any> COPYRIGHT &; LICENSE Copyright 2008-2010 Freeside Internet Services, Inc. (http://freeside.biz/) All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-05-01 Net::HTTPS::Any(3pm)
All times are GMT -4. The time now is 04:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy