View Single Post
  #24  
Old 13th April 2021, 02:48
protocolprowler's Avatar
protocolprowler protocolprowler is offline
Member
 
Join Date: Aug 2020
Posts: 9
Default Troubleshooting continued
Yes, my XBT is listening on port 4000 which is actively working correctly via HTTP.



I don't think it's the SSL config because I lose the real client IPs with SSL completely disabled, but here is my SSL config.

vi /etc/nginx/snippets/ssl.conf
Code:
# START SSL CONF
ssl_dhparam /etc/ssl/certs/dhparam.pem;

ssl_session_timeout 1d;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off;

ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers on;

ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 30s;

add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
# END SSL CONF
Here is my current XBT config w/ private info cleared
Code:
mysql_host = localhost
mysql_user = svc_account
mysql_password = *********
mysql_database = mydatebase
announce_interval=1800
anonymous_announce=0
anonymous_scrape=0
auto_register=0
clean_up_interval=15
daemon=1
debug=0
full_scrape=0
listen_ipa *
listen_port=4000
log_access=0
log_announce=1
log_scrape=0
read_config_interval=20
read_db_interval=15
write_db_interval=15
scrape_interval=0
table_files=torrents
query_log=query_log.txt
I'm soooo close its too hard to give up now...

Bump: I've now taken captures from my loopback on my XBT listening port 4000 so i can just see traffic forwarded from NGINX. Both config options show x-forwarded-for and others populated with the real client IP. (see images)
Is there some mod version of XBT that understands forwarded header data?

Click the image to open in full size.Click the image to open in full size.

Last edited by protocolprowler; 14th April 2021 at 01:26.
Reply With Quote