Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network2 no longer processes successful add/drop responses correctly #1583

Open
ericpareja opened this issue Feb 17, 2023 · 5 comments
Open
Assignees

Comments

@ericpareja
Copy link
Contributor

given a sub_add_resp or sub_drop_resp packet (main type 18 and main type 19) packet, with a zero (success) response, network2 doesn't identify the successful result properly.

here's an older mail with the correct email report.

 Sub: Personal E-Mail                     Msg#: [82 of 177]
From: WWIV AreaFix (WWIVnet) @63          Date: Wed Jan 11 04:29:00 2023      
Subj: WWIV AreaFix (WWIVnet) Response for subtype 'LAMP'
 Sys: aliens' alcove!                      Loc: Taguig City, Philippines        
   

SubType 'LAMP', (add) Response: 'Add or Drop successful'
This is /home/wwiv/data/saLAMP.net

Hello Subscriber! :)


Mail {QSRIDAF?-+GEMZPVUOLCNY@} : 


 Sub: Personal E-Mail                     Msg#: [83 of 177]
From: WWIV AreaFix (WWIVnet) @63          Date: Wed Jan 11 04:44:35 2023      
Subj: WWIV AreaFix (WWIVnet) Response for subtype 'LAMP'
 Sys: aliens' alcove!                      Loc: Taguig City, Philippines        
   

SubType 'LAMP', (drop) Response: 'Add or Drop successful'

here's a recent mail with the Unknown response code 83 report.

 Sub: Personal E-Mail                     Msg#: [146 of 177]
From: WWIV AreaFix (WWIVnet) @63          Date: Wed Feb 15 19:07:22 2023      
Subj: WWIV AreaFix (WWIVnet) Response for subtype 'NEW'
 Sys: Aladdin's Lamp                      
SubType 'NEW', (add) Response: 'Unknown response code 83'

Mail {QSRIDAF?-+GEMZPVUOLCNY@} : 


 Sub: Personal E-Mail                     Msg#: [147 of 177]
From: WWIV AreaFix (WWIVnet) @63          Date: Wed Feb 15 22:55:27 2023      
Subj: WWIV AreaFix (WWIVnet) Response for subtype 'NEW'
 Sys: Aladdin's Lamp                      
SubType 'NEW', (drop) Response: 'Unknown response code 83'

i'll attach test packets and try to identify which commit caused this.

@ericpareja ericpareja self-assigned this Feb 25, 2023
@ericpareja
Copy link
Contributor Author

@wwiv i've been wracking my brains out on this one, and i know it's hacky to reset the pointer to the start, then increment through the string until the null terminator, but it appears to be the only fix for this.

@wwiv
Copy link
Contributor

wwiv commented Mar 1, 2023 via email

@ericpareja
Copy link
Contributor Author

Here's a response packet from node 1 to node 60.
add-success.txt

Email after processing should look like this:
Screenshot from 2023-03-01 14-40-51

With current code, email after processing looks like this:
Screenshot from 2023-03-01 14-41-11

@wwiv
Copy link
Contributor

wwiv commented Mar 1, 2023

Do I put this in as local.net to process it?

@ericpareja
Copy link
Contributor Author

ericpareja commented Mar 2, 2023 via email

@wwiv wwiv added this to the 5.9: Modern Retro 2023-2024 milestone May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants