Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED] How do I supply username/password to feed?

    Scheduled Pinned Locked Moved pfBlockerNG
    1 Posts 1 Posters 385 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      guardian Rebel Alliance
      last edited by guardian

      I am trying to use the Bambenek Consulting consulting feed defined by pfBlockerNG-devl. I supplied the username/password as provided by Banbenek, and the URL suggested looks like:
      ===group

      https://user@example.com:-password@faf.bambenekconsulting.com/feeds/dga/c2-ipmasterlist-high.txt
      

      If I paste this URL into a web browser, I get the desired download, but when I use it in pfBlockerNG-devel, I get an error.

      [ pfB_PRI3_v4 - BBC_C2_v4 ] Download FAIL [ 08/9/21 02:15:41 ]
      Firewall and/or IDS (Legacy mode only) are not blocking download.
      

      I'm wondering if it has something to do with the password beginning with a hyphen '-', or because the userid is an email address and the '@' in the email is confusing the parser since '@' is the delimiter https://user:password@domain.com/resource

      Can anyone give me any ideas how to work around this issue?

      EDIT: It turned out to be the '@'... Substituting %40 got things working:

      https://user%40example.com:-password@faf.bambenekconsulting.com/feeds/dga/c2-ipmasterlist-high.txt
      

      If you find my post useful, please give it a thumbs up!
      pfSense 2.7.2-RELEASE

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.