Virtual File Implementation and Public Endpoint Changes#265
Virtual File Implementation and Public Endpoint Changes#265
Conversation
lib/common.sh
Outdated
| # Proccess ID of the current process. | ||
| # | ||
| PID="" |
There was a problem hiding this comment.
most likely dead and can be removed.
src/aznfswatchdogv4
Outdated
| # If yes, update DNAT rule to point to the new address and update entry accordingly. | ||
| # | ||
| # Sample line in MOUNTMAPv4NONTLS. | ||
| # account.blob.preprod.core.windows.net 10.100.100.100 52.230.170.200 |
There was a problem hiding this comment.
update to the correct format.
965825d to
fbd0718
Compare
| # | ||
| # Local IP that is free to use. | ||
| # | ||
| LOCAL_IP="" |
26d0076 to
883b153
Compare
quick push refactor add common methods to common.sh and add dns resolver for v4 mounts add log add common functions switch to mounting with local ip for nfsv4 non tls add fslocation file add process nontls mount add logging for watchdog disable ipcheck comment out looped for nontlsprocess uncomment comment first process so only one process is running remove process nontls mounts for now as it's causing crash enable nontls mount watchdog add correct findmnt fix findmnt update watchdog with grep update to 30 seconds and turn on ip detection update watchdog update watchdog hardcode detection true add vecho add local_host echo change to eecho log fslocation entry wrap in paren update ipchange detection remove the extra ping_newendpoint and see if it can just update the ip in iptable and keep localip the same added logs quick fix add new scenarios for watchdog add IP change detection for EIT quick sync failed since 2 add placeholder Resolve merge conflict issues Remove nontls Remove comment update for ip change detection update with file name changes and updating mountmap entries update with checksumhash updatre echo with quotes updates with logging and other ip updates add -i+i add so it only updates for newip chatattr to update files and filepaths update for logs debug with logging add logging for the outmountmap and see why mountmap isn't being updated update for fork add gflag add restart stunnel add newchecksumcalculation and to the mountmap update checksumhash update with newfilepath for checksum log add an extra -e update for checking netstat add wrapper for if fslocation line is empty and only do the ip detection then if there is even an fslocation to begin with add quote get rid of foorloop add space update conf file name and run stunnel off of l_conf remove space around= reset the others add kill pid before stunnel_status_new update with logs for pid only set new path locally, let stunnel create the new file path reset l_pid after move log l_conf before stunnel start log stunnel status properly remove old log file only track nontls mounts bump poll to 30 update to track only tls update test package small update test vlaue for testaccount1 add test update for test to see if we need to fix test update add to aznfsnontls file add crc in the function if aznfs version is 4 add to line and pick update with the latest ip information for change detection test with string add mountpoint updated mountpoint -r -n fix findmntM update echo and findmnt command remove colon add lock to file so it waits until after the mount command is completed change interval to 60 rearrange locks update with old line and new line for updatemountmapv3 entry add some more logging adding more logging add fix update egrep update with adding back check without grabbing crc32 change to mountpoint for ip detection for now update to use account name fo rnow update just for demo update to remove check for file for demo Remove warning for ipv4 Reverted the last 3 commits due to issues update to ensure cleanup for ip tables update to remove the devnull output override update with echos add braces update spacing cleanup spit out correct val update the grab add aznfsctrltxt correct name mountmapv4nontls duplicate entry prevention remove semicolon add logs trytt updated code Refactor test with crc32 for tls update with crc32 in common and call for reads and writes into the mountscript update with logging add mountpoint add mountpoint updated with setting the correct conf files and starting stunnel after a migration detection has been changed small fix with pid and conf paths etc fake for testing fake 2 update with fix for the fake unfake update for refactor Rearrange so that ip deteciton reading of crc is after we check for empty mount remove m_time logic for now refactor ensure_mountmapv3_not_exist remove locking afterwards to ensure it doesn't mess it up with stat updated with ensure Refactor with func names as well refactor mtime Refactor a bit and also skip some cehcks and reuse the local ip for second mount of the same account Refactor the entire stack for mounting in mountmapv3 and mountmapv4nontls to common.sh and update callers. refactor mountmap methods remove some comments that are sent to aznfs.log test with do unmount gc setting revert that update Remove settings
883b153 to
d20d1cc
Compare
@microsoft-github-policy-service agree company="Microsoft" |
|
Add IP detection for public endpoint mounts.
Leverage IP tables for redirection.