Skip to content
Snippets Groups Projects
  1. Mar 02, 2023
    • Rob Swindell's avatar
      Re-publish the server error_count topic in mqtt_startup() · 0cdde0cd
      Rob Swindell authored
      Fixes a stale non-zero error_count retained topic.
      0cdde0cd
    • Rob Swindell's avatar
      Fix false FORGED mail header 'FROM' field detection/rejection · 7727cc8b
      Rob Swindell authored
      Pretty much any From field that contains an '@' in the username portion
      was subject to comparison to the full email address, but clearly some of
      these rejected emails were not forge attempts:
      
      'Chris @ StubHub' vs 'events@mail.stubhub.com'
      'Eric S. Raymond (@esr)' vs 'gitlab@mg.gitlab.com'
      
      Fixed by requiring that the sender name is actually a well-formed Internet
      email address using smb_netaddr_type(), which was also recently improved to
      be more accurate.
      
      Unrelated change: include reverse-path (email address for bounces) in
      ILLEGALLY-LONG body and header line log messages (usually SPAM from what
      I can tell).
      7727cc8b
    • Rob Swindell's avatar
      netaddr_type() now returns NET_NONE when passed null or undefined · d8e4182c
      Rob Swindell authored
      ... instead of undefined, to match what the documentation already stated.
      d8e4182c
    • Rob Swindell's avatar
      4b3c32dc
    • Rob Swindell's avatar
      Better automatic network address type detection · ce5f8ccc
      Rob Swindell authored
      smb_netaddr_type():
      - if passed NULL or a string that begins with whitespace, now returns NET_NONE.
      - if passed a string that begins with '@', now returns NET_UNKNOWN.
      - if the user.name portion of an otherwise value Internet email address
        contains a space, now returns NET_NONE.
      
      smb_get_net_type_by_addr()
      - if passed a string that begins with '@', now returns NET_UNKNOWN.
      - if passed a string with space following '@', will now return NET_UNKNOWN.
      - if passed a string without a dot following '@', will never return NET_INTERNET.
      
      Unrelated change: Add the missing FILE attribute to smb_msgattrstr()
      ce5f8ccc
  2. Feb 28, 2023
  3. Feb 27, 2023
  4. Feb 26, 2023
  5. Feb 25, 2023
Loading