what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

pine4.50-privacy.patch

pine4.50-privacy.patch
Posted Dec 3, 2002
Authored by Netmask | Site enZotech.net

The Privacy patch for Pine 4.50 allows you to conceal or modify Sender/X-Sender Headers which reveal your real user information when using roles. Also removes Pine version, and OS from Message-ID, and default host.

tags | patch
systems | unix
SHA-256 | 7f836f7f9b50b6d5ba2ea219e14b45f0ffa19eab3acaedba4030da40deb9057d

pine4.50-privacy.patch

Change Mirror Download
diff -iw -C 3 -P -r pine4.50/pine/reply.c pine4.50-privacy/pine/reply.c
*** pine4.50/pine/reply.c Fri Oct 11 10:44:55 2002
--- pine4.50-privacy/pine/reply.c Mon Dec 2 07:29:45 2002
***************
*** 5106,5115 ****
cnt = 0;
osec = now_x->tm_sec;
}
! sprintf(id,"<Pine.%.4s.%.20s.%02d%02d%02d%02d%02d%02d%X.%d@%.50s>",
! SYSTYPE, pine_version, (now_x->tm_year) % 100, now_x->tm_mon + 1,
now_x->tm_mday, now_x->tm_hour, now_x->tm_min, now_x->tm_sec,
! cnt, getpid(), ps_global->hostname);

return(id);
}
--- 5106,5115 ----
cnt = 0;
osec = now_x->tm_sec;
}
! sprintf(id,"<%02d%02d%02d%02d%02d%02d%X.%d@somehost.domain.com>",
! (now_x->tm_year) % 100, now_x->tm_mon + 1,
now_x->tm_mday, now_x->tm_hour, now_x->tm_min, now_x->tm_sec,
! cnt);

return(id);
}
diff -iw -C 3 -P -r pine4.50/pine/send.c pine4.50-privacy/pine/send.c
*** pine4.50/pine/send.c Wed Nov 20 14:51:49 2002
--- pine4.50-privacy/pine/send.c Mon Dec 2 07:31:54 2002
***************
*** 4055,4062 ****
--- 4055,4064 ----
* Don't ever believe the sender that is there.
* If From doesn't look quite right, generate our own sender.
*/
+ /*
if(outgoing->sender)
mail_free_address(&outgoing->sender);
+ */

/*
* If the LHS of the address doesn't match, or the RHS
***************
*** 4065,4070 ****
--- 4067,4074 ----
*
* Don't add a personal_name since the user can change that.
*/
+
+ /*
if(!outgoing->from
|| !outgoing->from->mailbox
|| strucmp(outgoing->from->mailbox, ps_global->VAR_USER_ID) != 0
***************
*** 4076,4081 ****
--- 4080,4086 ----
outgoing->sender->mailbox = cpystr(ps_global->VAR_USER_ID);
outgoing->sender->host = cpystr(ps_global->hostname);
}
+ */

/*----- Message is edited, now decide what to do with it ----*/
if(editor_result & (COMP_SUSPEND | COMP_GOTHUP | COMP_CANCEL)){
***************
*** 9576,9584 ****
{
char **p;
static char *forbidden_headers[] = {
- "sender",
- "x-sender",
- "x-x-sender",
"date",
"received",
"message-id",
--- 9581,9586 ----
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close