Skip to content

Monitor on routing socket(PF_ROUTE, SOCK_RAW, 0) for changes

License

Notifications You must be signed in to change notification settings

mekanix/egress-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

egress-monitor

Watching for default routes changes and sets the interface group. When the default route is added, egress-monitor sets the group of that interface to appropriate egress. That means for IPv4 and FIB 0 (default one) the group will be v4fib0egress. In general, the group name is v<4|6>fib<number>egress.