- 
            
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 205
 
Rfc9293 WIP #202
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
          
     Open
      
      
            ebrasca
  wants to merge
  61
  commits into
  froggey:master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
ebrasca:rfc9293
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
      
        
          +673
        
        
          −370
        
        
          
        
      
    
  
  
     Open
                    Rfc9293 WIP #202
Changes from 33 commits
      Commits
    
    
            Show all changes
          
          
            61 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      1113751
              
                tcp: Remove redundant :ack-p t
              
              
                ebrasca 3b0fe68
              
                tcp: Update the protocol specification link to rfc9293
              
              
                ebrasca ef54dfb
              
                tcp: Do nothing to finish segments when in state :closed or :listen
              
              
                ebrasca c140f05
              
                tcp: Fix errata
              
              
                ebrasca d2c3874
              
                tcp: Refactor acceptable-segment-p
              
              
                ebrasca 8c0a1c1
              
                tcp: Add tcp4-send-ack
              
              
                ebrasca e8b7f35
              
                tcp: Add challenge-ack
              
              
                ebrasca 0e6ca64
              
                tcp: Check the sequence numbers before accepting RST in :syn-sent
              
              
                ebrasca bce312d
              
                tcp: Send RST when package is from old connection in :syn-sent state
              
              
                ebrasca fb4e215
              
                tcp: Refactor tcp4-connection-receive :syn-sent state
              
              
                ebrasca e91e108
              
                tcp: ACK non RST incoming unacceptable segments
              
              
                ebrasca 5a6d095
              
                tcp: Check incomming RST segments
              
              
                ebrasca 53363c9
              
                tcp: Don't abort connection when resiving segment in :syn-received state
              
              
                ebrasca cc921f7
              
                tcp: Remove connection from listener when getting SYN in state :syn-r…
              
              
                ebrasca d602981
              
                tcp: Challenge any SYN segment when not in :syn-sent state
              
              
                ebrasca 352172c
              
                tcp: Add :time-wait state
              
              
                ebrasca 663c799
              
                tcp: Add =<
              
              
                ebrasca 9688f25
              
                tcp: Deal with wrap around sequence numbers correctly
              
              
                ebrasca 08e01fb
              
                tcp: Small refactor
              
              
                ebrasca f6fa477
              
                tcp: Send RST to segments of old connections in :syn-received state
              
              
                ebrasca 3278434
              
                tcp: Handle FIN in :syn-received state
              
              
                ebrasca 180b7b4
              
                tcp: Chenck ACK sequence number in :last-ack state before ending it
              
              
                ebrasca 3334d79
              
                tcp: Hangle FIN in :last-ack state
              
              
                ebrasca 0c28348
              
                tcp: Ignore SYN or RST packets without ACK
              
              
                ebrasca c9a2b0d
              
                tcp: Allow sending data in half open connection
              
              
                ebrasca d4bf137
              
                tcp: Add rfc5961 mitigation
              
              
                ebrasca 98af636
              
                tcp: Send ACK to segments that acknowledges something not yet sent
              
              
                ebrasca bfb920a
              
                tcp: Hangle FIN in :closing state
              
              
                ebrasca dd95347
              
                tcp: Hangle FIN in :close-wait state
              
              
                ebrasca 0d07fa7
              
                tcp: Allow to resive data and control in the same segment
              
              
                ebrasca 5a15692
              
                tcp: Refactor tcp4-connection-receive :fin-wait-1 state
              
              
                ebrasca 7cf7956
              
                tcp: Update window size
              
              
                ebrasca b365915
              
                arp: Use correct function to get the time
              
              
                ebrasca 4f2bd69
              
                tcp: Report connection-closing in tcp-send when connetion is closing
              
              
                ebrasca c229bc9
              
                tcp: Implemented abort close
              
              
                ebrasca 24ea270
              
                tcp: Refactor tcp-send
              
              
                ebrasca 94ebcb6
              
                tcp: Add missing :closed case
              
              
                ebrasca dc3eced
              
                tcp: Implemented time-wait timeout
              
              
                ebrasca 1690e24
              
                tcp: Add :closed case to tcp4-connection-receive
              
              
                ebrasca fe6ae64
              
                tcp: Add close for :syn-sent and :syn-received cases
              
              
                ebrasca eafa3eb
              
                tcp: Default MSS for IPv4 is 536
              
              
                ebrasca 8f75902
              
                tcp: Support the mandatory option set
              
              
                ebrasca 09b45ea
              
                tcp: Set own MSS to 1460
              
              
                ebrasca 966c557
              
                tcp: Add checks for updating send window
              
              
                ebrasca 0d6923b
              
                tcp: Fix errata
              
              
                ebrasca 55cf9d1
              
                tcp: Handle retransmision and timeout in :syn-received state
              
              
                ebrasca fb3d8ff
              
                tcp: Add missing update-window
              
              
                ebrasca dad5bfa
              
                tcp: Better docstrings for acceptable-segment-p and acceptable-ack-p
              
              
                ebrasca 5456851
              
                tcp: Cancel retransmit after 3-Way Handshake
              
              
                ebrasca 59f75a5
              
                tcp: Cancel retransmit when getting FIN in :syn-received
              
              
                ebrasca ab40c05
              
                tcp: Update snd.nxt when sending FIN
              
              
                ebrasca 0f28d52
              
                tcp: Refactor implementation for clarity and configurability
              
              
                ebrasca e825280
              
                tcp: Fix simultaneous close handling in :fin-wait-1 state
              
              
                ebrasca fdd7727
              
                tcp: Rename max-seg-size to mss
              
              
                ebrasca 0f947cd
              
                tcp: Use MTU to calculate MSS
              
              
                ebrasca 16081bf
              
                tcp: Rename MSS parameters to clarify sender/receiver roles
              
              
                ebrasca 53d7c1b
              
                tcp: Refactor and add documentation
              
              
                ebrasca ce491c8
              
                tcp: Add missing rfc5961 mitigation in state :syn-sent
              
              
                ebrasca c846c94
              
                tcp: Use challenge-ack in places where ACKs are defensive
              
              
                ebrasca 87c9ab6
              
                tcp: Document the purpose of tcp4-send-ack and challenge-ack
              
              
                ebrasca 35c2044
              
                tcp: Add link to rfc5961
              
              
                ebrasca File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it an option to use internal-real-time throughout arp.lisp instead? Is get-universal-time monotonic, or can it change backwards when setting the system date/time (in which case it should not be used for ARP timeouts).